/* ── Layout ─────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 20% 15%, rgba(255,45,120,0.16), transparent 16%),
                radial-gradient(circle at 75% 30%, rgba(255,255,255,0.08), transparent 12%),
                linear-gradient(180deg, #090909 0%, #101010 100%);
    padding-top: 60px;
}

.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 54px 54px;
    opacity: 0.8;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 18%;
    left: 48%;
    width: 420px;
    height: 420px;
    background: rgba(255,255,255,0.03);
    filter: blur(28px);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-panel {
    position: absolute;
    left: 72px;
    bottom: 92px;
    z-index: 3;
    width: min(360px, 90vw);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(22px);
    border-radius: 28px;
    padding: 20px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.22);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.panel-dots {
    display: flex;
    gap: 8px;
}

.panel-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    box-shadow: inset 0 0 1px rgba(0,0,0,0.2);
}

.panel-title {
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.panel-body {
    display: grid;
    gap: 10px;
}

.panel-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    color: var(--white);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.panel-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.82);
    font-size: 13px;
    line-height: 1.4;
}

.panel-label {
    font-weight: 700;
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-badge {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 11px;
    color: rgba(255,255,255,0.68);
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
    white-space: nowrap;
    background: rgba(255,255,255,0.04);
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
}

.badge-pulse {
    display: block;
    width: 8px;
    height: 8px;
    background: var(--pink);
    border-radius: 50%;
}

/* ── Main content ───────────────────────────────────────── */
.hero-inner {
    position: relative;
    z-index: 2;
    padding: 80px 48px 80px 120px;
    max-width: 860px;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--gray);
    text-transform: uppercase;
    margin-bottom: 36px;
}

/* ── Selection frame + handles ──────────────────────────── */
.selection-frame {
    position: relative;
    display: inline-block;
    padding: 12px 8px;
    margin-bottom: 36px;
    border: 1px dashed rgba(255, 45, 120, 0.3);
    border-radius: 4px;
}

.sh {
    position: absolute;
    width: 9px;
    height: 9px;
    background: var(--pink);
    border: 2px solid var(--black);
    border-radius: 2px;
}

.sh-tl { top: -4px;    left: -4px;  }
.sh-tr { top: -4px;    right: -4px; }
.sh-bl { bottom: -4px; left: -4px;  }
.sh-br { bottom: -4px; right: -4px; cursor: nwse-resize; }

/* ── Typography ─────────────────────────────────────────── */
.hero-title {
    font-size: clamp(48px, 6.5vw, 92px);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: var(--white);
}

.pink-em {
    color: var(--pink);
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
}

.hero-sub {
    font-size: clamp(18px, 2.4vw, 26px);
    font-weight: 400;
    color: var(--gray-hi);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.hero-desc {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 52px;
}

/* ── Buttons ────────────────────────────────────────────── */
.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--white);
    color: var(--black);
    font-size: 15px;
    font-weight: 600;
    border-radius: 980px;
    transition: background 0.22s ease, color 0.22s ease,
                transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-primary:hover {
    background: var(--pink);
    color: var(--white);
    transform: scale(1.04);
    box-shadow: 0 0 36px var(--pink-glow);
}

.btn-ghost {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-hi);
    padding: 15px 8px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.btn-ghost:hover {
    color: var(--white);
    border-color: var(--pink);
}

.cat { font-style: normal; }

/* ── Figma layers panel ─────────────────────────────────── */
.figma-panel {
    position: absolute;
    top: 110px;
    right: 64px;
    z-index: 10;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: var(--r-sm);
    padding: 12px;
    width: 200px;
    font-size: 12px;
    font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
}

.fp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2c2c2c;
}

.fp-dots { display: flex; gap: 5px; }
.fp-dots span {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #3a3a3a;
}
.fp-dots span:first-child  { background: #ff5f57; }
.fp-dots span:nth-child(2) { background: #ffbd2e; }
.fp-dots span:last-child   { background: #28ca41; }

.fp-title { color: #666; font-size: 11px; letter-spacing: 0.06em; }

.fp-layer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 6px;
    border-radius: 4px;
    color: #6e6e73;
    margin-bottom: 2px;
    font-size: 11px;
    transition: background 0.15s ease;
}

.fp-layer--active {
    background: rgba(255, 45, 120, 0.14);
    color: var(--pink);
}

.layer-icon { font-size: 10px; }

.fp-sep { height: 1px; background: #2c2c2c; margin: 8px 0; }

.fp-prop {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 3px 6px;
    font-size: 11px;
}

.prop-label { color: #444; font-size: 10px; }
.prop-val {
    color: #aaa;
    background: #2a2a2a;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
}

/* ── Figma inspect panel ────────────────────────────────── */
.figma-inspect {
    position: absolute;
    bottom: 120px;
    right: 64px;
    z-index: 10;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: var(--r-sm);
    padding: 10px 14px;
    font-size: 11px;
    font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
    min-width: 200px;
}

.inspect-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    gap: 16px;
}

.inspect-key { color: #555; }
.inspect-val { color: #aaa; }
.inspect-pink { color: var(--pink); }

/* ── Figma color chips ──────────────────────────────────── */
.figma-colors {
    position: absolute;
    bottom: 60px;
    right: 64px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: var(--r-sm);
    padding: 10px 14px;
    font-size: 11px;
    font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
}

.color-chip {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #444;
}

.chip-black { background: #0a0a0a; }
.chip-white { background: #f5f5f7; }
.chip-pink  { background: #FF2D78; }

.color-label { color: var(--pink); letter-spacing: 0.04em; }

/* ── Layer badge ────────────────────────────────────────── */
.hero-badge {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
    white-space: nowrap;
}

.badge-pulse {
    display: block;
    width: 6px;
    height: 6px;
    background: var(--pink);
    border-radius: 50%;
}
