/* CSS Variables */
:root {
    --color-primary: #22c55e;
    --color-primary-dark: #16a34a;
    --color-primary-light: #4ade80;
    --color-secondary: #14532d;
    --color-success: #22c55e;
    --color-error: #ef4444;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-bg: #ffffff;
    --color-bg-alt: #f0fdf4;
    --color-bg-dark: #14532d;
    --color-border: #dcfce7;
    --gradient-primary: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #14532d 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --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: 8px;
    --radius-lg: 16px;
    --transition: all 0.2s ease;
}

/* Reset */
*, *::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;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
}

h3 {
    font-size: 1.25rem;
}

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

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

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--color-bg-alt);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

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

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

.btn-white:hover {
    background: var(--color-bg-alt);
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.125rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    color: var(--color-text-muted);
    font-weight: 500;
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

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

.hero-content {
    max-width: 560px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin: 24px 0 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-platforms {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.platform-icons {
    display: flex;
    gap: 8px;
}

.platform-badge {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 320px;
    height: 580px;
    background: var(--color-bg-dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #052e16 0%, #14532d 100%);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.mockup-gallery {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mockup-photo {
    width: 100px;
    height: 140px;
    background: linear-gradient(180deg, #166534 0%, #14532d 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 8px;
    position: relative;
}

.mockup-photo.highlight {
    border: 2px solid var(--color-success);
    width: 110px;
    height: 154px;
}

.mockup-date, .mockup-weight {
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
}

.mockup-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--color-success);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 100px;
}

.mockup-arrow {
    color: white;
    font-size: 1.5rem;
    opacity: 0.5;
}

/* Social Proof */
.social-proof {
    padding: 48px 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.proof-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

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

/* Problem/Solution */
.problem-solution {
    padding: 80px 0;
}

.problem-solution .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.problem h2, .solution h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.problem-list, .solution-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.problem-list li, .solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: var(--color-text-muted);
}

.icon-x, .icon-check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.icon-x {
    color: var(--color-error);
}

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

/* Features */
.features {
    padding: 80px 0;
    background: var(--color-bg-alt);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    margin-top: 16px;
}

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

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

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

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
    stroke: white;
}

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

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
}

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

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

.step p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--color-primary);
    padding-top: 8px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--color-bg-alt);
}

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

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

.testimonial p {
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 16px;
}

.testimonial cite {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
}

/* Use Cases */
.use-cases {
    padding: 80px 0;
}

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

.use-case {
    padding: 24px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.use-case h3 {
    margin-bottom: 8px;
    color: var(--color-primary);
}

.use-case p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

/* CTA */
.cta {
    padding: 100px 0;
    background: var(--gradient-primary);
    text-align: center;
    color: white;
}

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

.cta > .container > p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-note {
    margin-top: 24px;
    font-size: 0.875rem;
    opacity: 0.8;
}

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

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

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

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

.footer-column h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* Download Page Styles */
.download-hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
    text-align: center;
}

.download-hero h1 {
    margin-bottom: 16px;
}

.download-hero > .container > p {
    color: var(--color-text-muted);
    font-size: 1.25rem;
    max-width: 560px;
    margin: 0 auto;
}

.download-options {
    padding: 80px 0;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.download-card {
    background: white;
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--color-border);
}

.download-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-card-icon svg {
    width: 48px;
    height: 48px;
    color: var(--color-text);
}

.download-card h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.download-card .version {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.download-card p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.download-card .btn {
    width: 100%;
    margin-bottom: 12px;
}

.download-card .requirements {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 16px;
}

.web-option {
    padding: 64px 0;
    background: var(--color-bg-alt);
    text-align: center;
}

.web-option h2 {
    margin-bottom: 16px;
}

.web-option p {
    color: var(--color-text-muted);
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-platforms {
        justify-content: center;
    }

    .phone-mockup {
        width: 280px;
        height: 500px;
    }

    .problem-solution .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        transform: rotate(90deg);
        padding: 0;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .proof-stats {
        gap: 32px;
    }

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

    .download-grid {
        grid-template-columns: 1fr;
    }
}

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

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

    .hero-cta {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}
