/*--------------------------
  Global Styles & Variables
---------------------------*/
:root {
    /* Modern Luxury Color Palette - Blues Primary, Greens Secondary */
    --color-primary: #06102b;              /* Deep Navy - Main brand color */
    --color-primary-light: #f2fcff;       /* Soft Blue - Light primary */
    --color-primary-dark: #051228;        /* Darker navy */
    --color-secondary: #0a4923;           /* Dark Green - Secondary color */
    --color-secondary-light: #b8c5b7;     /* Muted Green - Light secondary */
    --color-accent: #b8c5b7;              /* Muted Green - Main accent */
    --color-accent-dark: #0a4923;         /* Dark Green - Dark accent */
    --color-accent-warm: #e6c7c0;         /* Blush - Warm accent */
    --color-success: #0a4923;             /* Dark Green for success */
    --color-text: #06102b;               /* Deep Navy for primary text */
    --color-text-light: #666666;         /* Gray for secondary text */
    --color-text-muted: #999999;         /* Lighter gray for muted text */
    --color-bg: #f2fcff;                 /* Soft Blue background */
    --color-bg-light: #ffffff;           /* Pure white backgrounds */
    --color-bg-section: #fafcff;         /* Very light blue sections */
    --color-warning: #f4a261;            /* Warm Orange */
    --color-error: #e76f51;              /* Coral Red */
    
    /* Modern Luxury gradients - Blue primary */
    --gradient-primary: linear-gradient(135deg, #06102b 0%, #1a2a48 100%);
    /* Project color palette gradient for logo and headings */
    --gradient-luxury: linear-gradient(135deg, #06102b 0%, #0a4923 50%, #b8c5b7 100%);
    --gradient-secondary: linear-gradient(135deg, #0a4923 0%, #b8c5b7 100%);
    --gradient-hero: linear-gradient(135deg, #f2fcff 0%, #ffffff 25%, #fafcff 50%, #f2fcff 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f2fcff 100%);
    --gradient-glass: linear-gradient(145deg, rgba(242,252,255,0.25) 0%, rgba(242,252,255,0.1) 100%);
    --gradient-accent: linear-gradient(135deg, #b8c5b7 0%, #e6c7c0 100%);
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Fibonacci/Golden Ratio spacing system */
    --space-xs: 0.5rem;     /* 8px */
    --space-sm: 0.8125rem;  /* 13px */
    --space-md: 1.3125rem;  /* 21px */
    --space-lg: 2.125rem;   /* 34px */
    --space-xl: 3.4375rem;  /* 55px */
    --space-2xl: 5.5625rem; /* 89px */
    --space-3xl: 9rem;      /* 144px */
    --space-4xl: 14.625rem; /* 234px */
    
    /* Fibonacci border radius */
    --radius-sm: 0.5rem;      /* 8px */
    --radius-md: 0.8125rem;   /* 13px */
    --radius-lg: 1.3125rem;   /* 21px */
    --radius-xl: 2.125rem;    /* 34px */
    --radius-2xl: 3.4375rem;  /* 55px */
    --radius-full: 9999px;
    
    /* Modern Luxury shadows */
    --shadow-sm: 0 1px 2px 0 rgba(6, 16, 43, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(6, 16, 43, 0.1), 0 2px 4px -1px rgba(6, 16, 43, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(6, 16, 43, 0.1), 0 4px 6px -2px rgba(6, 16, 43, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(6, 16, 43, 0.1), 0 10px 10px -5px rgba(6, 16, 43, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(6, 16, 43, 0.25);
    --shadow-glow: 0 0 20px rgba(6, 16, 43, 0.3);
    --shadow-inner: inset 0 2px 4px 0 rgba(6, 16, 43, 0.06);
    
    /* Animation variables */
    --animation-fast: 0.15s;
    --animation-normal: 0.3s;
    --animation-slow: 0.6s;
    --animation-slower: 1s;
    --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Enhanced base styles */
* {
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--gradient-hero);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Premium scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* Enhanced link styles */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all var(--animation-normal) var(--ease-out-cubic);
    position: relative;
}

a:hover {
    color: var(--color-accent);
    transform: translateY(-1px);
}

/* Premium image styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    transition: all var(--animation-normal) var(--ease-out-cubic);
}

img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* Enhanced button styles */
button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: all var(--animation-normal) var(--ease-out-cubic);
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left var(--animation-slow) var(--ease-out-cubic);
}

button:hover::before {
    left: 100%;
}

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

/* Floating elements animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(56, 198, 56, 0.3); }
    50% { box-shadow: 0 0 30px rgba(56, 198, 56, 0.6); }
}

/* Premium background patterns */
.bg-pattern {
    position: relative;
    overflow: hidden;
}

.bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(56, 198, 56, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(72, 255, 72, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.bg-pattern > * {
    position: relative;
    z-index: 1;
}

/* Glass morphism effect */
.glass {
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl);
}

/* Neumorphism effect */
.neomorphism {
    background: var(--color-bg);
    box-shadow: 
        20px 20px 60px rgba(17, 66, 17, 0.1),
        -20px -20px 60px rgba(255, 255, 255, 0.8),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
}

.neomorphism:hover {
    box-shadow: 
        25px 25px 75px rgba(17, 66, 17, 0.15),
        -25px -25px 75px rgba(255, 255, 255, 0.9),
        inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

/* Premium card styles */
.premium-card {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    transition: all var(--animation-normal) var(--ease-out-cubic);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--animation-normal) var(--ease-out-cubic);
}

.premium-card:hover::before {
    transform: scaleX(1);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

/* Animated gradient text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Stagger animation utility */
.stagger-animation > * {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) forwards;
}

.stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation > *:nth-child(6) { animation-delay: 0.6s; }

/* Magnetic hover effect */
.magnetic {
    transition: transform var(--animation-fast) var(--ease-out-cubic);
}

.magnetic:hover {
    transform: scale(1.05);
}

/* Parallax scroll effect */
.parallax {
    transform: translateZ(0);
    transition: transform var(--animation-fast) linear;
}

/* Premium loading animation */
.loading-shimmer {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.2) 20%, 
        rgba(255,255,255,0.5) 50%, 
        rgba(255,255,255,0.2) 80%, 
        rgba(255,255,255,0) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/*--------------------------
  Typography Enhancements
---------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin: 0 0 var(--space-md) 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    background: var(--gradient-luxury);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--color-text);
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

/* Enhanced paragraph styles */
p {
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-text);
}

/*--------------------------
  Enhanced Components
---------------------------*/
.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--animation-normal) var(--ease-out-cubic);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left var(--animation-slow) var(--ease-out-cubic);
}

.cta:hover::before {
    left: 100%;
}

.cta.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
}

.cta.primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    animation: glow 2s infinite;
    background: var(--color-primary-dark);
    color: white;
}

.cta.large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
    flex-direction: column;
    gap: var(--space-xs);
    border-radius: var(--radius-xl);
}

.cta-text {
    font-weight: 700;
}

.cta-subtext {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
}

.cta.secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
    border: 2px solid var(--color-primary);
    backdrop-filter: blur(10px);
}

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

/*--------------------------
  Enhanced Logo
---------------------------*/
.logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: all var(--animation-normal) var(--ease-out-cubic);
    margin-left: 10px;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 40px;
    width: auto;
    transition: all var(--animation-normal) var(--ease-out-cubic);
    animation: float 3s ease-in-out infinite;
}

.logo-icon {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
}

.logo-text {
    font-family: var(--font-heading);
    background: var(--gradient-luxury);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/*--------------------------
  Premium Hero Section
---------------------------*/
#hero {
    background: var(--gradient-hero);
    padding: 0;
    min-height: 75vh; /* Reduced from 90vh to 75vh to show more content above the fold */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(10, 26, 56, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(179, 193, 173, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(224, 191, 184, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

#hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(10, 26, 56, 0.03), transparent);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md); /* Reduced from var(--space-lg) to make more compact */
    position: relative;
    z-index: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: var(--space-lg) 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--animation-normal) var(--ease-out-cubic);
    border-radius: var(--radius-xl);
    margin: var(--space-md) 0;
    box-shadow: var(--shadow-lg);
}

.navbar:hover {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-xl);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: var(--space-xl);
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-text);
    transition: all var(--animation-normal) var(--ease-out-cubic);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    position: relative;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--animation-normal) var(--ease-out-cubic);
    transform: translateX(-50%);
}

.nav-links li a:hover {
    color: var(--color-primary);
    background: rgba(56, 198, 56, 0.1);
    transform: translateY(-2px);
}

.nav-links li a:hover::before {
    width: 100%;
}

.hero-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg); /* Reduced from var(--space-xl) to make more compact */
    align-items: center;
    padding: var(--space-md) 0; /* Reduced from var(--space-lg) 0 to make more compact */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    width: fit-content;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md); /* Reduced from var(--space-lg) to make more compact */
    line-height: 1.6;
    font-weight: 500;
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) 0.2s both;
}

.value-props {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md); /* Reduced from var(--space-lg) to make more compact */
}

.value-prop {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
    padding: 0px;
    animation: slideInLeft var(--animation-slow) var(--ease-out-cubic) both;
}

.value-prop:nth-child(1) { animation-delay: 0.3s; }
.value-prop:nth-child(2) { animation-delay: 0.4s; }
.value-prop:nth-child(3) { animation-delay: 0.5s; }

.check-icon {
    font-size: 1.5rem;
    color: var(--color-secondary);
    animation: scaleIn var(--animation-normal) var(--ease-bounce) both;
}

.hero-cta-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) 0.6s both;
}

.cta-disclaimer {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

/* Enhanced Store Buttons */
.store-buttons {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.store-button {
    display: inline-block;
    transition: all var(--animation-normal) var(--ease-out-cubic);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.store-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--animation-normal) var(--ease-out-cubic);
    z-index: 1;
}

.store-button:hover::before {
    opacity: 0.1;
}

.store-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.store-button img {
    height: 60px;
    width: auto;
    display: block;
    position: relative;
    z-index: 2;
    transition: all var(--animation-normal) var(--ease-out-cubic);
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: slideInRight var(--animation-slow) var(--ease-out-cubic) 0.4s both;
}

@media (min-width: 768px) {
    .hero-main {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl); /* Reduced from var(--space-4xl) to make more compact */
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
    }
    
    .navbar {
        justify-content: center;
        margin: var(--space-md) 0 var(--space-sm) 0; /* Reduced bottom margin */
    }
    
    .hero-main {
        text-align: center;
        gap: var(--space-lg); /* Reduced from var(--space-2xl) */
        padding: var(--space-md) 0; /* Reduced from var(--space-2xl) 0 */
    }
    
    .value-props {
        align-items: flex-start; /* Ensure left alignment */
        text-align: left; /* Force left alignment for text */
    }
    
    .value-prop {
        justify-content: flex-start; /* Ensure left alignment */
        text-align: left; /* Force left alignment for text */
    }
}

/*--------------------------
  Problem Section
---------------------------*/
.section-problem {
    padding: var(--space-2xl) 0; /* Reduced from var(--space-4xl) 0 */
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.section-problem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(239, 68, 68, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.problem-content {
    text-align: center;
    max-width: 1200px; /* Increased from 900px to accommodate 4 cards */
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.problem-content h2 {
    margin-bottom: var(--space-sm); /* Further reduced spacing */
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) both;
}

.problem-subtitle {
    font-size: 1.125rem; /* Reduced from 1.25rem */
    color: var(--color-text-light);
    margin-bottom: var(--space-lg); /* Reduced from var(--space-2xl) */
    font-weight: 500;
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) 0.2s both;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Changed back to responsive auto-fit for better mobile compatibility */
    gap: var(--space-md); /* Reduced from var(--space-xl) */
    margin-top: var(--space-lg); /* Reduced from var(--space-2xl) */
}

/* Desktop-specific: Force 4 columns on larger screens */
@media (min-width: 1024px) {
    .problem-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet: 3 columns */
@media (min-width: 769px) and (max-width: 1023px) {
    .problem-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Use !important to ensure override */
        gap: var(--space-sm); /* Smaller gap on mobile */
        margin-top: var(--space-md); /* Reduced top margin */
    }
}

.problem-item {
    background: var(--gradient-card);
    padding: var(--space-sm); /* Reduced from var(--space-2xl) */
    border-radius: var(--radius-lg); /* Reduced from var(--radius-xl) */
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all var(--animation-normal) var(--ease-out-cubic);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.problem-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-luxury);
    transform: scaleX(0);
    transition: transform var(--animation-normal) var(--ease-out-cubic);
}

.problem-item:hover::before {
    transform: scaleX(1);
}

.problem-item:hover {
    transform: translateY(-6px) scale(1.02); /* Reduced from -8px */
    box-shadow: var(--shadow-2xl);
}

.problem-icon {
    font-size: 2.5rem; /* Reduced from 3rem */
    margin-bottom: var(--space-sm); /* Further reduced spacing */
    background: var(--gradient-luxury);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 4s ease-in-out infinite;
}

.problem-item:nth-child(2) .problem-icon {
    animation-delay: -1s;
}

.problem-item:nth-child(3) .problem-icon {
    animation-delay: -2s;
}

.problem-item:nth-child(4) .problem-icon {
    animation-delay: -3s;
}

.problem-item h3 {
    color: var(--color-text);
    margin-bottom: var(--space-sm); /* Reduced from var(--space-md) */
    font-size: 1.125rem; /* Reduced from 1.25rem */
    font-weight: 600;
}

.problem-item p {
    color: var(--color-text-light);
    line-height: 1.5; /* Reduced from 1.6 */
    font-size: 0.9rem; /* Reduced from 1rem */
    margin: 0; /* Remove default margin */
}

/*--------------------------
  Solution Section
---------------------------*/
.section-solution {
    padding: var(--space-xl) 0; /* Further reduced spacing */
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.section-solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(56, 198, 56, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(72, 255, 72, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.solution-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-lg) auto; /* Further reduced bottom margin */
    position: relative;
    z-index: 1;
}

.solution-header h2 {
    margin-bottom: var(--space-sm); /* Further reduced spacing */
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) both;
}

.solution-subtitle {
    font-size: 1.125rem; /* Reduced from 1.25rem */
    color: var(--color-text-light);
    font-weight: 500;
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) 0.2s both;
}

.how-it-works {
    margin-bottom: var(--space-lg); /* Further reduced spacing */
    position: relative;
    z-index: 1;
}

.how-it-works h3 {
    text-align: center;
    margin-bottom: var(--space-lg); /* Reduced from var(--space-2xl) */
    color: var(--color-primary);
    font-size: 1.75rem; /* Reduced from 2rem */
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) both;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Reduced from 320px */
    gap: var(--space-lg); /* Reduced from var(--space-3xl) */
    margin-bottom: var(--space-lg); /* Further reduced spacing */
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    transform: translateY(-50%);
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    background: var(--gradient-card);
    padding: var(--space-lg); /* Reduced from var(--space-2xl) */
    border-radius: var(--radius-lg); /* Reduced from var(--radius-xl) */
    box-shadow: var(--shadow-lg);
    transition: all var(--animation-normal) var(--ease-out-cubic);
    border: 1px solid rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.step:hover {
    transform: translateY(-6px) scale(1.02); /* Reduced from -8px */
    box-shadow: var(--shadow-2xl);
}

.step-number {
    position: absolute; /* Changed to absolute positioning */
    top: var(--space-md); /* Position from top */
    right: var(--space-md); /* Position from right */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem; /* Reduced from 4rem */
    height: 3rem; /* Reduced from 4rem */
    background: var(--gradient-primary);
    color: white; /* Changed from #dc2626 to white for better contrast */
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem; /* Reduced from 1.5rem */
    box-shadow: var(--shadow-lg);
    z-index: 10; /* High z-index to appear above image */
    animation: pulse 2s infinite;
    border: 3px solid white; /* Add white border for better visibility */
}

.step-number::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.step:nth-child(2) .step-number {
    animation-delay: -0.5s;
}

.step:nth-child(3) .step-number {
    animation-delay: -1s;
}

.step-image {
    width: 100%;
    max-width: 180px; /* Reduced from 200px */
    height: auto;
    border-radius: var(--radius-md); /* Reduced from var(--radius-lg) */
    margin: 0 auto var(--space-md) auto; /* Center the image horizontally */
    box-shadow: var(--shadow-md);
    transition: all var(--animation-normal) var(--ease-out-cubic);
    position: relative; /* Add relative positioning for step number overlay */
    display: block; /* Ensure block display for proper centering */
}

.step-image:hover {
    transform: scale(1.03); /* Reduced from 1.05 */
    box-shadow: var(--shadow-lg);
}

.step h4 {
    color: var(--color-text);
    margin-bottom: var(--space-sm); /* Reduced from var(--space-md) */
    font-size: 1.125rem; /* Reduced from 1.25rem */
    font-weight: 600;
}

.step p {
    color: var(--color-text-light);
    line-height: 1.5; /* Reduced from 1.6 */
    font-size: 0.95rem; /* Reduced from 1rem */
    margin: 0; /* Remove default margin */
}

/*--------------------------
  Voice Commands Examples Section
---------------------------*/
.voice-commands-section {
    background: var(--gradient-hero);
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.voice-commands-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.voice-commands-section h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    background: var(--gradient-luxury);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp var(--animation-slow) var(--ease-out-cubic) both;
}

.voice-commands-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    animation: fadeInUp var(--animation-slow) var(--ease-out-cubic) 0.2s both;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.command-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: all var(--animation-normal) var(--ease-out-cubic);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) both;
}

.command-card[data-delay="0"] { animation-delay: 0s; }
.command-card[data-delay="0.2"] { animation-delay: 0.2s; }
.command-card[data-delay="0.4"] { animation-delay: 0.4s; }
.command-card[data-delay="0.6"] { animation-delay: 0.6s; }
.command-card[data-delay="0.8"] { animation-delay: 0.8s; }
.command-card[data-delay="1.0"] { animation-delay: 1.0s; }

.command-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease-in-out;
}

.command-card:hover::before {
    left: 100%;
}

.command-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.95);
}

.command-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-luxury);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--animation-normal) var(--ease-out-cubic);
}

.command-icon i {
    font-size: 1.25rem;
    color: white;
    transition: transform var(--animation-normal) var(--ease-out-cubic);
}

.command-card:hover .command-icon {
    transform: scale(1.1) rotate(5deg);
}

.command-card:hover .command-icon i {
    transform: scale(1.1);
}

.command-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: left;
    line-height: 1.3;
    font-style: italic;
    position: relative;
}

.command-text::before {
    content: '"';
    font-size: 1.25rem;
    color: var(--color-accent);
    position: absolute;
    left: -12px;
    top: -4px;
    font-weight: 700;
}

.command-text::after {
    content: '"';
    font-size: 1.25rem;
    color: var(--color-accent);
    font-weight: 700;
}

@media (max-width: 768px) {
    .voice-commands-section {
        padding: var(--space-lg) 0;
    }
    
    .voice-commands-section h3 {
        font-size: 1.5rem;
        margin-bottom: var(--space-xs);
    }
    
    .voice-commands-subtitle {
        font-size: 1rem;
        margin-bottom: var(--space-md);
    }
    
    .commands-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .command-card {
        padding: var(--space-sm) var(--space-md);
        flex-direction: row;
    }
    
    .command-icon {
        width: 40px;
        height: 40px;
    }
    
    .command-icon i {
        font-size: 1.125rem;
    }
    
    .command-text {
        font-size: 0.9375rem;
    }
    
    .command-text::before {
        left: -10px;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*--------------------------
  CTA Row Section
---------------------------*/
.cta-row-section {
    background: var(--gradient-luxury);
    padding: var(--space-lg) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-2xl);
    border-radius: var(--radius-lg);
}

.cta-row-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    z-index: 1;
}

.cta-row-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.cta-row-section h3 {
    color: white;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp var(--animation-slow) var(--ease-out-cubic) both;
}

.cta-row-section .cta-button {
    background: transparent;
    color: white;
    padding: var(--space-md) var(--space-2xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 1s var(--ease-out-cubic);
    box-shadow: var(--shadow-lg);
    animation: fadeInUp var(--animation-slow) var(--ease-out-cubic) 0.3s both;
    position: relative;
    overflow: hidden;
}

.cta-row-section .cta-button span {
    position: relative;
    z-index: 2;
    opacity: 0.9;
    transition: opacity var(--animation-normal) var(--ease-out-cubic);
}

.cta-row-section .cta-button .line {
    background: white;
    position: absolute;
    transform: scale(1);
    opacity: 1;
    animation: lineAnimation 3s ease-in-out infinite;
}

.cta-row-section .cta-button .line:nth-child(2) {
    transform-origin: 100% 100%;
    height: 1px;
    width: 20%;
    bottom: 0;
    left: 0;
}

.cta-row-section .cta-button .line:nth-child(3) {
    transform-origin: 100% 100%;
    height: 100%;
    width: 1px;
    bottom: 0;
    left: -1px;
    animation-delay: 0.5s;
}

.cta-row-section .cta-button .line:nth-child(4) {
    transform-origin: 0 100%;
    height: 1px;
    width: 100%;
    top: -1px;
    left: -1px;
    animation-delay: 0.9s;
}

.cta-row-section .cta-button .line:nth-child(5) {
    transform-origin: 0 100%;
    height: 1px;
    width: 20%;
    top: -1px;
    right: 0;
}

.cta-row-section .cta-button .line:nth-child(6) {
    transform-origin: 100% 0;
    height: 100%;
    width: 1px;
    bottom: 0;
    right: -1px;
    animation-delay: 0.5s;
}

.cta-row-section .cta-button .line:nth-child(7) {
    transform-origin: 100% 0;
    height: 1px;
    width: 100%;
    bottom: 0;
    right: -1px;
    animation-delay: 0.9s;
}

.cta-row-section .cta-button:hover .line {
    animation-play-state: paused;
    transform: scale(0);
    opacity: 0;
}

.cta-row-section .cta-button:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.cta-row-section .cta-button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

@keyframes lineAnimation {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(0);
        opacity: 1;
    }
}


@media (max-width: 768px) {
    .cta-row-content {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .cta-row-section .cta-button {
        padding: var(--space-sm) var(--space-xl);
        font-size: 1rem;
    }
}

/*--------------------------
  Features Section
---------------------------*/
.features-section {
    position: relative;
    z-index: 1;
}

.features-section h3 {
    text-align: center;
    margin-bottom: var(--space-2xl); /* Reduced from var(--space-3xl) */
    color: var(--color-primary);
    font-size: 1.75rem; /* Reduced from 2rem */
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) both;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); /* Reduced from 380px */
    gap: var(--space-2xl); /* Reduced from var(--space-3xl) */
}

.feature-card {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--animation-normal) var(--ease-out-cubic);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--animation-normal) var(--ease-out-cubic);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.feature-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all var(--animation-normal) var(--ease-out-cubic);
    border-radius: 0;
}

.feature-card:hover .feature-image {
    transform: scale(1.05);
}

.feature-content {
    padding: var(--space-sm);
}

.feature-content h4 {
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 1.375rem;
    font-weight: 700;
}

.feature-content h4 i {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-content p {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 1.125rem;
}

.feature-content strong {
    color: var(--color-primary);
    font-weight: 600;
}

/*--------------------------
  Social Proof Section
---------------------------*/
.section-social-proof {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
}

.section-social-proof h3 {
    text-align: center;
    color: white;
    margin-bottom: var(--space-2xl);
}

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

.testimonial {
    background: rgba(255, 255, 255, 0.15);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stars {
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
}

.testimonial p {
    font-style: italic;
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.author {
    font-weight: 600;
    opacity: 0.9;
}

/*--------------------------
  FAQ Section
---------------------------*/
.section-faq {
    padding: var(--space-3xl) 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.section-faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(56, 198, 56, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(72, 255, 72, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.faq-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto; /* 48px - reduced from 89px */
    position: relative;
    z-index: 1;
}

.faq-header h2 {
    margin-bottom: var(--space-md);
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) both;
}

.faq-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    font-weight: 500;
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) 0.2s both;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem; /* 24px - matches original template spacing */
    position: relative;
    z-index: 1;
}

.faq-item {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--animation-normal) var(--ease-out-cubic);
    border: 1px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) both;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }
.faq-item:nth-child(7) { animation-delay: 0.7s; }
.faq-item:nth-child(8) { animation-delay: 0.8s; }
.faq-item:nth-child(9) { animation-delay: 0.9s; }
.faq-item:nth-child(10) { animation-delay: 1.0s; }

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--animation-normal) var(--ease-out-cubic);
}

.faq-item:hover::before {
    transform: scaleX(1);
}

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

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem; /* 24px - matches original template spacing */
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    transition: all var(--animation-normal) var(--ease-out-cubic);
    position: relative;
}

.faq-question:hover {
    color: var(--color-primary);
    background: rgba(56, 198, 56, 0.05);
}

.faq-question span {
    flex: 1;
    line-height: 1.4;
}

.faq-icon {
    font-size: 0.875rem;
    color: var(--color-primary);
    transition: transform var(--animation-normal) var(--ease-out-cubic);
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all var(--animation-normal) var(--ease-out-cubic);
    background: rgba(255, 255, 255, 0.5);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 var(--space-lg) var(--space-lg) var(--space-lg);
}

.faq-answer p {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    padding-top: var(--space-sm);
}

/* Tablet: 3 columns */
@media (min-width: 769px) and (max-width: 1023px) {
    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
    .section-faq {
        padding: var(--space-2xl) 0;
    }
    
    .faq-header {
        margin-bottom: var(--space-lg);
    }
    
    .faq-header h2 {
        font-size: 1.75rem;
        margin-bottom: var(--space-sm);
    }
    
    .faq-subtitle {
        font-size: 1rem;
    }
    
    .faq-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: var(--space-sm);
    }
    
    .faq-item {
        border-radius: var(--radius-md);
    }
    
    .faq-question {
        padding: var(--space-md);
        font-size: 0.9rem;
        gap: var(--space-sm);
    }
    
    .faq-question span {
        line-height: 1.3;
    }
    
    .faq-icon {
        font-size: 0.75rem;
    }
    
    .faq-item.active .faq-answer {
        max-height: 250px;
        padding: 0 var(--space-md) var(--space-md) var(--space-md);
    }
    
    .faq-answer p {
        font-size: 0.875rem;
        line-height: 1.5;
        padding-top: var(--space-xs);
    }
}

/* Very small mobile: 1 column */
@media (max-width: 480px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .faq-question {
        padding: var(--space-sm);
        font-size: 0.875rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 var(--space-sm) var(--space-sm) var(--space-sm);
    }
}

/*--------------------------
  Pricing Section
---------------------------*/
.section-pricing {
    padding: var(--space-3xl) 0; /* Reduced from var(--space-4xl) 0 */
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.section-pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(10, 26, 56, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(179, 193, 173, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-2xl); /* Reduced from var(--space-3xl) */
    position: relative;
    z-index: 1;
}

.pricing-header h2 {
    margin-bottom: var(--space-sm); /* Further reduced spacing */
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) both;
}

.pricing-subtitle {
    font-size: 1.125rem; /* Reduced from 1.25rem */
    color: var(--color-text-light);
    font-weight: 500;
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) 0.2s both;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg); /* Reduced from var(--space-2xl) */
    margin-bottom: var(--space-2xl); /* Reduced from var(--space-3xl) */
    margin-top: var(--space-xl); /* Increased top margin to accommodate popular badge */
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: var(--gradient-card);
    border-radius: var(--radius-xl); /* Reduced from var(--radius-2xl) */
    padding: var(--space-lg); /* Reduced from var(--space-3xl) */
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: all var(--animation-normal) var(--ease-out-cubic);
    border: 2px solid rgba(255, 255, 255, 0.8);
    overflow: hidden; /* Keep hidden to clip the green line */
    margin-top: 0; /* Remove individual card margin since we use grid container margin */
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--animation-normal) var(--ease-out-cubic);
    z-index: 1; /* Lower z-index than badge */
    /* Remove border-radius since overflow:hidden will clip it naturally */
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02); /* Reduced from -12px */
    box-shadow: var(--shadow-2xl);
}

.pricing-card.featured {
    border: 3px solid var(--color-primary);
    transform: scale(1.03); /* Reduced from 1.05 */
    background: linear-gradient(145deg, #ffffff 0%, #f0f8ff 100%);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    margin-top: 0; /* Keep consistent with other cards */
    overflow: hidden; /* Ensure featured card also clips the line */
}

.pricing-card.featured::before {
    transform: scaleX(1);
    height: 6px;
    z-index: 1; /* Lower z-index than badge */
    /* Remove border-radius since overflow:hidden will clip it naturally */
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-10px); /* Reduced from 1.05 and -16px */
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(10, 26, 56, 0.4);
}

.popular-badge {
    position: relative;
    top: -24px; /* Moved further up to ensure visibility outside card */
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--color-text);
    padding: var(--space-sm) var(--space-lg); /* Increased padding for better visibility */
    border-radius: var(--radius-full);
    font-size: 0.85rem; /* Slightly increased from 0.8rem */
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
    animation: float 3s ease-in-out infinite;
    white-space: nowrap; /* Prevent text wrapping */
    z-index: 0 ; /* Much higher z-index to ensure it appears above everything */
    pointer-events: none; /* Prevent interference with card interactions */
}

.tier-header {
    text-align: center;
    margin-bottom: var(--space-lg); /* Reduced from var(--space-2xl) */
}

.tier-name {
    color: var(--color-text);
    margin-bottom: var(--space-sm); /* Further reduced spacing */
    font-size: 1.5rem; /* Reduced from 1.75rem */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.tier-icon {
    width: 28px;
    height: 28px;
    display: inline-block;
    vertical-align: middle;
    animation: float 3s ease-in-out infinite;
}

.pricing-card:nth-child(1) .tier-icon {
    animation-delay: 0s;
}

.pricing-card:nth-child(2) .tier-icon {
    animation-delay: 0.5s;
}

.pricing-card:nth-child(3) .tier-icon {
    animation-delay: 1s;
}

.tier-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm); /* Reduced from var(--space-md) */
}

.price {
    font-size: 2.5rem; /* Reduced from 3rem */
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.period {
    font-size: 1rem; /* Reduced from 1.125rem */
    color: var(--color-text-light);
    font-weight: 600;
}

.tier-description {
    color: var(--color-text-light);
    margin-bottom: var(--space-sm); /* Further reduced spacing */
    font-size: 0.9rem; /* Reduced from 1rem */
    font-weight: 500;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg) 0; /* Reduced from var(--space-2xl) */
}

.tier-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm); /* Reduced from var(--space-md) */
    padding: var(--space-xs) 0; /* Reduced from var(--space-sm) 0 */
    font-size: 0.9rem; /* Reduced from 1rem */
    font-weight: 500;
    transition: all var(--animation-normal) var(--ease-out-cubic);
}

.tier-features li:hover {
    transform: translateX(4px);
    color: var(--color-primary);
}

.feature-icon {
    font-size: 1rem; /* Reduced from 1.125rem */
    width: 1.25rem; /* Reduced from 1.5rem */
    text-align: center;
    flex-shrink: 0;
}

.feature-icon i.fa-check {
    color: var(--color-secondary);
    background: rgba(9, 67, 17, 0.1);
    border-radius: 50%;
    padding: 3px; /* Reduced from 4px */
}

.feature-icon i.fa-times {
    color: var(--color-text-light);
    opacity: 0.4;
}

.price-cta {
    width: 100%;
    margin-bottom: var(--space-sm); /* Further reduced spacing */
    padding: var(--space-md) var(--space-lg); /* Reduced from var(--space-lg) var(--space-xl) */
    font-weight: 700;
    font-size: 1rem; /* Reduced from 1.125rem */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.featured-cta {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
    animation: glow 3s ease-in-out infinite;
}

.featured-cta:hover {
    animation: glow 1s ease-in-out infinite;
    transform: translateY(-3px) scale(1.02);
    background: var(--color-primary-dark);
    color: white;
}

.money-back {
    text-align: center;
    font-size: 0.8rem; /* Reduced from 0.875rem */
    color: var(--color-secondary);
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
}

.money-back::before {
    content: '💰';
    font-size: 0.9rem; /* Reduced from 1rem */
}

@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: var(--space-md); /* Reduced from var(--space-lg) */
        margin-top: var(--space-xl); /* Increased top margin for badge space on mobile */
    }
    
    .pricing-card {
        padding: var(--space-lg); /* Reduced from var(--space-3xl) */
        border-radius: var(--radius-lg); /* Reduced from var(--radius-2xl) */
        margin-top: 0; /* Remove individual card margin since we use grid container margin */
        overflow: hidden; /* Keep hidden to clip the green line */
    }
    
    .pricing-card::before {
        z-index: 1; /* Lower z-index than badge */
        /* Remove border-radius since overflow:hidden will clip it naturally */
    }
    
    .pricing-card.featured {
        transform: none;
        margin-top: 0; /* Keep consistent with other cards */
        overflow: hidden; /* Ensure featured card also clips the line */
    }
    
    .pricing-card.featured::before {
        z-index: 1; /* Lower z-index than badge */
        /* Remove border-radius since overflow:hidden will clip it naturally */
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .popular-badge {
        top: -20px; /* Moved further up to ensure visibility outside card on mobile */
        padding: var(--space-xs) var(--space-md); /* Reduced padding */
        font-size: 0.75rem; /* Reduced from 0.875rem */
        white-space: nowrap; /* Prevent text wrapping on mobile */
        z-index: 30; /* Much higher z-index to ensure it appears above everything */
        pointer-events: none; /* Prevent interference with card interactions */
    }
    
    .tier-header {
        margin-bottom: var(--space-md); /* Reduced from var(--space-2xl) */
    }
    
    .tier-name {
        font-size: 1.25rem; /* Reduced from 1.75rem */
        margin-bottom: var(--space-sm); /* Reduced from var(--space-lg) */
    }
    
    .tier-price {
        margin-bottom: var(--space-xs); /* Reduced from var(--space-md) */
    }
    
    .price {
        font-size: 2rem; /* Reduced from 3rem */
    }
    
    .period {
        font-size: 1rem; /* Reduced from 1.125rem */
    }
    
    .tier-description {
        font-size: 0.875rem; /* Reduced from 1rem */
        margin-bottom: var(--space-sm); /* Reduced from var(--space-lg) */
        line-height: 1.4; /* Tighter line height */
    }
    
    .tier-features {
        margin: 0 0 var(--space-md) 0; /* Reduced from var(--space-2xl) */
    }
    
    .tier-features li {
        padding: var(--space-xs) 0; /* Reduced from var(--space-sm) 0 */
        font-size: 0.875rem; /* Reduced from 1rem */
        gap: var(--space-sm); /* Reduced from var(--space-md) */
        line-height: 1.3; /* Tighter line height for single line fit */
        align-items: flex-start; /* Align to top for better text wrapping */
    }
    
    .feature-icon {
        font-size: 1rem; /* Reduced from 1.125rem */
        width: 1.25rem; /* Reduced from 1.5rem */
        margin-top: 2px; /* Small offset to align with text */
    }
    
    .feature-icon i.fa-check {
        padding: 2px; /* Reduced from 4px */
    }
    
    .price-cta {
        padding: var(--space-sm) var(--space-md); /* Reduced from var(--space-lg) var(--space-xl) */
        font-size: 1rem; /* Reduced from 1.125rem */
        margin-bottom: var(--space-sm); /* Reduced from var(--space-lg) */
    }
    
    .money-back {
        font-size: 0.75rem; /* Reduced from 0.875rem */
        gap: var(--space-xs); /* Keep small gap */
    }
    
    /* Additional mobile-specific optimizations */
    .section-pricing {
        padding: var(--space-2xl) 0; /* Reduced from var(--space-4xl) 0 */
    }
    
    .pricing-header {
        margin-bottom: var(--space-lg); /* Reduced from var(--space-3xl) */
    }
    
    .pricing-header h2 {
        font-size: 1.75rem; /* Smaller heading */
        margin-bottom: var(--space-sm); /* Reduced spacing */
    }
    
    .pricing-subtitle {
        font-size: 1rem; /* Reduced from 1.25rem */
        margin-bottom: var(--space-md); /* Reduced spacing */
    }
}

/*--------------------------
  Pricing Value Section
---------------------------*/
.pricing-value {
    max-width: 600px;
    margin: var(--space-2xl) auto 0 auto;
    text-align: center;
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.pricing-value h4 {
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.value-calculation {
    display: grid;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.calc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--color-bg-light);
    border-radius: var(--radius-sm);
}

.calc-item.highlight {
    background: var(--color-primary);
    color: white;
    font-weight: 700;
}

.calc-label {
    font-weight: 500;
}

.calc-value {
    font-weight: 700;
    font-size: 1.125rem;
}

.calc-conclusion {
    font-size: 1.125rem;
    color: var(--color-primary);
    font-weight: 600;
    margin: 0;
}

/*--------------------------
  Modal
---------------------------*/
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    max-width: 420px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-light);
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background-color: var(--color-bg-light);
}

.modal-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.modal-header h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.modal-header p {
    color: var(--color-text-light);
    line-height: 1.5;
    font-size: 0.9rem;
}

/*--------------------------
  Progress Bar
---------------------------*/
.progress-container {
    margin-bottom: var(--space-lg);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--color-bg-section);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent-bright));
    border-radius: var(--radius-full);
    width: 25%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/*--------------------------
  Celebration Animations
---------------------------*/
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-accent-bright);
    animation: confetti-fall 3s ease-out forwards;
}

.confetti-piece:nth-child(odd) {
    background: var(--color-primary);
    border-radius: 50%;
}

.confetti-piece:nth-child(even) {
    background: var(--color-accent);
    border-radius: 2px;
}

.confetti-piece:nth-child(3n) {
    background: var(--color-accent-bright);
    width: 6px;
    height: 12px;
    border-radius: 3px;
}

.confetti-piece:nth-child(4n) {
    background: var(--color-success);
    width: 10px;
    height: 4px;
    border-radius: 2px;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* YouTube-like celebration burst */
.celebration-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1001;
}

.burst-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent-bright);
    animation: burst-out 0.6s ease-out forwards;
}

.burst-particle:nth-child(1) { animation-delay: 0ms; transform: rotate(0deg); }
.burst-particle:nth-child(2) { animation-delay: 50ms; transform: rotate(45deg); background: var(--color-primary); }
.burst-particle:nth-child(3) { animation-delay: 100ms; transform: rotate(90deg); background: var(--color-accent); }
.burst-particle:nth-child(4) { animation-delay: 150ms; transform: rotate(135deg); background: var(--color-success); }
.burst-particle:nth-child(5) { animation-delay: 200ms; transform: rotate(180deg); background: var(--color-accent-bright); }
.burst-particle:nth-child(6) { animation-delay: 250ms; transform: rotate(225deg); background: var(--color-primary); }
.burst-particle:nth-child(7) { animation-delay: 300ms; transform: rotate(270deg); background: var(--color-accent); }
.burst-particle:nth-child(8) { animation-delay: 350ms; transform: rotate(315deg); background: var(--color-success); }

@keyframes burst-out {
    0% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateX(30px) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translateX(50px) scale(0);
        opacity: 0;
    }
}

/* Progress celebration pulse */
.progress-celebrate {
    animation: progress-pulse 0.6s ease-out;
}

@keyframes progress-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(56, 198, 56, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(56, 198, 56, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(56, 198, 56, 0);
    }
}

/* Button celebration effect */
.btn-celebrate {
    position: relative;
    overflow: visible !important;
}

.btn-celebrate::before {
    content: '🎉';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    animation: emoji-pop 0.8s ease-out;
    pointer-events: none;
}

@keyframes emoji-pop {
    0% {
        transform: translateX(-50%) translateY(10px) scale(0);
        opacity: 0;
    }
    50% {
        transform: translateX(-50%) translateY(-10px) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-30px) scale(0.8);
        opacity: 0;
    }
}

/* Success screen extra celebration */
.success-celebration {
    animation: success-bounce 0.8s ease-out;
}

@keyframes success-bounce {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.progress-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/*--------------------------
  Form Steps
---------------------------*/
.form-step {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.form-step.prev {
    transform: translateX(-20px);
}

.form-navigation {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    justify-content: space-between;
}

.btn-nav {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.btn-submit {
    background: var(--gradient-luxury);
    color: white;
    border: none;
    text-align: center;
    font-size: 1.125rem;
    padding: var(--space-md) var(--space-xl);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
}

.btn-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-nav:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-next:hover {
    background: var(--color-primary-dark);
}

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

.btn-submit:hover {
    background: var(--color-primary-dark);
    color: white;
    transform: translateY(-3px) scale(1.02);
}

.btn-nav.hidden {
    display: none;
}

.btn-submit .cta-text {
    display: block;
    font-size: 0.95rem;
}

.btn-submit .cta-subtext {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 2px;
}

/* Center submit button when alone */
.form-navigation:has(.btn-prev.hidden):has(.btn-next.hidden) {
    justify-content: center;
}

.form-navigation:has(.btn-prev.hidden):has(.btn-next.hidden) .btn-submit {
    max-width: 250px;
}

/* Incentive message styling */
.incentive-message {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-bg-light) 100%);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.125rem;
    padding: var(--space-lg) var(--space-xl);
    margin-bottom: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

/*--------------------------
  Form Styles
---------------------------*/
.form-group {
    margin-bottom: var(--space-lg);
}

.form-intro {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, #f8fdf8 0%, #e8f5e8 100%);
    border: 2px solid var(--color-accent-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(56, 198, 56, 0.15);
    animation: formIntroEntrance 0.8s ease-out, formIntroPulse 3s ease-in-out infinite 2s;
    font-size: 1.1rem;
    line-height: 1.4;
    letter-spacing: 0.3px;
    cursor: default;
    user-select: none;
}

/* Animate the inline fire emoji */
.fire-emoji {
    display: inline-block;
    animation: fireFlicker 2s ease-in-out infinite;
    margin: 0 2px;
    transform-origin: center bottom;
}

.form-intro::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmerSweep 3s ease-in-out infinite 1s;
    pointer-events: none;
}

@keyframes formIntroEntrance {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes formIntroPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(56, 198, 56, 0.15);
        border-color: var(--color-accent-light);
    }
    50% {
        box-shadow: 0 6px 25px rgba(56, 198, 56, 0.25);
        border-color: var(--color-accent);
    }
}

@keyframes fireFlicker {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: scale(1.1) rotate(-2deg);
        opacity: 0.9;
    }
    50% {
        transform: scale(0.95) rotate(1deg);
        opacity: 1;
    }
    75% {
        transform: scale(1.05) rotate(-1deg);
        opacity: 0.95;
    }
}

@keyframes shimmerSweep {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Enhanced form intro for mobile */
@media (max-width: 768px) {
    .form-intro {
        padding: var(--space-md);
        font-size: 0.95rem;
        margin-bottom: var(--space-md);
    }
    
    .form-intro::before {
        font-size: 1.25rem;
        top: var(--space-xs);
        right: var(--space-xs);
    }
}

/* Add hover effect for the form intro */
.form-intro:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 198, 56, 0.2);
    border-color: var(--color-accent);
    transition: all 0.3s ease;
}

/* Add a subtle gradient text effect */
.form-intro {
    background: linear-gradient(135deg, #f8fdf8 0%, #e8f5e8 100%);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    color: var(--color-text);
    font-size: 1.1rem;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

.question-label {
    display: block;
    margin-bottom: var(--space-lg);
    font-weight: 500;
    color: var(--color-text);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--color-bg-section);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-top: var(--space-sm);
    box-sizing: border-box;
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(56, 198, 56, 0.15);
    transform: translateY(-2px);
}

/* Add a subtle glow effect when typing */
.form-group input:not(:placeholder-shown),
.form-group select:not([value=""]),
.form-group textarea:not(:placeholder-shown) {
    border-color: var(--color-accent-light);
    background: linear-gradient(145deg, #ffffff 0%, #f8fdf8 100%);
}

/* Style for invalid input fields */
.invalid-input {
    border-color: var(--color-error) !important; /* Red border for invalid input */
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2); /* Subtle red focus ring for invalid state */
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    width: 100%;
    box-sizing: border-box;
}

/* Styling for the "Any other comments?" field specifically */
.form-group label[for="comments"] {
    /* If you want to style the label differently, add styles here */
}

.form-group textarea#comments {
    border: 2px solid var(--color-accent-light); /* Green border */
    background-color: var(--color-bg-light); /* Light green background */
    border-radius: var(--radius-md);
    padding: var(--space-md);
    width: 100%;
    box-sizing: border-box;
}

.form-group textarea#comments:focus {
    border-color: var(--color-primary); /* Darker green border on focus */
    box-shadow: 0 0 0 3px rgba(52, 211, 52, 0.2); /* Subtle focus ring */
}

.form-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: var(--space-md);
    margin-bottom: 0;
}

/*--------------------------
  Modal Mobile Optimization
---------------------------*/
@media (max-width: 768px) {
    .modal {
        padding: var(--space-md);
        align-items: flex-start;
        padding-top: 5vh;
    }
    
    .modal-content {
        max-width: 100%;
        max-height: 90vh;
        padding: var(--space-md);
        margin: 0;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal-header p {
        font-size: 0.85rem;
    }
    
    .form-navigation {
        gap: var(--space-sm);
    }
    
    .btn-nav {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9rem;
    }
    
    .btn-submit .cta-text {
        font-size: 0.9rem;
    }
    
    .btn-submit .cta-subtext {
        font-size: 0.7rem;
    }
    
    .progress-bar {
        height: 6px;
    }
}

@media (max-height: 700px) {
    .modal {
        align-items: flex-start;
        padding-top: 2vh;
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-header {
        margin-bottom: var(--space-md);
    }
}

/*--------------------------
  Footer
---------------------------*/
#footer {
    background-color: var(--color-text);
    color: white;
    padding: var(--space-2xl) 0 var(--space-lg) 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: var(--space-md);
}

.footer-brand .logo-text {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: rgba(255, 255, 255, 0.9);
}

.footer-brand .logo-image {
    filter: brightness(0) invert(1) opacity(0.9);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-xl);
}

.footer-column h4 {
    color: white;
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-sm);
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--color-accent-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.25rem;
    transition: background-color 0.2s ease;
}

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

/*--------------------------
  Responsive Design
---------------------------*/
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-main {
        text-align: center;
    }
    
    .value-props {
        align-items: flex-start;
        text-align: left; /* Force left alignment for text */
    }
    
    .value-prop {
        justify-content: flex-start; /* Ensure left alignment */
        text-align: left; /* Force left alignment for text */
    }
    
    .hero-cta-container {
        align-items: center;
        width: 100%;
    }
    
    .store-buttons {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: center;
    }
    
    .store-button img {
        height: 45px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md); /* Reduced gap for mobile */
    }
    
    .step {
        padding: var(--space-md); /* Further reduced padding on mobile */
    }
    
    .step-number {
        top: var(--space-sm); /* Closer to top on mobile */
        right: var(--space-sm); /* Closer to right on mobile */
        width: 2.5rem; /* Smaller on mobile */
        height: 2.5rem; /* Smaller on mobile */
        font-size: 1rem; /* Smaller font on mobile */
        border: 2px solid white; /* Thinner border on mobile */
    }
    
    .step-image {
        max-width: 160px; /* Smaller image on mobile */
        margin: 0 auto var(--space-sm) auto; /* Center the image and reduce bottom margin on mobile */
    }
    
    .step h4 {
        font-size: 1rem; /* Smaller heading on mobile */
        margin-bottom: var(--space-xs); /* Reduced margin on mobile */
    }
    
    .step p {
        font-size: 0.875rem; /* Smaller text on mobile */
        line-height: 1.4; /* Tighter line height on mobile */
    }
    
    /* Problem section mobile responsive */
.section-problem {
        padding: var(--space-lg) 0; /* Further reduced for mobile */
}

.problem-content {
        max-width: 100%; /* Full width on mobile */
}

.problem-content h2 {
        font-size: 1.75rem; /* Smaller heading on mobile */
        margin-bottom: var(--space-sm); /* Reduced spacing */
}

.problem-subtitle {
        font-size: 1rem; /* Smaller subtitle on mobile */
        margin-bottom: var(--space-md); /* Reduced spacing */
}

/* Removed duplicate .problem-grid styles - now handled by specific media queries above */

.problem-item {
        padding: var(--space-sm); /* Further reduced padding on mobile for better fit */
        border-radius: var(--radius-md); /* Smaller border radius */
}

.problem-icon {
        font-size: 1.75rem; /* Smaller icon on mobile */
        margin-bottom: var(--space-xs); /* Reduced margin */
}

.problem-item h3 {
        font-size: 0.95rem; /* Smaller heading on mobile */
        margin-bottom: var(--space-xs); /* Reduced margin */
        line-height: 1.3; /* Tighter line height for better fit */
}

.problem-item p {
        font-size: 0.8rem; /* Smaller text on mobile */
        line-height: 1.3; /* Tighter line height */
}

.features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg); /* Reduced gap for mobile */
}

.pricing-cards {
        grid-template-columns: 1fr;
        gap: var(--space-md); /* Reduced from var(--space-lg) */
        margin-top: var(--space-xl); /* Increased top margin for badge space on mobile */
}

.pricing-card {
        padding: var(--space-lg); /* Reduced from var(--space-3xl) */
        border-radius: var(--radius-lg); /* Reduced from var(--radius-2xl) */
        margin-top: 0; /* Remove individual card margin since we use grid container margin */
        overflow: hidden; /* Keep hidden to clip the green line */
}

.pricing-card::before {
        z-index: 1; /* Lower z-index than badge */
        /* Remove border-radius since overflow:hidden will clip it naturally */
}

.pricing-card.featured {
        transform: none;
        margin-top: 0; /* Keep consistent with other cards */
        overflow: hidden; /* Ensure featured card also clips the line */
}

.pricing-card.featured::before {
        z-index: 1; /* Lower z-index than badge */
        /* Remove border-radius since overflow:hidden will clip it naturally */
}

.pricing-card.featured:hover {
        transform: translateY(-4px);
}

.popular-badge {
        top: -20px; /* Moved further up to ensure visibility outside card on mobile */
        padding: var(--space-xs) var(--space-md); /* Reduced padding */
        font-size: 0.75rem; /* Reduced from 0.875rem */
        white-space: nowrap; /* Prevent text wrapping on mobile */
        z-index: 30; /* Much higher z-index to ensure it appears above everything */
        pointer-events: none; /* Prevent interference with card interactions */
}

.tier-header {
        margin-bottom: var(--space-md); /* Reduced from var(--space-2xl) */
}

.tier-name {
        font-size: 1.25rem; /* Reduced from 1.75rem */
        margin-bottom: var(--space-sm); /* Reduced from var(--space-lg) */
}

.tier-price {
        margin-bottom: var(--space-xs); /* Reduced from var(--space-md) */
}

.price {
        font-size: 2rem; /* Reduced from 3rem */
}

.period {
        font-size: 1rem; /* Reduced from 1.125rem */
}

.tier-description {
        font-size: 0.875rem; /* Reduced from 1rem */
        margin-bottom: var(--space-sm); /* Reduced from var(--space-lg) */
        line-height: 1.4; /* Tighter line height */
}

.tier-features {
        margin: 0 0 var(--space-md) 0; /* Reduced from var(--space-2xl) */
}

.tier-features li {
        padding: var(--space-xs) 0; /* Reduced from var(--space-sm) 0 */
        font-size: 0.875rem; /* Reduced from 1rem */
        gap: var(--space-sm); /* Reduced from var(--space-md) */
        line-height: 1.3; /* Tighter line height for single line fit */
        align-items: flex-start; /* Align to top for better text wrapping */
}

.feature-icon {
        font-size: 1rem; /* Reduced from 1.125rem */
        width: 1.25rem; /* Reduced from 1.5rem */
        margin-top: 2px; /* Small offset to align with text */
}

.feature-icon i.fa-check {
        padding: 2px; /* Reduced from 4px */
}

.price-cta {
        padding: var(--space-sm) var(--space-md); /* Reduced from var(--space-lg) var(--space-xl) */
        font-size: 1rem; /* Reduced from 1.125rem */
        margin-bottom: var(--space-sm); /* Reduced from var(--space-lg) */
}

.money-back {
        font-size: 0.75rem; /* Reduced from 0.875rem */
        gap: var(--space-xs); /* Keep small gap */
    }
    
    /* Additional mobile-specific optimizations */
    .section-pricing {
        padding: var(--space-2xl) 0; /* Reduced from var(--space-4xl) 0 */
    }
    
    .pricing-header {
        margin-bottom: var(--space-lg); /* Reduced from var(--space-3xl) */
    }
    
    .pricing-header h2 {
        font-size: 1.75rem; /* Smaller heading */
        margin-bottom: var(--space-sm); /* Reduced spacing */
    }
    
    .pricing-subtitle {
        font-size: 1rem; /* Reduced from 1.25rem */
        margin-bottom: var(--space-md); /* Reduced spacing */
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/*--------------------------
  Animations
---------------------------*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.problem-item,
.testimonial,
.pricing-card {
    animation: fadeInUp 0.6s ease-out;
}

/*--------------------------
  Utility Classes
---------------------------*/
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--color-text-light);
}

.hidden {
    display: none !important;
}

/*--------------------------
  Font Awesome Icon Styles
---------------------------*/

.logo-icon i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.hero-badge i {
    margin-right: var(--space-xs);
}

.check-icon i {
    color: var(--color-success);
    font-size: 1.25rem;
}

.cta-disclaimer i {
    color: var(--color-warning);
    margin-right: var(--space-xs);
}

.problem-icon i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.feature-content h4 i {
    color: var(--color-primary);
    margin-right: var(--space-sm);
    font-size: 1.125rem;
}

.stars i {
    color: #FFD700;
    margin-right: 2px;
    font-size: 1rem;
}

.feature-icon i {
    font-size: 1.125rem;
    width: 1.25rem;
    text-align: center;
}

.feature-icon i.fa-check {
    color: var(--color-success);
}

.feature-icon i.fa-times {
    color: var(--color-error);
}

.pricing-value h4 i {
    color: var(--color-primary);
    margin-right: var(--space-sm);
}

.modal-close i {
    font-size: 1.25rem;
}

.modal-header h3 i {
    color: var(--color-primary);
    margin-right: var(--space-sm);
}

.form-disclaimer i {
    color: var(--color-success);
    margin-right: var(--space-xs);
}

.social-links i {
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .carousel-container {
        height: 550px;
    }
    
    .image-carousel {
        max-width: 450px;
        height: 550px;
        min-height: 550px;
    }
    
    .carousel-btn {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .carousel-btn i {
        font-size: 0.875rem;
    }
    
    .slide-caption {
        font-size: 0.875rem;
        padding: var(--space-lg) var(--space-md) var(--space-md) var(--space-md);
    }
}

/* Navigation improvements */
.restaurant-link {
    background: linear-gradient(135deg, #2C6E49 0%, #22C55E 100%);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.restaurant-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 110, 73, 0.3);
}

/*--------------------------
  Premium Hero Image Carousel
---------------------------*/
.image-carousel {
    position: relative;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    background: var(--gradient-card);
    min-height: 700px;
    height: 700px;
    animation: float 6s ease-in-out infinite;
}

.image-carousel::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    z-index: -1;
    animation: glow 3s ease-in-out infinite;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    background: var(--gradient-hero);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    transition: all 0.8s var(--ease-in-out-cubic);
    z-index: 1;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: scale(1.0.5);
    
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
}

.carousel-slide.next {
    transform: translateX(100%) scale(0.9);
}

.carousel-slide.prev {
    transform: translateX(-100%) scale(0.9);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    max-width: 100%;
    max-height: 100%;
    transition: all var(--animation-slow) var(--ease-out-cubic);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.carousel-slide:hover img {
    transform: scale(1.02);
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: var(--space-2xl) var(--space-lg) var(--space-lg) var(--space-lg);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
    z-index: 3;
    transform: translateY(100%);
    transition: transform var(--animation-normal) var(--ease-out-cubic);
}

.carousel-slide.active .slide-caption {
    transform: translateY(0);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--space-md);
    pointer-events: none;
    z-index: 4;
    opacity: 0;
    transition: opacity var(--animation-normal) var(--ease-out-cubic);
}

.image-carousel:hover .carousel-nav {
    opacity: 1;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--animation-normal) var(--ease-out-cubic);
    pointer-events: all;
    box-shadow: var(--shadow-lg);
    z-index: 5;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.carousel-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--animation-normal) var(--ease-out-cubic);
    border-radius: 50%;
}

.carousel-btn:hover::before {
    opacity: 0.1;
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.15);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.carousel-btn:active {
    transform: scale(1.05);
}

.carousel-btn i {
    color: var(--color-primary);
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
    transition: all var(--animation-normal) var(--ease-out-cubic);
}

.carousel-btn:hover i {
    color: var(--color-primary-dark);
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    background: rgba(0, 0, 0, 0.4);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    z-index: 4;
}

.indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--animation-normal) var(--ease-out-cubic);
    position: relative;
}

.indicator::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--animation-normal) var(--ease-out-cubic);
}

.indicator.active {
    background: white;
    transform: scale(1.3);
}

.indicator.active::before {
    opacity: 1;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Carousel loading state */
.carousel-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(56, 198, 56, 0.3);
    border-top: 3px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .carousel-container {
        height: 550px;
    }
    
    .image-carousel {
        max-width: 450px;
        height: 550px;
        min-height: 550px;
    }
    
    .carousel-btn {
        width: 3rem;
        height: 3rem;
    }
    
    .carousel-btn i {
        font-size: 1rem;
    }
    
    .slide-caption {
        font-size: 0.875rem;
        padding: var(--space-lg) var(--space-md) var(--space-md) var(--space-md);
    }
}

/*--------------------------
  Enhanced Problem Section
---------------------------*/
.section-problem {
    padding: var(--space-2xl) 0; /* Reduced from var(--space-4xl) 0 */
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.section-problem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(239, 68, 68, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.problem-content {
    text-align: center;
    max-width: 1200px; /* Increased from 900px to accommodate 4 cards */
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.problem-content h2 {
    margin-bottom: var(--space-sm); /* Further reduced spacing */
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) both;
}

.problem-subtitle {
    font-size: 1.125rem; /* Reduced from 1.25rem */
    color: var(--color-text-light);
    margin-bottom: var(--space-lg); /* Reduced from var(--space-2xl) */
    font-weight: 500;
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) 0.2s both;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Changed from auto-fit, minmax(250px, 1fr) to 4 equal columns */
    gap: var(--space-md); /* Reduced from var(--space-xl) */
    margin-top: var(--space-lg); /* Reduced from var(--space-2xl) */
}

.problem-item {
    background: var(--gradient-card);
    padding: var(--space-sm); /* Reduced from var(--space-2xl) */
    border-radius: var(--radius-lg); /* Reduced from var(--radius-xl) */
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all var(--animation-normal) var(--ease-out-cubic);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.problem-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-luxury);
    transform: scaleX(0);
    transition: transform var(--animation-normal) var(--ease-out-cubic);
}

.problem-item:hover::before {
    transform: scaleX(1);
}

.problem-item:hover {
    transform: translateY(-6px) scale(1.02); /* Reduced from -8px */
    box-shadow: var(--shadow-2xl);
}

.problem-icon {
    font-size: 2.5rem; /* Reduced from 3rem */
    margin-bottom: var(--space-sm); /* Further reduced spacing */
    background: var(--gradient-luxury);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 4s ease-in-out infinite;
}

.problem-item:nth-child(2) .problem-icon {
    animation-delay: -1s;
}

.problem-item:nth-child(3) .problem-icon {
    animation-delay: -2s;
}

.problem-item:nth-child(4) .problem-icon {
    animation-delay: -3s;
}

.problem-item h3 {
    color: var(--color-text);
    margin-bottom: var(--space-sm); /* Reduced from var(--space-md) */
    font-size: 1.125rem; /* Reduced from 1.25rem */
    font-weight: 600;
}

.problem-item p {
    color: var(--color-text-light);
    line-height: 1.5; /* Reduced from 1.6 */
    font-size: 0.9rem; /* Reduced from 1rem */
    margin: 0; /* Remove default margin */
}

/*--------------------------
  Premium Solution Section
---------------------------*/
.section-solution {
    padding: var(--space-lg) 0; /* Reduced from var(--space-4xl) 0 */
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.section-solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(56, 198, 56, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(72, 255, 72, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.solution-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-lg) auto; /* Further reduced bottom margin */
    position: relative;
    z-index: 1;
}

.solution-header h2 {
    margin-bottom: var(--space-sm); /* Further reduced spacing */
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) both;
}

.solution-subtitle {
    font-size: 1.125rem; /* Reduced from 1.25rem */
    color: var(--color-text-light);
    font-weight: 500;
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) 0.2s both;
}

.how-it-works {
    margin-bottom: var(--space-lg); /* Further reduced spacing */
    position: relative;
    z-index: 1;
}

.how-it-works h3 {
    text-align: center;
    margin-bottom: var(--space-lg); /* Reduced from var(--space-2xl) */
    color: var(--color-primary);
    font-size: 1.75rem; /* Reduced from 2rem */
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) both;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Reduced from 320px */
    gap: var(--space-lg); /* Reduced from var(--space-3xl) */
    margin-bottom: var(--space-lg); /* Further reduced spacing */
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    transform: translateY(-50%);
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    background: var(--gradient-card);
    padding: var(--space-lg); /* Reduced from var(--space-2xl) */
    border-radius: var(--radius-lg); /* Reduced from var(--radius-xl) */
    box-shadow: var(--shadow-lg);
    transition: all var(--animation-normal) var(--ease-out-cubic);
    border: 1px solid rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.step:hover {
    transform: translateY(-6px) scale(1.02); /* Reduced from -8px */
    box-shadow: var(--shadow-2xl);
}

.step-number {
    position: absolute; /* Changed to absolute positioning */
    top: var(--space-md); /* Position from top */
    right: var(--space-md); /* Position from right */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem; /* Reduced from 4rem */
    height: 3rem; /* Reduced from 4rem */
    background: var(--gradient-primary);
    color: white; /* Changed from #dc2626 to white for better contrast */
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem; /* Reduced from 1.5rem */
    box-shadow: var(--shadow-lg);
    z-index: 10; /* High z-index to appear above image */
    animation: pulse 2s infinite;
    border: 3px solid white; /* Add white border for better visibility */
}

.step-number::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.step:nth-child(2) .step-number {
    animation-delay: -0.5s;
}

.step:nth-child(3) .step-number {
    animation-delay: -1s;
}

.step-image {
    width: 100%;
    max-width: 180px; /* Reduced from 200px */
    height: auto;
    border-radius: var(--radius-md); /* Reduced from var(--radius-lg) */
    margin: 0 auto var(--space-md) auto; /* Center the image horizontally */
    box-shadow: var(--shadow-md);
    transition: all var(--animation-normal) var(--ease-out-cubic);
    position: relative; /* Add relative positioning for step number overlay */
    display: block; /* Ensure block display for proper centering */
}

.step-image:hover {
    transform: scale(1.03); /* Reduced from 1.05 */
    box-shadow: var(--shadow-lg);
}

.step h4 {
    color: var(--color-text);
    margin-bottom: var(--space-sm); /* Reduced from var(--space-md) */
    font-size: 1.125rem; /* Reduced from 1.25rem */
    font-weight: 600;
}

.step p {
    color: var(--color-text-light);
    line-height: 1.5; /* Reduced from 1.6 */
    font-size: 0.95rem; /* Reduced from 1rem */
    margin: 0; /* Remove default margin */
}

/*--------------------------
  Premium Features Section
---------------------------*/
.features-section {
    position: relative;
    z-index: 1;
}

.features-section h3 {
    text-align: center;
    margin-bottom: var(--space-2xl); /* Reduced from var(--space-3xl) */
    color: var(--color-primary);
    font-size: 1.75rem; /* Reduced from 2rem */
    animation: slideInUp var(--animation-slow) var(--ease-out-cubic) both;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); /* Reduced from 380px */
    gap: var(--space-2xl); /* Reduced from var(--space-3xl) */
}

.feature-card {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--animation-normal) var(--ease-out-cubic);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--animation-normal) var(--ease-out-cubic);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.feature-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all var(--animation-normal) var(--ease-out-cubic);
    border-radius: 0;
}

.feature-card:hover .feature-image {
    transform: scale(1.05);
}

.feature-content {
    padding: var(--space-md);
}

.feature-content h4 {
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 1.375rem;
    font-weight: 700;
}

.feature-content h4 i {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-content p {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 1.125rem;
}

.feature-content strong {
    color: var(--color-primary);
    font-weight: 600;
}

/*--------------------------
  Social Proof Section
---------------------------*/
.section-social-proof {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
}

.section-social-proof h3 {
    text-align: center;
    color: white;
    margin-bottom: var(--space-2xl);
}

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

.testimonial {
    background: rgba(255, 255, 255, 0.15);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stars {
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
}

.testimonial p {
    font-style: italic;
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.author {
    font-weight: 600;
    opacity: 0.9;
}

/* Enhanced form step animations */
.form-step {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    animation: stepSlideIn 0.6s ease-out;
}

@keyframes stepSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
