/* ============================================= */
/* GLOBAL STYLES & VARIABLES */
/* ============================================= */

/*
 * Description: Stylesheet for the Flowses Analytics Homepage.
 * Version: 1.1
 * Author: Gemini AI
 * Last Updated: October 9, 2025
 */

/* --- Variables --- */
:root {
  /* Colors */
  --dark-blue: #1a237e;
  --medium-blue: #2730ad;
  --primary-purple: #8b5cf6;
  --light-purple: #9575cd;
  --white: #ffffff;
  --text-light: #cfcfcf;
  --text-dark: #333333;
  --hero-blue-dark: #2739a8;
  --hero-blue-light: #0d83e3;

  /* Dashboard Specific */
  --browser-bar-input-bg: rgba(255, 255, 255, 0.9);
  --border-radius-large: 24px;

  /* Sizing & Spacing */
  --navbar-height: 80px;

  /* Pricing Section Colors */
  --pricing-bg-light: #f9fbfd;
  --pricing-border: #e2e8f0;
  --pricing-card-bg: #ffffff;
  --pricing-card-highlight: #4c51bf; /* a strong blue for the highlight */
  --pricing-text-main: #1a202c;
  --pricing-text-secondary: #4a5568;
  --pricing-cta-bg: #4c51bf;
  --pricing-cta-hover-bg: #667eea;
}

/* --- Basic Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* Enables smooth scrolling for anchor links */
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--white);
  color: var(--text-dark);
}

/* ============================================= */
/* SECTION 1: HEADER & HERO */
/* ============================================= */
.hero-section {
  background: url(hero-background.svg) no-repeat center top;
  background-size: cover; /* ensures full image is visible */
  color: var(--white);
  padding: 0 5%;
  position: relative;
  overflow: visible;
}

/* --- Navigation --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--navbar-height);
  position: relative;
  z-index: 1000;
}

.logo img {
  width: 150px;
  height: auto;
  /* Revert logo color back to white for the dark hero background */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-links a {
  /* Revert link color back to white/light text */
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.9;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  color: var(--white);
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-actions a {
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    color 0.3s ease;
}

.login-btn {
  color: var(--white);
  font-weight: normal;
  padding: 10px 0;
}

.signup-btn {
  background-color: transparent;
  border: 1px solid var(--white);
  color: var(--white);
}

.signup-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* --- Hero Content --- */
.hero-content {
  text-align: center;
  margin-top: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2; /* Sits above the diagonal shape */
  padding-bottom: 100px;
}

.hero-content h1 {
  font-size: 56px;
  margin-bottom: 20px;
  line-height: 1.2;
}

/* On-scroll animation styles */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-content p {
  color: var(--text-light);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.3s ease;
}

.clients-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 0;
}

.client-logo {
  width: 200px; /* same size for all logos */
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  width: 80%;
  height: 80%;
  object-fit: contain; /* keeps proportions */
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.client-logo img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.cta-button:hover {
  transform: translateY(-2px);
}

.primary-cta {
  background: linear-gradient(135deg, #6a36ff, #ac5fe6);
  color: var(--white);
  border: none;
}

.primary-cta:hover {
  background: linear-gradient(135deg, #ac5fe6, #6a36ff);
  transform: scale(1.05);
}

.secondary-trial-btn {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.secondary-trial-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ============================================= */
/* DASHBOARD MOCKUP */
/* ============================================= */
.dashboard-mockup {
  position: relative;
  width: 100%;
  z-index: 10;
  padding: 0 5%;
  /* Lift it up to overlap the hero content */
  margin-top: -4rem;
  /* NEW: Pushes the content below it down naturally */
  margin-bottom: 80px;
}

.browser-frame {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.browser-bar {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 25px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.browser-dots {
  display: flex;
  gap: 8px;
  margin-right: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background-color: #ff605c;
}
.dot.yellow {
  background-color: #ffbd44;
}
.dot.green {
  background-color: #00ca4e;
}

.address-bar {
  flex-grow: 1;
  background: var(--browser-bar-input-bg);
  border-radius: 6px;
  padding: 8px 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.address-bar input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text-dark);
  background: transparent;
}

.dashboard-screenshot {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================= */
/* SECTION 2: CLIENT LOGOS */
/* ============================================= */
.clients-section {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 50px;
  /* This section's position is dictated by the marketing section's top padding */
}

.clients-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
  padding: 20px 40px;
  border-radius: 12px;
  background-color: #f7f7fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.client-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #a0a0a0;
  opacity: 0.8;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.client-logo:hover {
  opacity: 1;
  color: #6a6a6a;
}

.client-logo i {
  font-size: 24px;
}

/* ============================================= */
/* SECTION 3: MARKETING CONTINUITY */
/* ============================================= */
.marketing-section {
  text-align: center;
  /* NEW: Standard padding, no longer needs a large gap */
  padding: 80px 5%;
  position: relative;
  z-index: 4; /* Below clients section */
  background-color: var(--white);
}

.section-title {
  font-size: 36px;
  margin-bottom: 60px;
  color: var(--text-dark);
}

.continuity-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.continuity-item {
  text-align: left;
  max-width: 300px;
}

.step-icon {
  font-size: 24px;
  color: var(--light-purple);
  background-color: #f3e5f5;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 15px;
}

.continuity-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.continuity-item p {
  margin-bottom: 20px;
  color: #666;
}

.continuity-item ul {
  list-style: none;
}

.continuity-item ul li {
  padding: 5px 0;
  color: #666;
}

.continuity-item ul li .fa-check {
  color: green;
  margin-right: 8px;
}

.continuity-chart img {
  max-width: 100%;
  height: auto;
}

.secondary-cta {
  display: inline-block;
  background-color: var(--white);
  color: var(--light-purple);
  border: 2px solid var(--light-purple);
  margin-top: 50px;
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.secondary-cta:hover {
  background-color: #f3e5f5;
}

.powered-by-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to bottom right, #f9fafb, #ffffff);
}

.powered-by-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  color: #555;
  font-weight: 500;
}

.aws-logo {
  height: 42px;
  width: auto;
  filter: brightness(0) contrast(1.1);
  transition: transform 0.3s ease;
}

.aws-logo:hover {
  transform: scale(1.05);
  filter: brightness(1) contrast(1);
}

/* ============================================= */
/* MOBILE NAV (HAMBURGER MENU) */
/* ============================================= */

/* Hide the checkbox input */
.nav-toggle {
  display: none;
}

/* Style the hamburger icon label */
.nav-toggle-label {
  display: none; /* Hidden by default, shown on mobile */
  cursor: pointer;
  font-size: 24px;
  color: var(--white);
  padding: 10px;
  z-index: 1100; /* Ensure it's above the nav links */
}

/* --- Base Styles --- */
body {
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f8fafc;
  color: #1a202c;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Features Section --- */
.features-section {
  padding: 90px 0;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.features-header {
  margin-bottom: 60px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.features-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 15px;
}

.features-header p {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.7;
}

/* --- Grid Layout --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* --- Feature Card --- */
.feature-card {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  text-align: left;
  transition: all 0.3s ease;
  border: 1px solid rgba(229, 231, 235, 0.6);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(99, 102, 241, 0.3);
}

.feature-card h3 {
  font-size: 1.15rem;
  color: #1e293b;
  margin-top: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.55;
}

/* --- Icon Wrapper --- */
.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1);
}

/* --- Icon Colors --- */
.heart-color {
  background-color: #ebe9ff;
  color: #6d28d9;
}

.thumbs-up-color {
  background-color: #ffecec;
  color: #ef4444;
}

.cube-color {
  background-color: #e8fff1;
  color: #10b981;
}

.mobile-color {
  background-color: #f1eaff;
  color: #9333ea;
}

.lightbulb-color {
  background-color: #fff9e6;
  color: #f59e0b;
}

.printer-color {
  background-color: #e6f7ff;
  color: #0ea5e9;
}

.star-color {
  background-color: #e6fff9;
  color: #06b6d4;
}

.gift-color {
  background-color: #f8e6ff;
  color: #a855f7;
}

.clock-color {
  background-color: #f3f4f6;
  color: #78716c;
}

.globe-color {
  background-color: #e6f4ff;
  color: #0284c7;
}

.shield-color {
  background-color: #e8f6ee;
  color: #16a34a;
}

.rocket-color {
  background-color: #fff0f0;
  color: #f43f5e;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-section {
    padding: 60px 0;
  }

  .features-header {
    margin-bottom: 40px;
  }
}

/* ============================================= */
/* RESPONSIVE STYLES */
/* ============================================= */

@media (max-width: 768px) {
  /* --- Hero & Nav --- */
  .powered-by-section {
    text-align: center;
    padding: 60px 10px;
    background: linear-gradient(to bottom right, #f9fafb, #ffffff);
  }

  .powered-by-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    color: #555;
    font-weight: 500;
  }

  .aws-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) contrast(1.1);
    transition: transform 0.3s ease;
  }
  .hero-section {
    min-height: 650px;
  }
  .hero-section::after {
    top: 450px;
  }

  .nav-toggle-label {
    display: block; /* Show hamburger icon */
    color: var(--white); /* Revert color for hamburger icon */
  }

  .nav-actions {
    display: none; /* Hide Sign In/Up buttons for simplicity */
  }

  .nav-links {
    /* Mobile Menu: Full width, hidden, absolutely positioned */
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    /* Revert mobile menu background to a glassy one */
    background-color: rgba(39, 57, 168, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    z-index: 1050;
    /* Initial state for transition */
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.35s ease-out, opacity 0.35s ease-out,
      visibility 0.35s ease-out;
    gap: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 15px 0;
    color: var(--text-light); /* Ensure links are readable on mobile menu */
  }

  /* When the checkbox is checked, open the menu */
  .nav-toggle:checked ~ .nav-links {
    max-height: 500px; /* Should be larger than the menu's content height */
    opacity: 1;
    visibility: visible;
  }

  /* --- Hero Content --- */
  .hero-content h1 {
    font-size: 32px;
    margin-top: 40px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 15px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-button {
    width: 100%;
  }

  /* --- Dashboard --- */
  .dashboard-mockup {
    margin-top: -3rem;
    overflow-x: visible;
  }

  .browser-bar {
    padding: 10px 15px;
  }

  .browser-dots {
    display: none; /* Hide dots to save space */
  }

  /* --- Marketing Section --- */
  /* --- Marketing Section --- */
  .marketing-section {
    /* NEW: Adjusted padding for mobile */
    padding: 60px 5% 50px 5%;
  }

  .section-title {
    font-size: 28px;
  }

  .continuity-container {
    flex-direction: column;
  }

  .continuity-item {
    max-width: 100%;
  }

  /* --- Clients Section --- */
  .clients-container {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 28px;
  }
  .hero-content p {
    padding: 0 10px;
  }
  .section-title {
    font-size: 24px;
  }
}

/* ============================================= */
/* EMAIL EDITOR SHOWCASE SECTION STYLES */
/* ============================================= */

.email-editor-showcase {
  padding: 100px 0;
  background-color: #ffffff;
  text-align: center;
}

.showcase-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 25px;
}

/* Header Styling */
.showcase-header {
  margin-bottom: 70px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.showcase-header h2 {
  font-size: 2.5rem;
  color: #1a202c;
  margin-bottom: 15px;
  font-weight: 800;
}

.showcase-header p {
  font-size: 1.15rem;
  color: #4a5568;
}

/* Content Columns */
.showcase-content {
  display: flex;
  gap: 50px;
  align-items: center; /* Vertically center the content */
  text-align: left;
}

.editor-image-column {
  flex: 1;
  min-width: 0; /* Ensures proper responsiveness */
}

.editor-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  /* Elevated shadow effect */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.editor-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

.image-caption {
  margin-top: 20px;
  font-size: 1rem;
  color: #4f46e5; /* Primary accent color */
  font-weight: 600;
}

.image-caption .fas {
  margin-right: 8px;
}

/* Benefits Column Styling */
.editor-benefits-column {
  flex: 1;
}

.editor-benefits-column h3 {
  font-size: 1.8rem;
  color: #1a202c;
  margin-bottom: 10px;
  font-weight: 700;
}

.editor-benefits-column .intro-text {
  font-size: 1.05rem;
  color: #6a737d;
  margin-bottom: 30px;
}

/* Individual Benefit Item */
.benefit-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.benefit-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Benefit Icon Box */
.benefit-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  color: #ffffff; /* White icon */
  flex-shrink: 0;
  margin-right: 20px;
}

/* Icon Background Colors */
.bg-blue-500 {
  background-color: #4f46e5;
}
.bg-green-500 {
  background-color: #10b981;
}
.bg-purple-500 {
  background-color: #a855f7;
}
.bg-orange-500 {
  background-color: #f97316;
}

/* Benefit Text */
.benefit-text h4 {
  font-size: 1.15rem;
  color: #1a202c;
  margin-top: 0;
  margin-bottom: 5px;
  font-weight: 600;
}

.benefit-text p {
  font-size: 0.95rem;
  color: #6a737d;
  line-height: 1.4;
}

/* ============================================= */
/* RESPONSIVE STYLES */
/* ============================================= */

@media (max-width: 992px) {
  .showcase-content {
    flex-direction: column; /* Stack columns vertically */
    gap: 40px;
  }

  .email-editor-showcase {
    padding: 60px 0;
  }

  .editor-image-column {
    order: 1; /* Move image to the top */
  }

  .editor-benefits-column {
    order: 2; /* Keep benefits below the image */
    text-align: center;
  }

  .editor-benefits-column h3 {
    text-align: center;
    font-size: 1.6rem;
  }

  .editor-benefits-column .intro-text {
    text-align: center;
  }

  .benefit-item {
    /* Re-align items for stacked mobile view */
    align-items: center;
    justify-content: center;
    text-align: left; /* Keep text left-aligned within component */
  }
}

@media (max-width: 576px) {
  .showcase-header h2 {
    font-size: 2rem;
  }

  .benefit-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 25px;
  }

  .benefit-icon-box {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .benefit-text {
    text-align: center;
  }
}

/* ============================================= */
/* PRICING SECTION STYLES */
/* ============================================= */

.pricing-section {
  padding: 80px 0;
  background-color: var(--pricing-bg-light);
  text-align: center;
}

.pricing-header {
  margin-bottom: 60px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--pricing-text-main);
  margin-bottom: 15px;
}

.pricing-header p {
  font-size: 1.1rem;
  color: var(--pricing-text-secondary);
  line-height: 1.7;
}

.pricing-toggle {
  margin-top: 30px;
  display: inline-flex;
  border-radius: 999px;
  background-color: #e2e8f0;
  padding: 6px;
  border: 1px solid #d1d5db;
}

.toggle-btn {
  padding: 10px 20px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--pricing-text-secondary);
  border-radius: 999px;
  transition: all 0.3s ease;
  position: relative;
}

.toggle-btn.active {
  background-color: var(--white);
  color: var(--pricing-text-main);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.badge {
  background-color: #dbeafe;
  color: #1e40af;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 8px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--pricing-card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 40px 25px;
  border: 1px solid var(--pricing-border);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.highlighted {
  border-color: var(--pricing-card-highlight);
  border-width: 2px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1),
    0 0 0 2px var(--pricing-card-highlight);
  background: linear-gradient(180deg, #fafafa, #ffffff);
}

.badge-ribbon {
  position: absolute;
  top: 0;
  right: 20px;
  background-color: var(--pricing-card-highlight);
  color: var(--white);
  padding: 8px 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-header {
  margin-bottom: 25px;
}

.card-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pricing-text-main);
  margin-bottom: 8px;
}

.price-text {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--pricing-text-main);
}

.price-text .price {
  font-size: 2.8rem;
  font-weight: 900;
  display: block;
}

.price-text .period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--pricing-text-secondary);
}

.emails-included {
  font-size: 0.95rem;
  color: var(--pricing-text-secondary);
  font-weight: 600;
  margin-top: 5px;
}

.card-body {
  flex-grow: 1;
  text-align: left;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.features-list li {
  font-size: 0.95rem;
  color: var(--pricing-text-secondary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.features-list .fas {
  color: #10b981;
  margin-right: 10px;
}

.ideal-for {
  font-size: 0.9rem;
  color: #6c757d;
  font-style: italic;
  margin-top: 15px;
}

.card-footer {
  margin-top: 30px;
}

.pricing-card .cta-button {
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
  background-color: var(--pricing-cta-bg);
  color: var(--white);
  border: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.pricing-card .cta-button:hover {
  background-color: var(--pricing-cta-hover-bg);
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* New CSS for dropdown menu */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.nav-links .dropdown-toggle .fas {
  transition: transform 0.2s ease-in-out;
}

/* Rotate arrow when dropdown is open */
.nav-links .dropdown.open .dropdown-toggle .fas {
  transform: rotate(180deg);
}

.dropdown-menu {
  list-style: none;
  position: absolute;
  top: 100%; /* Position below the main link */
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  min-width: 180px;
  display: none;
  z-index: 999;
  margin-top: 10px;
}

.nav-links .dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  color: var(--text-dark);
  display: block;
  padding: 12px 20px;
  text-align: left;
  opacity: 1; /* Override parent opacity */
}

.dropdown-menu a:hover {
  background-color: #f7f7fa;
  color: var(--primary-purple);
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
  .nav-toggle-label {
    color: var(--white);
  }

  .nav-links .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    margin-top: 0;
    width: 100%;
    /* Hide by default on mobile */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  }

  .nav-links .dropdown.open .dropdown-menu {
    max-height: 500px; /* A large value to show content */
  }

  .dropdown-menu a {
    color: var(--text-light); /* Maintain mobile menu text color */
    padding-left: 40px; /* Indent mobile dropdown items */
  }
}

/* ============================================= */
/* FOOTER STYLES */
/* ============================================= */

.site-footer {
  background-color: #1e293b;
  color: #94a3b8;
  padding: 60px 20px;
  font-size: 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-description {
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-social-icons a {
  color: #94a3b8;
  font-size: 1.5rem;
  margin-right: 20px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-icons a:hover {
  color: var(--white);
  transform: translateY(-3px);
}

.footer-links h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #334155;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

.legal-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: var(--white);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-column {
    align-items: center;
  }

  .footer-logo,
  .footer-description,
  .footer-social-icons,
  .footer-links h4,
  .footer-links ul {
    text-align: center;
    margin: 0 auto 20px auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .legal-links {
    margin-top: 10px;
  }
}

/* ============================================= */
/* TESTIMONIALS SECTION */
/* ============================================= */
.testimonials-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
  text-align: center;
}

.testimonials-header {
  margin-bottom: 60px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-header .section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 15px;
}

.testimonials-header .section-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  line-height: 1.7;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
  margin-bottom: 25px;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--primary-purple);
  opacity: 0.15;
  position: absolute;
  top: 20px;
  left: 20px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  margin-top: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  text-align: left;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #f3f4f6;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.author-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 4px;
}

.author-role {
  font-size: 0.85rem;
  color: #6b7280;
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
