@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Primary palette - Autumn Sage */
    --color-primary: #5f7161;
    --color-secondary: #c9baa5;
    --color-accent: #cd784a;

    /* Backgrounds - Light theme with warm linen */
    --bg-base: #f8f5f0;
    --bg-surface: #ffffff;
    --bg-surface-dark: #2f332c;

    /* Text - Dark on light backgrounds */
    --text-primary: #2f332c;
    --text-secondary: #5f7161;
    --text-muted: #7a8a7c;
    --text-on-dark: #f8f5f0;

    /* Glass effects - subtle on light base */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(95, 113, 97, 0.15);
    --glass-shadow: rgba(47, 51, 44, 0.1);

    /* Glow effects */
    --glow-sage: 0 0 20px rgba(95, 113, 97, 0.4);
    --glow-sienna: 0 0 20px rgba(205, 120, 74, 0.4);

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-secondary);
    background: linear-gradient(135deg, #f8f5f0 0%, #f0ebe3 50%, #f8f5f0 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

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

h1, h2, h3 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

/* Text highlight */
.highlight {
    color: var(--color-accent);
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.logo-link:hover {
    transform: translateY(-2px);
}

.logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.cta-button-small {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary) 20%, var(--color-accent) 100%);
    color: #000000 !important;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--glow-sage);
}

.cta-button-small:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-coral);
}

/* Glass Card Effect - White cards on light background */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 24px var(--glass-shadow);
    transition: var(--transition);
}

.glass-card h3,
.glass-card strong {
    color: var(--color-primary);
}

.glass-card p {
    color: var(--text-muted);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(47, 51, 44, 0.15), var(--glow-sage);
    border-color: rgba(95, 113, 97, 0.3);
}

/* Hero Section - Parallax Effect */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Parallax Layer 1 - Sage glow (bottom left) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 100% 100% at 10% 90%, rgba(95, 113, 97, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 80% 80% at 0% 60%, rgba(95, 113, 97, 0.25) 0%, transparent 45%),
        radial-gradient(ellipse 50% 50% at 30% 70%, rgba(95, 113, 97, 0.15) 0%, transparent 40%);
    background-attachment: fixed;
    pointer-events: none;
    z-index: 0;
}

/* Parallax Layer 2 - Burnt Sienna glow (top right) */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 100% 100% at 90% 10%, rgba(205, 120, 74, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse 70% 70% at 100% 30%, rgba(205, 120, 74, 0.2) 0%, transparent 45%),
        radial-gradient(ellipse 50% 50% at 70% 20%, rgba(205, 120, 74, 0.12) 0%, transparent 40%);
    background-attachment: fixed;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    animation: fadeInUp 1s ease-out;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary) 20%, var(--color-accent) 100%);
    color: #000000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--glow-sage);
    border: 2px solid transparent;
    animation: fadeInUp 1.2s ease-out;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--glow-coral);
    border-color: rgba(95, 113, 97, 0.3);
}

/* Sections */
section {
    padding: 5rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
}

/* About Section */
/* About list - vertical layout with check icons */
.about-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.about-item-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.about-item-content p {
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Features Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.feature-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* How It Works Section - Vertical Zigzag Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* SVG snake path */
.timeline-path {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 100%;
    z-index: 0;
    overflow: visible;
}

.snake-path {
    fill: none;
    stroke: url(#timeline-gradient);
    stroke-width: 3;
    stroke-dasharray: 10 8;
    stroke-linecap: round;
}

.timeline-item {
    display: flex;
    justify-content: flex-start;
    padding: 1.5rem 0;
    position: relative;
    width: 50%;
    margin-left: 50%;
    padding-left: 50px;
}

/* Even items on left */
.timeline-item:nth-child(even) {
    justify-content: flex-end;
    margin-left: 0;
    padding-left: 0;
    padding-right: 50px;
}

/* Numbered circle on the line */
.timeline-number {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--glow-sage);
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-number {
    left: auto;
    right: -30px;
}

.timeline-content {
    padding: 1.5rem 2rem;
    max-width: 350px;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-content h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Testimonials Section - Slideshow */
.testimonial-slideshow {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.slides-wrapper {
    position: relative;
    overflow: hidden;
}

.slide {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

/* Dot indicators */
.slide-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-surface-light);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--color-secondary);
}

.testimonial-card {
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    background: var(--bg-surface-light);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.testimonial-content {
    flex: 1;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.testimonial-info strong {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonial-card p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.7;
}

/* FAQ Section */
/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass-bg);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: inherit;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(95, 113, 97, 0.08);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-secondary);
    transition: transform 0.3s ease;
    min-width: 24px;
    text-align: center;
}

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

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer p {
    overflow: hidden;
    padding: 0 2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    transition: padding 0.3s ease;
}

.faq-item.active .faq-answer p {
    padding: 0 2rem 1.5rem;
}

/* Get Started Section */
.get-started {
    padding: 6rem 0;
}

.cta-card {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: var(--bg-surface-dark);
    color: var(--text-on-dark);
    padding: 3rem 0 1.5rem;
    border-top: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
    align-items: start;
    width: 100%;
}

.footer-brand {
    grid-column: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    text-decoration: none;
}

.footer-logo .logo {
    height: 48px;
    width: auto;
}

.footer-logo .logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-on-dark);
    background: linear-gradient(135deg, var(--text-on-dark) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: rgba(248, 245, 240, 0.7);
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 100%;
}

.app-badges {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.app-badges.mobile-only {
    display: none;
}

.app-badge {
    position: relative;
    display: inline-block;
    width: fit-content;
}

.app-badge.coming-soon .badge-icon {
    color: var(--text-muted);
    opacity: 0.4;
    width: 120px;
    height: 40px;
}

.app-badge.coming-soon .badge-icon:last-of-type {
    width: 135px;
}

.coming-soon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.footer-column h4 {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-column nav {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-column nav a {
    color: rgba(248, 245, 240, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-column nav a:hover {
    color: var(--text-on-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(248, 245, 240, 0.1);
    padding-top: 2rem;
    text-align: left;
}

.footer-bottom p {
    color: rgba(248, 245, 240, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    /* Disable parallax on mobile (iOS doesn't support fixed backgrounds well) */
    .hero::before,
    .hero::after {
        background-attachment: scroll;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .logo {
        height: 32px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .cta-button-small {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    section {
        padding: 3rem 0;
    }

    .feature-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1.5rem;
    }

    .faq-item.active .faq-answer p {
        padding: 0 1.5rem 1.25rem;
    }

    .about-item {
        padding: 1.25rem 1.5rem;
    }

    /* Timeline mobile - single column on left */
    .timeline-path {
        display: none;
    }

    /* Simple dotted line for mobile */
    .timeline::before {
        content: '';
        position: absolute;
        left: 30px;
        top: 0;
        width: 4px;
        height: 100%;
        background: repeating-linear-gradient(
            to bottom,
            var(--color-secondary) 0px,
            var(--color-secondary) 8px,
            transparent 8px,
            transparent 16px
        );
        border-radius: 2px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding-left: 80px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-number,
    .timeline-item:nth-child(even) .timeline-number {
        left: 0;
        right: auto;
    }

    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
        max-width: 100%;
    }

    .glass-card {
        padding: 1.5rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    /* Footer responsive */
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem 1.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .footer-logo {
        justify-content: center;
    }

    .app-badges {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

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

    h2 {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Footer responsive */
    footer .container {
        display: flex;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 1.5rem;
        order: 1;
    }

    .footer-brand {
        text-align: left;
    }

    .footer-logo {
        justify-content: flex-start;
    }

    .footer-column nav {
        align-items: flex-start;
    }

    .app-badges:not(.mobile-only) {
        display: none;
    }

    .app-badges.mobile-only {
        display: flex;
        margin-top: 1.5rem;
        margin-bottom: 0;
    }

    .footer-bottom {
        order: 3;
    }
}

/* Content Pages (Privacy/Terms/Support) */
.content-page {
    padding: 4rem 0;
    min-height: 80vh;
}

.content-page .container {
    max-width: 800px;
}

.content-page .glass-card {
    padding: 3rem;
}

.content-page h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.content-page h2 {
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.content-page p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.content-page em {
    color: var(--text-muted);
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    transition: var(--transition);
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-5px);
}

/* Shutdown notice (2026-09) */
.shutdown-banner {
    background: #fdf1e7;
    color: #7a3f1c;
    border-bottom: 1px solid var(--color-accent);
    text-align: center;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
}
.shutdown-banner a { color: inherit; text-decoration: underline; font-weight: 600; }
body { padding-top: 2.6rem; }
.discontinued-note { color: var(--text-muted); margin-bottom: 2rem; }
.discontinuation-notice {
    background: #fdf1e7;
    border: 1px solid var(--color-accent);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}
.discontinuation-notice h2 { margin-top: 0; }
@media (max-width: 768px) { body { padding-top: 4rem; } }
@media (max-width: 480px) { body { padding-top: 5.2rem; } }
