/* =========================================================
   HSC ICT — Light Theme, PCB / Circuit Inspired
   Enhanced & Polished CSS
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Anek+Bangla:wght@500;600;700;800&family=Hind+Siliguri:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@500;600;700&display=swap');

:root {
    --bg:           #F7F8FC;
    --surface:      #FFFFFF;
    --surface-2:    #EEF2FB;
    --panel-deep:   #0E1524;

    --ink:          #141B2E;
    --ink-soft:     rgba(20,27,46,.72);
    --muted:        #5B6478;
    --muted-soft:   #838CA0;

    --on-dark:        #F3F6FC;
    --on-dark-soft:   rgba(243,246,252,.72);
    --on-dark-muted:  rgba(243,246,252,.52);
    --line-on-dark:   rgba(243,246,252,.18);
    --line-on-dark-strong: rgba(243,246,252,.3);

    --amber:        #C97A1E;
    --amber-bright: #F2A93B;
    --amber-soft:   rgba(201,122,30,.12);
    --blue:         #2F5FD1;
    --blue-bright:  #4C8DFF;
    --blue-soft:    rgba(47,95,209,.10);
    --teal:         #1F9D74;
    --red:          #C6483F;

    --line:         rgba(20,27,46,.12);
    --line-strong:  rgba(20,27,46,.22);
    --grid-line:    rgba(20,27,46,.04);

    --radius-sm:    8px;
    --radius:       12px;
    --container:    1160px;

    --shadow-card:  0 20px 40px rgba(20,27,46,.10);
    --shadow-lift:  0 30px 60px rgba(20,27,46,.15);
    --shadow-glow:  0 0 30px rgba(76,141,255,.2);

    --font-display: 'Anek Bangla', sans-serif;
    --font-body:    'Hind Siliguri', sans-serif;
    --font-mono:    'IBM Plex Mono', monospace;
    --font-ui:      'Inter', 'Hind Siliguri', sans-serif;

    --ease:         cubic-bezier(.22,.75,.24,1);
    --ease-bounce:  cubic-bezier(.34,1.4,.64,1);
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior:smooth; background:var(--bg); }

body {
    color:var(--ink);
    background-color:var(--bg);
    background-image:
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
        linear-gradient(var(--grid-line) 1px, transparent 1px);
    background-size:44px 44px;
    background-attachment:fixed;
    font-family:var(--font-body);
    line-height:1.75;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
}

a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }
ul, ol { list-style:none; }

.container {
    width:min(var(--container), calc(100% - 48px));
    margin-inline:auto;
}

::selection { background:var(--amber); color:var(--bg); }

:focus-visible {
    outline:2px solid var(--blue);
    outline-offset:3px;
    border-radius:4px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration:.001ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.001ms !important;
        scroll-behavior:auto !important;
    }
}

/* ========== SCROLL REVEAL ========== */
[data-reveal] {
    opacity:0;
    transform:translateY(30px);
    transition:opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].revealed {
    opacity:1;
    transform:translateY(0);
}

/* ========== TYPOGRAPHY ========== */
.code-tag {
    font-family: var(--font-mono);
    color: var(--blue);
    font-size: 13px;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 8px;
    position: relative;
    padding-left: 12px;
}
.code-tag::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--amber);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--amber);
}

.section-title {
    font-family:var(--font-display);
    font-weight:700;
    font-size:clamp(28px, 3.2vw, 38px);
    line-height:1.28;
    color:var(--ink);
    text-shadow: 0 1px 2px rgba(20,27,46,.05);
}
.section-lede {
    max-width:50ch;
    margin-top:14px;
    color:var(--muted);
    font-size:16px;
}
.section-head { margin-bottom:40px; }
.section-head--center { text-align:center; }
.section-head--center .section-lede { margin-inline:auto; }

/* ========== BUTTONS (Enhanced) ========== */
.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 24px;
    font-family: var(--font-mono);
    font-size:12px;
    font-weight:600;
    letter-spacing:.06em;
    text-transform:uppercase;
    border-radius:4px;
    border:1px solid var(--amber);
    background:var(--surface);
    color:var(--amber);
    transition: all .3s var(--ease);
    cursor:pointer;
    text-decoration:none;
    line-height:1.4;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(255,255,255,.2) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform .6s;
}
.btn:hover::after {
    transform: translateX(100%);
}
.btn:hover {
    background: var(--amber);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(201,122,30,.35);
}

.btn--primary {
    background: transparent;
    border-color: var(--amber);
    color: var(--amber);
}
.btn--primary:hover {
    background: var(--amber);
    color: #fff;
}

.btn--outline {
    border-color: var(--blue);
    color: var(--blue);
    background: transparent;
}
.btn--outline:hover {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(47,95,209,.35);
}

.btn--gradient {
    background: transparent;
    border:1px solid var(--blue);
    color: var(--blue);
    background-image: none;
}
.btn--gradient:hover {
    background: linear-gradient(135deg, var(--blue) 0%, var(--amber-bright) 100%);
    color: #0B1220;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(76,141,255,.4);
}

/* ========== HERO ========== */
.hero {
    position:relative;
    padding:50px 0 100px;
    overflow:hidden;
}
.hero__grid-bg {
    position:absolute;
    inset:0;
    background:
        linear-gradient(120deg, transparent 55%, rgba(47,95,209,.08) 100%),
        radial-gradient(500px 350px at 82% 8%, rgba(201,122,30,.12), transparent 70%),
        radial-gradient(400px 300px at 15% 85%, rgba(31,157,116,.06), transparent 70%);
    pointer-events:none;
    z-index:0;
}
.hero__container { position:relative; z-index:1; }

.hero__grid {
    display:grid;
    grid-template-columns:1fr 460px;
    gap:60px;
    align-items:center;
}

.sys-status {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--teal);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    background: rgba(255,255,255,.7);
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-flex;
    border: 1px solid var(--line);
}
.status-indicator {
    width: 8px; height: 8px;
    background: var(--teal);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--teal);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { opacity:1; transform:scale(1); }
    50% { opacity:.6; transform:scale(1.4); }
}
.text-glow {
    color: var(--blue);
    text-shadow: 0 0 15px rgba(47,95,209,0.25);
}

.hero__title {
    font-family:var(--font-display);
    font-weight:700;
    font-size:clamp(36px, 4.8vw, 54px);
    line-height:1.22;
    color:var(--ink);
    margin-bottom:20px;
}
.hero__desc {
    max-width:50ch;
    color:var(--ink-soft);
    font-size:16.5px;
    margin-bottom:32px;
}
.hero__actions {
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

/* ---- Chip pinout diagram (enhanced with gradients and shadow) ---- */
/* ==========================================
   Root Variables (ডিফল্ট কালার ও ফন্ট)
========================================== */
:root {
    --blue-bright: #4c8dff;
    --teal: #1f9d74;
    --amber: #c97a1e;
    --ink: #0f172a;
    --ink-soft: #334155;
    --muted: #64748b;
    --surface: #ffffff;
    --line: #e2e8f0;
    --line-strong: #cbd5e1;
    --font-ui: 'Hind Siliguri', system-ui, -apple-system, sans-serif;
    --font-mono: 'Fira Code', monospace;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   Hero Visual Component
========================================== */
.hero__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==========================================
   Chip & Pins Section
========================================== */
.chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px; /* পিন ও বডির মধ্যে সামঞ্জস্যপূর্ণ দূরত্ব */
}

.chip__pins {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.chip__pins--left { align-items: flex-end; }
.chip__pins--right { align-items: flex-start; }

.pin {
    position: relative;
    min-width: 90px;
}

.chip__pins--left .pin { text-align: right; }
.chip__pins--right .pin { text-align: left; }

/* পিনের লাইন (Connecting Lines) */
.pin::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 2px;
    background: linear-gradient(90deg, rgba(76,141,255,0.2), var(--blue-bright));
    opacity: 0.8;
}

/* পিনের ডট (Connecting Nodes) */
.pin::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue-bright);
    box-shadow: 0 0 10px rgba(76, 141, 255, 0.6);
    animation: pinPulse 3.6s ease-in-out infinite;
}

/* বাম ও ডানের পিন পজিশনিং ঠিক করা */
.chip__pins--left .pin::before { right: -42px; }
.chip__pins--left .pin::after { right: -46px; transform: translateY(-50%); }

.chip__pins--right .pin::before { left: -42px; }
.chip__pins--right .pin::after { left: -46px; transform: translateY(-50%); }

@keyframes pinPulse {
    0%, 100% { opacity: 0.55; box-shadow: 0 0 0 0 rgba(76,141,255,0); }
    50% { opacity: 1; box-shadow: 0 0 0 8px rgba(76,141,255,0.2); }
}

/* ==========================================
   Pin Typography & Status
========================================== */
.pin__label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pin__value {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ink);
    margin-top: 2px;
}

.chip__pins--left .pin__value { justify-content: flex-end; }

.pin__status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 3px rgba(31, 157, 116, 0.2);
    flex-shrink: 0;
    animation: statusBlink 2s infinite ease-in-out;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ==========================================
   Chip Body (Main IC Core)
========================================== */
.chip__body {
    position: relative;
    width: 144px;
    height: 144px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #ffffff, #f1f5f9);
    border: 1.5px solid var(--line-strong);
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 
                inset 0 0 12px rgba(255, 255, 255, 0.8);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.chip__body:hover {
    transform: scale(1.04);
    box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.12), 
                0 0 15px rgba(76, 141, 255, 0.2);
}

/* Pin-1 Mark (গোল গোল্ডেন ডট) */
.chip__body::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #f59e0b, #d97706);
    box-shadow: 0 0 6px rgba(217, 119, 6, 0.6);
}

/* IC ID / Course Title */
.chip__id {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.25;
    color: var(--ink);
    text-align: center;
}

/* IC Brand Name (CodeEdge) */
.chip__brand {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 6px;
}

/* ==========================================
   Chip Footer Button
========================================== */
.chip__footer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 13.5px;
    color: var(--ink-soft);
    text-decoration: none;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.chip__footer svg {
    transition: transform 0.3s var(--ease);
}

.chip__footer:hover {
    border-color: var(--blue-bright);
    color: var(--blue-bright);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(76, 141, 255, 0.15);
    transform: translateY(-2px);
}

.chip__footer:hover svg {
    transform: translateX(4px);
}

/* ========== VALUE ========== */
.value { padding:80px 0; }
.value__grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:start;
}
.value__text { color:var(--ink-soft); font-size:16.5px; }
.value__list {
    display:flex;
    flex-direction:column;
    gap:12px;
}
.value__list li {
    position:relative;
    padding-left:28px;
    font-weight:500;
    color:var(--ink);
    font-size:15.5px;
    transition: transform .2s;
}
.value__list li:hover {
    transform: translateX(5px);
}
.value__list li::before {
    content:"";
    position:absolute;
    left:0; top:6px;
    width:16px; height:16px;
    border-radius:4px;
    border:1.5px solid var(--blue);
    background: var(--blue-soft);
}
.value__list li::after {
    content:"";
    position:absolute;
    left:4px; top:10px;
    width:6px; height:3px;
    border-left:1.5px solid var(--blue);
    border-bottom:1.5px solid var(--blue);
    transform:rotate(-45deg);
}

/* ========== LOGIC GATE COMPARISON ========== */
.logic-gate-section {
    padding: 80px 0;
    background: var(--surface-2);
    position: relative;
    overflow: hidden;
}
.logic-gate-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(47,95,209,.03) 25%, transparent 25%, transparent 50%, rgba(47,95,209,.03) 50%, rgba(47,95,209,.03) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    pointer-events: none;
}
.gate-grid {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 20px;
    align-items: center;
    position: relative;
}
.gate-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    transition: all .3s var(--ease);
    box-shadow: 0 4px 12px rgba(20,27,46,.05);
}
.gate-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}
.gate-card--off { border-left: 4px solid var(--red); }
.gate-card--on { border-left: 4px solid var(--teal); }
.gate-header {
    font-family: var(--font-mono);
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}
.gate-card--off .gate-state { color: var(--red); }
.gate-card--on .gate-state { color: var(--teal); }
.gate-card ul { list-style: none; }
.gate-card ul li {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--muted);
    position: relative;
    padding-left: 20px;
}
.gate-card ul li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: bold;
}
.gate-divider {
    display: flex;
    justify-content: center;
    align-items: center;
}
.gate-node {
    font-family: var(--font-mono);
    background: var(--line);
    padding: 10px 14px;
    font-size: 10px;
    border-radius: 4px;
    color: var(--ink-soft);
    position: relative;
    box-shadow: 0 2px 6px rgba(20,27,46,.1);
}
.gate-node::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--amber);
    opacity: .7;
}

/* ========== REGISTER (curriculum) ========== */
.register { padding:80px 0; }
.register__list {
    display:flex;
    flex-direction:column;
    border-top:1px solid var(--line);
}
.register__row {
    display:grid;
    grid-template-columns:32px 76px 1fr auto;
    gap:20px;
    align-items:center;
    padding:22px 14px;
    border-bottom:1px solid var(--line);
    transition: all .3s var(--ease);
}
.register__row:hover {
    background: var(--amber-soft);
    padding-left:22px;
    box-shadow: inset 3px 0 0 var(--amber);
}
.register__icon {
    display:grid;
    place-items:center;
    width:32px; height:32px;
    color:var(--blue);
    transition:color .3s var(--ease);
}
.register__icon svg { width:22px; height:22px; }
.register__row:hover .register__icon { color:var(--amber); transform: rotate(5deg); }
.register__code {
    font-family:var(--font-mono);
    font-size:14px;
    color:var(--amber);
    align-self:baseline;
}
.register__bn {
    font-family:var(--font-display);
    font-weight:600;
    font-size:18px;
    color:var(--ink);
    line-height:1.5;
}
.register__en {
    font-family:var(--font-mono);
    font-size:11.5px;
    color:var(--muted-soft);
    white-space:nowrap;
}
.register__cta { margin-top:44px; text-align:center; }

/* ========== CENTERS ========== */
.centers { padding:80px 0; }
.centers__grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}
.node-card {
    padding:32px;
    border-radius:var(--radius);
    background: var(--surface);
    border:1px solid var(--line);
    transition: all .3s var(--ease);
    position: relative;
    overflow: hidden;
}
.node-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--amber));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}
.node-card:hover::before {
    transform: scaleX(1);
}
.node-card:hover {
    transform:translateY(-6px);
    box-shadow:var(--shadow-card);
    border-color: var(--line-strong);
}
.node-card__id {
    display:inline-flex;
    align-items:center;
    gap:9px;
    font-family:var(--font-mono);
    font-size:12px;
    color:var(--blue);
    margin-bottom:18px;
}
.node-card__id::before {
    content:"";
    width:8px; height:8px;
    border-radius:50%;
    background:var(--blue);
    box-shadow:0 0 0 4px var(--blue-soft);
}
.node-card h3 {
    font-family:var(--font-display);
    font-weight:700;
    font-size:21px;
    margin-bottom:8px;
    color:var(--ink);
}
.node-card p { color:var(--muted); font-size:14.5px; }
.specs {
    margin-top:44px;
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
}
.spec {
    display:flex;
    flex-direction:column;
    gap:6px;
    padding:20px 18px;
    border-left:1px solid var(--line);
    transition: background .2s;
}
.spec:hover {
    background: var(--amber-soft);
}
.spec:first-child { border-left:none; }
.spec__label {
    font-family:var(--font-mono);
    font-size:11.5px;
    color:var(--muted);
    letter-spacing:.02em;
}
.spec__value {
    font-family:var(--font-ui);
    font-weight:600;
    font-size:14.5px;
    color:var(--ink);
}

/* ========== TEACHER ========== */
.teacher { padding:80px 0; }
.teacher__grid {
    display:grid;
    grid-template-columns:340px 1fr;
    gap:60px;
    align-items:center;
}
.teacher__photo {
    position:relative;
    padding:14px;
}
.teacher__photo img {
    width:100%;
    height:400px;
    object-fit:cover;
    object-position:top center;
    border-radius:var(--radius-sm);
    box-shadow: 0 10px 30px rgba(20,27,46,.15);
    transition: transform .3s var(--ease);
}
.teacher__photo:hover img {
    transform: scale(1.02);
}
.frame-corner {
    position:absolute;
    width:22px; height:22px;
    z-index:1;
}
.frame-corner--tl { top:0; left:0; border-top:2px solid var(--amber); border-left:2px solid var(--amber); }
.frame-corner--tr { top:0; right:0; border-top:2px solid var(--amber); border-right:2px solid var(--amber); }
.frame-corner--bl { bottom:0; left:0; border-bottom:2px solid var(--amber); border-left:2px solid var(--amber); }
.frame-corner--br { bottom:0; right:0; border-bottom:2px solid var(--amber); border-right:2px solid var(--amber); }
.teacher__caption {
    position:absolute;
    left:26px;
    bottom:26px;
    padding:8px 14px;
    background:var(--panel-deep);
    color:var(--on-dark);
    border:1px solid var(--line-on-dark);
    border-radius:var(--radius-sm);
    font-family:var(--font-mono);
    font-size:11px;
    box-shadow: 0 4px 10px rgba(0,0,0,.3);
}
.teacher__quote {
    margin:18px 0;
    padding-left:20px;
    border-left:2px solid var(--amber);
    color:var(--ink-soft);
    font-family:var(--font-display);
    font-size:17px;
    font-weight:500;
    background: var(--amber-soft);
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.teacher__info > p { color:var(--ink-soft); }
.teacher__info > p + p { margin-top:14px; }
.teacher__stats {
    display:flex;
    margin:24px 0;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    background: var(--surface);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.teacher__stats div {
    flex:1;
    text-align:center;
    padding:18px 8px;
    border-left:1px solid var(--line);
    transition: background .2s;
}
.teacher__stats div:hover {
    background: var(--amber-soft);
}
.teacher__stats div:first-child { border-left:none; }
.teacher__stats strong {
    display:block;
    font-family:var(--font-display);
    font-weight:700;
    font-size:22px;
    color:var(--ink);
}
.teacher__stats span {
    font-size:12px;
    color:var(--muted);
    margin-top:4px;
    display:block;
}
.link-underline {
    display:inline-block;
    color:var(--blue);
    font-weight:600;
    border-bottom:1.5px solid var(--blue-soft);
    padding-bottom:2px;
    transition: all .3s var(--ease);
}
.link-underline:hover { 
    border-color:var(--blue); 
    background: var(--blue-soft);
    padding: 0 4px;
    border-radius: 4px;
}

/* ========== FAQ ========== */
.faq { padding:80px 0; }
.faq__list { border-top:1px solid var(--line); }
.faq__item { 
    padding:24px 4px; 
    border-bottom:1px solid var(--line);
    transition: background .3s;
}
.faq__item:hover {
    background: rgba(47,95,209,.03);
}
.faq__q {
    font-family:var(--font-display);
    font-weight:600;
    font-size:17px;
    color:var(--ink);
    margin-bottom:8px;
    position:relative;
    padding-left:26px;
    cursor: pointer;
}
.faq__q::before {
    content:"?";
    position:absolute;
    left:0; top:0;
    width:18px; height:18px;
    display:grid;
    place-items:center;
    border-radius:50%;
    border:1.5px solid var(--amber);
    color:var(--amber);
    font-family:var(--font-mono);
    font-size:11px;
    background: rgba(201,122,30,.05);
}
.faq__a {
    color:var(--ink-soft);
    font-size:15.5px;
    padding-left:26px;
}

/* ========== CTA ========== */
.cta {
    padding:80px 0;
    background: transparent;
    border-top: none;
    position: relative;
}
.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.cta__grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}
.cta__content p {
    color: var(--ink-soft);
    margin:16px 0 28px;
    font-size: 17px;
}
.cta__steps {
    display:flex;
    flex-direction:column;
    gap:20px;
    position:relative;
}
.cta__steps::before {
    content:"";
    position:absolute;
    left:15px; top:14px; bottom:14px;
    width:2px;
    background: var(--line-strong);
}
.cta__steps li {
    display:flex;
    align-items:center;
    gap:18px;
    color: var(--ink);
    font-weight:500;
    font-size: 16px;
    transition: transform .2s;
}
.cta__steps li:hover {
    transform: translateX(5px);
}
.cta__steps span {
    display:grid;
    place-items:center;
    width:34px; height:34px;
    border-radius:50%;
    background: var(--amber-bright);
    color: #1B1304;
    font-family: var(--font-display);
    font-weight:700;
    font-size: 14px;
    flex:none;
    z-index:1;
    box-shadow: 0 0 0 4px rgba(242,169,59,.2);
}

/* ========== RESPONSIVE ========== */
@media (max-width:980px) {
    .hero__grid { grid-template-columns:1fr; gap:48px; }
    .hero__visual { max-width:420px; margin-inline:auto; }
    .value__grid,
    .centers__grid,
    .cta__grid { grid-template-columns:1fr; }
    .teacher__grid { grid-template-columns:1fr; gap:40px; text-align:center; }
    .teacher__photo { max-width:340px; margin-inline:auto; }
    .teacher__quote { border-left:none; padding-left:0; }
    .teacher__stats { justify-content:center; }
    .gate-grid { grid-template-columns:1fr; }
    .gate-divider { display:none; }
}

@media (max-width:720px) {
    .container { width:calc(100% - 32px); }
    .hero, .value, .logic-gate-section, .register, .centers, .teacher, .faq, .cta {
        padding:60px 0;
    }
    .hero__title { font-size:clamp(30px, 7vw, 42px); }
    .hero__actions { flex-direction:column; }
    .hero__actions .btn { width:100%; }
    .chip { gap:24px; }
    .chip__body { width:112px; height:112px; }
    .register__row { grid-template-columns:28px 52px 1fr; }
    .register__en { grid-column:1 / -1; white-space:normal; margin-top:2px; }
    .specs { grid-template-columns:1fr 1fr; }
    .spec { border-left:none; border-top:1px solid var(--line); }
    .spec:nth-child(1), .spec:nth-child(2) { border-top:none; }
}

@media (max-width:480px) {
    .hero__header-bar { flex-direction:column; align-items:flex-start; }
    .tech-badge { width:100%; text-align:center; }
    .teacher__stats { flex-direction:column; }
    .teacher__stats div { border-left:none; border-top:1px solid var(--line); }
    .teacher__stats div:first-child { border-top:none; }
    .chip { flex-direction:column; gap:32px; }
    .chip__pins { flex-direction:row; gap:20px; }
    .chip__pins--left, .chip__pins--right { align-items:center; }
    .pin { text-align:center !important; min-width:70px; }
    .pin::before, .pin::after { display:none; }
    .pin__value { justify-content:center !important; }
    .specs { grid-template-columns:1fr; }
    .spec { border-left:none !important; border-top:1px solid var(--line); }
    .spec:first-child { border-top:none; }
}