/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #d4a017;
    --primary-dark: #b8860b;
    --primary-light: #f0c040;
    --gold: #d4a017;
    --gold-light: #f0c040;
    --gold-dark: #b8860b;
    --bg: #0a0a0f;
    --bg-card: #12120e;
    --bg-card-hover: #1a1a14;
    --text: #f0e6d0;
    --text-muted: #a89a80;
    --border: rgba(212,160,23,0.1);
    --radius: 16px;
    --radius-sm: 10px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Buttons — mobile base */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1a1200;
    font-weight: 700;
}

.btn-lg {
    padding: 12px 22px;
    font-size: 15px;
}

.btn-xl {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1a1200;
    box-shadow: 0 0 20px rgba(212,160,23,0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    box-shadow: 0 0 30px rgba(212,160,23,0.5);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}

.btn-download {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1a1200;
    box-shadow: 0 4px 30px rgba(212,160,23,0.4);
    flex-direction: column;
    gap: 4px;
    width: 100%;
    max-width: 320px;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(212,160,23,0.6);
}

.download-size {
    font-size: 13px;
    opacity: 0.7;
    font-weight: 400;
}

/* Navbar — mobile base */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212,160,23,0.12);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-img {
    height: 32px;
    width: auto;
}

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

.nav-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s;
}

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

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 4px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px;
    border-top: 1px solid var(--border);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-size: 16px;
    color: var(--text-muted);
}

.mobile-menu .btn {
    text-align: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1a1200;
    font-weight: 700;
    padding: 12px;
}

/* Hero — mobile base */
.hero {
    position: relative;
    padding: 90px 0 60px;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
}

.hero-glow-1 {
    width: 300px;
    height: 300px;
    background: var(--gold);
    top: -100px;
    right: -80px;
}

.hero-glow-2 {
    width: 200px;
    height: 200px;
    background: var(--gold-dark);
    bottom: -60px;
    left: -60px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    position: relative;
    text-align: center;
}

.hero-text {
    order: 2;
}

.hero-visual {
    order: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(212,160,23,0.1);
    border: 1px solid rgba(212,160,23,0.25);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gold-light), #e8a020, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
    align-items: center;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
}

.stat-suffix {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-light);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* Phone Mockup — mobile base */
.phone-mockup {
    position: relative;
    z-index: 2;
}

.phone-frame {
    width: 220px;
    height: 440px;
    background: #1a1810;
    border-radius: 36px;
    border: 3px solid rgba(212,160,23,0.2);
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 40px rgba(212,160,23,0.1);
    position: relative;
    overflow: hidden;
}

.phone-notch {
    width: 100px;
    height: 24px;
    background: #0a0a0f;
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.phone-screen {
    background: linear-gradient(180deg, #1c1a0e 0%, #0f0d08 100%);
    border-radius: 26px;
    height: 100%;
    padding: 34px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.screen-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
}

.screen-card {
    height: 60px;
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    animation: shimmer 3s infinite;
}

.screen-card.short {
    height: 40px;
}

.screen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    flex: 1;
}

.screen-tile {
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    animation: shimmer 3s infinite;
    animation-delay: 0.5s;
}

.screen-nav {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
}

.nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}

.nav-dot.active {
    background: var(--gold);
    width: 20px;
    border-radius: 3px;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Floating Cards — hidden on mobile */
.floating-card {
    position: absolute;
    display: none;
    align-items: center;
    gap: 10px;
    background: rgba(19,19,26,0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.card-1 {
    top: 20%;
    left: -40px;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    bottom: 25%;
    right: -30px;
    animation: float 6s ease-in-out infinite 3s;
}

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

/* Sections — mobile base */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(212,160,23,0.1);
    border: 1px solid rgba(212,160,23,0.2);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gold-light);
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 500px;
    margin: 0 auto;
}

/* Features — mobile base (1 col) */
.features {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(212,160,23,0.2);
    transform: translateY(-4px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-bg);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

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

/* Screenshots — mobile base */
.screenshots {
    padding: 60px 0;
}

.screenshots-carousel {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    scrollbar-width: none;
}

.screenshots-carousel::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    text-align: center;
    flex-shrink: 0;
    scroll-snap-align: center;
}

.screenshot-phone {
    width: 180px;
    height: 350px;
    background: #1a1810;
    border-radius: 28px;
    border: 3px solid rgba(212,160,23,0.12);
    padding: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-phone:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(212,160,23,0.15);
}

.phone-notch.small {
    width: 60px;
    height: 16px;
    background: #0a0a0f;
    border-radius: 0 0 12px 12px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.screenshot-content {
    background: linear-gradient(180deg, #1c1a0e, #0f0d08);
    border-radius: 20px;
    height: 100%;
    padding: 26px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ss-header-bar {
    height: 10px;
    width: 60%;
    background: rgba(255,255,255,0.12);
    border-radius: 5px;
}

.ss-banner {
    height: 60px;
    background: linear-gradient(135deg, rgba(212,160,23,0.3), rgba(184,134,11,0.2));
    border-radius: 10px;
}

.ss-list-item {
    height: 32px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.ss-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.ss-box {
    height: 56px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.ss-card-wide {
    height: 48px;
    background: linear-gradient(135deg, rgba(212,160,23,0.2), rgba(184,134,11,0.1));
    border-radius: 10px;
    margin-top: auto;
}

.ss-profile-circle {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    margin: 8px auto;
}

.ss-info-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.ss-info-row {
    height: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.screenshot-label {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Download Section — mobile base */
.download {
    padding: 60px 0;
}

.download-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 20px;
    text-align: center;
    overflow: hidden;
}

.download-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.1;
    pointer-events: none;
}

.download-content {
    position: relative;
    z-index: 2;
}

.download-content h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.download-content > p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 14px;
}

.download-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.info-item svg {
    flex-shrink: 0;
}

.info-item div {
    display: flex;
    flex-direction: column;
    text-align: left;
}

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

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.download-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

/* Steps — mobile base (stacked) */
.steps {
    padding: 60px 0 80px;
}

.steps-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    width: 100%;
    max-width: 320px;
    position: relative;
    transition: all 0.3s;
}

.step-card:hover {
    border-color: rgba(212,160,23,0.2);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    margin-bottom: 14px;
}

.step-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.step-connector {
    display: none;
    color: var(--primary);
    opacity: 0.4;
}

/* Footer — mobile base */
.footer {
    border-top: 1px solid rgba(212,160,23,0.1);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 24px;
    gap: 24px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 12px;
    max-width: 300px;
}

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

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    text-align: center;
}

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

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================
   TABLET — min-width: 640px
   ========================================== */
@media (min-width: 640px) {
    .container {
        padding: 0 24px;
    }

    .hero {
        padding: 110px 0 80px;
    }

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

    .hero-desc {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 16px;
    }

    .stat-num {
        font-size: 28px;
    }

    .hero-stats {
        gap: 28px;
    }

    .phone-frame {
        width: 250px;
        height: 500px;
    }

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

    .feature-card {
        padding: 28px;
    }

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

    .screenshots-carousel {
        justify-content: center;
        overflow-x: visible;
        flex-wrap: wrap;
    }

    .screenshot-phone {
        width: 200px;
        height: 380px;
    }

    .download-card {
        padding: 48px 36px;
    }

    .download-content h2 {
        font-size: 30px;
    }

    .download-info {
        flex-direction: row;
        justify-content: center;
        gap: 32px;
    }

    .step-card {
        max-width: 280px;
    }
}

/* ==========================================
   DESKTOP — min-width: 1024px
   ========================================== */
@media (min-width: 1024px) {
    .nav-content {
        height: 64px;
    }

    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .logo-img {
        height: 40px;
    }

    .hero {
        padding: 140px 0 100px;
        min-height: 100vh;
    }

    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        text-align: left;
    }

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

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

    .hero-desc {
        font-size: 18px;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-actions {
        justify-content: flex-start;
    }

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

    .stat {
        align-items: flex-start;
    }

    .stat-num {
        font-size: 32px;
    }

    .stat-suffix {
        font-size: 24px;
    }

    .phone-frame {
        width: 280px;
        height: 560px;
        border-radius: 40px;
    }

    .phone-notch {
        width: 120px;
        height: 28px;
    }

    .phone-screen {
        padding: 40px 20px 20px;
        gap: 16px;
    }

    .screen-card {
        height: 80px;
    }

    .screen-card.short {
        height: 50px;
    }

    /* Show floating cards on desktop */
    .floating-card {
        display: flex;
    }

    .hero-glow-1 {
        width: 600px;
        height: 600px;
        top: -200px;
        right: -100px;
    }

    .hero-glow-2 {
        width: 400px;
        height: 400px;
        bottom: -100px;
        left: -100px;
    }

    /* Features 3-col */
    .features {
        padding: 100px 0;
    }

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

    .feature-card {
        padding: 32px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }

    .feature-card h3 {
        font-size: 18px;
    }

    .feature-card p {
        font-size: 14px;
    }

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

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

    .section-header p {
        font-size: 16px;
    }

    .section-badge {
        font-size: 13px;
        padding: 6px 16px;
    }

    /* Screenshots */
    .screenshots {
        padding: 100px 0;
    }

    .screenshot-phone {
        width: 220px;
        height: 420px;
        border-radius: 32px;
    }

    .screenshots-carousel {
        gap: 32px;
    }

    .ss-banner {
        height: 80px;
    }

    .ss-list-item {
        height: 40px;
    }

    .ss-box {
        height: 70px;
    }

    .ss-profile-circle {
        width: 60px;
        height: 60px;
    }

    .ss-info-row {
        height: 36px;
    }

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

    .download-card {
        padding: 60px;
        border-radius: 24px;
    }

    .download-content h2 {
        font-size: 36px;
    }

    .download-content > p {
        font-size: 16px;
    }

    .download-info {
        gap: 40px;
    }

    .btn-xl {
        padding: 18px 36px;
        font-size: 18px;
    }

    .btn-download {
        width: auto;
        max-width: none;
    }

    /* Steps — horizontal */
    .steps {
        padding: 80px 0 100px;
    }

    .steps-grid {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .step-connector {
        display: block;
    }

    .step-card {
        width: 260px;
        padding: 36px 28px;
    }

    .step-card h3 {
        font-size: 16px;
    }

    .step-card p {
        font-size: 14px;
    }

    /* Footer */
    .footer {
        padding: 48px 0 24px;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .footer-brand p {
        font-size: 14px;
    }

    .footer-links {
        gap: 28px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .footer-bottom p {
        font-size: 13px;
    }
}
