:root {
    --primary-core: #4CAF50;
    --primary-glow: #81C784;
    --secondary-core: #26A69A;
    --secondary-glow: #4DB6AC;
    --accent-blue: #4FC3F7;
    --bg-dark: #0F172A;
    --card-bg: #1E293B;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--card-bg);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-core);
}

/* Nav */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 5px;
    background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 35px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.cta-nav {
    background: var(--primary-core);
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 10% 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(76, 175, 80, 0.1), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(38, 166, 154, 0.1), transparent 40%);
}

.hero-content {
    flex: 1.2;
    padding-right: 50px;
}

.gradient-text {
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(to bottom right, #FFFFFF, #CBD5E1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.subtitle {
    font-size: 1.35rem;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 45px;
    font-weight: 400;
}

.hero-image {
    flex: 0.8;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    transform: perspective(1500px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: perspective(1500px) rotateY(-2deg) rotateX(0deg);
}

/* Buttons */
.download-section {
    display: flex;
    gap: 20px;
    justify-content: center; /* Centered by default */
}

.download-btn {
    padding: 20px 40px;
    border-radius: 18px;
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-core), var(--secondary-core));
    color: white;
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.5);
}

.btn-text small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Feature Grid */
.section-header {
    text-align: center;
    padding: 120px 10% 60px;
}

.section-label {
    text-transform: uppercase;
    color: var(--primary-glow);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.features-grid {
    padding: 0 10% 120px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 28px;
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: rgba(76, 175, 80, 0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.feature-card .icon {
    font-size: 48px;
    margin-bottom: 30px;
    display: block;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 700;
}

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

/* Deep Info Sections */
.info-section {
    padding: 100px 10%;
    display: flex;
    align-items: center;
    gap: 80px;
}

.info-section.reverse {
    flex-direction: row-reverse;
}

.info-content {
    flex: 1;
}

.info-visual {
    flex: 1;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.info-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.info-visual:hover .info-img {
    transform: scale(1.08);
}

.info-content h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.info-content p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.stat-group {
    display: flex;
    gap: 40px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-glow);
    margin-bottom: 5px;
}

.stat-item span {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Final CTA */
.final-cta {
    padding: 160px 10%;
    text-align: center;
    background: radial-gradient(circle at center, rgba(38, 166, 154, 0.1), transparent 70%);
}

.final-cta h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.final-cta p {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Footer */
footer {
    padding: 60px 10%;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

/* Animations matching App */
@keyframes glow-pulse {
    0% { box-shadow: 0 0 5px rgba(76, 175, 80, 0.2); }
    50% { box-shadow: 0 0 20px rgba(76, 175, 80, 0.4); }
    100% { box-shadow: 0 0 5px rgba(76, 175, 80, 0.2); }
}

[data-aos="page-flip"] {
    transform: perspective(2500px) rotateY(-110deg);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="page-flip"].aos-animate {
    transform: perspective(2500px) rotateY(0deg);
    opacity: 1;
}

/* Mobile Bottom Navigation Bar (Tab Bar) */
.mobile-tab-bar {
    display: none; /* Hidden by default (Desktop) */
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    display: none; /* Will be set to flex in mobile MQ */
    justify-content: space-around;
    padding: 10px 0 25px; /* Added bottom padding for safe area */
    z-index: 1001;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    gap: 4px;
    width: 25%;
    transition: all 0.3s ease;
}

.tab-icon {
    font-size: 1.2rem;
}

.tab-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-item.active {
    color: var(--primary-glow);
}

.tab-item.active .tab-icon {
    transform: scale(1.1);
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .glass-nav .nav-links {
        display: none; /* Hide header links on mobile/tablet */
    }

    .mobile-tab-bar {
        display: flex; /* Show bottom tab bar */
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }
    .hero-content {
        padding-right: 0;
        margin-bottom: 60px;
        display: flex;
        flex-direction: column;
        align-items: center; /* Center content items */
        text-align: center;
    }
    .gradient-text {
        font-size: 3.5rem;
    }
    .info-section {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .info-section.reverse {
        flex-direction: column;
    }
    .stat-group {
        justify-content: center;
    }
    
    footer {
        padding-bottom: 120px; /* Space for tab bar */
    }
}
