.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--c-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}
.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(232,229,100,.12) 0%, transparent 70%);
    top: -200px; left: -200px; z-index: 0;
}
.orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(46,96,212,.15) 0%, transparent 70%);
    bottom: -150px; right: -100px; z-index: 0;
}
.orb-3 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(156,0,200,.1) 0%, transparent 70%);
    top: 30%; right: 20%; z-index: 0;
}
.orb-4 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(0,168,79,.08) 0%, transparent 70%);
    bottom: 20%; left: 20%; z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
}
.hero-row { min-height: calc(100vh - 160px); }

/* Hero Left */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    padding: 8px 16px;
    border-radius: 40px;
    font-family: var(--ff-head);
    font-size: .73rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}
.eyebrow-pulse {
    width: 8px; height: 8px;
    background: #4ade80;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); }
    50%       { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
}

.hero-headline {
    font-family: var(--ff-head);
    font-weight: 900;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 1.05;
    letter-spacing: -.04em;
    color: #fff;
    margin-bottom: 24px;
}
.hero-accent {
    color: var(--c-primary);
    display: inline-block;
    position: relative;
}
.hero-accent::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 0; right: 0;
    height: 4px;
    background: var(--c-primary);
    border-radius: 2px;
    opacity: .35;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .9s ease .4s;
}
.hero-accent.visible::after { transform: scaleX(1); }

.hero-subtext {
    font-size: clamp(.93rem, 1.5vw, 1.08rem);
    color: rgba(255,255,255,.6);
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 36px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}
.btn-hero-primary,
.btn-hero-primary:visited {
    display: inline-flex;
    align-items: center;
    background: var(--c-primary);
    color: #000;
    font-family: var(--ff-head);
    font-weight: 800;
    font-size: .93rem;
    padding: 15px 32px;
    border-radius: var(--r-md);
    text-decoration: none;
    transition: var(--tr);
}
.btn-hero-primary:hover {
    background: var(--c-primary-dk);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(232,229,100,.3);
}
.btn-hero-ghost,
.btn-hero-ghost:visited {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: rgba(255,255,255,.82);
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: .93rem;
    padding: 15px 28px;
    border-radius: var(--r-md);
    border: 1px solid rgba(255,255,255,.2);
    text-decoration: none;
    transition: var(--tr);
}
.btn-hero-ghost:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
    border-color: rgba(255,255,255,.4);
}

.hero-stats-mini {
    display: flex;
    align-items: center;
    gap: 20px;
}
.hsm-item { display: flex; flex-direction: column; }
.hsm-n {
    font-family: var(--ff-head);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--c-primary);
    line-height: 1;
}
.hsm-l {
    font-size: .68rem;
    color: rgba(255,255,255,.45);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 3px;
}
.hsm-sep { width: 1px; height: 36px; background: rgba(255,255,255,.15); }

/* Hero Right */
.hero-right {
    display: flex;
    justify-content: center;
    padding-left: 1rem;
}
.project-showcase {
    width: 100%;
    max-width: 520px;
    will-change: transform;
    transition: transform .1s linear;
}

/* Browser Mockup */
.browser-mockup {
    background: #1a1d2e;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
    margin-bottom: 14px;
    transition: transform .4s ease, box-shadow .4s ease;
}
.browser-mockup:hover {
    transform: translateY(-4px);
    box-shadow: 0 40px 100px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.09);
}
.browser-bar {
    background: var(--c-bg);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 12px; height: 12px; border-radius: 50%; }
.bd-red    { background: #ff5f57; }
.bd-yellow { background: #febc2e; }
.bd-green  { background: #28c840; }
.browser-url {
    flex: 1;
    background: lightgray;
    border-radius: 6px;
    padding: 5px 12px;
    font-family: var(--ff-body);
    font-size: .73rem;
    color: var(--c-text);
    letter-spacing: .02em;
    transition: color .3s;
}
.browser-reload { color: var(--c-text); font-size: .9rem; }

.browser-screen {
    position: relative;
    height: 300px;
    overflow: hidden;
}
.bs-gradient {
    position: absolute;
    inset: 0;
    transition: background .6s ease;
}
.bs-overlay-container{
    position: absolute;
    inset:0;
    overflow: hidden;
}
.bs-overlay {
    width: 100%;
    animation: imageanimation 20s infinite linear alternate;
}
@keyframes imageanimation {
  0% { transform: translateY(0); }
  100% { transform: translateY(calc(300px - 100%)); }
}
.bs-overlay-bg{
    position: absolute;
    inset:0;
}
.bs-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.0) 100%)
}
.bsc-tag {
    display: inline-block;
    background: var(--c-primary);
    color: #000;
    font-family: var(--ff-head);
    font-size: .63rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.bsc-name {
    font-family: var(--ff-head);
    font-weight: 900;
    font-size: 1.6rem;
    color: #fff;
    letter-spacing: -.02em;
    margin-bottom: 6px;
    line-height: 1.1;
}
.bsc-desc {
    font-size: .8rem;
    color: rgba(255,255,255,.65);
    line-height: 1.5;
    margin-bottom: 12px;
}
.bsc-link,
.bsc-link:visited{
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-family: var(--ff-head);
    font-size: .73rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 20px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: var(--tr);
    border: 1px solid rgba(255,255,255,.15);
}
.bsc-link:hover { background: var(--c-primary); color: #000; border-color: transparent; }

.bs-chip {
    position: absolute;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.9);
    font-family: var(--ff-head);
    font-size: .63rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    z-index: 3;
    animation: float-chip 3s ease-in-out infinite;
    white-space: nowrap;
}
.chip-1 { top: 14px; right: 14px; animation-delay: 0s; }
.chip-2 { top: 14px; right: 110px; animation-delay: .7s; }
.chip-3 { top: 50px; right: 14px; animation-delay: 1.3s; }
@keyframes float-chip {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}

/* Thumbs */
.project-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.project-thumbs::-webkit-scrollbar { display: none; }
.pthumb {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.55);
    font-family: var(--ff-head);
    font-size: .68rem;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--tr);
    white-space: nowrap;
}
.pthumb:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.2); }
.pthumb.active { background: var(--c-primary); color: #000; border-color: transparent; }
.pt-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.showcase-hint {
    font-size: .7rem;
    color: rgba(255,255,255,.28);
    text-align: center;
    margin-top: 10px;
    font-family: var(--ff-head);
    letter-spacing: .04em;
}

/* Scroll cue */
.hero-scroll-cue,
.hero-scroll-cue:visited {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,.35);
    text-decoration: none;
    font-family: var(--ff-head);
    font-size: .65rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: var(--tr);
    animation: bob 2.5s ease-in-out infinite;
}
.hero-scroll-cue:hover { color: var(--c-primary); }
@keyframes bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 992px) {
    .hero-left { text-align: center; padding-right: 0; }
    .hero-actions, .hero-stats-mini { justify-content: center; }
    .hero-subtext { margin: 0 auto 36px; }
    .hero-right { margin-top: 40px; }
}
@media (max-width: 768px) {
    .hero-headline { font-size: 2.2rem; }
}
@media (max-width: 576px) {
    .hero-headline { font-size: 1.95rem; }
    .project-showcase { max-width: 100%; }
    .browser-screen { height: 240px; }
}
@media (max-width: 400px) {
    .hero-headline { font-size: 1.7rem; }
    .btn-hero-primary, .btn-hero-ghost { padding: 12px 20px; font-size: .86rem; }
}