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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Nav */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid #1c1c1e;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #1E90FF;
}

.logo img {
    height: 26px;
    width: 26px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo img {
    height: 20px;
    width: 20px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #8a8a8a;
    transition: color 0.15s;
}

.nav-link:hover {
    color: #ffffff;
}

.cta-nav {
    margin-left: auto;
    background: #1E90FF;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s;
}

.cta-nav:hover {
    background: #1a7be0;
}

/* Sections */
section {
    padding: 100px 24px;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-sub {
    font-size: 18px;
    color: #8a8a8a;
    max-width: 520px;
}

/* Hero */
#hero {
    padding-top: 140px;
    padding-bottom: 80px;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 18px;
    color: #8a8a8a;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.15s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #1E90FF;
    color: #ffffff;
}

.btn-primary:hover {
    background: #1a7be0;
}

.btn-ghost {
    background: transparent;
    color: #ffffff;
    border: 1px solid #2a2a2a;
}

.btn-ghost:hover {
    border-color: #8a8a8a;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-large {
    padding: 16px 36px;
    font-size: 17px;
    border-radius: 16px;
}

/* Phone Mockup (hero) */
.hero-visual {
    display: flex;
    justify-content: center;
}

/* Realistic device frame wrapping an actual app screenshot */
.device-frame {
    position: relative;
    width: 240px;
    aspect-ratio: 1344 / 2992;
    background: linear-gradient(155deg, #2c2c2e, #0d0d0e 55%, #000 100%);
    border-radius: 34px;
    padding: 10px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06) inset,
        0 0 90px rgba(30, 144, 255, 0.16);
    flex-shrink: 0;
}

.device-frame .side-btn {
    position: absolute;
    background: #3a3a3c;
    border-radius: 2px;
}
.device-frame .side-btn.power {
    right: -3px;
    top: 22%;
    width: 3px;
    height: 46px;
}
.device-frame .side-btn.vol-up {
    left: -3px;
    top: 18%;
    width: 3px;
    height: 30px;
}
.device-frame .side-btn.vol-down {
    left: -3px;
    top: 26%;
    width: 3px;
    height: 30px;
}

.device-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background: #000;
}

.device-screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.device-frame .camera {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #000;
    border: 1px solid #262628;
    z-index: 2;
}

.device-frame.lg {
    width: 260px;
}

/* Screenshots showcase */
#screenshots {
    background: #0a0a0a;
}

.screens-row {
    display: flex;
    gap: 28px;
    margin-top: 48px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
}

.screen-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.screen-item .device-frame {
    width: 208px;
}

.screen-caption {
    font-size: 14px;
    font-weight: 600;
    color: #c0c0c0;
    text-align: center;
}

/* Features */
#features {
    background: #0a0a0a;
}

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

.feature-card {
    background: #121212;
    border: 1px solid #1c1c1e;
    border-radius: 20px;
    padding: 28px;
    transition: border-color 0.2s;
}

.feature-card:hover {
    border-color: #2a2a2a;
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(30, 144, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E90FF;
    margin-bottom: 16px;
}

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

.feature-card p {
    font-size: 14px;
    color: #8a8a8a;
    line-height: 1.6;
}

/* Steps */
#how-it-works {
    padding-top: 100px;
    padding-bottom: 100px;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 56px;
}

.step {
    text-align: center;
    max-width: 240px;
    flex-shrink: 0;
}

.step-number {
    width: 48px;
    height: 48px;
    background: #1E90FF;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: #8a8a8a;
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: #1c1c1e;
    margin-top: 24px;
    flex-shrink: 0;
}

/* Pricing */
#pricing {
    background: #0a0a0a;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.pricing-card {
    background: #121212;
    border: 1px solid #1c1c1e;
    border-radius: 24px;
    padding: 32px 28px;
    text-align: center;
    position: relative;
    transition: border-color 0.2s;
}

.pricing-card:hover {
    border-color: #2a2a2a;
}

.pricing-card.featured {
    border-color: #1E90FF;
    background: #121212;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1E90FF;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #8a8a8a;
}

.price {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.price-period {
    font-size: 16px;
    font-weight: 500;
    color: #8a8a8a;
}

.price-sub {
    font-size: 14px;
    color: #8a8a8a;
    margin-bottom: 24px;
}

.price-features {
    list-style: none;
    margin-bottom: 28px;
    text-align: left;
}

.price-features li {
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid #1c1c1e;
    color: #c0c0c0;
}

.price-features li:last-child {
    border-bottom: none;
}

/* Compare table */
.compare-table {
    margin-top: 48px;
    background: #121212;
    border: 1px solid #1c1c1e;
    border-radius: 20px;
    overflow: hidden;
}

.compare-row {
    display: grid;
    grid-template-columns: 1fr 100px 100px;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid #1c1c1e;
}

.compare-row:last-child {
    border-bottom: none;
}

.compare-row.head {
    padding-top: 18px;
    padding-bottom: 18px;
}

.compare-feature {
    font-size: 15px;
    color: #e5e5e5;
}

.compare-row.head .compare-feature {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #8a8a8a;
    text-transform: uppercase;
}

.compare-col {
    text-align: center;
}

.compare-col.label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.compare-col.label.premium {
    color: #1E90FF;
}

.compare-col.label.free {
    color: #8a8a8a;
}

.check-yes, .check-no {
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
}

.check-yes svg { color: #34C759; }
.check-no svg { color: #3a3a3c; }

.compare-note {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #8a8a8a;
}

.compare-note strong {
    color: #1E90FF;
    font-weight: 600;
}

/* Download */
#download {
    padding-bottom: 120px;
}

.download-card {
    text-align: center;
    background: #121212;
    border: 1px solid #1c1c1e;
    border-radius: 32px;
    padding: 64px 40px;
}

.download-card h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.download-card p {
    font-size: 18px;
    color: #8a8a8a;
    margin-bottom: 32px;
}

.download-note {
    font-size: 13px;
    color: #555;
    margin-top: 20px;
}

/* Footer */
footer {
    border-top: 1px solid #1c1c1e;
    padding: 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    font-size: 16px;
    font-weight: 700;
    color: #1E90FF;
}

.footer-copy {
    font-size: 13px;
    color: #555;
}

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

.footer-right a {
    font-size: 13px;
    color: #555;
    transition: color 0.15s;
}

.footer-right a:hover {
    color: #ffffff;
}

/* Legal pages */
.legal {
    padding-top: 140px;
    padding-bottom: 100px;
}

.legal-content {
    max-width: 720px;
}

.legal-updated {
    font-size: 14px;
    color: #8a8a8a;
    margin-bottom: 32px;
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 15px;
    color: #c0c0c0;
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-content a {
    color: #1E90FF;
    text-decoration: underline;
}

.legal-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-list li {
    font-size: 15px;
    color: #c0c0c0;
    line-height: 1.7;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-inner {
        gap: 20px;
    }

    .nav-link:not(.cta-nav) {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .hero-sub {
        max-width: none;
    }

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

    .section-title {
        font-size: 28px;
        text-align: center;
    }

    .section-sub {
        text-align: center;
        margin: 0 auto;
    }

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

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

    .step-connector {
        width: 2px;
        height: 32px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .download-card h2 {
        font-size: 28px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .compare-row {
        grid-template-columns: 1fr 64px 64px;
        padding: 12px 16px;
    }

    .compare-feature {
        font-size: 13px;
    }

    .screens-row {
        gap: 16px;
    }

    .screen-item .device-frame {
        width: 168px;
    }
}
