/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0b0e14;
    --bg-secondary: #141a24;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --border-card: rgba(255, 255, 255, 0.08);
    --text-primary: #f0f3fa;
    --text-secondary: #a0aec0;
    --text-muted: #6b7a8f;
    --accent-gold: #d4a84b;
    --accent-gold-light: #e8c86a;
    --accent-gold-dim: rgba(212, 168, 75, 0.15);
    --gradient-gold: linear-gradient(135deg, #d4a84b 0%, #e8c86a 100%);
    --shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    --radius: 16px;
    --radius-sm: 10px;
    --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== BASE ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-card);
    padding: 12px 0;
    transition: var(--transition);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
}

.nav-brand .logo-icon {
    font-size: 28px;
    color: var(--accent-gold);
}

.nav-brand .logo-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 4px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-gold);
    color: var(--bg-primary);
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 75, 0.3);
}

.btn-primary.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid var(--border-card);
    transition: var(--transition);
    cursor: pointer;
}

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

.btn-secondary.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(circle at 20% 30%, rgba(212, 168, 75, 0.06) 0%, transparent 60%),
            radial-gradient(circle at 80% 70%, rgba(212, 168, 75, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-gold-dim);
    color: var(--accent-gold);
    padding: 4px 16px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 br {
    display: block;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-gold);
}

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

/* ===== HERO VISUAL ===== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-phone {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 9/16;
}

.hero-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    border: 2px solid var(--border-card);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

.hero-phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-badge {
    display: inline-block;
    background: var(--accent-gold-dim);
    color: var(--accent-gold);
    padding: 4px 16px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 17px;
}

/* ===== FEATURES ===== */
.features {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-gold);
    background: var(--bg-card-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== SCREENSHOTS ===== */
.screenshots {
    padding: 80px 0;
    background: var(--bg-primary);
}

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

.screenshot-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.screenshot-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-label {
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
}

.testimonial-stars {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--accent-gold);
}

.testimonial-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    font-style: italic;
}

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

.testimonial-author strong {
    font-size: 15px;
    color: var(--text-primary);
}

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

/* ===== CTA SECTION ===== */
.cta {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 32px;
}

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

.cta-features {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-features span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== FOOTER ===== */
footer {
    padding: 60px 0 24px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-card);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-card);
}

.footer-brand .logo-icon {
    font-size: 28px;
    color: var(--accent-gold);
}

.footer-brand .logo-text {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 8px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.footer-social a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 24px;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    padding: 120px 0 60px;
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    padding: 40px 0 32px;
}

.legal-header h1 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 8px;
}

.legal-header p {
    color: var(--text-muted);
    font-size: 15px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content section {
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.legal-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-content ul {
    padding-left: 24px;
    margin-bottom: 12px;
}

.legal-content li {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 4px;
}

.legal-content a {
    color: var(--accent-gold);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 40px;
    }

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

@media (max-width: 768px) {
    /* Navbar */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-card);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 16px;
    }

    /* Hero */
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-stats {
        justify-content: center;
        gap: 32px;
    }

    .hero-phone {
        max-width: 280px;
    }

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

    .section-header h2 {
        font-size: 30px;
    }

    /* Screenshots */
    .screenshot-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Testimonials */
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 30px;
    }

    .cta-features {
        gap: 16px;
    }

    /* Legal */
    .legal-header h1 {
        font-size: 32px;
    }
}

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

    .hero h1 {
        font-size: 28px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 22px;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

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

    .btn-primary.btn-large,
    .btn-secondary.btn-large {
        width: 100%;
        justify-content: center;
    }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-light);
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--accent-gold);
}

.mt-8 {
    margin-top: 8px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-32 {
    margin-top: 32px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-32 {
    margin-bottom: 32px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.screenshot-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease both;
}

.feature-card:nth-child(1) { animation-delay: 0.05s; }
.feature-card:nth-child(2) { animation-delay: 0.10s; }
.feature-card:nth-child(3) { animation-delay: 0.15s; }
.feature-card:nth-child(4) { animation-delay: 0.20s; }
.feature-card:nth-child(5) { animation-delay: 0.25s; }
.feature-card:nth-child(6) { animation-delay: 0.30s; }
.feature-card:nth-child(7) { animation-delay: 0.35s; }
.feature-card:nth-child(8) { animation-delay: 0.40s; }
.feature-card:nth-child(9) { animation-delay: 0.45s; }

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    animation: bounce 2s infinite;
}

.scroll-indicator .arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--accent-gold);
    border-bottom: 2px solid var(--accent-gold);
    transform: rotate(45deg);
}

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

/* ===== GLOW EFFECTS ===== */
.glow-gold {
    box-shadow: 0 0 40px rgba(212, 168, 75, 0.1);
}

.glow-gold:hover {
    box-shadow: 0 0 60px rgba(212, 168, 75, 0.2);
}

/* ===== DIVIDER ===== */
.divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 4px;
    margin: 16px auto;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212, 168, 75, 0.3);
}