/* Global Styles */
:root {
    --primary: #F59E0B;
    --primary-hover: #FBBF24;
    --cta: #8B5CF6;
    --bg-dark: #0F172A;
    --bg-card: #1E293B;
    --text-light: #F8FAFC;
    --text-muted: #94A3B8;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover), #FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(245, 158, 11, 0.1);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background: radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.15), transparent 40%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: #111;
    border: 12px solid #333;
    border-radius: 40px;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.5);
    overflow: hidden;
}

.phone-screen {
    height: 100%;
    background-color: #FFF8E7; /* Match app colors */
    color: #333;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.app-header {
    text-align: center;
    font-weight: 700;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.app-price-card {
    background: #FFF;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    margin-bottom: 20px;
}

.app-price-card .label {
    display: block;
    font-size: 0.8rem;
    color: #666;
}

.app-price-card .price {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #B8860B;
}

.app-price-card .trend.up {
    color: #E53E3E;
    font-size: 0.9rem;
    font-weight: 600;
}

.app-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.app-tabs .tab {
    flex: 1;
    padding: 8px;
    text-align: center;
    background: #EEE;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.app-tabs .tab.active {
    background: #B8860B;
    color: #FFF;
}

.app-list .item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #EEE;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Features */
.features {
    padding: 8rem 0;
    background-color: rgba(255, 255, 255, 0.02);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.feature-card {
    background-color: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

/* About */
.about {
    padding: 8rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 5rem;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.stats {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin-top: 3rem;
}

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

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

.qr-container {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.qr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.qr-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.qr-image {
    width: 100%;
    aspect-ratio: 1;
    background: #FFF;
    padding: 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qr-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-hint {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Mobile Menu Classes */
.nav-links.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.footer-links {
    display: flex;
    gap: 2rem;
}

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

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-content, .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        margin: 0 auto 2.5rem;
    }

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

    .stats {
        justify-content: center;
    }
}

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

    .menu-toggle {
        display: flex;
    }

    .navbar {
        padding: 1rem 0;
    }

    .hero {
        padding: 8rem 0 4rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}
