/* ============================================
   GLOBAL STYLES & DESIGN TOKENS
   ============================================ */

:root {
  /* Colors */
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --secondary: #06b6d4;
  --accent-yellow: #fbbf24;
  --accent-pink: #ec4899;
  --background: #ffffff;
  --surface: #f9fafb;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --border: #e5e7eb;
  --success: #10b981;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  --font-mono: "Courier New", monospace;

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

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--background);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: #ffffff;
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
  line-height: 1.8;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: #06b6d4;
  border: 2px solid #06b6d4;
}

.btn-outline:hover {
  background-color: #06b6d4;
  color: white;
}

.btn-large {
  padding: var(--spacing-md) var(--spacing-2xl);
  font-size: 1.1rem;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background-color: #f2f1fb;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0; /* Fixed padding - adjust as needed */
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo img {
    height: 35px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block; /* Important for proper sizing */
}
.logo span {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #012970;
    font-family: Nunito, sans-serif;
    margin-top: 3px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    margin-left: auto; /* This will push nav-links to right side */
    margin-right: var(--spacing-xl); /* Add some space from right edge */
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding: var(--spacing-3xl) 0;
  background-color: var(--background);
}

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

.hero-text h1 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xl);
  color: var(--text-secondary);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

/* ============================================
   SECTIONS
   ============================================ */

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

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-it-works {
  background-color: var(--surface);
  padding: var(--spacing-3xl) 0;
}

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

.step {
  text-align: center;
  padding: var(--spacing-xl);
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.step:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.step-icon {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.step-icon svg {
  width: 48px;
  height: 48px;
}

.step h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  font-size: 1.25rem;
}

.step p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
        }
        
        .feature-item {
            display: flex;
            align-items: center;
            padding: 15px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border-left: 4px solid #667eea;
        }
        
        .feature-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .feature-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            background-color: #06b6d4;
            color: white;
            border-radius: 50%;
            margin-right: 12px;
            font-size: 14px;
            flex-shrink: 0;
        }
        
        .category {
            margin-top: 40px;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #e2e8f0;
            color: #475569;
            font-size: 1.5rem;
        }
        
        footer {
            text-align: center;
            margin-top: 50px;
            padding: 20px;
            color: #64748b;
            font-size: 0.9rem;
        }
        
        @media (max-width: 768px) {
            .features-grid {
                grid-template-columns: 1fr;
            }
            
            h1 {
                font-size: 2rem;
            }
        }

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
  background-color: var(--surface);
}

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

.pricing-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pricing-card h3 {
  color: #4f46e5;
  margin-bottom: var(--spacing-lg);
}

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

.price span:first-child {
  font-size: 1.5rem;
}

.period {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--spacing-xl);
  text-align: left;
}

.pricing-features li {
  padding: var(--spacing-sm) 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

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

.article-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
}

.article-card h4 {
  color: #4f46e5;
  margin-bottom: var(--spacing-md);
}

.article-card .price {
  font-size: 2rem;
  margin-bottom: var(--spacing-lg);
}

.article-features {
  list-style: none;
  margin-bottom: var(--spacing-lg);
  text-align: left;
  
}

.article-features li {
  padding: var(--spacing-sm) 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

/* ============================================
   FAQ SECTION
   ============================================ */

        .faq {
            background-color: var(--background);
            padding: 4rem 0;
        }

        /* SINGLE LINE FAQ STYLES */
        .faq-grid {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .faq-item {
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            overflow: hidden;
            background-color: var(--surface);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            width: 100%;
        }

        .faq-item:hover {
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .faq-question {
            width: 100%;
            padding: 1.5rem;
            background-color: var(--surface);
            border: none;
            text-align: left;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 1.1rem;
        }

        .faq-question:hover {
            background-color: #15cae9;
            color: white;
        }

        .faq-item.active .faq-question {
            background-color: #06b6d4;
            color: white;
        }

        .faq-question::after {
            content: "▼";
            font-size: 0.75rem;
            transition: transform 0.3s ease;
        }

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

        .faq-answer {
            padding: 0 1.5rem;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
            background-color: var(--background);
        }

        .faq-item.active .faq-answer {
            padding: 1.5rem;
            max-height: 500px;
        }

        .faq-answer p {
            margin: 0;
            color: var(--text-secondary);
            line-height: 1.6;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .section-header h2 {
                font-size: 2rem;
            }
            
            .faq-question {
                padding: 1.25rem;
                font-size: 1rem;
            }
        }

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background-color: var(--text-primary);
  color: white;
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

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

.footer-section h4 {
  color: white;
  margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.footer-logo img {
    height: 40px; /* Same as navbar logo or adjust as needed */
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Makes logo white for dark background */
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-md);
}

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

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

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

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

.payment-methods {
  margin-top: var(--spacing-lg);
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  font-size: 0.875rem;
}

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

/* ============================================
   PAGE CONTENT (POLICIES)
   ============================================ */

.page-content {
  min-height: 60vh;
  padding: var(--spacing-3xl) 0;
}

.page-content h1 {
  margin-bottom: var(--spacing-lg);
}

.last-updated {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-2xl);
}

.content-section {
  margin-bottom: var(--spacing-2xl);
}

.content-section h2 {
  color: var(--primary);
  margin-bottom: var(--spacing-lg);
}

.policy-list {
  list-style: none;
  margin-left: var(--spacing-lg);
}

.policy-list li {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
  position: relative;
  color: var(--text-secondary);
}

.policy-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.benefits-list {
  list-style: none;
  margin-left: var(--spacing-lg);
}

.benefits-list li {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
  position: relative;
  color: var(--text-secondary);
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .nav-links {
    display: none;
  }

  .pricing-grid,
  .article-pricing,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  h2 {
    font-size: 1.25rem;
  }

  .btn {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.9rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
