/* CSS Variables */
:root {
    --primary: #5A7C65;
    --primary-dark: #4A6B54;
    --primary-light: #7A9C85;
    --accent: #D4A574;
    --accent-light: #E4B584;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-text: linear-gradient(135deg, #5A7C65 0%, #7A9C85 50%, #A8C5B0 100%);
    --shadow-sm: 0 2px 4px 0 rgb(0 0 0 / 0.08);
    --shadow: 0 4px 8px -2px rgb(0 0 0 / 0.12), 0 2px 4px -2px rgb(0 0 0 / 0.08);
    --shadow-md: 0 8px 16px -4px rgb(0 0 0 / 0.15), 0 4px 8px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 16px 32px -8px rgb(0 0 0 / 0.18), 0 8px 16px -8px rgb(0 0 0 / 0.12);
    --shadow-xl: 0 24px 48px -12px rgb(0 0 0 / 0.22), 0 12px 24px -8px rgb(0 0 0 / 0.15);
    --shadow-2xl: 0 32px 64px -16px rgb(0 0 0 / 0.28), 0 16px 32px -8px rgb(0 0 0 / 0.18);
    --shadow-glow: 0 0 40px rgba(90, 124, 101, 0.3);
    --shadow-card: 0 4px 20px -4px rgb(0 0 0 / 0.12), 0 8px 32px -8px rgb(0 0 0 / 0.08);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1, h2, h3, h4 {
    color: var(--dark);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    color: var(--gray-600);
}

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

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow-lg), 0 4px 20px rgba(90, 124, 101, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 8px 30px rgba(90, 124, 101, 0.45);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(0px);
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .container {
    height: 64px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

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

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

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 900px;
    margin: 0 auto 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 48px;
    color: var(--gray-500);
}

.waitlist-form {
    max-width: 600px;
    margin: 0 auto;
}

.waitlist-form .form-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.waitlist-form input {
    flex: 1;
    min-width: 180px;
    padding: 16px 22px;
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    outline: none;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm), inset 0 2px 4px rgba(0, 0, 0, 0.02);
    background: var(--white);
}

.waitlist-form input:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-md), 0 0 0 4px rgba(90, 124, 101, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.waitlist-form .btn {
    padding: 14px 32px;
}

.waitlist-count {
    margin-top: 24px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.waitlist-count span {
    font-weight: 600;
    color: var(--primary);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-top: 12px;
    margin-bottom: 60px;
}

section h2 {
    text-align: center;
}

section .section-subtitle {
    text-align: center;
}

/* Features Section */
.features {
    background: var(--white);
}

.features h2 {
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9375rem;
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.how-it-works h2 {
    margin-bottom: 48px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: var(--gradient);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg), 0 0 0 8px rgba(90, 124, 101, 0.12), 0 8px 24px rgba(90, 124, 101, 0.35);
}

.step h3 {
    margin-bottom: 12px;
}

/* Testimonials Section */
.testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    padding: 36px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

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

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 24px;
    line-height: 1.7;
}

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

.author-avatar {
    width: 52px;
    height: 52px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md), 0 4px 12px rgba(90, 124, 101, 0.25);
}

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

.author-info strong {
    color: var(--dark);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Pricing Section */
.pricing {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.pricing-single {
    display: flex;
    justify-content: center;
}

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

.pricing-card {
    padding: 44px 36px;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-200);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.pricing-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-6px);
    box-shadow: var(--shadow-2xl), 0 0 60px rgba(90, 124, 101, 0.4);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-md), 0 4px 12px rgba(90, 124, 101, 0.3);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.price {
    margin-bottom: 8px;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    vertical-align: top;
}

.price .amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

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

.pricing-description {
    margin-bottom: 32px;
    color: var(--gray-500);
}

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

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-600);
    position: relative;
    padding-left: 28px;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.pricing-fair-use {
    font-size: 0.8125rem;
    color: var(--gray-400);
    margin-bottom: 24px;
    font-style: italic;
}

.pricing-single .pricing-card {
    max-width: 420px;
    width: 100%;
}

.pricing-card .btn {
    width: 100%;
}

/* FAQ Section */
.faq {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
    background: var(--white);
    margin-bottom: 12px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--dark);
    text-align: left;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gray-400);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 24px 24px;
}

.faq-answer p {
    line-height: 1.7;
}

/* CTA Section */
.cta {
    background: var(--gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.cta .waitlist-form input {
    background: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.cta .waitlist-form input:focus {
    box-shadow: var(--shadow-xl), 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.cta .btn-primary:hover {
    background: var(--gray-100);
    box-shadow: var(--shadow-2xl), 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 80px 0 40px;
}

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

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray-400);
    max-width: 280px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Success Message */
.success-message {
    display: none;
    padding: 16px 24px;
    background: #10b981;
    color: var(--white);
    border-radius: var(--radius);
    text-align: center;
    font-weight: 500;
    margin-top: 16px;
    box-shadow: var(--shadow-lg), 0 4px 20px rgba(16, 185, 129, 0.35);
}

.success-message.show {
    display: block;
    animation: slideUp 0.3s ease;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

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

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .navbar .container {
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius) var(--radius);
    }

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

    .navbar .btn-primary {
        display: none;
    }

    .navbar.scrolled .nav-links {
        background: rgba(255, 255, 255, 0.98);
    }

    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .waitlist-form .form-group {
        flex-direction: column;
    }

    .waitlist-form input,
    .waitlist-form .btn {
        width: 100%;
    }

    section {
        padding: 60px 0;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .steps {
        flex-direction: column;
        gap: 40px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    .features-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-card,
    .testimonial-card,
    .pricing-card {
        padding: 28px;
    }

    .pricing-card.featured {
        order: -1;
    }

    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    .hero {
        padding: 100px 0 50px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .navbar .container {
        height: 64px;
    }

    .navbar.scrolled .container {
        height: 56px;
    }

    .logo {
        font-size: 1.25rem;
    }

    .feature-card,
    .testimonial-card,
    .pricing-card {
        padding: 20px;
    }

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

    .btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }

    .waitlist-form input {
        padding: 14px 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .price .amount {
        font-size: 2.5rem;
    }

    section {
        padding: 50px 0;
    }
}
