:root {
    --primary: #0D6E4D;
    --primary-dark: #065239;
    --primary-light: #86efac;
    --secondary: #0f172a;
    --accent: #f97316;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-light: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-img {
    height: 40px;
    width: auto;
}

.footer .logo-img {
    height: 36px;
}

.navbar {
    padding: 12px 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

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

.nav-cta {
    padding: 10px 20px;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Diffuser Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.diffuser-mockup {
    position: relative;
    width: 300px;
    height: 400px;
}

.diffuser-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    filter: blur(40px);
    animation: pulse 3s ease-in-out infinite;
}

.diffuser-device {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 200px;
    background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
    border-radius: 60px 60px 20px 20px;
    box-shadow: var(--shadow-xl);
}

.diffuser-device::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
}

.mist {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(134, 239, 172, 0.6);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.mist-1 { top: -20px; left: 40px; animation-delay: 0s; }
.mist-2 { top: -40px; left: 55px; animation-delay: 0.5s; }
.mist-3 { top: -30px; left: 70px; animation-delay: 1s; }

/* disabled */ @keyframes float-disabled {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0; }
}

/* disabled */ @keyframes pulse-disabled {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

/* Social Proof */
.social-proof {
    background: var(--bg-secondary);
    padding: 40px 0;
    text-align: center;
}

.trusted-by {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.city-logos {
    display: flex;
    justify-content: center;
    gap: 48px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Problem Section */
.problem {
    padding: 100px 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.problem-card {
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    text-align: center;
}

.problem-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--text-secondary);
}

.solution-intro {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    color: white;
}

.solution-intro h3 {
    font-size: 32px;
    margin-bottom: 8px;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 600px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
}

/* Scents Section */
.scents {
    padding: 100px 0;
}

.scent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.scent-card {
    padding: 32px 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.scent-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.scent-emoji {
    font-size: 48px;
    margin-bottom: 16px;
}

.scent-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.scent-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.scent-card-custom {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 32px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.testimonial-stars {
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Pricing */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

.pricing-card {
    padding: 40px 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
}

.pricing-featured {
    background: var(--bg-dark);
    color: white;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-featured .pricing-desc {
    color: #94a3b8;
}

.pricing-price {
    margin-bottom: 32px;
}

.price-amount {
    font-size: 56px;
    font-weight: 800;
}

.pricing-featured .price-amount {
    color: var(--primary);
}

.price-period {
    font-size: 18px;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.pricing-featured .pricing-features li {
    border-color: #334155;
}

.pricing-setup {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-guarantee {
    text-align: center;
    margin-top: 48px;
    padding: 24px;
    background: #fef3c7;
    border-radius: var(--radius);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
    color: white;
}

.cta-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.cta h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.cta p {
    color: #94a3b8;
    margin-bottom: 32px;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-form input,
.cta-form select {
    padding: 16px;
    border-radius: var(--radius);
    border: 2px solid #334155;
    background: #1e293b;
    color: white;
    font-size: 16px;
}

.cta-form input::placeholder {
    color: #64748b;
}

.cta-form select {
    color: #64748b;
}

.cta-note {
    font-size: 14px;
    color: #64748b;
    margin-top: 16px;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: var(--bg-dark);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: #64748b;
    margin-top: 16px;
}

.footer-links h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: #94a3b8;
}

.footer-links a {
    display: block;
    color: #64748b;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 32px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .problem-grid,
    .testimonial-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-featured {
        transform: none;
    }
    
    .scent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .city-logos {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .scent-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Research Section */
.research {
    padding: 100px 0;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.research-card {
    padding: 32px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.research-source {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.research-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.research-card p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 12px;
}

.research-card cite {
    font-size: 14px;
    color: var(--text-secondary);
    font-style: normal;
}

/* Cool Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-40px) scale(1.5); opacity: 0; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

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

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

.hero h1 {
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

.diffuser-glow {
    animation: pulse 3s ease-in-out infinite;
}

.mist {
    animation: float 3s ease-in-out infinite;
}

.mist-1 { animation-delay: 0s; }
.mist-2 { animation-delay: 0.5s; }
.mist-3 { animation-delay: 1s; }

/* Gradient background for hero */
.hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #ffffff 100%);
}

@media (max-width: 768px) {
    .research-grid {
        grid-template-columns: 1fr;
    }
}

/* Franchise Callout */
.franchise-callout {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-lg);
    color: white;
    text-align: center;
}

.franchise-callout h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.franchise-callout p {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
}

.franchise-callout em {
    color: var(--primary);
    font-style: normal;
    font-weight: 600;
}

/* Faster animations */
.hero h1 {
    animation: fadeInUp 0.4s ease-out;
}

.hero-subtitle {
    animation: fadeInUp 0.4s ease-out 0.1s both;
}

.hero-cta {
    animation: fadeInUp 0.4s ease-out 0.2s both;
}

.hero-stats {
    animation: fadeInUp 0.4s ease-out 0.3s both;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.8; }
    50% { transform: translateY(-30px) scale(1.3); opacity: 0; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.mist {
    animation: float 2s ease-in-out infinite;
}

.diffuser-glow {
    animation: pulse 2s ease-in-out infinite;
}

/* Fast reveal animation - no lag */
.problem-card, .scent-card, .testimonial-card, .pricing-card, .step, .research-card {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.problem-card.visible, .scent-card.visible, .testimonial-card.visible, 
.pricing-card.visible, .step.visible, .research-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Franchise grid */
.franchise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.franchise-item {
    text-align: left;
}

.franchise-item strong {
    color: var(--primary);
    font-size: 18px;
}

.franchise-item p {
    font-size: 14px;
    margin-top: 8px;
    color: #94a3b8;
}

/* Simple footer */
.footer-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-simple p {
    color: #64748b;
}

.footer-simple a {
    color: var(--primary);
}

/* Hero emphasis */
.hero h1 em {
    font-style: normal;
    color: var(--primary);
}

@media (max-width: 768px) {
    .franchise-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-simple {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Clean, less vibecoded look */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

/* Subtle animations only */
.problem-card, .scent-card, .pricing-card, .step, .research-card {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.problem-card.visible, .scent-card.visible, .pricing-card.visible, 
.step.visible, .research-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Remove flashy button shimmer */
.btn-primary::after {
    display: none;
}

/* Cleaner stat numbers - no gradient */
.stat-number {
    background: none;
    -webkit-text-fill-color: var(--primary);
    color: var(--primary);
}

/* Tone down hero animations */
.hero h1, .hero-subtitle, .hero-cta, .hero-stats {
    animation: none;
}

/* Simpler hover effects */
.btn:hover {
    transform: none;
}

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

/* Fix footer white bar */
html, body {
    margin: 0;
    padding: 0;
}

.footer {
    margin: 0;
    padding: 40px 0;
}

/* Footer with navigation */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-brand p {
    color: #64748b;
    margin-top: 8px;
}

.footer-nav {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
}

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

.footer-copy p {
    color: #94a3b8;
    font-size: 14px;
}

/* Pricing note for custom blend */
.pricing-note {
    font-size: 12px;
    color: #64748b;
    margin-top: 8px;
    font-style: italic;
}

/* Remove diffuser mockup */
.hero-image,
.diffuser-mockup,
.diffuser-glow,
.diffuser-device,
.mist {
    display: none !important;
}

@media (max-width: 768px) {
    .footer-nav {
        gap: 16px;
    }
}

/* ============================================
   AI Chat Widget
   ============================================ */

.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.chat-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.chat-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

.chat-icon, .chat-close {
    font-size: 24px;
    color: white;
    position: absolute;
    transition: opacity 0.2s, transform 0.2s;
}

.chat-close {
    opacity: 0;
    transform: scale(0.5);
}

.chat-widget.open .chat-icon {
    opacity: 0;
    transform: scale(0.5);
}

.chat-widget.open .chat-close {
    opacity: 1;
    transform: scale(1);
}

.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 340px;
    height: 420px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.chat-widget.open .chat-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: var(--primary);
    color: white;
    padding: 16px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-powered {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.8;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    max-width: 85%;
}

.chat-message p {
    padding: 10px 14px;
    border-radius: 16px;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.bot p {
    background: #f1f5f9;
    color: #1e293b;
    border-bottom-left-radius: 4px;
}

.chat-message.user {
    align-self: flex-end;
}

.chat-message.user p {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.typing p {
    animation: pulse 1s infinite;
}

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

.chat-input {
    display: flex;
    padding: 12px;
    border-top: 1px solid #e2e8f0;
    gap: 8px;
}

.chat-input input {
    flex: 1;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
}

.chat-input input:focus {
    border-color: var(--primary);
}

.chat-input button {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 16px;
    cursor: pointer;
}

.chat-input button:hover {
    background: var(--primary-dark);
}

@media (max-width: 480px) {
    .chat-window {
        width: calc(100vw - 48px);
        height: 60vh;
        right: -12px;
    }
}

/* Hero Visual Flow */
.hero-visual {
    margin-top: 48px;
}

.visual-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

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

.visual-emoji {
    font-size: 48px;
    display: block;
}

.visual-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.visual-arrow {
    font-size: 24px;
    color: var(--primary);
    font-weight: bold;
}

@media (max-width: 600px) {
    .visual-flow {
        gap: 12px;
    }
    .visual-emoji {
        font-size: 36px;
    }
    .visual-arrow {
        font-size: 18px;
    }
}

/* Hero Diffuser */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-diffuser {
    display: flex;
    justify-content: center;
    align-items: center;
}

.diffuser {
    position: relative;
    width: 200px;
    height: 320px;
}

.diffuser-body {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.diffuser-top {
    width: 60px;
    height: 20px;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border-radius: 30px 30px 0 0;
}

.diffuser-middle {
    width: 80px;
    height: 120px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1), inset 0 2px 4px rgba(255,255,255,0.8);
}

.diffuser-base {
    width: 100px;
    height: 30px;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border-radius: 0 0 16px 16px;
}

/* Mist particles */
.mist-container {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 150px;
}

.mist-particle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(34, 197, 94, 0.3);
    border-radius: 50%;
    filter: blur(6px);
    animation: rise 3s ease-out infinite;
}

.m1 { left: 30%; animation-delay: 0s; }
.m2 { left: 50%; animation-delay: 0.6s; }
.m3 { left: 70%; animation-delay: 1.2s; }
.m4 { left: 40%; animation-delay: 1.8s; }
.m5 { left: 60%; animation-delay: 2.4s; }

@keyframes rise {
    0% {
        bottom: 0;
        opacity: 0;
        transform: scale(0.5);
    }
    20% {
        opacity: 0.8;
    }
    100% {
        bottom: 150px;
        opacity: 0;
        transform: scale(2) translateX(10px);
    }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-diffuser {
        order: -1;
    }
    .diffuser {
        height: 250px;
        width: 160px;
    }
    .diffuser-middle {
        width: 60px;
        height: 90px;
    }
    .diffuser-base {
        width: 80px;
        height: 24px;
    }
    .diffuser-top {
        width: 48px;
        height: 16px;
    }
}

/* Lucide icons styling */
.problem-icon i,
.scent-icon i {
    font-size: 32px;
    color: var(--primary);
}

.scent-icon {
    margin-bottom: 12px;
}

.scent-icon i {
    font-size: 28px;
}

.pricing-guarantee i {
    vertical-align: middle;
    margin-right: 4px;
    color: var(--primary);
}

/* Polish: better card shadows */
.problem-card,
.research-card,
.pricing-card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

.problem-card:hover,
.research-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

/* Better research cards */
.research-source {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

/* CTA section polish */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, #065239 100%);
}

.cta h2 {
    color: white;
}

.cta p {
    color: rgba(255,255,255,0.9);
}

.cta-form input,
.cta-form select {
    border: none;
    padding: 14px 16px;
}

/* Scent cards hover */
.scent-card {
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.scent-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(13, 110, 77, 0.15);
}

/* Step numbers */
.step-number {
    background: var(--primary);
    color: white;
    font-weight: 700;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.faq-item {
    background: white;
    padding: 28px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.faq-item p {
    color: #64748b;
    line-height: 1.6;
    font-size: 15px;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile improvements */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat {
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .pricing-grid {
        gap: 24px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-cta {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .cta-form input,
    .cta-form button {
        font-size: 16px;
    }
}

/* Form validation styles */
.cta-form input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.cta-form input:valid {
    border-color: var(--primary);
}

/* Better button focus states */
.btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Accessibility improvements */
.btn, a, input, button {
    transition: all 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
