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

:root {
    --accent: #007AFF;
    --accent-dark: #0055CC;
    --bg: #000;
    --bg-2: #0a0a0a;
    --bg-3: #1c1c1e;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #6e6e73;
    --border: #2c2c2e;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --max-w: 1100px;
    --section-py: 100px;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #fff;
        --bg-2: #f5f5f7;
        --bg-3: #e8e8ed;
        --text: #1d1d1f;
        --text-2: #424245;
        --text-3: #6e6e73;
        --border: #d2d2d7;
        --shadow: 0 32px 80px rgba(0, 0, 0, 0.1);
    }
}

html {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   Navigation
   =========================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

@media (prefers-color-scheme: light) {
    .site-header { background: rgba(255, 255, 255, 0.82); }
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
}

.nav-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-2);
    font-size: 15px;
    transition: color 0.2s;
}

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

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-3);
    color: var(--text);
}

.btn-secondary:hover { background: var(--border); }

/* ===========================
   Hero
   =========================== */
.hero {
    padding: 80px 0 70px;
    text-align: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 980px;
    padding: 6px 16px;
    font-size: 13px;
    color: var(--text-2);
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    margin: 0 auto 28px;
    display: block;
    box-shadow: var(--shadow);
}

.hero-icon-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    margin: 0 auto 28px;
    background: var(--bg-3);
    border: 2px dashed var(--border);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 42px;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 20px;
    color: var(--accent);
}

.hero-tagline {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-2);
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.app-store-badge {
    height: 44px;
    display: block;
}

.app-store-badge-placeholder {
    height: 44px;
    padding: 0 24px;
    background: var(--text);
    color: var(--bg);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    opacity: 0.6;
}

.hero-visual {
    max-width: 900px;
    margin: 0 auto;
}

/* ===========================
   Screenshot Frame
   =========================== */
.screenshot-frame {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.screenshot-frame::before {
    content: 'Screenshot';
    position: absolute;
    color: var(--text-3);
    font-size: 13px;
    pointer-events: none;
}

.screenshot-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.screenshot-mobile {
    aspect-ratio: 9 / 19.5;
    max-width: 280px;
}

/* ===========================
   Sections
   =========================== */
.section {
    padding: var(--section-py) 0;
}

.section-alt {
    background: var(--bg-2);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 122, 255, 0.12);
    color: var(--accent);
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 980px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section h2 {
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 18px;
    color: var(--text-2);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===========================
   Feature Layout
   =========================== */
.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: var(--section-py) 0;
    border-bottom: 1px solid var(--border);
}

.feature:last-child { border-bottom: none; }

.feature-reverse .feature-content { order: 2; }
.feature-reverse .feature-visual  { order: 1; }

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-content h3 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.feature-content p {
    font-size: 17px;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.5;
}

.feature-list li::before {
    content: '';
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    margin-top: 2px;
    background-color: var(--accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

/* ===========================
   Pro Badge
   =========================== */
.pro-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FF9500);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 8px;
}

/* ===========================
   Universal Cards
   =========================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.card-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
}

/* ===========================
   Pricing
   =========================== */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 760px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}

.pricing-card--pro {
    background: linear-gradient(140deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 122, 255, 0.04) 100%);
    border-color: rgba(0, 122, 255, 0.3);
}

.pricing-tier {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 10px;
}

.pricing-card--pro .pricing-tier { color: var(--accent); }

.pricing-price {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.pricing-period {
    font-size: 14px;
    color: var(--text-3);
    margin-bottom: 28px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.4;
}

.pricing-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    border: 1px solid var(--border);
    margin-top: 1px;
    background-color: var(--bg-2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23007AFF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}

/* ===========================
   Footer
   =========================== */
.site-footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

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

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

.footer-copy {
    color: var(--text-3);
    font-size: 13px;
    line-height: 1.6;
}

/* ===========================
   Inner Pages
   =========================== */
.page-hero {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.page-hero p {
    color: var(--text-2);
    font-size: 18px;
}

.page-content {
    padding: 60px 0 80px;
    max-width: 720px;
}

.page-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 40px 0 12px;
    letter-spacing: -0.01em;
}

.page-content h2:first-child { margin-top: 0; }

.page-content p {
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 12px;
}

.page-content ul, .page-content ol {
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.75;
    padding-left: 24px;
    margin-bottom: 12px;
}

.page-content li { margin-bottom: 4px; }

.page-content strong { color: var(--text); }

.page-content a { color: var(--accent); text-decoration: none; }
.page-content a:hover { text-decoration: underline; }

/* ===========================
   FAQ
   =========================== */
.faq { margin-bottom: 48px; }

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-q {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.faq-a {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.7;
}

.faq-a ul {
    padding-left: 20px;
    margin-top: 8px;
}

.faq-a li { margin-bottom: 4px; }

.contact-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 28px;
    margin-top: 16px;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-2);
    font-size: 15px;
    margin: 0;
}

.sys-req {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.sys-req-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.sys-req-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.sys-req-card p {
    font-size: 14px;
    color: var(--text-2);
    margin: 0;
    line-height: 1.5;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
    :root { --section-py: 64px; }

    .nav-links { gap: 16px; }

    .feature {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-reverse .feature-content { order: 1; }
    .feature-reverse .feature-visual  { order: 2; }

    .pricing-grid { grid-template-columns: 1fr; }
    .sys-req { grid-template-columns: 1fr; }

    .hero { padding: 56px 0 48px; }
}

@media (max-width: 480px) {
    .nav-links li:not(:last-child) { display: none; }
    .hero h1 { font-size: 40px; }
}
