/* ============================================================
   SEO Analyzer Pro — Ultra Landing 2026
   Paletë orange premium (Ahrefs/SEMrush vibe)
   ============================================================ */

:root {
    --primary: #f97316;
    --primary-dark: #c2410c;
    --primary-light: #fb923c;
    --amber: #f59e0b;
    --accent: #0ea5e9;
    --accent-dark: #0369a1;
    --success: #22c55e;
    --danger: #dc2626;

    /* Neutrale warm */
    --bg: #fffaf3;
    --bg-2: #ffffff;
    --bg-3: #fff4e6;
    --surface: #ffffff;
    --text: #1c1917;
    --text-2: #44403c;
    --muted: #78716c;
    --border: #fde4c6;
    --border-soft: #fef3e2;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(249, 115, 22, .06);
    --shadow-md: 0 8px 24px rgba(249, 115, 22, .10);
    --shadow-lg: 0 20px 50px rgba(249, 115, 22, .18);
    --shadow-primary: 0 10px 28px rgba(249, 115, 22, .38);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --ease: cubic-bezier(.22, 1, .36, 1);
}

/* Dark mode */
[data-theme="dark"] {
    --bg: #0c0a09;
    --bg-2: #1c1917;
    --bg-3: #292524;
    --surface: #1c1917;
    --text: #fafaf9;
    --text-2: #e7e5e4;
    --muted: #a8a29e;
    --border: #44403c;
    --border-soft: #292524;
    --shadow-md: 0 8px 24px rgba(0, 0, 0, .45);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, .55);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transition: background .3s var(--ease), color .3s var(--ease);
}
a { color: var(--primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--primary-dark); }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }

/* Layout helpers */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(60px, 9vw, 110px) 0; position: relative; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--amber) 50%, var(--primary-dark) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: system-ui, -apple-system, 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text);
}
h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 900; letter-spacing: -0.045em; }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: clamp(18px, 1.6vw, 22px); }
p  { color: var(--text-2); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px;
    background: linear-gradient(135deg, rgba(249, 115, 22, .12), rgba(245, 158, 11, .08));
    border: 1px solid rgba(249, 115, 22, .25);
    border-radius: 999px;
    font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--primary-dark);
}
[data-theme="dark"] .eyebrow { color: var(--primary-light); }

/* Nav */
.navx {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid var(--border);
}
.navx-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1240px; margin: 0 auto; }
.navx-brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 17px; color: var(--text); letter-spacing: -.02em; }
.navx-brand-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--amber));
    border-radius: 11px;
    display: grid; place-items: center;
    color: #fff; box-shadow: var(--shadow-primary);
    position: relative; overflow: hidden;
}
.navx-brand-icon::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,.3));
    mix-blend-mode: overlay;
}
.navx-links { display: flex; gap: 6px; align-items: center; }
.navx-links a.navx-link {
    color: var(--text-2); font-weight: 600; font-size: 14px;
    padding: 8px 14px; border-radius: 10px;
    transition: all .2s var(--ease);
}
.navx-links a.navx-link:hover { color: var(--primary); background: var(--bg-3); }
.navx-actions { display: flex; gap: 10px; align-items: center; }

/* Theme toggle */
.theme-btn {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    color: var(--text-2);
    cursor: pointer;
    display: grid; place-items: center;
    transition: all .2s var(--ease);
}
.theme-btn:hover { color: var(--primary); border-color: var(--primary); transform: rotate(15deg); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px; border-radius: 12px;
    font-weight: 700; font-size: 14px;
    border: none; cursor: pointer;
    transition: all .25s var(--ease);
    font-family: inherit; white-space: nowrap;
    position: relative; overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--amber) 100%);
    color: #fff;
    box-shadow: var(--shadow-primary);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(249, 115, 22, .5); color: #fff; }
.btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    opacity: 0; transition: opacity .25s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }

.btn-ghost {
    background: transparent; border: 1.5px solid var(--border); color: var(--text);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--bg-3); transform: translateY(-2px); }

.btn-lg { padding: 15px 28px; font-size: 15px; border-radius: 14px; }

.btn-pulse { animation: pulse-ring 2.4s var(--ease) infinite; }
@keyframes pulse-ring {
    0%, 100% { box-shadow: var(--shadow-primary), 0 0 0 0 rgba(249, 115, 22, .45); }
    50%      { box-shadow: var(--shadow-primary), 0 0 0 16px rgba(249, 115, 22, 0); }
}

/* ============================================================
   HERO — Gradient mesh + social proof
   ============================================================ */
.heroX {
    position: relative; overflow: hidden;
    padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 9vw, 100px);
    isolation: isolate;
}
.heroX-mesh {
    position: absolute; inset: -10% -5% auto -5%;
    z-index: -1; pointer-events: none;
    height: 800px; opacity: .9;
    background:
        radial-gradient(50% 50% at 20% 15%, rgba(249, 115, 22, .35), transparent 55%),
        radial-gradient(45% 45% at 80% 20%, rgba(14, 165, 233, .22), transparent 60%),
        radial-gradient(40% 40% at 50% 70%, rgba(245, 158, 11, .22), transparent 65%);
    filter: blur(30px);
    animation: meshFloat 18s ease-in-out infinite;
}
@keyframes meshFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(2%, 1%) scale(1.04); }
}
.heroX-grid {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(var(--border-soft) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
    opacity: .5;
}
.heroX-inner { max-width: 960px; margin: 0 auto; text-align: center; }
.heroX h1 { margin: 18px 0 22px; }
.heroX-sub {
    font-size: clamp(16px, 1.6vw, 20px);
    color: var(--muted); max-width: 720px; margin: 0 auto 36px;
    line-height: 1.6;
}
.heroX-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 50px; }

.heroX-proof {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px; padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 880px; margin: 0 auto;
}
.heroX-proof-item { text-align: center; position: relative; }
.heroX-proof-item:not(:last-child)::after {
    content: ''; position: absolute; right: -12px; top: 20%; bottom: 20%;
    width: 1px; background: var(--border);
}
.heroX-proof-num {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    letter-spacing: -.03em; line-height: 1.1;
}
.heroX-proof-label {
    font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
    color: var(--muted); font-weight: 700; margin-top: 6px;
}

/* Demo video placeholder */
.heroX-demo {
    margin: 64px auto 0; max-width: 980px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--bg-3), var(--surface));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    position: relative; overflow: hidden;
    display: grid; place-items: center;
}
.heroX-demo::before {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(135deg, rgba(249, 115, 22, .12), transparent 50%),
        radial-gradient(ellipse at 30% 40%, rgba(14, 165, 233, .08), transparent 60%);
}
.heroX-demo-chrome {
    position: absolute; top: 0; left: 0; right: 0; height: 36px;
    background: var(--bg-3); border-bottom: 1px solid var(--border);
    display: flex; align-items: center; padding: 0 16px; gap: 6px;
}
.heroX-demo-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
.heroX-demo-dot:nth-child(1) { background: #ef4444; }
.heroX-demo-dot:nth-child(2) { background: #f59e0b; }
.heroX-demo-dot:nth-child(3) { background: #22c55e; }
.heroX-demo-play {
    width: 78px; height: 78px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--amber));
    box-shadow: var(--shadow-primary);
    display: grid; place-items: center; color: #fff;
    border: none; cursor: pointer;
    transition: transform .3s var(--ease);
    position: relative; z-index: 2;
}
.heroX-demo-play:hover { transform: scale(1.1); }
.heroX-demo-play::before {
    content: ''; position: absolute; inset: -8px;
    border: 2px solid rgba(249, 115, 22, .45);
    border-radius: 50%; animation: pulse-ring 2s var(--ease) infinite;
}
.heroX-demo-play svg { width: 30px; height: 30px; margin-left: 4px; }
.heroX-demo-caption {
    position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
    font-size: 12px; color: var(--muted); font-weight: 600;
}

/* ============================================================
   BENTO SERVICES
   ============================================================ */
.bento {
    display: grid; gap: 18px;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(180px, auto);
}
.bento-card {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    will-change: transform;
}
.bento-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(249, 115, 22, .1), transparent 60%);
    opacity: 0; transition: opacity .3s;
    pointer-events: none;
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.bento-a { grid-column: span 3; grid-row: span 2; }
.bento-b { grid-column: span 3; }
.bento-c { grid-column: span 2; }
.bento-d { grid-column: span 2; }
.bento-e { grid-column: span 2; }
.bento-f { grid-column: span 3; }
.bento-g { grid-column: span 3; }
@media (max-width: 1024px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento > * { grid-column: span 2 !important; grid-row: auto !important; } }
@media (max-width: 640px)  { .bento { grid-template-columns: 1fr; } }

.bento-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--amber));
    display: grid; place-items: center; color: #fff;
    margin-bottom: 18px;
    box-shadow: var(--shadow-primary);
}
.bento-icon svg { width: 28px; height: 28px; }
.bento-card h3 { margin-bottom: 8px; }
.bento-card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.bento-mini {
    margin-top: auto; padding-top: 16px;
    display: flex; align-items: baseline; gap: 8px;
    border-top: 1px dashed var(--border); margin-top: 18px; padding-top: 14px;
}
.bento-mini-num { font-size: 22px; font-weight: 900; color: var(--primary); letter-spacing: -.02em; }
.bento-mini-lbl { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ============================================================
   PRICING TIERS
   ============================================================ */
.tiers {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; max-width: 1080px; margin: 0 auto;
}
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; max-width: 420px; } }
.tier {
    padding: 38px 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    position: relative;
    transition: all .35s var(--ease);
    display: flex; flex-direction: column;
}
.tier:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.tier-featured {
    border: 2px solid var(--primary);
    box-shadow: 0 30px 70px rgba(249, 115, 22, .25);
    transform: scale(1.03);
    background: linear-gradient(180deg, var(--bg-3) 0%, var(--surface) 40%);
}
.tier-featured:hover { transform: scale(1.03) translateY(-8px); }
.tier-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--amber));
    color: #fff; padding: 6px 18px; border-radius: 999px;
    font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    box-shadow: var(--shadow-primary);
    white-space: nowrap;
}
.tier-name {
    font-size: 13px; font-weight: 800;
    color: var(--muted); text-transform: uppercase; letter-spacing: .12em;
    margin-bottom: 14px;
}
.tier-price { font-size: 52px; font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--text); }
.tier-price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.tier-desc { color: var(--muted); font-size: 14px; margin-top: 8px; }
.tier-list { list-style: none; margin: 24px 0 28px; padding: 0; }
.tier-list li {
    display: flex; align-items: center; gap: 12px;
    padding: 9px 0; font-size: 14px; color: var(--text-2);
}
.tier-list li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--success); }
.tier .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ============================================================
   ABOUT — Story + Milestones
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-story p { font-size: 16.5px; line-height: 1.8; margin-bottom: 18px; color: var(--text-2); }
.about-story p:first-of-type::first-letter {
    font-size: 52px; font-weight: 900; float: left;
    line-height: .9; margin: 4px 10px 0 0; color: var(--primary);
    font-family: Georgia, serif;
}
.about-card {
    padding: 30px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.milestones { list-style: none; padding: 0; position: relative; }
.milestones::before {
    content: ''; position: absolute; left: 11px; top: 4px; bottom: 4px;
    width: 2px; background: linear-gradient(180deg, var(--primary), transparent);
}
.milestone { position: relative; padding: 0 0 24px 40px; }
.milestone::before {
    content: ''; position: absolute; left: 4px; top: 6px;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--surface); border: 3px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, .15);
}
.milestone time { font-size: 11px; font-weight: 800; color: var(--primary); letter-spacing: .1em; text-transform: uppercase; }
.milestone h4 { font-size: 16px; margin: 4px 0 6px; }
.milestone p { font-size: 14px; color: var(--muted); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; }
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; } }
.contact-info {
    padding: 36px; border-radius: var(--radius-xl);
    background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: var(--shadow-primary);
    position: relative; overflow: hidden;
}
.contact-info::before {
    content: ''; position: absolute; right: -40%; bottom: -40%;
    width: 80%; height: 80%; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
}
.contact-info h2 { color: #fff; position: relative; z-index: 1; }
.contact-info > p { color: rgba(255,255,255,.85); position: relative; z-index: 1; margin-top: 10px; }
.contact-channels { list-style: none; padding: 0; margin-top: 28px; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; }
.contact-channels li { display: flex; gap: 14px; align-items: center; }
.contact-channels .ci {
    width: 42px; height: 42px; border-radius: 11px;
    background: rgba(255,255,255,.18); backdrop-filter: blur(8px);
    display: grid; place-items: center; color: #fff;
    flex-shrink: 0;
}
.contact-channels strong { display: block; font-size: 12px; opacity: .75; text-transform: uppercase; letter-spacing: .08em; }
.contact-channels span { font-size: 15px; font-weight: 600; }

.contact-form {
    padding: 36px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 700; color: var(--text); }
.field input, .field textarea, .field select {
    width: 100%; padding: 13px 15px;
    background: var(--bg-3);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    color: var(--text); font-size: 14.5px;
    font-family: inherit; outline: none;
    transition: all .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
    border-color: var(--primary); background: var(--surface);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, .14);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-hint { font-size: 12px; color: var(--muted); }
.field-error { font-size: 12px; color: var(--danger); font-weight: 600; display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .field-error { display: block; }
.field.valid input { border-color: var(--success); }

.alert {
    padding: 12px 16px; border-radius: 12px; margin-bottom: 16px;
    font-size: 14px; display: flex; align-items: center; gap: 10px;
}
.alert-ok { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: #15803d; }
.alert-err { background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.25); color: var(--danger); }
[data-theme="dark"] .alert-ok { color: #86efac; }

/* ============================================================
   FOOTER
   ============================================================ */
.footerX {
    padding: 70px 0 30px;
    background: var(--text);
    color: #d6d3d1;
    margin-top: 60px;
}
[data-theme="dark"] .footerX { background: #000; }
.footerX-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #44403c; }
@media (max-width: 820px) { .footerX-grid { grid-template-columns: 1fr 1fr; } }
.footerX h5 { color: #fff; font-size: 13px; margin-bottom: 14px; letter-spacing: .06em; text-transform: uppercase; }
.footerX ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footerX a { color: #a8a29e; font-size: 14px; }
.footerX a:hover { color: var(--primary-light); }
.footerX-brand { font-size: 18px; font-weight: 900; color: #fff; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; letter-spacing: -.02em; }
.footerX p { color: #a8a29e; font-size: 14px; max-width: 340px; line-height: 1.6; }
.footerX-bottom { padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13px; color: #a8a29e; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* Responsive nav */
@media (max-width: 860px) {
    .navx-links a.navx-link { display: none; }
}

/* A11y */
*:focus-visible { outline: 3px solid rgba(249, 115, 22, .55); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* Utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
