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

:root {
    --primary: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #E8F5E9;
    --background: #FAFAF5;
    --background-green: #E8F5E9;
    --foreground: #1a1a1a;
    --muted: #666666;
    --border: #E5E5E5;
    --radius: 16px;
    --radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

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

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

.btn-outline {
    background: white;
    border: 2px solid var(--foreground);
    color: var(--foreground);
}

.btn-outline:hover {
    background: var(--foreground);
    color: white;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--background);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--foreground);
}

/* Hero Section */
.hero {
    padding: 120px 0 60px;
    background: var(--background);
}

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

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

.hero-title {
    font-size: 80px;
    font-weight: 700;
    line-height: 1.05;
    color: var(--primary);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-proof {
    margin-bottom: 16px;
}

.social-proof-text {
    font-size: 13px;
    color: var(--muted);
}

.app-badges {
    display: flex;
    gap: 12px;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    color: var(--foreground);
}

.app-badge svg {
    width: 14px;
    height: 14px;
}

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

.hero-mockup {
    width: 640px;
    height: auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background-green);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

.section-title-dark {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--foreground);
    letter-spacing: -0.02em;
}

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

.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1);
    background: var(--primary);
}

.feature-card:hover .feature-icon-wrapper svg {
    stroke: white;
}

.feature-icon-wrapper svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
    transition: stroke 0.3s ease;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--foreground);
}

.feature-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--background);
    overflow: hidden;
}

.testimonials-marquee {
    display: flex;
    animation: marquee 40s linear infinite;
}

.testimonials-marquee:hover {
    animation-play-state: paused;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    padding-right: 24px;
}

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

.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
    width: 360px;
    min-width: 360px;
    flex-shrink: 0;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.testimonial-quote {
    font-size: 15px;
    line-height: 1.7;
    color: var(--foreground);
    margin-bottom: 20px;
    font-style: italic;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

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

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--foreground);
}

.author-role {
    font-size: 13px;
    color: var(--muted);
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--background-green);
}

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

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.pricing-card-featured {
    border-color: var(--primary);
    background: white;
}

.pricing-card-featured:hover {
    box-shadow: 0 12px 24px rgba(76, 175, 80, 0.2);
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--foreground);
}

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

.price-amount {
    font-size: 56px;
    font-weight: 700;
    color: var(--foreground);
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 16px;
    color: var(--muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    padding: 10px 0;
    color: var(--muted);
    font-size: 15px;
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-note {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--muted);
}

.pricing-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.pricing-savings {
    font-size: 14px;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 20px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--primary);
}

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

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

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

.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 48px;
    min-width: 220px;
    background: white;
    color: var(--foreground);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.store-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.store-button svg {
    width: 24px;
    height: 24px;
}

.store-button div {
    text-align: left;
}

.store-label {
    display: block;
    font-size: 11px;
    color: var(--muted);
}

.store-name {
    display: block;
    font-size: 18px;
    font-weight: 600;
}

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

.footer-main {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

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

.footer-logo {
    font-size: 24px;
    font-weight: 700;
}

.footer-tagline {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.footer-store-buttons {
    display: flex;
    gap: 12px;
}

.footer-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s;
}

.footer-store-btn:hover {
    background: rgba(255,255,255,0.2);
}

.footer-store-btn svg {
    width: 18px;
    height: 18px;
}

.footer-links-grid {
    display: flex;
    gap: 80px;
}

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

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 24px;
    text-align: right;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-title {
        font-size: 64px;
    }

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

    .app-badges {
        justify-content: center;
    }

    .social-proof {
        text-align: center;
    }

    .hero-visual {
        order: -1;
        justify-content: center;
    }

    .hero-mockup {
        width: 320px;
        max-width: 90%;
    }

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

    .section-title {
        font-size: 36px;
    }

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

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

    .footer-links-grid {
        gap: 40px;
        flex-wrap: wrap;
    }

    .footer-bottom {
        text-align: center;
    }

    .cta-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 100px 0 40px;
    }

    .hero-title {
        font-size: 56px;
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
    }

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

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

    .store-button {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .price-amount {
        font-size: 42px;
    }

    .footer-store-buttons {
        flex-direction: column;
    }

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

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

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

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

.animate-fade-up {
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
}

.phone-float {
    animation: float 4s ease-in-out infinite;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-up {
        opacity: 1;
        animation: none;
    }

    .phone-float {
        animation: none;
    }

    .testimonials-marquee {
        animation: none;
    }

    .feature-card,
    .testimonial-card,
    .pricing-card,
    .store-button,
    .btn {
        transition: none;
    }
}

/* Scroll Animations */
.scroll-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.scroll-fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered delays for grid items */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
    .scroll-fade-up,
    .scroll-fade-left,
    .scroll-fade-right,
    .scroll-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
