/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    padding: clamp(80px, 12vw, 160px) 0 var(--section-pad);
}

/* Wafer-grid background pattern */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 25%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 40%);
    pointer-events: none;
}
.hero-grid {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.04;
}
.hero-grid svg { width: 100%; height: 100%; }

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content { max-width: 580px; }

.hero-eyebrow {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-eyebrow::before {
    content: '';
    width: 48px;
    height: 3px;
    background: var(--brand-red);
    border-radius: 1px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 400;
    line-height: 1.08;
    color: var(--text-primary);
    margin-bottom: 24px;
}
.hero h1 em {
    font-style: italic;
    color: var(--brand-red);
}

.hero-body {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================
   CTA — "Why Araca" custom pill
   ============================================ */
.btn-explore {
    --disc: 44px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 7px 7px 7px 28px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-light);
    border-radius: 999px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition:
        border-color 0.5s ease,
        background 0.5s ease,
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s ease,
        color 0.3s ease;
}
.btn-explore::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 50%, rgba(59, 130, 246, 0.24), transparent 65%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}
.btn-explore:hover,
.btn-explore:focus-visible {
    border-color: rgba(59, 130, 246, 0.55);
    background: rgba(59, 130, 246, 0.06);
    transform: translateY(-2px);
    box-shadow:
        0 22px 48px -22px rgba(59, 130, 246, 0.45),
        0 0 0 1px rgba(59, 130, 246, 0.2) inset;
    color: var(--text-primary);
}
.btn-explore:hover::before,
.btn-explore:focus-visible::before { opacity: 1; }

.btn-explore__label {
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-explore:hover .btn-explore__label,
.btn-explore:focus-visible .btn-explore__label {
    transform: translateX(-3px);
}

/* Natural "?" — same mono voice as the label, softened for hierarchy */
.btn-explore__mark {
    display: inline-block;
    margin-left: 1px;
    letter-spacing: 0;
    color: inherit;
    opacity: 0.5;
    transform: translateX(0);
    transition:
        opacity 0.5s ease,
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-explore:hover .btn-explore__mark,
.btn-explore:focus-visible .btn-explore__mark {
    opacity: 1;
    transform: translateX(3px);
}

.btn-explore__disc {
    position: relative;
    z-index: 1;
    width: var(--disc);
    height: var(--disc);
    border-radius: 50%;
    background: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-accent);
    flex-shrink: 0;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 8px 18px -6px rgba(59, 130, 246, 0.55);
    transition:
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.4s ease;
}
.btn-explore__disc svg {
    width: 16px;
    height: 16px;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-explore:hover .btn-explore__disc,
.btn-explore:focus-visible .btn-explore__disc {
    transform: scale(1.08);
    background: var(--accent-hover);
}
.btn-explore:hover .btn-explore__disc svg,
.btn-explore:focus-visible .btn-explore__disc svg {
    transform: translateY(3px);
}

/* ============================================
   HERO — DECORATIVE WAFER VISUAL
   ============================================ */
.hero-visual {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    align-self: start;
    margin-top: -90px;
}
/* ============================================
   HERO — 3D WAFER CANVAS
   ============================================ */
#wafer-canvas {
    width: clamp(340px, 38vw, 580px);
    height: clamp(340px, 38vw, 580px);
    display: block;
}

/* ============================================
   HERO — RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { display: none; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn-explore { justify-content: space-between; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .btn-explore,
    .btn-explore__disc,
    .btn-explore__label,
    .btn-explore__mark,
    .btn-explore__disc svg { transition: none; }
}
