* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #050505;
    --card: #0d0d0d;
    --card-border: rgba(255, 255, 255, 0.07);
    --card-border-hover: rgba(255, 255, 255, 0.13);
    --text: #e8e8e8;
    --muted: #666;
    --amber: #f59e0b;
    --purple: #a855f7;
    --green: #34d399;
    --blue: #3b82f6;
    --radius: 20px;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---- Pills ---- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border: 1px solid var(--card-border);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 24px;
}

.pill-purple { color: var(--purple); border-color: rgba(168, 85, 247, 0.25); background: rgba(168, 85, 247, 0.06); }
.pill-green { color: var(--green); border-color: rgba(52, 211, 153, 0.25); background: rgba(52, 211, 153, 0.06); }
.pill-amber { color: var(--amber); border-color: rgba(245, 158, 11, 0.25); background: rgba(245, 158, 11, 0.06); }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border: 1px solid var(--card-border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.kbd {
    display: inline-block;
    padding: 2px 7px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px;
    font-family: 'SF Mono', Menlo, monospace;
    font-size: 0.85em;
}

/* ---- Fade In ---- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---- Name Hint ---- */
.name-hint-text {
    font-size: 22px;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #555;
    margin-top: 20px;
    letter-spacing: -0.02em;
}

.name-hint-ai {
    color: var(--amber);
    font-weight: 800;
}

/* ==============================
   LOGO HERO
   ============================== */
.logo-hero {
    padding: 80px 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.logo-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.native-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 500;
    color: #f97316;
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.2);
    margin-bottom: 28px;
}

.logo-hero-img {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    margin-bottom: 28px;
    box-shadow: 0 0 80px rgba(245, 158, 11, 0.12);
}

.logo-hero-title {
    font-size: 72px;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #fff 30%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-hero-sub {
    font-size: 18px;
    color: var(--muted);
    font-weight: 400;
    margin-bottom: 0;
}

.scroll-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    color: var(--muted);
    font-size: 20px;
    text-decoration: none;
    transition: border-color 0.3s, color 0.3s, transform 0.3s;
    animation: bounce 2s ease infinite;
}

.scroll-arrow:hover {
    border-color: var(--card-border-hover);
    color: var(--text);
}

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

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

.hero-glow {
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.03) 40%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 60px;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 28px;
}

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

.hero-sub {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 12px;
    max-width: 480px;
}

.hero-sub-bold {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 32px;
}

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

.hero-note {
    font-size: 13px;
    color: var(--muted);
    font-style: italic;
}

.hero-price-note {
    font-size: 15px;
    color: var(--text);
    margin-top: 4px;
}

.hero-price-note strong {
    color: var(--amber);
}

.hero-support {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--card-border);
}

.hero-support-text {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 14px;
    max-width: 380px;
}

.hero-visual img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}

/* ==============================
   FEATURE SECTIONS (two-col)
   ============================== */
.feature-section {
    padding: 100px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-grid-reverse {
    direction: rtl;
}

.feature-grid-reverse > * {
    direction: ltr;
}

.feature-text h2 {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.feature-desc {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 460px;
}

.feature-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-point {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.point-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    border-radius: 12px;
}

.feature-point strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.feature-point p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

.feature-visual img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-visual img:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}

/* ==============================
   SECTION HEADERS
   ============================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 12px;
}

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

/* ==============================
   EXAMPLES (Before/After)
   ============================== */
.examples-section {
    padding: 100px 0;
}

.examples {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.example {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.4s, box-shadow 0.4s;
    position: relative;
}

.example::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: var(--radius) var(--radius) 0 0;
}

.example-amber::before { background: linear-gradient(90deg, var(--amber), #f97316); }
.example-purple::before { background: linear-gradient(90deg, var(--purple), #6366f1); }
.example-green::before { background: linear-gradient(90deg, var(--green), #10b981); }

.example-amber:hover { border-color: rgba(245, 158, 11, 0.2); box-shadow: 0 8px 40px rgba(245, 158, 11, 0.05); }
.example-purple:hover { border-color: rgba(168, 85, 247, 0.2); box-shadow: 0 8px 40px rgba(168, 85, 247, 0.05); }
.example-green:hover { border-color: rgba(52, 211, 153, 0.2); box-shadow: 0 8px 40px rgba(52, 211, 153, 0.05); }

/* Header with macOS dots */
.example-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.example-dots {
    display: flex;
    gap: 6px;
    margin-right: 4px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28c840; }

.example-label {
    font-size: 14px;
    font-weight: 700;
    flex: 1;
}

.example-shortcut {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    font-family: 'SF Mono', Menlo, monospace;
}

/* Body: stacked before → after */
.example-body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
}

.example-before,
.example-after {
    padding: 24px 28px;
    font-size: 15px;
    line-height: 1.8;
}

.example-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.tag-before {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.15);
}

.tag-after {
    color: var(--green);
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.15);
}

.example-before p {
    color: var(--muted);
    text-decoration: line-through;
    text-decoration-color: rgba(248, 113, 113, 0.4);
}

.example-after p {
    color: var(--text);
}

.example-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-left: 1px solid var(--card-border);
    border-right: 1px solid var(--card-border);
}

.divider-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    color: var(--green);
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.2);
}

/* ==============================
   FEATURES GRID
   ============================== */
.grid-section {
    padding: 100px 0;
}

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

.grid-card {
    padding: 36px 32px;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    transition: border-color 0.4s, box-shadow 0.4s, transform 0.3s;
    position: relative;
    overflow: hidden;
}

.grid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.15), rgba(255,255,255,0.06));
}

.grid-card:hover {
    border-color: var(--card-border-hover);
    box-shadow: 0 8px 40px rgba(255, 255, 255, 0.02);
    transform: translateY(-2px);
}

.grid-icon {
    font-size: 28px;
    margin-bottom: 14px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--card-border);
    border-radius: 14px;
}

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

.grid-card p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
}

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

.footer-content {
    text-align: center;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-bottom: 16px;
}

footer p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 6px;
}

footer a {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

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

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
}

.footer-sep {
    color: #333;
}

.footer-small {
    margin-top: 16px;
    font-size: 12px;
    color: #444;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 860px) {
    .hero-grid,
    .feature-grid,
    .feature-grid-reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-grid-reverse {
        direction: ltr;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

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

    .feature-text h2 {
        font-size: 32px;
    }

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

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

    .example-body {
        grid-template-columns: 1fr;
    }

    .example-divider {
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--card-border);
        border-bottom: 1px solid var(--card-border);
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 34px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }
}
