.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 80px 24px 40px;

    overflow: hidden;

    color: #ffffff;
}

/* ink fog */
.hero::after {
    content: "";

    position: absolute;

    width: 650px;
    height: 400px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -45%);

    background:
        radial-gradient(
            ellipse,
            rgba(255, 255, 255, 0.045),
            transparent 67%
        );

    filter: blur(12px);

    pointer-events: none;
}

/* =========================
   CONTENT
   ========================= */

.hero-content {
    position: relative;
    z-index: 2;

    width: min(1100px, 100%);

    text-align: center;

    will-change: opacity, transform;
}

/* =========================
   MAIN TITLE
   ========================= */

.hero-title {
    margin: 0;

    font-size: clamp(3.4rem, 8.5vw, 8rem);

    font-weight: 900;

    line-height: 0.88;

    letter-spacing: -0.065em;

    text-transform: uppercase;
}

.hero-line {
    display: block;

    color: #f5f5f5;
}

.hero-and {
    color: #5a5a5a;
}

.hero-accent-yellow {
    color: #facc15;
}

.hero-line-secondary {
    margin-top: 18px;

    color: transparent;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #d7d7d7 30%,
            #8f8f8f 65%,
            #f2f2f2 100%
        );

    -webkit-background-clip: text;
    background-clip: text;
}

/* =========================
   TAGLINE
   ========================= */

.hero-tagline {
    margin: 46px 0 0;

    color: #d8d8d8;

    font-family: monospace;

    font-size: clamp(0.85rem, 1.8vw, 1.25rem);

    font-weight: 700;

    letter-spacing: 0.16em;
}

.hero-tagline span {
    margin: 0 8px;

    color: #facc15;
}

/* =========================
   BUTTONS
   ========================= */

.hero-actions {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 20px;

    margin-top: 46px;
}

.hero-btn {
    min-width: 210px;

    padding: 16px 26px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 0.98rem;

    font-weight: 700;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
}

/* primary */

.hero-btn-primary {
    color: #050505;

    background: #ffffff;

    border: 1px solid #ffffff;
}

.hero-btn-primary:hover {
    color: #ffffff;

    background: transparent;
}

/* secondary */

.hero-btn-secondary {
    color: #eeeeee;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid #333333;
}

.hero-btn-secondary:hover {
    background: #151515;

    border-color: #666666;
}

.play-icon {
    font-size: 0.8rem;

    color: #bdbdbd;
}

/* =========================
   SCROLL INDICATOR
   ========================= */

.scroll-indicator {
    width: 30px;
    height: 50px;

    margin: 40px auto 0;

    border: 1px solid #333333;

    border-radius: 999px;

    display: flex;

    justify-content: center;

    padding-top: 8px;
}

.scroll-indicator span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #facc15;

    box-shadow:
        0 0 12px rgba(250, 204, 21, 0.7);

    animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {

    0% {
        transform: translateY(0);
        opacity: 1;
    }

    70% {
        transform: translateY(20px);
        opacity: 0.2;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 700px) {

    .hero {
        min-height: 620px;

        padding-top: 110px;
    }

    .hero-title {
        font-size: clamp(3rem, 15vw, 5rem);

        line-height: 0.94;
    }

    .hero-line-secondary {
        margin-top: 10px;
    }

    .hero-tagline {
        margin-top: 32px;

        line-height: 1.9;
    }

    .hero-actions {
        flex-direction: column;

        margin-top: 34px;
    }

    .hero-btn {
        width: min(100%, 300px);
    }

}

/* =========================
   ABOUT SECTION
   ========================= */

.about {
    width: 100%;
    padding: 120px 24px;
}

.about-inner {
    width: min(1100px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.about-inner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-eyebrow {
    margin: 0 0 20px;
    color: #facc15;
    font-family: monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.about-title {
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #f5f5f5;
}

.about-accent {
    color: #facc15;
}

.about-motto {
    margin: 20px 0 0;
    color: #8a8a8a;
    font-family: monospace;
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.about-lead {
    margin: 0;
    color: #e5e5e5;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.5;
}

.about-text {
    margin: 20px 0 0;
    color: #9a9a9a;
    font-size: 1rem;
    line-height: 1.8;
}

.about-origin {
    color: #facc15;
    font-weight: 700;
}

@media (max-width: 700px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* =========================
    Sticky Animation
   ========================= */

.stack-demo{
position:relative;
height:180vh;
background:transparent;
}

/* 🔥 STICKY SCENE */
.stack-scene{
position:sticky;
top:0;
height:100vh;
display:flex;
align-items:center;
justify-content:center;
overflow:hidden;
}

/* CARD WRAP */
.stack-wrap{
position:relative;
width:min(90vw,760px);
height:400px;
}

/* CARDS */
.stack-card{
position:absolute;
top:50%;
left:50%;
width:240px;
height:340px;
transform:translate(-50%,-50%);
border-radius:20px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:16px;
padding:24px;
font-size:28px;
font-weight:800;
color:#fff;
text-align:center;
box-shadow:0 25px 60px rgba(0,0,0,.6);
will-change:transform;
}

.stack-card img{
width:130px;
height:130px;
border-radius:50%;
object-fit:cover;
border:3px solid rgba(255,255,255,.4);
background:#fff;
}

.stack-card span{
font-size:19px;
font-weight:700;
letter-spacing:.3px;
line-height:1.3;
}

/* COLORS */
.stack-card:nth-child(1){background:#1e293b;}
.stack-card:nth-child(2){background:linear-gradient(135deg,#6366f1,#8b5cf6);}
.stack-card:nth-child(3){background:linear-gradient(135deg,#22d3ee,#22c55e);}
.stack-card:nth-child(4){background:linear-gradient(135deg,#f59e0b,#ef4444);}

/* =========================
   HERO CARD
   ========================= */

.hero-card {
    position: relative;
    margin: 0 auto;
    width: min(1200px, 100%);
    padding: 72px 80px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: #0d0d0d;
    text-align: center;
    box-shadow: 0 0 80px -30px rgba(250, 204, 21, 0.35);
}

/* glowing / lighting border */
.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.55),
        rgba(250, 204, 21, 0.45) 30%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(250, 204, 21, 0.4) 70%,
        rgba(255, 255, 255, 0.5)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

@media (max-width: 700px) {
    .hero-card {
        padding: 40px 24px;
    }

    .hero-card-title {
        font-size: 2.2rem;
    }
}

.hero-card-title {
    margin: 0;
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #eaeaea;
    transition: color 0.2s ease;
}

.hero-card-title:hover {
    color: #ffffff;
}

.hero-card-desc {
    margin: 20px auto 0;
    max-width: 680px;
    color: #9a9a9a;
    font-size: 1.15rem;
    line-height: 1.7;
    transition: color 0.2s ease;
}

.hero-card-desc:hover {
    color: #c7c7c7;
}

.hero-card-btn {
    display: inline-block;
    margin-top: 32px;
    padding: 16px 42px;
    border-radius: 999px;
    background: #ffffff;
    color: #050505;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.hero-card-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.hero-card-links {
    margin-top: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: 1.05rem;
}

.hero-card-links a {
    color: #9a9a9a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-card-links a:hover {
    color: #ffffff;
}

.hero-card-links .dot {
    color: #555555;
    pointer-events: none;
}

.cta-section {
    width: 100%;
    padding: 0 24px 120px;
}

/* =========================
   LIGHT THEME OVERRIDES
   ========================= */

[data-theme="light"] .hero {
    color: #111111;
}

[data-theme="light"] .hero::after {
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.05), transparent 67%);
}

[data-theme="light"] .hero-line {
    color: #111111;
}

[data-theme="light"] .hero-line-secondary {
    background: linear-gradient(90deg, #000000 0%, #3a3a3a 30%, #6e6e6e 65%, #1a1a1a 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

[data-theme="light"] .hero-tagline {
    color: #333333;
}

[data-theme="light"] .hero-tagline span {
    color: #d97706;
}

[data-theme="light"] .hero-accent-yellow {
    color: #b45309;
}

[data-theme="light"] .hero-btn-primary {
    color: #ffffff;
    background: #111111;
    border: 1px solid #111111;
}

[data-theme="light"] .hero-btn-primary:hover {
    color: #111111;
    background: transparent;
}

[data-theme="light"] .hero-btn-secondary {
    color: #333333;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid #bbbbbb;
}

[data-theme="light"] .hero-btn-secondary:hover {
    background: #e8e8e8;
    border-color: #777777;
}

[data-theme="light"] .play-icon {
    color: #666666;
}

[data-theme="light"] .scroll-indicator {
    border-color: #999999;
}

[data-theme="light"] .scroll-indicator span {
    background: #d97706;
    box-shadow: 0 0 12px rgba(217, 119, 6, 0.7);
}

[data-theme="light"] .about-eyebrow {
    color: #b45309;
}

[data-theme="light"] .about-title {
    color: #111111;
}

[data-theme="light"] .about-accent {
    color: #b45309;
}

[data-theme="light"] .about-motto {
    color: #666666;
}

[data-theme="light"] .about-lead {
    color: #222222;
}

[data-theme="light"] .about-text {
    color: #555555;
}

[data-theme="light"] .about-origin {
    color: #b45309;
}
