/* Price value spans should inherit parent styling */
.price-value {
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
    display: inline;
    line-height: inherit;
}

/* FluentSphere Theme System - Light Theme */
:root {
    /* Professional light theme with blue CTAs */

    /* Theme color system - primary variables */
    --primary-bg: #FFFFFF;
    --primary-text: #1F1E1D;
    --secondary-text: #1F1E1D;
    --card-background: #FFFFFF;
    --card-background-hover: #F8F9FA;
    --header-bg: rgba(255, 255, 255, 0.95);

    /* CTA/Accent Colors - Blue theme */
    --accent-color: #0171E4;          /* Primary blue - main CTA color */
    --accent-color-hover: #0158B8;    /* Darker blue for hover states */
    --accent-text: #ffffff;           /* White text on blue buttons */
    --accent-shadow: rgba(1, 113, 228, 0.25);  /* Shadow color for CTAs */
    --accent-bg-subtle: rgba(1, 113, 228, 0.08);  /* Subtle background tint */
    --accent-bg-medium: rgba(1, 113, 228, 0.12);  /* Medium background tint */
    --accent-bg-light: rgba(1, 113, 228, 0.05);   /* Very light background tint */

    /* Secondary accent colors */
    --accent-light-blue: #76C8EC;     /* Light blue accent */
    --accent-purple: #B09DF9;         /* Purple accent */
    --accent-pink: #C781BE;           /* Pink accent */

    /* UI element colors */
    --hamburger-color: #1F1E1D;
    --dropdown-bg: rgba(255, 255, 255, 0.98);
    --logo-text: #1F1E1D;
    --nav-link: #1F1E1D;
    --nav-link-hover: #1F1E1D;
    --nav-link-hover-bg: rgba(1, 113, 228, 0.08);
    --header-border: rgba(31, 30, 29, 0.1);
    --feature-heading: #1F1E1D;

    /* Form inputs */
    --input-bg: #FFFFFF;
    --input-border: rgba(31, 30, 29, 0.2);
    --input-focus-shadow: rgba(1, 113, 228, 0.25);

    /* Borders */
    --border-light: rgba(31, 30, 29, 0.1);
    --border-medium: rgba(31, 30, 29, 0.15);
    --border-strong: rgba(31, 30, 29, 0.25);
    --border-card: rgba(31, 30, 29, 0.08);

    /* Box Shadows - Figma exact specs */
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-light: rgba(31, 30, 29, 0.08);
    --shadow-medium: rgba(31, 30, 29, 0.12);
    --shadow-deep: rgba(31, 30, 29, 0.15);
    --shadow-card: 0 0 6px 2px rgba(0, 0, 0, 0.1);
    --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-header: 0 2px 6px 2px rgba(0, 0, 0, 0.1);
    --shadow-button: 0 2px 8px var(--accent-shadow);
    --shadow-button-hover: 0 4px 12px rgba(1, 113, 228, 0.3);

    /* Common colors */
    --white: #fff;
    --bg-translucent: rgba(31, 30, 29, 0.03);
    --bg-dark-translucent: rgba(31, 30, 29, 0.9);

    /* Semantic colors */
    --success-color: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --success-border: rgba(16, 185, 129, 0.2);
    --error-color: #DE1E33;
    --error-bg: rgba(222, 30, 51, 0.1);
    --error-border: rgba(222, 30, 51, 0.2);

    /* Spacing */
    --section-padding: 2rem;

    /* Border radius scale (rectangular cards, inputs, icons, containers).
       Pills (badges/buttons), phone-mockup frames, and decorative blobs
       intentionally use their own larger/own radii and are not tokenized. */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Icon backgrounds */
    --icon-bg: var(--accent-bg-subtle);
    --icon-bg-hover: var(--accent-bg-medium);

    /* Input shadows */
    --input-shadow: rgba(255, 255, 255, 0.03);
}

/* Add smooth scrolling to the whole page */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
}

/* Global Styles */
body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--primary-text);
    margin: 10px;
    text-align: center;
    min-height: 100%;
    position: relative;
    overflow-x: hidden;
}

/* Add this to create space for the fixed header */
section {
    margin-top: 60px; /* Adjust this value based on your header height */
}

/* Hero variants wrapper - margin for fixed header */
.hero-variants {
    margin-top: 60px;
}

.hero-variants section {
    margin-top: 0;
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--primary-text);
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: var(--primary-text);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--secondary-text);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Layout */
.section {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--section-padding);
}


/* Features Section - Carousel */
.features {
  background: #F5F5F5;
  padding: 4rem 2rem;
  margin: 2rem auto;
  border-radius: 0; /* Remove border radius */
  border: none; /* Ensure no border */
}

.features-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 3rem;
}

.features h2 {
  font-size: 3rem; /* 48px - Figma spec */
  font-weight: 700; /* Bold - Figma spec */
  margin: 0;
  letter-spacing: -0.03rem; /* -0.48px - Figma spec */
  line-height: normal; /* Figma spec */
  color: var(--primary-text); /* #1F1E1D */
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  gap: 1rem;
}

.carousel-nav {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  background: white;
  border: 3px solid #1F1E1D;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #1F1E1D;
  box-sizing: border-box;
  padding: 0;
  overflow: visible;
}

.carousel-nav:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

.carousel-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-nav svg {
  width: 24px;
  height: 24px;
  stroke-width: 3;
}

/* Carousel */
.features-carousel {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.feature-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.feature-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: var(--card-background);
  padding: 3rem 3rem 3rem 4rem;
  border-radius: 60px;
  box-shadow: var(--shadow-card);
  box-sizing: border-box;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-text {
  flex: 1;
  max-width: 285px;
  text-align: left;
}

.feature-text h3 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: normal;
  margin-bottom: 1rem;
  color: var(--primary-text);
  letter-spacing: -0.0225rem;
}

.feature-text p {
  font-size: 1.25rem;
  line-height: normal;
  color: var(--secondary-text);
  font-weight: 500;
  letter-spacing: -0.0125rem;
}

.feature-demo {
  flex-shrink: 0;
}

/* Phone Mockup - iPhone 14 Pro Max */
.phone-mockup {
  width: 350px;
  height: 759px;
  position: relative;
  border-radius: 55px;
  background: #1C1C1E;
  padding: 24px 12px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.1),
    0 30px 60px -12px rgba(31, 30, 29, 0.15);
  box-sizing: border-box;
  overflow: hidden;
}

/* .phone-mockup::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  width: 126px;
  height: 37px;
  background: #1C1C1E;
  border-radius: var(--radius-xl);
  z-index: 2;
} */

.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -o-object-fit: cover;
  border-radius: 45px;
  background: white;
  display: block;
}

/* Video Mockup - for video content in phone frame */
.phone-mockup.video-mockup .video-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 45px;
  overflow: hidden;
  background: linear-gradient(180deg, #E8F4FD 0%, #FFFFFF 100%);
}

.phone-mockup.video-mockup video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.phone-mockup.video-mockup .video-play-overlay {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.phone-mockup.video-mockup .video-play-overlay:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.phone-mockup.video-mockup .video-play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.phone-mockup.video-mockup .video-play-overlay svg {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  display: block;
}

/* Mobile fullscreen video modal */
.video-fullscreen-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow: hidden;
}

.video-fullscreen-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-fullscreen-modal .video-fullscreen-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 20px;
  box-sizing: border-box;
}

.video-fullscreen-modal video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-xl);
  background: #000;
}

.video-fullscreen-modal .video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

.video-fullscreen-modal .video-play-overlay:focus,
.video-fullscreen-modal .video-play-overlay:focus-visible,
.video-fullscreen-modal .video-play-overlay:active {
  outline: none;
  box-shadow: none;
}

.video-fullscreen-modal .video-play-overlay svg {
  display: block;
}

.video-fullscreen-modal .video-play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-fullscreen-modal .video-close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  transition: background 0.2s ease;
}

.video-fullscreen-modal .video-close-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.video-fullscreen-modal .video-close-btn svg {
  stroke: white;
}

/* Mobile fullscreen video modal adjustments */
@media (max-width: 768px) {
  .video-fullscreen-modal {
    background: rgba(0, 0, 0, 1);
  }

  .video-fullscreen-modal .video-fullscreen-container {
    padding: 10px;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
  }

  .video-fullscreen-modal video {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}

/* Responsive - Features */
@media (max-width: 1024px) {
  .feature-content {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .feature-text {
    max-width: 100%;
    text-align: center;
  }

  .phone-mockup {
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
  }
}

@media (max-width: 768px) {
  .features-header {
    flex-direction: column;
    gap: 1.5rem;
  }

  .features {
    padding: 3rem 1.5rem;
  }

  .features h2 {
    font-size: 1.5rem; /* 24px - Figma Mobile spec */
    font-weight: 700;
  }

  .feature-content {
    padding: 2rem 1.5rem;
    border-radius: 30px;
    gap: 1.5rem;
  }

  .feature-text h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }

  .feature-text p {
    font-size: 1rem;
  }

  .phone-mockup {
    transform: scale(0.7);
    -webkit-transform: scale(0.7);
    -moz-transform: scale(0.7);
    margin: -2rem 0;
  }
}

/* Navigation */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(31, 30, 29, 0.08);
}

header.scrolled {
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--header-border);
    box-shadow: var(--shadow-header);
}

/* Safari-specific fix for header transparency issue */
@supports (-webkit-hyphens:none) {
    header.scrolled {
        background: var(--header-bg);
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    gap: 2rem;
}

/* Nav CTA container (Login button) - positioned on far right */
.nav-cta {
    display: none; /* Hidden on mobile */
    align-items: center;
}

/* Show desktop login button on larger screens */
@media (min-width: 1024px) {
    .nav-cta {
        display: flex;
    }

    /* Hide mobile login on desktop */
    .mobile-login {
        display: none !important;
    }
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--logo-text);
    gap: 0.375rem;
}

.logo img {
    height: 30px;
    width: 30px;
}

.logo span {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: -0.01em;
    vertical-align: middle;
    color: var(--accent-color);
}

.nav-links-container {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 1rem;
    padding: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Base navigation list styles */
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--nav-link);
    transition: color 0.2s ease;
}

/* Mobile Navigation (Dropdown) - Only applies below 1024px */
@media (max-width: 1023px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 1.5rem;
        background: var(--dropdown-bg);
        padding: 0.15rem;
        margin-top: 0.5rem;
        z-index: 1000;
        width: auto;
        min-width: 180px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border-light);
        box-shadow: 0 4px 12px rgba(31, 30, 29, 0.15);
        gap: 2px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        display: block;
        width: 100%;
        text-align: left;
    }

    .nav-links li a {
        padding: 0.3rem 0.75rem;
        display: block;
        line-height: 1.2;
        font-size: 0.875rem;
        width: 100%;
        border-radius: var(--radius-xs);
    }

    .nav-links a:hover {
        background-color: var(--nav-link-hover-bg);
    }
}

/* Desktop Navigation (Horizontal) - Only applies at 1024px+ */
@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        background: transparent;
        gap: 10rem;
        align-items: center;
    }

    .nav-links li {
        width: auto;
        text-align: center;
    }

    .nav-links li a {
        padding: 0.5rem 0.75rem;
        background: transparent;
        font-size: 18px;
        font-weight: 600;
        line-height: 100%;
        white-space: nowrap;
        width: auto;
    }

    .nav-links a:hover {
        background-color: transparent;
        color: var(--nav-link-hover);
    }
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -0.01em;
    vertical-align: middle;
    color: var(--nav-link);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
}

nav a:hover {
    color: var(--nav-link-hover);
}

.hamburger {
    width: 24px;
    height: 2.5px;
    background: var(--hamburger-color);
    display: block;
    position: relative;
    border-radius: 1.25px;
}

.hamburger::before,
.hamburger::after {
    content: '';
    width: 24px;
    height: 2.5px;
    background: var(--hamburger-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
    border-radius: 1.25px;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

/* Button Styles */
button, .cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: var(--accent-text);
    text-decoration: none;
    border-radius: var(--radius-md); /* Figma spec */
    font-weight: 700; /* Bold - Figma spec */
    font-size: 1.25rem; /* 20px - Figma spec */
    letter-spacing: -0.0125rem; /* -0.2px - Figma spec */
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-button);
}

button:hover, .cta-button:hover {
    transform: translateY(-2px);
    background: var(--accent-color-hover);
    box-shadow: var(--shadow-button-hover);
}

/* Nav CTA button (Login) - white with blue border */
.nav-cta-button {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: white;
    color: #0171e4;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 20px;
    line-height: normal;
    letter-spacing: -0.2px;
    transition: all 0.2s ease;
    border: 3px solid #0171e4;
    cursor: pointer;
    box-shadow: none;
}

.nav-cta-button:hover {
    transform: none;
    background: #0171e4;
    color: white;
    box-shadow: none;
}

/* Footer styling */
footer {
    color: var(--primary-text);
    text-align: center;
    padding: 2rem 0;
    background-color: #F8F9FA;
    border-top: 1px solid var(--border-light);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 0 1rem 1.5rem;
    text-align: left;
}

.footer-section h4 {
    color: var(--primary-text);
    font-size: 1.25rem; /* 20px - Figma spec */
    line-height: 2.25rem; /* 36px - Figma spec */
    margin-bottom: 1rem;
    font-weight: 700; /* Bold - Figma spec */
    letter-spacing: -0.0125rem; /* -0.2px - Figma spec */
}

/* Make sure footer links are styled appropriately */
footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

footer a:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.footer-bottom p {
    font-size: 1rem; /* 16px - Figma spec */
    font-weight: 500; /* Medium - Figma spec */
    letter-spacing: -0.01rem; /* -0.16px - Figma spec */
    text-align: center;
    color: var(--primary-text);
}

/* Footer links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    margin: 0;
    color: var(--accent-color);
    font-size: 1.25rem; /* 20px - Figma spec */
    line-height: 2.25rem; /* 36px - Figma spec */
    font-weight: 600; /* Semi-bold - Figma spec */
    letter-spacing: -0.0125rem; /* -0.2px - Figma spec */
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-text);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section {
        width: 100%;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-links {
        align-items: center;
    }
}

/* Beta Signup Section */
.beta-signup {
    background: var(--primary-bg);
    padding: var(--section-padding);
    text-align: center;
    margin-top: 1rem;
}

.beta-signup h2 {
    font-size: 2.5rem;
    color: var(--primary-text);
    margin-bottom: 1rem;
}

.beta-signup p {
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
}

.beta-signup-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.beta-signup-form input[type="email"] {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-xs);
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--primary-text);
    font-size: 1rem;
    min-width: 300px;
    box-shadow: inset 0 2px 4px var(--input-shadow);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.beta-signup-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--accent-shadow);
}

.beta-signup-form button {
    background: var(--accent-color);
    color: var(--accent-text);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.beta-signup-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px var(--shadow-light);
}

/* Form feedback messages */
.success-message {
    color: var(--success-color);
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    margin: 1rem 0;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in-out;
}

.error-message {
    color: var(--error-color);
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    margin: 1rem 0;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-text);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Update hero section */
.hero {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 3.5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Background gradient ellipse */
.hero::before {
    content: '';
    position: absolute;
    top: -470px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    width: 1440px;
    height: 1440px;
    border-radius: 1440px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(199, 129, 190, 0.15) 0%, rgba(176, 157, 249, 0.15) 33%, rgba(118, 200, 236, 0.15) 66%, rgba(255, 255, 255, 0.15) 100%);
    z-index: -1;
    pointer-events: none;
}

.hero > div:first-child {
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1,
.hero .hero-title {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: -0.01em;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--primary-text);
    display: block;
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--secondary-text);
    margin-bottom: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
}

.hero .section-subtitle {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: -0.01em;
    text-align: center;
    color: var(--secondary-text);
    margin-bottom: 0.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 0 1rem;
}

/* Hero CTA Wrapper */
.hero-cta-wrapper {
    display: flex;
    justify-content: center;
    margin: 0.75rem 0;
}

/* Remove special styling overrides - using Figma specs above */

/* Add special styling for the third paragraph */
.hero .section-subtitle:nth-of-type(3) {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    text-align: center;
    margin: 0.5rem auto 1.5rem;
    padding: 0.75rem 1.5rem;
    position: relative;
    display: inline-block;
    max-width: 600px;
}

.hero .section-subtitle:nth-of-type(3)::before,
.hero .section-subtitle:nth-of-type(3)::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 40px;
    background: var(--accent-color);
    top: 50%;
    transform: translateY(-50%);
}

.hero .section-subtitle:nth-of-type(3)::before {
    left: 0;
}

.hero .section-subtitle:nth-of-type(3)::after {
    right: 0;
}

/* Responsive adjustments - Mobile Figma specs */
@media (max-width: 768px) {
    .hero-variants {
        margin-top: 40px;
    }

    .hero {
        padding: 3rem 1rem 2rem; /* Extra top padding to clear fixed header */
        gap: 0.75rem;
        margin-top: 40px; /* Account for fixed header height */
    }

    .hero h1,
    .hero .hero-title {
        font-size: 1.5rem; /* 24px - Figma Mobile spec */
        letter-spacing: -0.015rem;
    }

    .hero .section-subtitle {
        font-size: 1rem; /* 16px - Figma Mobile spec */
        line-height: 1.375rem; /* 22px */
        letter-spacing: -0.01rem;
    }

    .hero .section-subtitle:first-of-type,
    .hero .section-subtitle:nth-of-type(2) {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .hero .section-subtitle:nth-of-type(3) {
        font-size: 1.3rem;
        padding: 0.5rem 1rem;
        margin: 0.25rem auto 0.5rem;
    }

    .hero-cta-wrapper {
        margin: 0.5rem 0;
    }

    /* CTA button - Figma Mobile spec */
    .cta-button {
        font-size: 1.25rem; /* 20px */
        font-weight: 700; /* Bold - Figma spec */
        padding: 0.875rem 2rem;
        letter-spacing: -0.0125rem;
    }
}

/* Interactive Goal Selector */
.goal-selector {
    width: 100%;
    max-width: 1000px;
    margin: 0.75rem auto;
    text-align: center;
}

.goal-selector-title {
    font-size: 1.875rem; /* 30px - Figma spec */
    color: var(--primary-text);
    margin-bottom: 2rem;
    font-weight: 700; /* Bold - Figma spec */
    letter-spacing: -0.01875rem; /* -0.3px - Figma spec */
}

.goal-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin: 0 auto;
}

.goal-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    min-height: 250px;
}

/* Add subtle pulse animation hint on page load */
@keyframes subtlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.goal-option:nth-child(1) { animation: subtlePulse 2s ease-in-out 0.5s 2; }
.goal-option:nth-child(2) { animation: subtlePulse 2s ease-in-out 0.7s 2; }
.goal-option:nth-child(3) { animation: subtlePulse 2s ease-in-out 0.9s 2; }
.goal-option:nth-child(4) { animation: subtlePulse 2s ease-in-out 1.1s 2; }

.goal-option:hover {
    transform: translateY(-4px);
    -webkit-transform: translateY(-4px);
    -moz-transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    background: white;
}

.goal-option.selected {
    background: var(--accent-bg-light);
    box-shadow: 0 0 0 4px var(--accent-shadow), var(--shadow-card-hover);
    transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
}

.goal-icon {
    font-size: 2.25rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--icon-bg);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.goal-icon svg {
    stroke-width: 2.5;
}

/* Individual icon colors matching the design */
.goal-option:nth-child(1) .goal-icon {
    background: rgba(118, 200, 236, 0.1);
    color: #76C8EC;
}

.goal-option:nth-child(2) .goal-icon {
    background: rgba(176, 157, 249, 0.1);
    color: #B09DF9;
}

.goal-option:nth-child(3) .goal-icon {
    background: rgba(199, 129, 190, 0.1);
    color: #C781BE;
}

.goal-option:nth-child(4) .goal-icon {
    background: rgba(1, 113, 228, 0.1);
    color: #0171E4;
}

.goal-option:hover .goal-icon {
    transform: scale(1.1);
}

.goal-option:nth-child(1):hover .goal-icon {
    background: rgba(118, 200, 236, 0.15);
}

.goal-option:nth-child(2):hover .goal-icon {
    background: rgba(176, 157, 249, 0.15);
}

.goal-option:nth-child(3):hover .goal-icon {
    background: rgba(199, 129, 190, 0.15);
}

.goal-option:nth-child(4):hover .goal-icon {
    background: rgba(1, 113, 228, 0.15);
}

.goal-option.selected .goal-icon {
    transform: scale(1.05);
}

.goal-option.selected:nth-child(1) .goal-icon {
    background: rgba(118, 200, 236, 0.2);
}

.goal-option.selected:nth-child(2) .goal-icon {
    background: rgba(176, 157, 249, 0.2);
}

.goal-option.selected:nth-child(3) .goal-icon {
    background: rgba(199, 129, 190, 0.2);
}

.goal-option.selected:nth-child(4) .goal-icon {
    background: rgba(1, 113, 228, 0.2);
}

.goal-text {
    flex: 1;
}

.goal-title {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: -0.01em;
    text-align: center;
    color: var(--primary-text);
    margin-bottom: 0.5rem;
}

.goal-subtitle {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: -0.01em;
    text-align: center;
    color: var(--secondary-text);
}


/* Removed checkmark - not in Figma design */

/* Tablet responsiveness */
@media (max-width: 1024px) {
    .goal-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .goal-option {
        padding: 1.75rem 1.25rem;
    }
}

/* Mobile responsiveness for goal selector - Figma Mobile specs */
@media (max-width: 768px) {
    .goal-selector {
        margin: 0.5rem auto 1.5rem;
    }

    .goal-selector-title {
        font-size: 1.25rem; /* 20px - Figma Mobile spec */
        margin-bottom: 1rem;
        font-weight: 700;
        letter-spacing: -0.0125rem;
    }

    .goal-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .goal-option {
        padding: 1.5rem 1.25rem;
        flex-direction: column; /* Icon above text - Figma Mobile spec */
        text-align: center; /* Centered layout - Figma Mobile spec */
        min-height: 200px; /* Figma Mobile spec */
        align-items: center;
        justify-content: center;
    }

    .goal-icon {
        width: 70px; /* Figma Mobile spec */
        height: 70px;
        font-size: 2rem;
    }

    .goal-title {
        font-size: 1.25rem; /* 20px - Figma Mobile spec */
        margin-bottom: 0.25rem;
        text-align: center;
    }

    .goal-subtitle {
        font-size: 1rem; /* 16px - Figma Mobile spec */
        line-height: 1.375rem; /* 22px */
        text-align: center;
        letter-spacing: -0.01rem;
    }
}

.newsletter-signup {
    background: var(--card-background);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
    border: 1px solid var(--border-medium);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
}

.newsletter-signup h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
    color: var(--primary-text);
    font-weight: 600;
}

.newsletter-signup p {
    color: var(--secondary-text);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-size: 0.95rem;
}

/* Override MailerLite form container styles */
.newsletter-signup .ml-form-embedContainer {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.newsletter-signup .ml-form-embedWrapper,
.newsletter-signup .ml-form-embedBody {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Style MailerLite form elements to match site design */
.newsletter-signup .ml-form-embedContainer input[type="email"] {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border-radius: var(--radius-md) !important;
    border: 1.5px solid var(--input-border) !important;
    background: var(--input-bg) !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    color: var(--primary-text) !important;
    font-family: inherit !important;
}

.newsletter-signup .ml-form-embedContainer input[type="email"]:focus {
    outline: none !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px var(--accent-shadow) !important;
}

.newsletter-signup .ml-form-embedContainer button[type="submit"] {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    background: var(--accent-color) !important;
    color: var(--accent-text) !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
    margin-top: 0.5rem !important;
}

.newsletter-signup .ml-form-embedContainer button[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 24px -8px var(--shadow-light) !important;
}

.newsletter-signup .ml-form-embedContainer button[type="submit"]:active {
    transform: translateY(0) !important;
}

/* Hide MailerLite branding and unwanted elements */
.newsletter-signup .ml-form-embedContainer h4,
.newsletter-signup .ml-form-embedContainer p {
    display: none !important;
}

.hero-signup {
    background: var(--card-background);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid var(--border-medium);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-signup h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
    color: var(--primary-text);
    font-weight: 600;
}

.hero-signup p {
    color: var(--secondary-text);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-size: 0.95rem;
}

.hero-signup .beta-signup-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
}

.hero-signup .beta-signup-form input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--input-border);
    background: var(--input-bg);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.hero-signup .beta-signup-form button {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--accent-color);
    color: var(--accent-text);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-signup .beta-signup-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px var(--shadow-light);
}

.hero-signup .beta-signup-form button:active {
    transform: translateY(0);
}

.hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    position: relative;
    width: 100%;
    max-width: 600px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 60px -12px var(--shadow-deep);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-5px);
}

@media (min-width: 768px) {
    .hero {
        padding: 5rem 2rem;
    }

    .hero h1,
    .hero .hero-title {
        font-size: 3.25rem;
    }

    .hero h2 {
        font-size: 1.625rem;
    }

    .hero .section-subtitle {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0.5rem;
    }

    .hero .section-subtitle:last-of-type {
        margin-bottom: 0.5rem;
    }

    .hero-signup {
        margin: 0 auto;
    }

    .hero-media {
        margin-top: 2rem;
    }
}

/* Update CTA button */
.cta-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--accent-color);
    color: var(--accent-text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1.125rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px var(--shadow-light);
}

/* CTA container responsiveness */
.cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .cta-container {
        padding: 0 0.5rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 480px) {
    .cta-container {
        padding: 0 0.25rem;
    }
    
    .cta-button {
        font-size: 0.9rem;
        padding: 0.625rem 1.25rem;
        max-width: calc(100vw - 3rem);
    }
}

/* How It Works Section */
.how-it-works {
    text-align: center;
}

.how-it-works h2 {
    font-size: 3rem; /* 48px - Figma spec */
    font-weight: 700; /* Bold - Figma spec */
    color: var(--primary-text);
    letter-spacing: -0.03rem; /* -0.48px */
    line-height: normal;
    margin-bottom: 4rem;
}

/* Layout adjustments */
.how-it-works-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Step List Styling */
.steps-list {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.steps-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.steps-list div {
    margin: 0;
    padding: 0;
    width: 100%;
}

.steps-list div:last-child .step {
    margin-bottom: 1.5rem; /* Reduced margin on last step */
}

.step {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem; /* Space between blocks */
    position: relative;
    text-decoration: none;
    width: 100%;
    max-width: 800px; /* Figma spec */
    box-sizing: border-box;
    text-align: left;
    padding: 0;
    margin-bottom: 3.5rem; /* Spacing between steps - Figma spec */
    /* No card styling - Figma shows clean text layout */
}

/* No hover effects - steps are not cards in Figma design */

/* Block 1: Number circle (left side of first row) */
.steps-list .step-number {
    width: 44px; /* Figma spec */
    height: 44px; /* Figma spec */
    background: var(--accent-color);
    color: var(--accent-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem; /* 24px - Figma spec */
    font-weight: 860; /* Heavy - Figma spec */
    flex-shrink: 0;
}

/* Block 1: Title (right side of first row, next to circle) */
.step-title {
    color: var(--primary-text);
    font-size: 2.25rem; /* 36px - Figma spec */
    margin-bottom: 0;
    font-weight: 800; /* Extra Bold - Figma spec */
    letter-spacing: -0.0225rem; /* -0.36px - Figma spec */
    line-height: normal; /* Figma spec */
    display: block;
    flex: 1;
}

/* Block 2: Description text container (full width, second row) */
.steps-list .step-text {
    width: 100%; /* Force to new row */
    max-width: 800px; /* Figma spec for description text */
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step p {
    color: var(--primary-text);
    font-size: 1.25rem; /* 20px - Figma spec */
    line-height: 1.75rem; /* 28px - Figma spec */
    margin: 0;
    font-weight: 500; /* Medium - Figma spec */
    letter-spacing: -0.0125rem; /* -0.2px - Figma spec */
}

/* Video Container */
.video-container {
    color: var(--white);
    box-shadow: 0 10px 20px -5px var(--shadow-deep);
    height: 100%;
    width: auto;
    max-width: 450px;
    max-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    z-index: 1;
    position: relative;
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-xs);
}

.video-container video {
    width: 100%;
    border-radius: var(--radius-md);
    color: var(--white);
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Responsive adjustments for layout */
@media (max-width: 1024px) {
    .how-it-works-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .steps-list {
        max-width: 600px;
        margin: 0 auto;
    }

    .video-container {
        max-width: 100%;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 3rem 1rem 0.5rem; /* Less bottom padding on mobile */
    }

    .how-it-works h2 {
        font-size: 1.5rem; /* 24px - Figma Mobile spec */
    }

    .step {
        padding: 0; /* Remove padding - using margin for spacing */
        margin-bottom: 2rem; /* Consistent spacing between steps */
    }

    .steps-list div:last-child .step {
        margin-bottom: 0.5rem; /* Minimal margin on last step for mobile */
    }

    .step-number {
        width: 44px; /* Match desktop Figma spec */
        height: 44px;
        font-size: 1.5rem;
    }

    .step-title {
        font-size: 1.25rem; /* 20px - Figma Mobile spec */
    }

    .step p {
        font-size: 1rem; /* 16px - scaled for mobile */
        line-height: 1.5;
    }

    .feature-container {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        max-width: 100%;
    }
}

/* Final CTA Section */
.final-cta {
  background: #F5F5F5;
  text-align: center;
  /* Separate the CTA's light-grey panel from the footer's (near-identical
     grey) so the two sections don't visually merge. */
  margin-bottom: 3rem;
}

.final-cta h2 {
  font-size: 2.25rem; /* 36px - Figma spec */
  font-weight: 700; /* Bold - Figma spec */
  margin-bottom: 1.5rem;
  color: var(--primary-text);
  letter-spacing: -0.0225rem; /* -0.36px */
  line-height: normal;
}

.cta-subtitle {
  font-size: 1.5rem;
  line-height: 2.25rem;
  color: var(--secondary-text);
  max-width: 800px;
  margin: 0 auto 2rem;
  font-weight: 500;
  letter-spacing: -0.015rem;
}

.cta-button-large {
  display: inline-block;
  padding: 0.875rem 3rem;
  background: var(--accent-color);
  color: white;
  font-size: 1.25rem; /* 20px - Figma spec */
  font-weight: 700; /* Bold - Figma spec */
  border-radius: var(--radius-md); /* Figma spec */
  letter-spacing: -0.0125rem; /* -0.2px - Figma spec */
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(1, 113, 228, 0.25);
}

.cta-button-large:hover {
  background: var(--accent-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 113, 228, 0.3);
}

.pricing-guarantee {
  margin-top: 1.5rem;
  font-size: 1rem; /* 16px - Figma spec */
  color: var(--secondary-text);
  letter-spacing: -0.01rem;
  line-height: 2.25rem; /* 36px - Figma spec */
  font-weight: 500;
}

/* Final CTA Mobile Responsiveness */
@media (max-width: 768px) {
  .final-cta {
    padding: 3rem 1.5rem;
  }

  .final-cta h2 {
    font-size: 1.5rem; /* 24px - Figma Mobile spec */
  }

  .cta-subtitle {
    font-size: 1.125rem; /* 18px - scaled for mobile */
    line-height: 1.6;
  }

  .pricing-guarantee {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* Footer links */
.footer-links {
    margin: 0.5rem 0;
}

.footer-links h4 {
    color: var(--primary-text);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.footer-links a {
    margin: 0 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-text);
    text-decoration: underline;
}

/* Privacy Policy Page Styling */
.privacy-policy-page {
    padding-top: 120px; /* Extra padding to account for fixed header */
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: left;
}

.policy-content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-text);
}

.last-updated {
    font-style: italic;
    color: var(--secondary-text);
    margin-bottom: 2rem;
}

.policy-section {
    margin-bottom: 2rem;
}

.policy-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-text);
}

.policy-section h3 {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
    color: var(--primary-text);
}

.policy-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--secondary-text);
}

@media (max-width: 768px) {
    .privacy-policy-page {
        padding: 100px 1.5rem 2rem 1.5rem;
    }
    
    .policy-content h1 {
        font-size: 1.75rem;
    }
    
    .policy-section h2 {
        font-size: 1.3rem;
    }
    
    .policy-section h3 {
        font-size: 1.1rem;
    }
}

/* Additional styles for section scrolling with fixed header */
.policy-section,
section[id] {
    scroll-margin-top: 100px; /* Ensures sections don't get hidden under fixed header when scrolling to them */
}

/* Enhanced mobile navigation for legal pages */
@media (max-width: 768px) {
    .privacy-policy-page .nav-links.active,
    .terms-of-service-page .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 1.5rem;
        background: var(--dropdown-bg);
        padding: 0.3rem;
        margin-top: 0.5rem;
        z-index: 1000;
        width: auto;
        min-width: 180px;
        border-radius: var(--radius-sm);
        box-shadow: 0 10px 20px -5px var(--shadow-light);
    }
    
    /* Force display of nav links when active, overriding any conflicting styles */
    .nav-links-container .nav-links.active {
        display: flex !important;
    }
    
    /* Ensure items in the dropdown have proper styling */
    .nav-links.active li {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .nav-links.active a {
        display: block;
        padding: 0.5rem 1rem;
        width: 100%;
        text-align: left;
    }
}



/* Application-specific styles */
.application-note {
    background: var(--accent-shadow);
    border: 1px solid var(--accent-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin: 16px 0;
    text-align: center;
}

.application-text {
    color: var(--primary-text);
    font-weight: 500;
    font-size: 0.9rem;
}

.application-highlight {
    text-align: center;
    margin: 2rem 0;
}

.application-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.application-from {
    font-size: 1rem;
    color: var(--secondary-text);
    font-weight: 500;
}

.application-amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-text);
    line-height: 1;
}

.application-amount .billing-note {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
    display: block;
    margin-top: 4px;
}

.application-note {
    font-size: 0.9rem;
    color: var(--secondary-text);
    margin-top: 4px;
}

.application-note-small {
    font-size: 0.85rem;
    color: var(--secondary-text);
    margin-top: 8px;
    text-align: center;
}

.modal-subtitle {
    color: var(--secondary-text);
    margin-bottom: 24px;
    font-size: 1rem;
    text-align: center;
}

/* Enhanced form styling for application */
.form-group textarea {
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
    padding: 12px;
    border: 1px solid var(--input-border);
    border-radius: var(--radius-sm);
    background: var(--input-bg);
    transition: border-color 0.3s ease;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-shadow);
}

/* See It In Action Section */
/* Responsive adjustments */
@media (max-width: 768px) {
    .application-amount {
        font-size: 1.2rem;
    }

    .application-amount .billing-note {
        font-size: 0.9rem;
    }

    .application-highlight {
        margin: 1.5rem 0;
    }
}

/* Mobile Sticky CTA Bar */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-top: 2px solid var(--accent-color);
    box-shadow: 0 -4px 20px rgba(31, 30, 29, 0.15);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sticky-cta-bar.visible {
    opacity: 1;
    visibility: visible;
}

.sticky-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sticky-cta-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.sticky-cta-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-text);
    line-height: 1.2;
}

.sticky-cta-subtitle {
    font-size: 0.75rem;
    color: var(--secondary-text);
    line-height: 1.2;
}

.sticky-cta-button {
    background: var(--accent-color);
    color: var(--accent-text);
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-button);
    flex-shrink: 0;
}

.sticky-cta-button:hover {
    background: var(--accent-color-hover);
    transform: scale(1.05);
    box-shadow: var(--shadow-button-hover);
}

/* Show on mobile and tablet */
@media (max-width: 1024px) {
    .sticky-cta-bar {
        display: block;
    }

    /* Add bottom padding to body to prevent content from being hidden */
    body {
        padding-bottom: 90px; /* Space for sticky CTA bar */
    }

    /* Adjust footer bottom padding */
    footer {
        margin-bottom: 0;
    }
}

/* Smaller screens */
@media (max-width: 480px) {
    .sticky-cta-content {
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }

    .sticky-cta-title {
        font-size: 0.9rem;
    }

    .sticky-cta-subtitle {
        font-size: 0.7rem;
    }

    .sticky-cta-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Adjust body padding for smaller bar height */
    body {
        padding-bottom: 80px;
    }
}
