/* ===================================
   VARIABLES & BASE STYLES
   =================================== */
:root {
  --primary-color: #0e4f4f;
  --primary-dark: #093232;
  --primary-light: #35a5a5;
  --secondary-color: #dbeae8;
  --success-color: #35a5a5;
  --warning-color: #ffb84d;
  --error-color: #e53935;
  --info-color: #2f6feb;

  --bg-color: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-color);
  overflow-x: hidden;
}

/* ===================================
   LAYOUT & CONTAINER
   =================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

section.section {
  padding: var(--spacing-2xl) 0;
}

section.section:nth-child(even) {
  background: #f8fbfb;
}

/* ===================================
   NAVIGATION HEADER
   =================================== */
.navbar {
  background: var(--bg-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.navbar-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.navbar-menu {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
}

.navbar-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition-fast);
  padding: 0.5rem 0;
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-fast);
}

.navbar-link:hover::after,
.navbar-link:focus::after {
  width: 100%;
}

.navbar-link-primary {
  background: var(--primary-color);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
}

.navbar-link-primary::after {
  display: none;
}

.navbar-link-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.navbar-toggle span {
  width: 25px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ===================================
   BUTTONS
   =================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.button-primary {
  background: var(--primary-color);
  color: white;
}

.button-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 79, 79, 0.25);
}

.button-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.button-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.button-large {
  padding: 1rem 2.2rem;
  font-size: 1.1rem;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  background: linear-gradient(135deg, #dbeae8 0%, #e8f4f2 100%);
  padding: var(--spacing-2xl) 0;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
}

.hero-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-circle {
  width: min(300px, 80vw);
  height: min(300px, 80vw);
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(14, 79, 79, 0.15);
  overflow: hidden;
}

.hero-logo-circle img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

/* ===================================
   INFO BOX
   =================================== */
.info-box {
  background: #eaf4ff;
  border: 2px solid #bbd9ff;
  border-radius: 12px;
  padding: var(--spacing-md);
  display: flex;
  gap: var(--spacing-md);
  alignment-items: flex-start;
}

.info-box i {
  color: var(--info-color);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-box strong {
  color: #1f4b99;
  display: block;
  margin-bottom: 0.3rem;
}

.info-box p {
  color: #1f4b99;
  font-size: 0.95rem;
  margin: 0;
}

.info-box-beta {
  max-width: 500px;
}

/* ===================================
   SECTION HEADER
   =================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--primary-dark);
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-xl);
  font-weight: 700;
}

/* ===================================
   FEATURES SECTION
   =================================== */
.section-features {
  background: var(--bg-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
}

.feature-card {
  background: white;
  padding: var(--spacing-lg);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-top: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--primary-color);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #dbeae8 0%, #e8f4f2 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.feature-card h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===================================
   STEPS (HOW IT WORKS)
   =================================== */
.section-howitworks {
  background: #f8fbfb;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.step-item {
  background: white;
  padding: var(--spacing-lg);
  border-radius: 12px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto var(--spacing-md);
}

.step-item i {
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.15;
  position: absolute;
  bottom: var(--spacing-md);
  right: var(--spacing-md);
}

.step-item h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.step-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===================================
   COMMUNITY & SAFETY
   =================================== */
.section-community {
  background: white;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.community-card {
  background: linear-gradient(135deg, #f5fbfb 0%, #ffffff 100%);
  padding: var(--spacing-lg);
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
}

.community-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.community-card h3 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.community-card i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.community-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===================================
   ABOUT US
   =================================== */
.section-aboutus {
  background: white;
}

.aboutus-content {
  max-width: 900px;
  margin: 0 auto;
}

.aboutus-text h2 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-lg);
  font-weight: 700;
}

.aboutus-text h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

.aboutus-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.aboutus-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--border-color);
}

.highlight-item {
  text-align: center;
}

.highlight-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  display: block;
}

.highlight-item strong {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.highlight-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

/* ===================================
   FAQ SECTION
   =================================== */
.section-faq {
  background: #f8fbfb;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: var(--spacing-lg);
  background: white;
  border: none;
  text-align: left;
  color: var(--primary-dark);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
}

.faq-question:hover {
  background: #f8fbfb;
  color: var(--primary-color);
}

.faq-question i {
  transition: var(--transition-fast);
  font-size: 0.9rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: var(--spacing-lg);
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ===================================
   DOWNLOAD SECTION
   =================================== */
.section-download {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
  color: white;
}

.download-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.download-content h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

.download-content p {
  font-size: 1.15rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
}

.download-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.download-button {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: var(--spacing-lg);
  border-radius: 12px;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  transition: var(--transition);
  cursor: pointer;
}

.download-button:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: white;
  transform: translateY(-4px);
}

.download-button i {
  font-size: 2rem;
}

.download-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.download-text {
  font-size: 0.85rem;
  opacity: 0.85;
}

.download-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  color: rgba(255, 255, 255, 0.95);
}

.download-info p {
  font-size: 1rem;
  margin: 0;
}

.download-info i {
  color: #ffb84d;
  margin-right: 0.5rem;
}

/* ===================================
   NEWSLETTER
   =================================== */
.section-newsletter {
  background: white;
  padding: var(--spacing-2xl) 0;
}

.section-newsletter h2 {
  font-size: 2rem;
  text-align: center;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}

.section-newsletter p {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: var(--spacing-md);
}

.newsletter-form input {
  flex: 1;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  font-size: 1rem;
  font-family: inherit;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(14, 79, 79, 0.1);
}

.newsletter-form button {
  padding: 1rem 2rem;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: #1a1a1a;
  color: #cccccc;
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h3,
.footer-section h4 {
  color: white;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.footer-section h3 {
  font-size: 1.2rem;
}

.footer-section h4 {
  font-size: 1rem;
}

.footer-section p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-section a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-section a:hover {
  color: var(--primary-light);
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  text-align: center;
}

.footer-bottom p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: #999999;
}

.footer-tagline {
  color: #cccccc;
  font-weight: 500;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
  :root {
    --spacing-xl: 2rem;
    --spacing-2xl: 2.5rem;
  }

  .navbar-menu {
    display: none;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
  }

  .navbar-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .button-large {
    width: 100%;
  }

  .hero-logo-circle {
    order: -1;
  }

  .features-grid,
  .steps-container,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .download-buttons {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .aboutus-highlights {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--spacing-xl) 0;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .feature-card,
  .step-item,
  .community-card {
    padding: var(--spacing-md);
  }

  .download-content h2 {
    font-size: 1.5rem;
  }

  .info-box {
    flex-direction: column;
    text-align: center;
  }

  .info-box i {
    margin: 0 auto;
  }

  .faq-question {
    padding: var(--spacing-md);
    font-size: 1rem;
  }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.section {
  animation: fadeInUp 0.6s ease-out forwards;
}

section:nth-child(2) {
  animation-delay: 0.1s;
}

section:nth-child(3) {
  animation-delay: 0.2s;
}

section:nth-child(4) {
  animation-delay: 0.3s;
}

/* ===================================
   ACCESSIBILITY
   =================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
