/* ── Reset & Base ─────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #050505;
    color: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Layout ──────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ─────────────────────────────────── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 149, 0, 0.1);
}
.nav-inner {
    max-width: 1120px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
    font-size: 24px; font-weight: 800; color: #FF9500;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    background: rgba(255, 149, 0, 0.12); border-radius: 10px;
}
.logo-icon-img {
    width: 36px; height: 36px; border-radius: 10px;
}
.logo-text { font-size: 18px; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: #8E8E93; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }

/* ── Buttons ─────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; border-radius: 12px; font-weight: 600; font-size: 15px;
    transition: all 0.25s;
}
.btn-small { padding: 8px 20px; font-size: 13px; border-radius: 8px; }
.btn-primary {
    background: #FF9500; color: #000;
}
.btn-primary:hover { background: #FFa733; transform: translateY(-1px); }
.btn-ghost {
    border: 1px solid rgba(255, 149, 0, 0.3); color: #FF9500;
}
.btn-ghost:hover { border-color: #FF9500; background: rgba(255, 149, 0, 0.08); }

/* ── Hero ────────────────────────────────── */
.hero {
    padding: 160px 0 80px; text-align: center; position: relative; overflow: hidden;
}
.hero-glow {
    position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 600px;
    background: radial-gradient(ellipse, rgba(255, 149, 0, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-badge {
    display: inline-block; padding: 6px 16px; border-radius: 999px;
    background: rgba(255, 149, 0, 0.1); border: 1px solid rgba(255, 149, 0, 0.2);
    color: #FF9500; font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(36px, 6vw, 64px); font-weight: 900; line-height: 1.1;
    letter-spacing: -0.03em; margin-bottom: 20px;
}
.hero-sub {
    font-size: 18px; color: #8E8E93; max-width: 560px; margin: 0 auto 36px;
    line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-bottom: 64px; }

/* Featured Product */
.featured-product {
    padding: 80px 0; text-align: center;
    background: linear-gradient(180deg, rgba(255,149,0,0.04) 0%, transparent 100%);
}
.featured-product h2 {
    font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: #FF9500;
    margin-bottom: 16px;
}

/* Hero device frames */
.hero-screens {
    display: flex; align-items: flex-end; justify-content: center; gap: 32px;
}
.phone-frame, .watch-frame, .showcase-frame {
    position: relative; overflow: hidden;
}
.phone-frame {
    width: 280px; border-radius: 28px; border: 3px solid #2C2C2E;
    background: #0A0A0A; aspect-ratio: 9/19.5;
}
.watch-frame {
    width: 160px; border-radius: 40px; border: 3px solid #2C2C2E;
    background: #0A0A0A; aspect-ratio: 1/1.2;
}
.phone-frame img, .watch-frame img {
    width: 100%; height: 100%; object-fit: cover;
}
/* Placeholders shown when images fail to load */
.placeholder img { display: none; }
.phone-placeholder, .watch-placeholder, .theme-placeholder, .showcase-placeholder {
    display: none; flex-direction: column; align-items: center; justify-content: center;
    width: 100%; height: 100%; position: absolute; top: 0; left: 0;
    color: #3A3A3C; font-size: 13px; font-weight: 500; gap: 8px;
}
.placeholder .phone-placeholder,
.placeholder .watch-placeholder,
.placeholder .theme-placeholder,
.placeholder .showcase-placeholder { display: flex; }
.placeholder-icon { font-size: 48px; opacity: 0.5; }
.placeholder-block { font-size: 32px; font-weight: 800; }

/* ── Stats Bar ───────────────────────────── */
.stats-bar {
    border-top: 1px solid rgba(255, 149, 0, 0.1);
    border-bottom: 1px solid rgba(255, 149, 0, 0.1);
    padding: 40px 0;
    background: rgba(255, 149, 0, 0.02);
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center;
}
.stat-value { display: block; font-size: 18px; font-weight: 700; color: #FF9500; }
.stat-label { font-size: 13px; color: #8E8E93; }

/* ── Features ────────────────────────────── */
.features { padding: 120px 0; }
.features h2, .themes h2, .how-it-works h2, .showcase h2, .pricing h2, .download h2 {
    font-size: clamp(28px, 4vw, 44px); font-weight: 800; text-align: center;
    letter-spacing: -0.02em; margin-bottom: 12px;
}
.section-sub {
    text-align: center; color: #8E8E93; font-size: 17px; max-width: 520px;
    margin: 0 auto 56px; line-height: 1.6;
}
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px;
}
.feature-card {
    padding: 32px; border-radius: 20px;
    background: #111; border: 1px solid #1C1C1E;
    transition: border-color 0.3s, transform 0.3s;
    position: relative;
}
.feature-card:hover { border-color: rgba(255, 149, 0, 0.3); transform: translateY(-2px); }
.feature-highlight { border-color: rgba(255, 149, 0, 0.15); }
.feature-icon {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    border-radius: 14px; background: rgba(255, 149, 0, 0.1); color: #FF9500;
    margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: #8E8E93; font-size: 14px; line-height: 1.7; }
.feature-tag {
    display: inline-block; margin-top: 16px; padding: 4px 14px;
    border-radius: 999px; font-size: 12px; font-weight: 600;
}
.tag-free { background: rgba(52, 199, 89, 0.15); color: #34C759; }
.tag-cloud { background: rgba(255, 149, 0, 0.15); color: #FF9500; }

/* ── Themes ───────────────────────────────── */
.themes { padding: 120px 0; background: #0A0A0A; }
.themes-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.theme-card { text-align: center; }
.theme-screen {
    position: relative; border-radius: 20px; overflow: hidden;
    border: 2px solid #1C1C1E; aspect-ratio: 9/19.5; margin-bottom: 12px;
    transition: border-color 0.3s, transform 0.3s;
}
.theme-screen:hover { border-color: rgba(255, 149, 0, 0.4); transform: scale(1.02); }
.theme-screen img { width: 100%; height: 100%; object-fit: cover; }
.theme-name { font-size: 14px; font-weight: 600; color: #8E8E93; }

/* ── How It Works ────────────────────────── */
.how-it-works { padding: 120px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.col-card {
    padding: 40px; border-radius: 20px; background: #111; border: 1px solid #1C1C1E;
}
.col-cloud { border-color: rgba(255, 149, 0, 0.2); }
.col-header { margin-bottom: 24px; }
.col-badge {
    display: inline-block; padding: 4px 14px; border-radius: 999px;
    font-size: 12px; font-weight: 600; margin-bottom: 12px;
}
.badge-free { background: rgba(52, 199, 89, 0.12); color: #34C759; }
.badge-cloud { background: rgba(255, 149, 0, 0.12); color: #FF9500; }
.col-card h3 { font-size: 24px; font-weight: 700; }
.check-list li {
    padding: 10px 0; border-bottom: 1px solid #1C1C1E;
    font-size: 14px; color: #ccc; padding-left: 28px; position: relative;
}
.check-list li::before {
    content: '\2713'; position: absolute; left: 0; color: #34C759; font-weight: 600;
}

/* ── Showcase ─────────────────────────────── */
.showcase { padding: 120px 0; background: #0A0A0A; }
.showcase-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.showcase-item { text-align: center; }
.showcase-frame {
    border-radius: 20px; overflow: hidden; border: 2px solid #1C1C1E;
    margin-bottom: 16px; position: relative;
}
.showcase-watch { aspect-ratio: 1/1.2; max-width: 200px; margin: 0 auto; border-radius: 40px; }
.showcase-widget { aspect-ratio: 16/9; }
.showcase-lock { aspect-ratio: 9/16; max-width: 220px; margin: 0 auto; }
.showcase-frame img { width: 100%; height: 100%; object-fit: cover; }
.showcase-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.showcase-item p { font-size: 13px; color: #8E8E93; max-width: 280px; margin: 0 auto; }

/* ── Pricing ──────────────────────────────── */
.pricing { padding: 120px 0; }
.pricing-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 720px; margin: 0 auto;
}
.price-card {
    padding: 40px; border-radius: 20px; background: #111; border: 1px solid #1C1C1E;
    position: relative; overflow: hidden;
}
.price-featured {
    border-color: rgba(255, 149, 0, 0.3);
    background: linear-gradient(160deg, rgba(255, 149, 0, 0.06), #111 40%);
}
.price-popular {
    position: absolute; top: 16px; right: -28px;
    background: #FF9500; color: #000; font-size: 11px; font-weight: 700;
    padding: 4px 36px; transform: rotate(45deg);
}
.price-header { text-align: center; margin-bottom: 28px; }
.price-header h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.price { font-size: 48px; font-weight: 900; color: #FF9500; }
.price-period { font-size: 14px; color: #8E8E93; }

/* ── Download ─────────────────────────────── */
.download {
    padding: 120px 0; text-align: center;
    background: linear-gradient(180deg, #050505, rgba(255, 149, 0, 0.04));
}
.download-buttons { display: flex; gap: 16px; justify-content: center; margin-top: 8px; }
.store-badge { display: inline-block; transition: transform 0.2s; }
.store-badge:hover { transform: translateY(-2px); }
.store-svg { height: 48px; width: auto; }

/* ── Footer ───────────────────────────────── */
.footer {
    padding: 40px 0; border-top: 1px solid #1C1C1E;
}
.footer-inner {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: #8E8E93; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: #3A3A3C; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 768px) {
    .nav-links a:not(.btn) { display: none; }
    .hero { padding: 120px 0 60px; }
    .hero-screens { flex-direction: column; align-items: center; }
    .phone-frame { width: 240px; }
    .watch-frame { width: 140px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .features-grid { grid-template-columns: 1fr; }
    .themes-grid { grid-template-columns: repeat(2, 1fr); }
    .two-col { grid-template-columns: 1fr; }
    .showcase-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .footer-inner { flex-direction: column; text-align: center; }
    .download-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .themes-grid { grid-template-columns: 1fr 1fr; }
}
