/* Premium CSS Variables for Luxury Wellness & Beauty Design */
:root {
    /* Primary Wellness Palette */
    --sage: #9CAF88;
    --lavender: #B8A9DC;
    --rose: #E8B4CB;
    --peach: #F4C2A1;
    --cream: #F7F3F0;
    --champagne: #F7E7CE;
    
    /* Sophisticated Neutrals */
    --charcoal: #2C3E50;
    --slate: #34495E;
    --warm-gray: #7F8C8D;
    --off-white: #FEFEFE;
    --ivory: #FFFFF0;
    
    /* Accent Colors */
    --gold: #D4AF37;
    --rose-gold: #E8B4CB;
    --deep-purple: #6B46C1;
    --emerald: #10B981;
    --teal: #14B8A6;
    
    /* Wellness Gradients */
    --wellness-gradient: linear-gradient(135deg, var(--sage) 0%, var(--emerald) 50%, var(--teal) 100%);
    --beauty-gradient: linear-gradient(135deg, var(--rose) 0%, var(--peach) 50%, var(--champagne) 100%);
    --luxury-gradient: linear-gradient(135deg, var(--gold) 0%, var(--rose-gold) 50%, var(--deep-purple) 100%);
    --calm-gradient: linear-gradient(135deg, var(--lavender) 0%, var(--sage) 50%, var(--cream) 100%);
    
    /* Hover States */
    --wellness-gradient-hover: linear-gradient(135deg, #8BA876 0%, #059669 50%, #0D9488 100%);
    --beauty-gradient-hover: linear-gradient(135deg, #D4A4B8 0%, #E2B08C 50%, #E8D4B8 100%);
    
    /* Sophisticated Shadows */
    --shadow-soft: 0 8px 32px rgba(156, 175, 136, 0.15);
    --shadow-medium: 0 12px 40px rgba(156, 175, 136, 0.2);
    --shadow-strong: 0 20px 60px rgba(156, 175, 136, 0.25);
    --shadow-premium: 0 25px 80px rgba(16, 185, 129, 0.3);
    --shadow-wellness: 0 15px 50px rgba(156, 175, 136, 0.2);
    --shadow-beauty: 0 15px 50px rgba(232, 180, 203, 0.2);
    
    /* Modern Border Radius */
    --border-radius: 20px;
    --border-radius-large: 28px;
    --border-radius-xl: 36px;
    
    /* Smooth Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-premium: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-wellness: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Glass Effects */
    --glass-bg: rgba(254, 254, 254, 0.95);
    --glass-border: rgba(156, 175, 136, 0.1);
    --glass-border-premium: rgba(212, 175, 55, 0.2);
    --glass-wellness: rgba(156, 175, 136, 0.08);
}

/* Header Logo */
.header-logo {
    height: 50px;
    width: auto;
    transition: var(--transition-premium);
    filter: drop-shadow(0 2px 4px rgba(156, 175, 136, 0.2));
}

.header-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(156, 175, 136, 0.3));
}

/* Mobile-First Design System */
/* Base mobile styles (applied to all screen sizes) */
.container {
    padding: 0 1rem;
}

.hero {
    padding: 6rem 0 4rem;
    min-height: 90vh;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.3rem);
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.hero-cta {
    gap: 1.5rem;
    padding: 0 1rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%;
    max-width: 300px;
}

.demo-phone {
    width: 100%;
    max-width: 300px;
    justify-content: center;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero {
        padding: 10rem 0 6rem;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        padding: 0;
    }
    
    .btn-large {
        width: auto;
        padding: 18px 36px;
        font-size: 1.3rem;
    }
    
    .demo-phone {
        width: auto;
        max-width: none;
    }
}

/* Mobile Responsiveness for Header Logo */
@media (max-width: 768px) {
    .header-logo {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .header-logo {
        height: 35px;
    }
}

/* Premium Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(254, 254, 254, 0.98);
    backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 2px solid var(--glass-wellness);
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition-premium), background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.top-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    flex-shrink: 0;
}



.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    background: none;
    border: none;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-premium);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--wellness-gradient);
    transition: left 0.3s ease;
    z-index: -1;
    border-radius: 25px;
}

.nav-link:hover::before {
    left: 0;
}

.nav-link:hover {
    color: var(--off-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--wellness-gradient);
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-cta {
    flex-shrink: 0;
}

.nav-cta-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 25px;
    background: var(--wellness-gradient);
    border: none;
    color: var(--off-white);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav-cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.nav-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(254, 254, 254, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(184, 169, 220, 0.1);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 20px rgba(184, 169, 220, 0.1);
        animation: slideDown 0.3s ease-out;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-link {
        padding: 0.75rem 2rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
        border-radius: 0;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }
    
    .nav-link:hover {
        background: var(--accent-gradient);
        color: var(--off-white);
    }
    
    .nav-cta {
        order: 2;
    }
    
    .nav-cta-btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        touch-action: manipulation;
    }
    
    .mobile-menu-toggle span {
        width: 100%;
        height: 3px;
        background: var(--charcoal);
        border-radius: 2px;
        transition: var(--transition);
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

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

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    

}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Enhanced mobile base styles */
@media (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    /* Prevent horizontal scrolling */
    body, html {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Enhanced touch targets */
    button, a, input, select, textarea {
        touch-action: manipulation;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background: linear-gradient(135deg, var(--ivory) 0%, var(--cream) 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(156, 175, 136, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(244, 194, 161, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Enhanced Visual Hierarchy */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    right: -20px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(156, 175, 136, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-header:hover h2::before {
    opacity: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

/* Enhanced Section Transitions */
section {
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sage), transparent);
    opacity: 0.3;
}

/* Wellness Decorative Elements */
.wellness-pattern {
    position: absolute;
    width: 150px;
    height: 150px;
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
    animation: wellness-float 20s ease-in-out infinite;
    display: none; /* Hidden on mobile by default */
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .wellness-pattern {
        display: block; /* Show from md breakpoint up */
        width: 200px;
        height: 200px;
        opacity: 0.04;
    }
}

.wellness-pattern.leaf {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 10 Q80 30 70 60 Q60 80 50 90 Q40 80 30 60 Q20 30 50 10' fill='%239CAF88'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.wellness-pattern.flower {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='8' fill='%23E8B4CB'/%3E%3Ccircle cx='30' cy='30' r='6' fill='%23E8B4CB'/%3E%3Ccircle cx='70' cy='30' r='6' fill='%23E8B4CB'/%3E%3Ccircle cx='30' cy='70' r='6' fill='%23E8B4CB'/%3E%3Ccircle cx='70' cy='70' r='6' fill='%23E8B4CB'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

@keyframes wellness-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.wellness-pattern.leaf {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 10 Q80 30 70 60 Q60 80 50 90 Q40 80 30 60 Q20 30 50 10' fill='%239CAF88'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.wellness-pattern.flower {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='8' fill='%23E8B4CB'/%3E%3Ccircle cx='30' cy='30' r='6' fill='%23E8B4CB'/%3E%3Ccircle cx='70' cy='30' r='6' fill='%23E8B4CB'/%3E%3Ccircle cx='30' cy='70' r='6' fill='%23E8B4CB'/%3E%3Ccircle cx='70' cy='70' r='6' fill='%23E8B4CB'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border: none;
    border-radius: var(--border-radius-large);
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-premium);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
    box-shadow: var(--shadow-soft);
}

/* Lucide Feature Icons */
.feature-icon.lucide {
    font-size: 2.5rem;
    color: var(--sage);
    margin-bottom: 1rem;
    display: inline-block;
    vertical-align: middle;
    transition: color 0.3s;
}

@media (max-width: 600px) {
    .feature-icon.lucide {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
}

.btn-primary {
    background: var(--wellness-gradient);
    color: white;
    box-shadow: var(--shadow-wellness);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-strong), var(--shadow-wellness);
    background: var(--wellness-gradient-hover);
    border-color: var(--emerald);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-large {
    padding: 22px 48px;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    width: 32px;
    height: 32px;
    opacity: 0.08;
    animation: float 25s infinite ease-in-out, subtle-pulse 6s infinite ease-in-out, vertical-float 12s infinite ease-in-out, continuous-float 8s infinite ease-in-out;
    will-change: transform;
    color: var(--sage);
    filter: drop-shadow(0 4px 8px rgba(156, 175, 136, 0.2));
    transition: all 0.4s ease;
    cursor: none;
    pointer-events: none;
    z-index: 0;
    --parallax-x: 0px;
    --parallax-y: 0px;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .floating-element {
        font-size: 3.5rem;
        opacity: 0.25;
        padding: 0.75rem;
    }
}

.floating-element svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    transition: all 0.3s ease;
}

.floating-element:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; animation-duration: 25s, 6s, 25s, 8s; }
.floating-element:nth-child(2) { top: 18%; right: 6%; animation-delay: -8s; animation-duration: 28s, 6s, 30s, 10s; }
.floating-element:nth-child(3) { top: 78%; left: 6%; animation-delay: -15s; animation-duration: 22s, 6s, 20s, 8s; }
.floating-element:nth-child(4) { top: 88%; right: 4%; animation-delay: -22s; animation-duration: 26s, 6s, 24s, 10s; }

@keyframes float {
    0%, 100% { 
        transform: translate(var(--parallax-x), calc(var(--parallax-y) + 0px)) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translate(var(--parallax-x), calc(var(--parallax-y) + -35px)) rotate(8deg) scale(1.1); 
    }
    50% { 
        transform: translate(var(--parallax-x), calc(var(--parallax-y) + 0px)) rotate(-5deg) scale(0.9); 
    }
    75% { 
        transform: translate(var(--parallax-x), calc(var(--parallax-y) + 35px)) rotate(3deg) scale(1.05); 
    }
}

@keyframes vertical-float {
    0%, 100% {
        transform: translate(var(--parallax-x), calc(var(--parallax-y) + 0px));
    }
    50% {
        transform: translate(var(--parallax-x), calc(var(--parallax-y) + -45px));
    }
}

@keyframes subtle-pulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Premium Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ivory) 0%, var(--cream) 30%, var(--champagne) 70%, rgba(156, 175, 136, 0.1) 100%);
    overflow: hidden;
    padding: 10rem 0 6rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(156, 175, 136, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(244, 194, 161, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 60% 20%, rgba(212, 175, 55, 0.06) 0%, transparent 50%);
    pointer-events: none;
    animation: background-shift 20s ease-in-out infinite;
}

@keyframes background-shift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(1deg); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    margin-bottom: 2rem;
    color: var(--charcoal);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: title-fade-in 1s ease-out;
}

.gradient-text {
    background: var(--wellness-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(156, 175, 136, 0.3));
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: #555;
    line-height: 1.6;
    animation: subtitle-fade-in 1.2s ease-out;
}

@keyframes title-fade-in {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes subtitle-fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.demo-phone {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--glass-wellness);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    cursor: pointer;
}

.demo-phone:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--sage);
    background: rgba(255, 255, 255, 1);
}

.phone-icon {
    font-size: 1.5rem;
    animation: phone-pulse 2s ease-in-out infinite;
}

@keyframes phone-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.phone-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.phone-label {
    color: var(--warm-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.phone-number {
    font-weight: 700;
    color: var(--sage);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.phone-number:hover {
    color: var(--emerald);
    transform: scale(1.02);
}

.phone-prefix {
    color: var(--warm-gray);
    font-weight: 500;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(184, 169, 220, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(232, 180, 203, 0.1) 0%, transparent 50%);
}

/* Premium Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    animation: header-fade-in 1s ease-out;
    padding: 0 1rem;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .section-header {
        margin-bottom: 5rem;
        padding: 0;
    }
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--wellness-gradient);
    border-radius: 3px;
    box-shadow: var(--shadow-wellness);
}

@keyframes header-fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header h2 {
    margin-bottom: 1rem;
    color: var(--charcoal);
    font-size: clamp(1.8rem, 6vw, 2.5rem);
}

.section-header p {
    font-size: 1rem;
    color: var(--warm-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .section-header h2 {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .section-header p {
        font-size: 1.2rem;
    }
}

/* Voice Demo Section */
.voice-demo {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--ivory) 100%);
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .voice-demo {
        padding: 6rem 0;
    }
}

.demo-player {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.demo-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    text-align: center;
    width: 100%;
    border: 1px solid var(--glass-wellness);
    backdrop-filter: blur(15px);
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .demo-card {
        padding: 3rem;
        border-radius: var(--border-radius-large);
    }
}

.demo-header {
    margin-bottom: 2rem;
}

.demo-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: demo-pulse 3s ease-in-out infinite;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .demo-icon {
        font-size: 3rem;
    }
}

@keyframes demo-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.demo-header h3 {
    color: var(--charcoal);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.demo-header p {
    color: var(--warm-gray);
    font-size: 1rem;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .demo-header h3 {
        font-size: 1.8rem;
    }
    
    .demo-header p {
        font-size: 1.1rem;
    }
}

.audio-container {
    margin-bottom: 2rem;
}

.audio-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.audio-visualizer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 40px;
}

.audio-bar {
    width: 4px;
    height: 20px;
    background: var(--sage);
    border-radius: 2px;
    animation: audio-wave 2s ease-in-out infinite;
}

.audio-bar:nth-child(1) { animation-delay: 0s; }
.audio-bar:nth-child(2) { animation-delay: 0.2s; }
.audio-bar:nth-child(3) { animation-delay: 0.4s; }
.audio-bar:nth-child(4) { animation-delay: 0.6s; }
.audio-bar:nth-child(5) { animation-delay: 0.8s; }

@keyframes audio-wave {
    0%, 100% { height: 20px; }
    50% { height: 40px; }
}

.audio-container audio {
    width: 100%;
    max-width: 400px;
}

.demo-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(156, 175, 136, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-wellness);
    transition: var(--transition);
}

.demo-feature:hover {
    background: rgba(156, 175, 136, 0.15);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.2rem;
}

.demo-feature span:last-child {
    font-weight: 500;
    color: var(--charcoal);
}



/* Features Section */
.features {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--champagne) 0%, var(--ivory) 100%);
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .features {
        padding: 6rem 0;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

/* Tablet and Desktop Grid */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 3rem;
        padding: 0;
    }
}

/* Desktop Grid */
@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

/* Feature Cards - Mobile First */
.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 254, 254, 0.95) 100%);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .feature-card {
        padding: 2rem 1.5rem;
        gap: 1.25rem;
    }
}

.feature-card .feature-icon {
    /* Font Awesome icons are font-based — control size via font-size and color via color */
    display: inline-block;
    width: auto;
    height: auto;
    font-size: 28px;
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease, color 0.25s ease;
    /* Match the feature heading colour by default */
    color: var(--sage);
}

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

.feature-card h3 {
    color: var(--sage);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.feature-card p {
    color: var(--warm-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    max-width: 280px;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
        max-width: 320px;
    }
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-wellness);
    border-color: var(--sage);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(254, 254, 254, 0.98) 100%);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--wellness-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

/* Focus states for accessibility */
.feature-card:focus-within {
    outline: 2px solid var(--sage);
    outline-offset: 2px;
}

.feature-card:focus-within .feature-icon {
    transform: scale(1.1);
}

/* Integration Strip */
.integration-strip {
    font-size: 0.875rem;
    text-align: center;
    margin-top: 2rem;
    color: var(--warm-gray);
    opacity: 0.8;
    font-style: italic;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .integration-strip {
        margin-top: 2.5rem;
        font-size: 0.9rem;
    }
}

/* Premium Feature Groups */
.feature-group {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 254, 254, 0.95) 100%);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    text-align: center;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .feature-group {
        padding: 3.5rem;
        border-radius: var(--border-radius-large);
    }
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    animation: feature-icon-float 4s ease-in-out infinite;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .feature-icon {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
}

@keyframes feature-icon-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.feature-group:nth-child(1) { animation-delay: 0.1s; }
.feature-group:nth-child(2) { animation-delay: 0.2s; }
.feature-group:nth-child(3) { animation-delay: 0.3s; }
.feature-group:nth-child(4) { animation-delay: 0.4s; }

/* Feature Card Animation Delays */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }

.feature-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--wellness-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.feature-group:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-wellness);
    border-color: var(--sage);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(254, 254, 254, 0.98) 100%);
}

.group-title {
    color: var(--sage);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .group-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
}

.group-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--wellness-gradient);
    border-radius: 1px;
}

.group-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .group-features {
        gap: 1.5rem;
    }
}

.group-feature {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--border-radius);
    border: 1px solid rgba(156, 175, 136, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-align: left;
    min-height: 3rem;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .group-feature {
        padding: 1.5rem;
        gap: 1rem;
    }
}

.group-feature:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(156, 175, 136, 0.25);
    transform: translateX(5px);
}

.feature-bullet {
    color: var(--sage);
    background: rgba(156, 175, 136, 0.12);
    border: 1px solid rgba(156, 175, 136, 0.25);
    border-radius: 9999px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .feature-bullet {
        font-size: 1.2rem;
    }
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-content h4 {
    margin-bottom: 0.5rem;
}

.group-feature h4 {
    color: var(--charcoal);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.group-feature p {
    color: var(--warm-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .group-feature h4 {
        font-size: 1.1rem;
    }
    
    .group-feature p {
        font-size: 0.95rem;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Integration Banner Section */
.integration-banner {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--ivory) 0%, var(--champagne) 100%);
    position: relative;
    overflow: hidden;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .integration-banner {
        padding: 5rem 0;
    }
}

.integration-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(156, 175, 136, 0.06) 50%, transparent 70%);
    animation: shimmer 8s ease-in-out infinite;
}

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

.integration-banner .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.integration-banner .section-header h2 {
    color: var(--charcoal);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--wellness-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.integration-banner .section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.logo-carousel {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-wellness);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-soft);
    margin: 0 1rem;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .logo-carousel {
        padding: 2rem 0;
        border-radius: var(--border-radius-large);
        margin: 0;
    }
}

.logo-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    padding: 1rem 1.5rem;
    margin: 0 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-wellness);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 70px;
    position: relative;
    overflow: hidden;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .logo-item {
        padding: 1.5rem 2rem;
        margin: 0 1rem;
        min-width: 120px;
        height: 80px;
    }
}

.logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(156, 175, 136, 0.12), transparent);
    transition: left 0.6s ease;
}

.logo-item:hover::before {
    left: 100%;
}

.logo-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-medium);
    border-color: var(--sage);
    background: rgba(255, 255, 255, 1);
}

.integration-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    transition: var(--transition);
    opacity: 0.8;
}

.logo-item:hover .integration-logo {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

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

/* Mobile Responsiveness for Integration Banner */
@media (max-width: 768px) {
    .integration-banner {
        padding: 3rem 0;
    }
    
    .integration-banner .section-header h2 {
        font-size: 2rem;
    }
    
    .integration-banner .section-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .logo-carousel {
        padding: 1.5rem 0;
        margin: 0 1rem;
    }
    
    .logo-item {
        padding: 1rem 1.5rem;
        margin: 0 0.5rem;
        min-width: 100px;
        height: 70px;
    }
    
    .logo-track {
        animation-duration: 20s;
    }
    
    /* Enhanced Mobile Features */
    .feature-group {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .group-feature {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .feature-bullet {
        margin-top: 0;
    }
    
    /* Enhanced Mobile Calculator */
    .calculator-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .calculator-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .calculator-header h3 {
        font-size: 1.5rem;
    }
    
    /* Enhanced Mobile Demo Phone */
    .demo-phone {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }
    
    .phone-icon {
        font-size: 1.25rem;
    }
    
    .phone-content {
        gap: 0.15rem;
    }
    
    .phone-label {
        font-size: 0.8rem;
    }
    
    .phone-number {
        font-size: 1rem;
    }
    
    /* Enhanced Mobile Voice Demo */
    .demo-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .demo-icon {
        font-size: 2.5rem;
    }
    
    .demo-header h3 {
        font-size: 1.5rem;
    }
    
    .demo-features {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .demo-feature {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .integration-banner .section-header h2 {
        font-size: 1.75rem;
    }
    
    .logo-item {
        padding: 0.75rem 1rem;
        min-width: 80px;
        height: 60px;
    }
    
    .logo-track {
        animation-duration: 15s;
    }
    
    /* Enhanced Small Mobile Features */
    .feature-group {
        padding: 1.5rem 1rem;
        margin: 0 0.25rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .group-title {
        font-size: 1.3rem;
    }
    
    .group-feature h4 {
        font-size: 1rem;
    }
    
    .group-feature p {
        font-size: 0.9rem;
    }
    
    /* Enhanced Small Mobile Calculator */
    .calculator-container {
        padding: 1.5rem;
    }
    
    .calculator-header h3 {
        font-size: 1.3rem;
    }
    
    .calculator-header p {
        font-size: 1rem;
    }
    
    .input-group label {
        font-size: 1rem;
    }
    
    /* Enhanced Small Mobile Demo Phone */
    .demo-phone {
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }
    
    .phone-icon {
        font-size: 1rem;
    }
    
    .phone-label {
        font-size: 0.75rem;
    }
    
    .phone-number {
        font-size: 0.9rem;
    }
    
    /* Enhanced Small Mobile Voice Demo */
    .demo-card {
        padding: 1.5rem 1rem;
    }
    
    .demo-icon {
        font-size: 2rem;
    }
    
    .demo-header h3 {
        font-size: 1.3rem;
    }
    
    .demo-header p {
        font-size: 1rem;
    }
    
    .demo-feature {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Calculator Section */
.calculator {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--ivory) 0%, var(--cream) 100%);
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .calculator {
        padding: 6rem 0;
    }
}

.calculator-container {
    max-width: 720px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 254, 254, 0.9) 100%);
    padding: 1.25rem 0.875rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-wellness);
    border: 2px solid var(--glass-wellness);
    backdrop-filter: blur(20px);
    transition: var(--transition-premium);
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .calculator-container {
        padding: 4rem;
        border-radius: var(--border-radius-large);
    }
}

.calculator-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .calculator-header {
        margin-bottom: 3rem;
    }
}

.calculator-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: calculator-bounce 3s ease-in-out infinite;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .calculator-icon {
        font-size: 3rem;
    }
}

@keyframes calculator-bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.calculator-header h3 {
    color: var(--charcoal);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.calculator-header p {
    color: var(--warm-gray);
    font-size: 1rem;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .calculator-header h3 {
        font-size: 2rem;
    }
    
    .calculator-header p {
        font-size: 1.1rem;
    }
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .calculator-inputs {
        gap: 2rem;
        margin-bottom: 3rem;
    }
}

.input-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-wellness);
    transition: var(--transition);
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .input-card {
        padding: 2rem;
    }
}

.input-card:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--sage);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.input-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.input-meta {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
}

.period-badge {
    background: #fff;
    border: 1px solid var(--glass-border);
    color: var(--warm-gray);
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.period-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #fff;
    border: 1px solid var(--glass-border);
    border-radius: 9999px;
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
    color: var(--charcoal);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .input-header {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
}

.input-icon {
    color: var(--sage);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.input-info h4 {
    color: var(--charcoal);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.input-info p {
    color: var(--warm-gray);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.3;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .input-info h4 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .input-info p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

.calculator-container:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.calculator-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
    padding: 2rem;
    background: var(--off-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.input-group label {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-icon {
    font-size: 1.2rem;
}

.input-group input {
    padding: 1rem;
    border: 2px solid #E1E8ED;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--lavender);
    box-shadow: 0 0 0 3px rgba(184, 169, 220, 0.1);
}

/* Slider Styles */
.slider-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.slider {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: #E1E8ED;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: var(--transition);
    touch-action: pan-x;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--wellness-gradient);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(156, 175, 136, 0.3);
    transition: var(--transition);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(156, 175, 136, 0.4);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-gradient);
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(184, 169, 220, 0.3);
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(184, 169, 220, 0.4);
}

.slider:focus {
    outline: none;
}

.slider-value {
    background: #ffffff;
    color: var(--charcoal);
    padding: 0.5rem 0.875rem;
    border-radius: 9999px;
    border: 1px solid var(--glass-border);
    font-weight: 700;
    min-width: 72px;
    text-align: center;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.calculator-results {
    background: linear-gradient(135deg, rgba(156, 175, 136, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-wellness);
}

.results-header {
    text-align: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--glass-wellness);
}

.results-header h4 {
    color: var(--charcoal);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.results-header p {
    color: var(--warm-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .results-header h4 {
        font-size: 1.5rem;
    }
    
    .results-header p {
        font-size: 1rem;
    }
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Tablet and Desktop Grid */
@media (min-width: 768px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.result-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-wellness);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .result-card {
        padding: 1.5rem;
        gap: 1rem;
    }
}

.result-card:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--sage);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.result-card.highlight {
    background: linear-gradient(135deg, rgba(156, 175, 136, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    border-color: var(--sage);
    box-shadow: var(--shadow-wellness);
}

.result-icon {
    color: var(--sage);
    flex-shrink: 0;
}

.result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-label {
    color: var(--charcoal);
    font-weight: 500;
    font-size: 0.9rem;
}

.result-value {
    font-weight: 700;
    color: var(--charcoal);
    font-size: 1.1rem;
}

.result-card.highlight .result-value {
    color: var(--emerald);
    font-size: 1.3rem;
}

.result-highlight {
    background: linear-gradient(135deg, rgba(156, 175, 136, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    border: 2px solid var(--sage);
    box-shadow: var(--shadow-wellness);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: grid;
    grid-template-rows: auto auto auto;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    gap: 0.5rem;
    text-align: center;
}

.result-highlight .result-icon {
    color: var(--sage);
    flex-shrink: 0;
}

/* Removed result-content wrapper with grid layout */

.result-highlight .result-label {
    color: var(--charcoal);
    font-weight: 600;
    font-size: 0.95rem;
}

.result-highlight .result-value {
    color: var(--emerald);
    font-weight: 800;
    font-size: 2rem;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .result-value {
        font-size: 1.3rem;
    }
    
    .result-card.highlight .result-value {
        font-size: 1.5rem;
    }
    
    .result-highlight {
        padding: 2rem;
        gap: 0.75rem;
    }
    .result-highlight .result-value {
        font-size: 2.5rem;
    }
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(156, 175, 136, 0.2);
    font-size: 1.1rem;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item.highlight {
    background: rgba(255, 255, 255, 0.5);
    margin: 0 -1rem;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid var(--sage);
    box-shadow: var(--shadow-soft);
}

.result-label {
    color: var(--charcoal);
    font-weight: 500;
}

.result-value {
    font-weight: 700;
    color: var(--charcoal);
    font-size: 1.2rem;
}

.result-item.highlight .result-value {
    color: var(--primary);
    font-size: 1.4rem;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(156, 175, 136, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

/* All Plans Include Strip - Modern Clean Design */
.all-plans-include {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 4rem 0;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.all-plans-include::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sage) 0%, var(--emerald) 50%, var(--teal) 100%);
    border-radius: 24px 24px 0 0;
}

.include-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 0.95rem;
    color: var(--charcoal);
    font-weight: 500;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.include-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(156, 175, 136, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.include-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(156, 175, 136, 0.15));
    transition: transform 0.3s ease;
}

.include-item:hover .include-icon {
    transform: scale(1.1);
}

/* Enhanced Section Header for Pricing */
.pricing .section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.pricing .section-header h2 {
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    margin-bottom: 1.25rem;
    color: var(--charcoal);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.pricing .section-header p {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--warm-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Modern Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
    padding: 0 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        padding: 0;
    }
}

@media (min-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

/* Modern Plan Cards */
.plan-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    padding: 2rem 1.5rem;
    min-height: 100%;
    position: relative;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sage) 0%, var(--emerald) 50%, var(--teal) 100%);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@media (min-width: 768px) {
    .plan-card { 
        padding: 2.5rem 2rem; 
    }
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
    border-color: rgba(156, 175, 136, 0.3);
}

/* Popular Plan Styling */
.plan-card.popular {
    border: 2px solid var(--sage);
    box-shadow: 0 8px 30px rgba(156, 175, 136, 0.15), 0 4px 12px rgba(0, 0, 0, 0.04);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%);
    transform: scale(1.02);
    position: relative;
}

.plan-card.popular::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(156, 175, 136, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.plan-card.popular:hover {
    transform: scale(1.02) translateY(-6px);
    box-shadow: 0 25px 50px rgba(156, 175, 136, 0.2), 0 12px 24px rgba(0, 0, 0, 0.06);
}

.plan-card.popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sage) 0%, var(--emerald) 50%, var(--teal) 100%);
    border-radius: 24px 24px 0 0;
    transform: scaleX(1);
}

/* Modern Plan Badge - Redesigned for better mobile experience */
.plan-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--sage) 0%, var(--emerald) 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(156, 175, 136, 0.25);
    letter-spacing: 0.025em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

/* Plan Header */
.plan-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
}

.plan-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--sage) 0%, var(--emerald) 100%);
    border-radius: 1px;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.plan-subtitle {
    font-size: 0.9rem;
    color: var(--sage);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.plan-price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
}

.plan-price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sage);
    line-height: 1;
}

.plan-price .period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--warm-gray);
}

.plan-card.popular .plan-price .amount {
    color: var(--emerald);
    font-size: 2.75rem;
}

.plan-for {
    color: var(--warm-gray);
    font-size: 0.95rem;
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.4;
}

/* Plan Content */
.plan-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.plan-points {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.plan-points li {
    margin: 1rem 0;
    color: var(--charcoal);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    padding-left: 2rem;
    font-weight: 500;
}

.plan-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--emerald);
    font-weight: bold;
    font-size: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.15);
}

.plan-cta {
    margin-top: auto;
    padding-top: 1rem;
}

.plan-cta .btn {
    width: 100%;
    padding: 1rem 1.75rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Trust Notes */
.trust-notes {
    text-align: center;
    margin: 2rem 0 0 0;
    color: var(--warm-gray);
    font-size: 0.9rem;
    font-weight: 400;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Responsive Enhancements */
@media (min-width: 768px) {
    .pricing {
        padding: 8rem 0;
    }
    
    .all-plans-include {
        margin: 4.5rem 0;
        padding: 2.5rem 3rem;
        gap: 2rem;
    }
    
    .include-item {
        font-size: 1rem;
        padding: 1.125rem 1.5rem;
    }
    
    .include-icon {
        width: 24px;
        height: 24px;
    }
    
    .trust-notes {
        margin: 3rem 0 0 0;
        font-size: 0.95rem;
        padding: 2rem 2.5rem;
        grid-column: 1 / -1; /* span full width by default on tablet */
    }

    /* Place trust notes under the center column on wide screens */
    @media (min-width: 1200px) {
        .trust-notes {
            grid-column: 2 / 3;
            justify-self: center;
            width: auto;
            max-width: 600px;
        }
    }
}

@media (min-width: 1200px) {
    .all-plans-include {
        margin: 5rem 0;
        padding: 3rem 3.5rem;
        gap: 2.5rem;
    }
    
    .include-item {
        font-size: 1.05rem;
        padding: 1.25rem 1.75rem;
    }
    
    .include-icon {
        width: 26px;
        height: 26px;
    }
    
    .trust-notes {
        margin: 4rem 0 0 0;
        font-size: 1rem;
        padding: 2.5rem 3rem;
    }
}

/* Final CTA Section */
.final-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--slate) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .final-cta {
        padding: 6rem 0;
    }
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(156, 175, 136, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.final-cta h2 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    font-size: clamp(1.8rem, 6vw, 2.5rem);
}

.final-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

/* Tablet and Desktop Enhancements */
@media (min-width: 768px) {
    .final-cta h2 {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .final-cta p {
        font-size: 1.2rem;
        padding: 0;
    }
}

.final-cta .btn {
    position: relative;
    z-index: 2;
}


/* Get Started Lead Form */
.get-started-form {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--ivory) 0%, var(--cream) 100%);
    position: relative;
}

@media (min-width: 768px) {
    .get-started-form { padding: 6rem 0; }
}

.lead-form-card {
    max-width: 860px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 254, 254, 0.9) 100%);
    padding: 1.25rem 0.875rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-wellness);
    border: 2px solid var(--glass-wellness);
    backdrop-filter: blur(20px);
    transition: var(--transition-premium);
}

@media (min-width: 768px) {
    .lead-form-card { padding: 3rem; border-radius: var(--border-radius-large); }
}

.lead-form-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .form-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .form-group.full { grid-column: 1 / -1; }
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #E1E8ED;
    border-radius: 12px;
    font-size: 1rem;
    background: #ffffff;
    color: var(--charcoal);
    transition: var(--transition);
}

.form-group textarea { resize: vertical; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(156, 175, 136, 0.15);
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.error-msg {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

.hp-field { display: none; }

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* Center the submit button on small screens */
@media (max-width: 768px) {
    .form-actions {
        align-items: center; /* center children horizontally */
    }
    .form-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}

.btn-spinner {
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid rgba(255,255,255,0.6);
    border-top-color: #fff;
    border-radius: 50%;
    margin-left: 0.75rem;
    display: none;
    animation: spin 0.8s linear infinite;
}

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

.btn.loading .btn-label { opacity: 0.8; }
.btn.loading .btn-spinner { display: inline-block; }
.btn[disabled] { filter: grayscale(0.2); cursor: not-allowed; }

.submit-error {
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: none;
}

.submit-error.visible { display: block; animation: shake 0.3s ease; }

@keyframes shake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
}

.success-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(156, 175, 136, 0.12) 100%);
    border: 2px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-wellness);
    animation: fadeInUp 0.5s ease forwards;
}

.success-icon { color: var(--emerald); margin-bottom: 0.75rem; }
.success-card h3 { color: var(--charcoal); margin-bottom: 0.25rem; }
.success-card p { color: var(--warm-gray); margin: 0; }

.range-meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--warm-gray); margin-top: 0.25rem; }

/* Thank You Page Styles */
.thank-you-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--ivory) 0%, var(--cream) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .thank-you-section { padding: 8rem 0; }
}

.thank-you-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 254, 254, 0.95) 100%);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-wellness);
    border: 2px solid var(--glass-wellness);
    backdrop-filter: blur(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@media (min-width: 768px) {
    .thank-you-content { padding: 4rem 3rem; }
}

.success-icon-large {
    color: var(--emerald);
    margin-bottom: 2rem;
    animation: successBounce 0.6s ease-out 0.3s both;
}

@keyframes successBounce {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(-90deg); opacity: 0.8; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.thank-you-content h1 {
    color: var(--emerald);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--wellness-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.thank-you-content h2 {
    color: var(--charcoal);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .thank-you-content h1 { font-size: 4rem; }
    .thank-you-content h2 { font-size: 1.8rem; }
}

.thank-you-message {
    font-size: 1.2rem;
    color: var(--warm-gray);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.next-steps {
    background: rgba(156, 175, 136, 0.08);
    border: 1px solid var(--glass-wellness);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.next-steps h3 {
    color: var(--sage);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(156, 175, 136, 0.15);
    color: var(--charcoal);
    font-size: 1rem;
    line-height: 1.5;
}

.next-steps li:last-child {
    border-bottom: none;
}

.next-steps strong {
    color: var(--sage);
    font-weight: 600;
}

.thank-you-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2.5rem 0;
    align-items: center;
}

@media (min-width: 768px) {
    .thank-you-actions { flex-direction: row; justify-content: center; }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--charcoal);
    border: 2px solid var(--glass-wellness);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--sage);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-wellness);
}

.contact-info p {
    color: var(--warm-gray);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-link {
    color: var(--sage);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--emerald);
    text-decoration: underline;
}



/* Responsive Design */
@media (max-width: 768px) {
    .demo-player {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .calculator-inputs {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .calculator-results {
        padding: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-group {
        padding: 2.5rem 2rem;
        margin: 0 0.5rem;
    }
    
    .group-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .group-features {
        gap: 1rem;
    }
    
    .group-feature {
        padding: 1.25rem;
    }
    
    .group-feature h4 {
        font-size: 1rem;
    }
    
    .group-feature p {
        font-size: 0.9rem;
    }
    

    
    .hero-cta {
        gap: 1rem;
    }
    
    .pricing-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .price-amount {
        font-size: 3rem;
    }
    
    .price-benefit {
        font-size: 1.1rem;
        line-height: 1.5;
        max-width: 100%;
        margin: 0 auto 1rem auto;
    }
    
    .key-inclusions {
        max-width: 100%;
        margin: 2rem 0;
    }
    
    .key-inclusions li {
        padding: 0.8rem 0;
        padding-left: 1.5rem;
        font-size: 1rem;
    }
    
    .pricing-cta {
        margin: 2rem 0;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .trust-notes {
        margin: 1rem 0 0 0;
        font-size: 0.9rem;
    }
    
    /* Enhanced mobile calculator */
    .calculator-container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        border-radius: var(--border-radius);
    }
    
    .calculator-inputs {
        padding: 1.5rem;
        gap: 2rem;
    }
    
    .input-group label {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .slider-container {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .slider {
        height: 10px;
        margin-bottom: 0.5rem;
        touch-action: pan-x;
    }
    
    .slider-value {
        align-self: center;
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
        min-width: 50px;
        user-select: none;
        -webkit-user-select: none;
    }
    
    /* Enhanced mobile calculator touch experience */
    .input-group {
        touch-action: manipulation;
    }
    
    .input-group label {
        user-select: none;
        -webkit-user-select: none;
    }
    
    .calculator-results {
        padding: 1.5rem;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1.25rem 0;
    }
    
    .result-value {
        font-size: 1.1rem;
        align-self: flex-end;
    }
    
    .result-item.highlight {
        margin: 0 -0.75rem;
        padding: 1.25rem 0.75rem;
    }
    
    /* Enhanced mobile calculator results */
    .calculator-results {
        background: linear-gradient(135deg, var(--soft-pink) 0%, var(--light-purple) 100%);
        border-radius: 16px;
    }
    
    .result-item.highlight .result-value {
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--deep-purple);
    }
    
    /* Enhanced mobile navigation */
    .nav-content {
        gap: 0.5rem;
    }
    
    .nav-logo .header-logo {
        height: 35px;
    }
    
    .nav-cta-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Enhanced mobile navigation spacing */
    .top-nav {
        padding: 1rem 0;
    }
    
    .top-nav .container {
        padding: 0 1rem;
    }
    
    /* Enhanced mobile hero */
    .hero {
        padding: 8rem 0 4rem;
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .demo-phone {
        flex-direction: column;
        gap: 0.25rem;
        font-size: 1rem;
    }
    
    /* Enhanced mobile features */
    .features {
        padding: 4rem 0;
    }
    
    .feature-group {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }
    
    /* Enhanced mobile pricing */
    .pricing {
        padding: 4rem 0;
    }
    
    .pricing-card {
        padding: 2.5rem 1.5rem;
    }
    
    .price-amount {
        font-size: 3.5rem;
    }
    
    .key-inclusions li {
        padding: 0.8rem 0;
        padding-left: 1.5rem;
        font-size: 1rem;
    }
    
    /* Enhanced mobile final CTA */
    .final-cta {
        padding: 4rem 0;
    }
    

    
    /* Enhanced mobile floating elements - keeping them visible */
    .floating-elements { opacity: 1; }
    
    /* Enhanced mobile performance */
    .floating-element {
        will-change: auto;
        transform: none !important;
    }
    
    /* Disable heavy animations on mobile */
    .feature-group::before,
    .pricing-card::before {
        animation: none;
    }
    
    /* Enhanced mobile loading performance */
    .hero-background {
        background: linear-gradient(135deg, var(--cream) 0%, var(--soft-pink) 30%, var(--light-purple) 70%, rgba(107, 70, 193, 0.1) 100%);
    }
    
    /* Optimize mobile transitions */
    .feature-group,
    .calculator-container,
    .pricing-card,
    .btn {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    /* Enhanced mobile buttons */
    .btn-large {
        padding: 18px 32px;
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 16px 28px;
        font-size: 1rem;
    }
    
    /* Enhanced mobile touch targets */
    .btn, .btn-large, .nav-link, .nav-cta-btn {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    /* Enhanced mobile scrolling */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Enhanced mobile focus states */
    .btn:focus, .nav-link:focus, .slider:focus {
        outline: 2px solid var(--deep-purple);
        outline-offset: 2px;
    }
    
    /* Enhanced mobile animations */
    .feature-group, .calculator-container, .pricing-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .feature-group:active, .calculator-container:active, .pricing-card:active {
        transform: scale(0.98);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .btn-large {
        padding: 16px 24px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .calculator-container {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .calculator-inputs {
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .input-group label {
        font-size: 0.95rem;
    }
    
    .slider {
        height: 8px;
    }
    
    .slider::-webkit-slider-thumb {
        width: 20px;
        height: 20px;
    }
    
    .slider::-moz-range-thumb {
        width: 20px;
        height: 20px;
    }
    
    .slider-value {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
        min-width: 45px;
    }
    
    .calculator-results {
        padding: 1.25rem;
    }
    
    .result-item {
        padding: 1rem 0;
    }
    
    .result-label {
        font-size: 0.95rem;
    }
    
    .result-value {
        font-size: 1rem;
    }
    
    .feature-group {
        padding: 1.5rem 1rem;
        margin: 0 0.25rem;
    }
    
    .group-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .group-features {
        gap: 0.75rem;
    }
    
    .group-feature {
        padding: 0.75rem;
    }
    
    .group-feature h4 {
        font-size: 0.9rem;
    }
    
    .group-feature p {
        font-size: 0.8rem;
    }
    
    .pricing-card {
        padding: 2rem 1rem;
        margin: 0 0.5rem;
    }
    
    .price-amount {
        font-size: 3rem;
    }
    
    .price-benefit {
        font-size: 1rem;
        line-height: 1.4;
        margin: 0 auto 0.75rem auto;
    }
    
    .key-inclusions {
        margin: 1.5rem 0;
    }
    
    .key-inclusions li {
        padding: 0.75rem 0;
        padding-left: 1.25rem;
        font-size: 0.95rem;
    }
    
    .pricing-cta {
        margin: 1.5rem 0;
        padding: 0.9rem 1.75rem;
        font-size: 1rem;
    }
    
    .trust-notes {
        margin: 0.75rem 0 0 0;
        font-size: 0.85rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .calculator-container {
        padding: 1.25rem 0.75rem;
        margin: 0 0.25rem;
    }
    
    .calculator-inputs {
        padding: 0.75rem;
        gap: 1.25rem;
    }
    
    .slider-value {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
        min-width: 40px;
    }
    
    .btn-large {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    /* Ultra-small screen optimizations */
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-header h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .feature-group {
        padding: 1.25rem 0.75rem;
        margin: 0 0.25rem;
    }
    
    .group-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .group-features {
        gap: 0.5rem;
    }
    
    .group-feature {
        padding: 0.5rem;
    }
    
    .group-feature h4 {
        font-size: 0.85rem;
    }
    
    .group-feature p {
        font-size: 0.75rem;
    }
    
    .pricing-card {
        padding: 1.75rem 0.75rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .price-benefit {
        font-size: 0.9rem;
        line-height: 1.3;
        margin: 0 auto 0.5rem auto;
    }
    
    .key-inclusions {
        margin: 1.25rem 0;
    }
    
    .key-inclusions li {
        padding: 0.6rem 0;
        padding-left: 1rem;
        font-size: 0.85rem;
    }
    
    .pricing-cta {
        margin: 1.25rem 0;
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .trust-notes {
        margin: 0.5rem 0 0 0;
        font-size: 0.8rem;
    }
}

/* Smooth scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax effect for hero background (REMOVED - no more scroll dependency) */
.hero-background { will-change: transform; }

/* @keyframes parallax {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
} */

@keyframes continuous-float {
    0%, 100% {
        transform: translate(var(--parallax-x), calc(var(--parallax-y) + 0px));
    }
    25% {
        transform: translate(var(--parallax-x), calc(var(--parallax-y) + -15px));
    }
    50% {
        transform: translate(var(--parallax-x), calc(var(--parallax-y) + 0px));
    }
    75% {
        transform: translate(var(--parallax-x), calc(var(--parallax-y) + 15px));
    }
}

/* Navigation link styles for anchor links */
.nav-link {
    color: var(--charcoal);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.nav-link:hover {
    background: var(--glass-wellness);
    color: var(--sage);
}
