/* General Variables & Reset */
:root {
    --primary: #2E7D32;
    --secondary: #43A047;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --primary-rgb: 46, 125, 50;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    overflow-x: hidden;
}

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

/* Header & Nav */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background-color: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid var(--glass-border);
    will-change: transform;
    transform: translateZ(0);
}

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

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

.logo-wrapper svg {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
}

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

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

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

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

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    background-color: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    min-height: 80dvh;
    display: flex;
    align-items: center;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 30%, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

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

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    height: 560px;
    border: 12px solid #334155;
    border-radius: 40px;
    background-color: #020617;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(var(--primary-rgb), 0.2);
    position: relative;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.2), transparent);
}

.phone-app-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.phone-logo svg {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.phone-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.phone-text p {
    font-size: 14px;
    color: var(--text-muted);
}

.phone-indicators {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

.indicator:first-child {
    background-color: var(--primary);
    width: 20px;
    border-radius: 4px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: rgba(30, 41, 59, 0.3);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

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

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
}

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

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.3);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Download Section */
.download-section {
    padding: 100px 0;
}

.download-box {
    background: radial-gradient(circle at top left, rgba(var(--primary-rgb), 0.15), transparent), var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.download-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.download-text {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

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

.store-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #020617;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 12px 28px;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.store-btn:hover:not(.disabled) {
    background-color: #0f172a;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.store-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.store-icon {
    width: 28px;
    height: 28px;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.store-btn-text span {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-btn-text strong {
    font-size: 16px;
    font-weight: 600;
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    background-color: #020617;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

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

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--text-main);
}

/* Responsiveness */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-title {
        font-size: 38px;
    }
}

@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 16px;
        gap: 16px;
    }
    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 16px;
    }
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
    }
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
