/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== VARIABLES ===== */
:root {
    --bg: #fff6f0;
    --bg-alt: #fff0e8;
    --surface: rgba(255,255,255,0.06);
    --text: #271811;
    --text-secondary: rgba(39,24,17,0.78);
    --text-muted: rgba(39,24,17,0.62);
    --text-light: rgba(39,24,17,0.42);
    --dark: #1a1a1a;
    --dark-soft: #2a2a2a;
    --accent: #3d3d3d;
    --accent-orange: #ff5f00;
    --accent-orange-soft: rgba(255, 95, 0, 0.16);
    --hero-dark: #0b0b0d;
    --hero-dark-2: #15151a;
    --hero-text: rgba(255,255,255,0.92);
    --hero-muted: rgba(255,255,255,0.72);
    --hero-line: rgba(255,255,255,0.10);
    --glass-white: rgba(255,255,255,0.55);
    --glass-white-border: rgba(255,255,255,0.38);
    --glass-dark: rgba(18,18,22,0.55);
    --glass-dark-border: rgba(255,255,255,0.12);
    --glass: rgba(255, 255, 255, 0.178);
    --glass-border: rgba(255, 255, 255, 0.42);
    --border-color: #d5d0c8;
    --border-dark: #b5b0a8;
    --border: 1px solid var(--border-color);
    --border-strong: 1px solid var(--border-dark);
    --font-mono: 'Space Mono', monospace;
    --font-sans: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 2px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
}

/* ===== BASE ===== */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 17px;
}

::selection {
    background: var(--dark);
    color: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--accent-orange);
}

img {
    max-width: 100%;
    height: auto;
}

p, li {
    font-size: 1.02rem;
}

/* ===== UTILITY ===== */
.accent { color: var(--accent-orange) !important; }
.accent-bg { background: var(--accent-orange-soft) !important; }

.muted,
.help-text,
.section-sub,
.breadcrumbs,
.cta-desc,
.card p,
.footer,
.footer a,
.top-bar-inner {
    font-size: 15.5px;
    line-height: 1.6;
}

/* ===== LOADER ===== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--bg);
    letter-spacing: 0.1em;
}

.loader-bar-track {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar {
    height: 100%;
    background: var(--bg);
    transition: width 0.3s ease;
    border-radius: 2px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.top-bar-inner {
    display: inline-block;
    animation: marquee 40s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== NAVBAR (Dark Liquid Glass) ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 12px 18px;
    background:
        radial-gradient(1200px 220px at 16% -55%, rgba(255,255,255,0.06), rgba(255,255,255,0) 62%),
        radial-gradient(900px 220px at 90% -60%, rgba(255,95,0,0.11), rgba(255,95,0,0) 65%),
        rgba(5, 5, 8, 0.94);
    backdrop-filter: blur(24px) saturate(175%);
    -webkit-backdrop-filter: blur(24px) saturate(175%);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    box-shadow:
        0 14px 44px rgba(0,0,0,0.42),
        inset 0 1px 0 rgba(255,255,255,0.12);
}

.navbar-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    gap: 16px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: rgba(255,255,255,0.92);
    flex-shrink: 0;
}

.navbar-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-weight: 900;
    letter-spacing: 0.02em;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow:
        0 10px 24px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.10);
}

.navbar-title {
    display: block;
    font-weight: 800;
    line-height: 1.05;
    color: rgba(255,255,255,0.94);
}

.navbar-tagline {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.70);
    margin-top: 2px;
}

.navbar-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 8px;
    margin: 0 auto;
    overflow: auto;
    scrollbar-width: none;
}

.navbar-links::-webkit-scrollbar { display: none; }

.navlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 10px 6px;
    border-radius: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.82);
    white-space: nowrap;
    font-size: 14px;
    letter-spacing: 0.02em;
    position: relative;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.navlink:hover {
    color: rgba(255,255,255,0.98);
    background: rgba(255,255,255,0.08);
    transform: translateY(-1px);
}

.navlink.is-active {
    color: rgba(255,255,255,0.98);
}

.navlink.is-active::after,
.navlink:hover::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,95,0,0.0), rgba(255,95,0,1), rgba(255,95,0,0.0));
}

.navbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
}

.navbar-actions .btn,
.navbar-actions a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.navbar-actions .btn-ghost {
    color: rgba(255,255,255,0.86);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}

.navbar-actions .btn-ghost:hover {
    background: rgba(255,255,255,0.12);
}

.navbar-actions .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, rgba(255,95,0,0.96), rgba(255,95,0,0.74));
    border: 1px solid rgba(255,95,0,0.55);
    box-shadow: 0 14px 28px rgba(255,95,0,0.18);
}

.navbar-actions .btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.navbar-burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.navbar-burger span {
    display: block;
    height: 2px;
    background: rgba(255,255,255,0.90);
    margin: 4px 12px;
    border-radius: 2px;
    width: 18px;
}

/* ===== OLD NAV (glass pill style) ===== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 1.6rem;
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.44));
    backdrop-filter: blur(26px) saturate(180%);
    -webkit-backdrop-filter: blur(26px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.55);
    border-left: 0;
    border-right: 0;
    box-shadow:
        0 12px 34px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.85);
}

nav::before {
    content: "";
    position: absolute;
    inset: -60% -20%;
    pointer-events: none;
    filter: blur(10px);
    opacity: .75;
    transform: translate3d(0,0,0);
    animation: navSheen 9s ease-in-out infinite;
}

nav::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02), rgba(255,255,255,0.10));
    mix-blend-mode: overlay;
    opacity: .55;
}

@keyframes navSheen {
    0%, 100% { transform: translate3d(-2%, -1%, 0) rotate(-1deg); }
    50% { transform: translate3d(2%, 1%, 0) rotate(1deg); }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-mark {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: var(--text);
}

.nav-logo-divider {
    width: 1px;
    height: 24px;
    background: var(--border-dark);
}

.nav-logo-sub {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
    line-height: 1.4;
}

.nav-links {
    display: flex;
    gap: 0;
    list-style: none;
}

.nav-links a,
.nav-links li a {
    display: block;
    padding: 0.5rem 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    border: var(--border);
    margin-left: -1px;
    transition: all 0.25s ease;
    border-radius: var(--radius);
}

.nav-links li:first-child a { margin-left: 0; }

.nav-links li a:hover {
    background: var(--dark);
    color: var(--bg);
    border-color: var(--dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: var(--border);
    border-radius: var(--radius);
}

.hamburger span {
    width: 22px;
    height: 1.5px;
    background: var(--text);
    transition: all 0.3s;
}

/* ===== MOBILE NAV (Dark Drawer) ===== */
.mobile-nav-pro {
    position: fixed;
    inset: 0;
    background: rgba(5,5,8,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
}

.mobile-nav-pro.open {
    transform: translateX(0);
}

.mobile-nav-pro-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 10px;
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.mobile-close {
    width: 44px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-pro-links {
    margin: 0 18px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(15,15,15,0.72);
    border: 1px solid rgba(255,255,255,0.10);
}

.mobile-nav-pro-links a {
    display: block;
    padding: 14px 14px;
    border-radius: 12px;
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 16px;
}

.mobile-nav-pro-links a:hover {
    background: rgba(255,255,255,0.08);
}

.mobile-nav-pro-links a.is-active {
    background: rgba(255,95,0,0.18);
    border: 1px solid rgba(255,95,0,0.28);
}

.mobile-nav-pro-actions {
    display: flex;
    gap: 12px;
    padding: 18px;
    flex-direction: column;
}

.mobile-nav-pro-actions .btn {
    flex: 1;
    text-align: center;
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
}

/* Old mobile nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--dark);
    z-index: 200;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.mobile-nav.open { right: 0; }

.mobile-nav a {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 2.2rem;
    color: rgba(255,255,255,0.8);
    letter-spacing: -0.02em;
    transition: opacity 0.2s;
    padding: 0.3rem 0;
    display: block;
}

.mobile-nav a:hover { opacity: 0.5; }

/* ===== HERO ===== */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 93vh;
    border-bottom: var(--border);
}

.hero-left {
    padding: 5rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: var(--border);
}

.hero-tag {
    font-family: var(--font-mono);
    font-size: 15px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-tag-line {
    width: 30px;
    height: 1px;
    background: var(--border-dark);
}

.hero-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.8rem;
    color: var(--text);
}

.hero-title .light {
    font-weight: 300;
    color: var(--text-secondary);
}

.hero-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    max-width: 520px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 0;
}

.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: var(--dark);
    color: var(--bg);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid var(--accent-orange);
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: var(--radius);
    box-shadow: 8px 8px 0 rgba(255,95,0,0.18);
}

.btn-primary:hover {
    background: var(--dark-soft);
    transform: translate(-2px,-2px);
    box-shadow: 10px 10px 0 rgba(255,95,0,0.22);
}

.btn-secondary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: transparent;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: var(--border);
    border-left: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: var(--radius);
}

.btn-secondary:hover {
    background: var(--dark);
    color: var(--bg);
    border-color: var(--dark);
}

/* ===== HERO RIGHT / NETWORK ===== */
.hero-right {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
    overflow: hidden;
    background: #0b0b0d !important;
    padding: 0;
    min-height: 420px;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image:
        linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-center-text {
    text-align: center;
    z-index: 2;
    padding: 2rem;
}

.hero-center-text .big-mark {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 6rem;
    color: rgba(255,255,255,0.06);
    letter-spacing: 0.1em;
    line-height: 1;
}

.hero-center-text .tagline {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-top: 1rem;
}

.hero-badges {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    right: 2.5rem;
    display: flex;
    justify-content: space-between;
}

.hero-badge {
    font-family: var(--font-mono);
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1.6;
}

/* Hero Network Panel */
.hero-network {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 93vh;
    border-radius: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    background: #0b0b0d !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.hero-network::before,
.hero-network::after {
    display: none !important;
}

.hero-network canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    opacity: 1;
    mix-blend-mode: screen;
}

.gt-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    pointer-events: none;
}

.gt-core {
    position: static;
    transform: none;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-family: var(--font-sans);
    font-weight: 900;
    font-size: 64px;
    color: rgba(26,26,26,0.92);
    background: rgba(255,255,255,0.72);
    border: 2px solid rgba(255,95,0,0.65);
    box-shadow: 18px 18px 0 rgba(255,95,0,0.18);
    pointer-events: none;
}

.gt-core-sub {
    position: static;
    transform: none;
    margin-top: 2px;
    padding: 10px 16px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.86);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 14px 44px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.10);
    pointer-events: none;
}

/* Hero SVG Design */
.hero-svg-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.hero-gt-svg {
    width: 420px;
    max-width: 100%;
    animation: gtFloat 6s ease-in-out infinite;
}

.hero-gt-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 120px;
    font-weight: 700;
    fill: #271811;
    letter-spacing: .05em;
}

@keyframes gtFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* ===== STATS BAR ===== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: var(--border);
    background: var(--surface);
}

.stat-item {
    padding: 2rem 1.5rem;
    text-align: center;
    border-right: var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--text);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    padding: 3rem 3rem 1.5rem;
    border-bottom: var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: var(--bg);
}

.section-number {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text);
}

.section-subtitle {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: right;
    line-height: 1.6;
}

/* ===== PROGRAMS ===== */
.programs { border-bottom: var(--border); }

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.program-card {
    padding: 2.5rem 2rem;
    border-right: var(--border);
    border-bottom: var(--border);
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--surface);
}

.program-card:nth-child(3n) { border-right: none; }

.program-card:hover {
    background: var(--dark);
    color: var(--bg);
}

.program-card:hover .program-number,
.program-card:hover .program-desc,
.program-card:hover .program-meta { color: rgba(255,255,255,0.5); }

.program-card:hover .program-icon { opacity: 0.6; }

.program-number {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.program-icon {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.program-name {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.program-desc {
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.program-meta {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.program-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 1.2rem;
    opacity: 0;
    transform: translate(-8px, 8px);
    transition: all 0.3s ease;
}

.program-card:hover .program-arrow {
    opacity: 0.6;
    transform: translate(0, 0);
}

/* ===== ABOUT ===== */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: var(--border);
}

.about-left {
    padding: 4rem 3rem;
    border-right: var(--border);
    background: var(--surface);
}

.about-text {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.about-text strong {
    font-weight: 600;
    color: var(--text);
}

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    padding: 0.9rem 0;
    border-top: var(--border);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-features li .feat-icon {
    width: 28px;
    height: 28px;
    border: var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    color: var(--text-muted);
}

.about-right {
    background: var(--dark);
    color: var(--bg);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-quote {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.85);
}

.about-quote::before {
    content: '"';
    display: block;
    font-size: 3.5rem;
    line-height: 0.6;
    margin-bottom: 1rem;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.about-attribution {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.35;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.about-stat { text-align: left; }

.about-stat-num {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.6rem;
    color: rgba(255,255,255,0.7);
}

.about-stat-label {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.35;
    margin-top: 0.2rem;
}

/* ===== COURSES DETAIL ===== */
.courses-detail {
    border-bottom: var(--border);
    background: var(--surface);
}

.course-row {
    display: grid;
    grid-template-columns: 0.3fr 1fr 0.5fr 0.3fr;
    align-items: center;
    padding: 1.5rem 3rem;
    border-bottom: var(--border);
    transition: all 0.25s ease;
    cursor: pointer;
}

.course-row:last-child { border-bottom: none; }

.course-row:hover {
    background: var(--bg-alt);
}

.course-row:hover .course-row-arrow {
    opacity: 1;
    transform: translateX(0);
}

.course-row-num {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--text-light);
    letter-spacing: 0.15em;
}

.course-row-name {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.05rem;
}

.course-row-meta {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.course-row-arrow {
    text-align: right;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.25s ease;
    color: var(--text-muted);
}

/* ===== PROCESS ===== */
.process { border-bottom: var(--border); }

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.process-step {
    padding: 2.5rem 2rem;
    border-right: var(--border);
    position: relative;
    background: var(--surface);
}

.process-step:last-child { border-right: none; }

.process-num {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1;
    opacity: 0.05;
    position: absolute;
    top: 1rem;
    right: 1.2rem;
}

.process-label {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.process-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.process-desc {
    font-size: 0.8rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===== TESTIMONIALS ===== */
.testimonials { border-bottom: var(--border); }

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.testimonial-card {
    padding: 2.5rem 3rem;
    border-right: var(--border);
    border-bottom: var(--border);
    background: var(--surface);
}

.testimonial-card:nth-child(2n) { border-right: none; }

.testimonial-stars {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-style: italic;
}

.testimonial-author {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
}

.testimonial-role {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

/* ===== PARTNERS ===== */
.partners {
    padding: 3rem;
    border-bottom: var(--border);
    background: var(--surface);
    text-align: center;
}

.partners-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
    flex-wrap: wrap;
    opacity: 0.25;
}

.partner-logo {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    color: var(--text);
}

/* ===== CTA / CONTACT ===== */
.cta-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: var(--border);
}

.cta-left {
    background: var(--dark);
    color: var(--bg);
    padding: 5rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
}

.cta-desc {
    font-size: 0.88rem;
    line-height: 1.8;
    opacity: 0.45;
    margin-bottom: 2.5rem;
    max-width: 380px;
}

.cta-info {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    line-height: 2;
    opacity: 0.3;
    letter-spacing: 0.05em;
}

.cta-right {
    padding: 5rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--surface);
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 1.2rem; }

.form-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(39,24,17,.18);
    background: rgba(255,255,255,.75);
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
    transition: all 0.25s ease;
    border-radius: 12px;
    color: var(--text);
}

.form-input:focus {
    border-color: var(--dark);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.form-input::placeholder {
    color: var(--text-light);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
    height: auto;
    padding: 12px 14px;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--dark);
    color: var(--bg);
    border: 1px solid var(--dark);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: var(--radius);
    margin-top: 0.5rem;
}

.form-submit:hover {
    background: var(--dark-soft);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.form-span-2 { grid-column: auto; }

.field-wrap { width: 100%; }

.help-text {
    margin-top: 8px;
    font-size: 13.5px;
    color: var(--text-muted);
    opacity: .65;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: var(--bg);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 3.5rem 3rem;
    gap: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

.footer-brand-desc {
    font-size: 0.88rem;
    line-height: 1.8;
    opacity: 0.35;
    max-width: 320px;
}

.footer-col-title {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 1.2rem;
    opacity: 0.35;
}

.footer-links {
    list-style: none;
}

.footer-links li { margin-bottom: 0.6rem; }

.footer-links li a {
    font-size: 0.78rem;
    opacity: 0.5;
    transition: opacity 0.2s;
    letter-spacing: 0.03em;
}

.footer-links li a:hover { opacity: 0.9; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.25;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SIMPLE PAGES ===== */
.page-wrap { background: var(--bg); border-bottom: var(--border); }

.page-content {
    padding: 3rem 3rem 4rem;
    background: var(--surface);
    border-bottom: var(--border);
}

.page-content p {
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 0 1rem;
}

.page-content ul {
    margin: 0.5rem 0 1.5rem 1.2rem;
    color: var(--text-secondary);
}

.page-content li { margin: 0.35rem 0; }

.breadcrumbs {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ===== TABLE ===== */
.table-wrap {
    overflow-x: auto;
    border: var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    -webkit-overflow-scrolling: touch;
}

.simple-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
}

.simple-table th, .simple-table td {
    padding: 0.9rem 1rem;
    border-bottom: var(--border);
    text-align: left;
}

.simple-table th {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--bg-alt);
}

.simple-table td {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.simple-table tr:last-child td { border-bottom: none; }

.badge {
    display: inline-block;
    padding: 0.25rem 0.55rem;
    border: 1px solid rgba(255,95,0,0.55);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--bg);
    color: var(--text-secondary);
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(39,24,17,.12);
    background: rgba(255,255,255,.6);
    transition: transform .35s ease, box-shadow .35s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-ph {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    color: var(--text-muted);
    font-family: var(--font-mono);
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.gallery-cap { padding: 1rem 1.1rem; }
.gallery-cap .t { font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.01em; }
.gallery-cap .s {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ===== APP SECTION ===== */
.android-app .section-title {
    font-size: 2.6rem;
    line-height: 1.2;
}

.android-app .about-features li {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

.android-app .feat-icon {
    font-size: 1.2rem;
}

/* ===== CONTENT CARDS ===== */
.content-card {
    border: 1px solid rgba(39,24,17,.12);
    background: rgba(255,255,255,.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 10px 28px rgba(0,0,0,.06);
}

.content-card.warn {
    border-color: rgba(255,95,0,0.35);
    background: rgba(255,246,240,0.78);
}

.content-title {
    font-weight: 800;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
}

.content-img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(39,24,17,.12);
}

/* ===== BANK GRID ===== */
.bank-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
}

.bank-line {
    margin: 6px 0;
    color: var(--text-secondary);
    font-size: 15px;
}

/* ===== OPTIONS ===== */
.option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.option {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border: var(--border);
    background: rgba(255,255,255,0.55);
    box-shadow: var(--shadow-sm);
}

.option input { margin-top: 2px; }

.option.option-single {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

/* ===== CHECK GRID ===== */
.check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
}

.check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 1rem;
    color: var(--text-secondary);
}

.check input { margin-top: 4px; }

/* ===== WIZARD ===== */
.wizard {
    width: 100%;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(39,24,17,0.16);
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-top: 10px;
}

.wizard-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 18px 12px;
    border-bottom: 1px solid rgba(39,24,17,0.10);
    background: rgba(255,246,240,0.65);
    margin-bottom: 14px;
}

.wizard-title .section-title {
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.05;
    margin: 0;
}

.wizard-title .section-sub {
    margin-top: 8px;
    opacity: .75;
    font-size: 14px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.wizard-steps {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.wizard-step {
    flex: 1;
    min-width: 120px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(39,24,17,.18);
    background: rgba(255,255,255,.55);
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.wizard-step.is-active {
    border-color: rgba(255,95,0,.55);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 3px rgba(255,95,0,.10);
}

.wizard-panel { display: none; margin-top: 18px; }
.wizard-panel.is-active { display: block; }

.wizard-form {
    background: rgba(255,246,240,.65);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 18px 48px rgba(0,0,0,.07);
}

.wizard-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding: 16px 18px 18px;
    border-top: 1px solid rgba(39,24,17,0.10);
    background: rgba(255,255,255,0.55);
    flex-wrap: wrap;
}

.wizard-actions .btn {
    border-radius: 999px;
    padding: 11px 16px;
}

.wizard-actions-right,
.wizard-right { display: flex; gap: 10px; flex-wrap: wrap; }
.wizard-left { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-accent {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,95,0,0.35);
}

.btn-accent:hover { background: rgba(255,95,0,0.14); }

.success-banner {
    padding: 12px 14px;
    border: 1px solid rgba(0,0,0,0.18);
    background: rgba(255,95,0,0.12);
}

.wizard-panel.shake { animation: shake 0.35s linear; }

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    50% { transform: translateX(6px); }
    75% { transform: translateX(-4px); }
    100% { transform: translateX(0); }
}

.wizard-footnote {
    margin-top: 14px;
    padding: 12px;
    border: 1px dashed rgba(0,0,0,0.25);
    background: rgba(255,255,255,0.35);
}

/* ===== REGISTER PAGE ===== */
.reg-page {
    padding: 48px 18px 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.reg-hero {
    text-align: center;
    padding: 26px 18px 18px;
}

.reg-hero .kicker {
    font-size: 14px;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .75;
    margin-bottom: 10px;
}

.reg-hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
}

.reg-hero p {
    margin: 12px auto 0;
    max-width: 760px;
    font-size: 18px;
    opacity: .85;
}

.reg-hero .cta-info {
    margin-top: 16px;
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .55;
}

.reg-top {
    padding: 100px 20px 60px;
    border-bottom: var(--border);
}

.reg-top-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.reg-top h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin: 16px 0 20px;
}

.reg-top p {
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto 24px;
    opacity: 0.8;
}

.reg-top-media {
    margin-top: 40px;
}

.reg-top-media img {
    max-width: 500px;
    width: 100%;
    border-radius: 14px;
}

.reg-routine {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 18px;
}

.reg-routine-card {
    width: min(980px, 100%);
    margin: 0 auto;
    background: rgba(255,246,240,.55);
    border: 1px solid rgba(39,24,17,.14);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 16px 40px rgba(0,0,0,.06);
    overflow: hidden;
}

.reg-routine-title {
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .7;
    margin-bottom: 12px;
}

.reg-routine-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(39,24,17,.10);
}

.reg-form {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.reg-form-inner {
    width: min(980px, 100%);
}

.reg-form-section {
    padding: 80px 20px 120px;
}

/* Reg split layout (old) */
.reg-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 120px);
    border-top: var(--border);
    border-bottom: var(--border);
}

.reg-left {
    background: var(--dark);
    color: #fff;
    padding: 72px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.reg-left .kicker {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.40);
}

.reg-left h1 {
    font-size: clamp(44px, 5vw, 72px);
    line-height: 0.95;
    letter-spacing: -0.02em;
}

.reg-left p {
    font-size: 17px;
    color: rgba(255,255,255,0.82);
    max-width: 44ch;
}

.reg-left .reg-left-media {
    margin-top: 14px;
    width: 300px;
    max-width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.reg-left .reg-left-media img { width: 100%; display: block; }

.reg-right {
    background: var(--bg);
    padding: 56px;
    display: flex;
    justify-content: center;
}

.reg-right-inner {
    width: min(560px, 100%);
}

/* Register page overrides */
body[data-page="register"] .reg-routine {
    width: 100%;
    padding: 0 18px;
    margin-top: 22px;
    display: block;
}

body[data-page="register"] .reg-routine-card {
    width: min(980px, 100%);
    margin: 0 auto;
}

body[data-page="register"] .reg-form-inner {
    width: 100% !important;
    max-width: 100% !important;
}

body[data-page="register"] .wizard-form {
    width: 100%;
    max-width: 100%;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 15px !important;
    border-radius: 0 !important;
    margin: 20px 0;  
}

body[data-page="register"] .form-grid {
    width: 100%;
}

/* ===== GLASS ANIMATIONS ===== */
@keyframes glassFlow {
    0%, 100% { transform: translate3d(-2%, -1%, 0) rotate(-1deg); }
    50% { transform: translate3d(2%, 1%, 0) rotate(1deg); }
}

@keyframes specSweep {
    0% { transform: translateX(-60%); opacity: 0; }
    15% { opacity: .55; }
    50% { opacity: .55; }
    85% { opacity: .45; }
    100% { transform: translateX(60%); opacity: 0; }
}

/* ===========================================================
   RESPONSIVE — LARGE DESKTOP (1280px+)
   =========================================================== */
@media (min-width: 1280px) {
    .navbar-inner { max-width: 1280px; }
    .reg-page { max-width: 1200px; }
}

/* ===========================================================
   RESPONSIVE — DESKTOP / LARGE TABLET (max-width: 1024px)
   =========================================================== */
@media (max-width: 1024px) {
    /* Programs */
    .program-grid { grid-template-columns: repeat(2, 1fr); }
    .program-card:nth-child(3n) { border-right: var(--border); }
    .program-card:nth-child(2n) { border-right: none; }

    /* Process */
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-step:nth-child(2) { border-right: none; }
    .process-step { border-bottom: var(--border); }

    /* Footer */
    .footer-top { grid-template-columns: 1fr 1fr; }

    /* Course rows */
    .course-row { grid-template-columns: 0.2fr 1fr 0.4fr; }
    .course-row-arrow { display: none; }

    /* Hero network */
    .hero-network { min-height: 60vh; }

    /* Gallery */
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .gallery-img { height: 240px; }
}

/* ===========================================================
   RESPONSIVE — NAVBAR COLLAPSE (max-width: 980px)
   =========================================================== */
@media (max-width: 980px) {
    /* Dark navbar */
    .navbar-inner { grid-template-columns: 1fr auto; }
    .navbar-links { display: none; }
    .navbar-burger { display: flex; }
    .navbar-brand { min-width: 0; }
    .navbar-actions .btn { display: none; }

    /* Nav pill version */
    .nav-pro-inner { grid-template-columns: 1fr auto; }
    .nav-pill { display: none; }
    .nav-actions .btn { display: none; }
    .nav-burger { display: block; }

    /* Hero right */
    .hero-right { align-items: flex-start; }
    .hero-network { width: 100%; max-width: 100%; }

    /* Reg split */
    .reg-split { grid-template-columns: 1fr; }
    .reg-left { padding: 56px 24px; }
    .reg-right { padding: 28px 18px 56px; }

    /* Bank grid */
    .bank-grid { grid-template-columns: 1fr; }

    /* GT Core shrink */
    .gt-core {
        width: 120px;
        height: 120px;
        font-size: 48px;
    }

    .gt-core-sub {
        font-size: 12px;
        padding: 8px 14px;
    }
}

/* ===========================================================
   RESPONSIVE — TABLET (max-width: 768px)
   =========================================================== */
@media (max-width: 768px) {
    body { font-size: 16px; }

    /* Old nav */
    nav { padding: 0.8rem 1.5rem; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-logo-sub { display: none; }
    .nav-logo-divider { display: none; }

    /* New navbar */
    .navbar { padding: 10px 14px; }
    .navbar-mark { width: 38px; height: 38px; border-radius: 12px; }
    .navbar-title { font-size: 15px; }
    .navbar-tagline { font-size: 11px; }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-left {
        border-right: none;
        border-bottom: var(--border);
        padding: 2.5rem 1.5rem;
    }
    .hero-right {
        min-height: 50vh;
    }
    .hero-title { font-size: 2.2rem; }
    .hero-desc { font-size: 0.9rem; margin-bottom: 2rem; }
    .hero-cta { flex-direction: column; gap: 0; }
    .btn-primary { width: 100%; text-align: center; }
    .btn-secondary {
        border-left: var(--border);
        border-top: none;
        width: 100%;
        text-align: center;
    }

    /* Hero network */
    .hero-network { min-height: 50vh; }
    .hero-badges {
        bottom: 1.5rem;
        left: 1.5rem;
        right: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    .hero-badge { font-size: 11px; }

    /* SVG Hero */
    .hero-gt-svg { width: 280px; }
    .hero-gt-text { font-size: 80px; }

    /* Stats bar */
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-bottom: var(--border); }
    .stat-number { font-size: 1.8rem; }
    .stat-label { font-size: 11px; }

    /* Section headers */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 2rem 1.5rem 1rem;
    }
    .section-subtitle { text-align: left; }

    /* Programs */
    .program-grid { grid-template-columns: 1fr; }
    .program-card { border-right: none !important; }
    .program-card { padding: 2rem 1.5rem; }

    /* About */
    .about { grid-template-columns: 1fr; }
    .about-left {
        border-right: none;
        border-bottom: var(--border);
        padding: 3rem 1.5rem;
    }
    .about-right { padding: 3rem 1.5rem; }
    .about-stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

    /* Course rows */
    .courses-detail .course-row {
        grid-template-columns: 1fr;
        gap: 0.3rem;
        padding: 1.2rem 1.5rem;
    }
    .course-row-num { display: none; }

    /* Process */
    .process-grid { grid-template-columns: 1fr; }
    .process-step { border-right: none !important; }

    /* Testimonials */
    .testimonial-grid { grid-template-columns: 1fr; }
    .testimonial-card {
        border-right: none !important;
        padding: 2rem 1.5rem;
    }

    /* CTA */
    .cta-section { grid-template-columns: 1fr; }
    .cta-left { padding: 3rem 1.5rem; }
    .cta-right { padding: 3rem 1.5rem; }
    .cta-title { font-size: 2rem; }

    /* Partners */
    .partners { padding: 2rem 1.5rem; }
    .partners-logos { gap: 2rem; }
    .partner-logo { font-size: 1rem; }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.2rem 1.5rem;
        text-align: center;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .gallery-img { height: 200px; }

    /* Page content */
    .page-content { padding: 2rem 1.5rem 3rem; }

    /* Forms */
    .form-grid { grid-template-columns: 1fr; }
    .form-span-2 { grid-column: auto; }
    .option-grid { grid-template-columns: 1fr; }
    .check-grid { grid-template-columns: 1fr; }

    /* Wizard */
    .wizard-steps { gap: 8px; }
    .wizard-step {
        flex: none;
        min-width: auto;
        padding: 10px 14px;
        font-size: 11px;
    }
    .wizard-form { padding: 14px; }
    .wizard-top { padding: 14px 14px 10px; }
    .wizard-actions {
        flex-direction: column;
        padding: 14px;
    }
    .wizard-actions .btn { width: 100%; text-align: center; }

    /* Register page — fix whitespace */
    .reg-page { padding: 32px 12px 60px; }
    .reg-hero h1 { font-size: clamp(28px, 6vw, 42px); }
    .reg-hero p { font-size: 16px; }
    .reg-hero { padding: 20px 12px 14px; }
    .reg-top h1 { font-size: 2.2rem; }
    .reg-top { padding: 60px 16px 40px; }
    .reg-form-section { padding: 40px 16px 60px; }
    .reg-routine { padding: 0 8px; }
    .reg-routine-card { padding: 12px; }

    body[data-page="register"] .wizard-form {
        margin: 12px 0 !important;
        padding: 0 !important;
    }

    body[data-page="register"] .reg-routine {
        padding: 0 8px;
    }

    /* Mobile nav text */
    .mobile-nav a { font-size: 1.6rem; }
    .mobile-nav-pro-links a { font-size: 15px; padding: 12px; }

    /* App section */
    .android-app .section-title { font-size: 2rem; }
    .android-app .about-features li { font-size: 1rem; }

    /* GT Core on small tablets */
    .gt-core {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }
    .gt-core-sub {
        font-size: 11px;
        padding: 8px 12px;
    }
    .reg-page {
        padding: 32px 8px 60px;
    }

    body[data-page="register"] .wizard-form {
        margin: 12px 0 !important;
    }
}

/* ===========================================================
   RESPONSIVE — SMALL TABLET / LARGE PHONE (max-width: 640px)
   =========================================================== */
@media (max-width: 640px) {
    body { font-size: 15px; }

    /* Hero */
    .hero-left { padding: 2rem 1.2rem; }
    .hero-title { font-size: 1.9rem; }
    .hero-tag { font-size: 13px; letter-spacing: 0.16em; margin-bottom: 1.5rem; }
    .hero-desc { font-size: 0.88rem; }
    .hero-right { min-height: 40vh; }
    .hero-network { min-height: 40vh; }

    /* Stats */
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .stat-item { padding: 1.5rem 1rem; }
    .stat-number { font-size: 1.5rem; }

    /* Programs */
    .program-card { padding: 1.5rem 1.2rem; }
    .program-name { font-size: 1.05rem; }

    /* About */
    .about-left { padding: 2rem 1.2rem; }
    .about-right { padding: 2rem 1.2rem; }
    .about-quote { font-size: 1.2rem; }

    /* CTA */
    .cta-left { padding: 2.5rem 1.2rem; }
    .cta-right { padding: 2.5rem 1.2rem; }

    /* Gallery */
    .gallery-grid { grid-template-columns: 1fr; gap: 14px; }
    .gallery-img { height: 220px; }

    /* Page */
    .page-content { padding: 1.5rem 1.2rem 2.5rem; }

    /* Footer */
    .footer-top { padding: 1.5rem 1.2rem; gap: 1.5rem; }
    .footer-bottom { padding: 1rem 1.2rem; }

    /* Wizard */
    .wizard { border-radius: 14px; }
    .wizard-steps {
        flex-direction: column;
        gap: 6px;
    }
    .wizard-step {
        width: 100%;
        text-align: center;
    }
    .wizard-form {
        padding: 12px;
        border-radius: 14px;
    }

    /* Register — tighter on large phones */
    .reg-page { padding: 20px 8px 50px; }
    .reg-hero { padding: 16px 8px 12px; }
    .reg-routine { padding: 0 4px; }
    .reg-routine-card { padding: 10px; border-radius: 14px; }
    .reg-left { padding: 40px 18px; }
    .reg-right { padding: 24px 14px 40px; }

    body[data-page="register"] .wizard-form {
        margin: 8px 0 !important;
        padding: 0 !important;
    }

    body[data-page="register"] .reg-routine {
        padding: 0 4px;
    }

    body[data-page="register"] .reg-routine-card {
        padding: 8px;
    }

    /* Content cards */
    .content-card { padding: 12px; border-radius: 12px; }
    .content-img { border-radius: 10px; }

    /* Mobile nav */
    .mobile-nav-pro-links { margin: 0 12px; padding: 10px; }
    .mobile-nav-pro-actions { padding: 14px 12px; }
}

/* ===========================================================
   RESPONSIVE — PHONE (max-width: 480px)
   =========================================================== */
@media (max-width: 480px) {
    body { font-size: 14.5px; }

    /* Navbar */
    .navbar { padding: 8px 12px; }
    .navbar-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 14px; }
    .navbar-title { font-size: 14px; }
    .navbar-tagline { font-size: 10px; display: none; }
    .navbar-burger { width: 38px; height: 38px; border-radius: 10px; }
    .navbar-burger span { margin: 3px 10px; width: 16px; }

    /* Hero */
    .hero-left { padding: 1.8rem 1rem; }
    .hero-title { font-size: 1.7rem; letter-spacing: -0.02em; }
    .hero-tag { font-size: 12px; gap: 0.5rem; margin-bottom: 1.2rem; }
    .hero-tag-line { width: 20px; }
    .hero-desc { font-size: 0.85rem; line-height: 1.7; margin-bottom: 1.5rem; }
    .hero-right { min-height: 35vh; }
    .hero-network { min-height: 35vh; }

    .btn-primary, .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.65rem;
    }

    /* Hero center */
    .hero-center-text .big-mark { font-size: 3.5rem; }
    .hero-center-text .tagline { font-size: 0.6rem; }

    /* GT Core */
    .gt-core {
        width: 80px;
        height: 80px;
        font-size: 32px;
        box-shadow: 10px 10px 0 rgba(255,95,0,0.14);
    }
    .gt-core-sub {
        font-size: 10px;
        padding: 6px 10px;
        letter-spacing: 0.08em;
    }

    /* SVG hero */
    .hero-gt-svg { width: 200px; }
    .hero-gt-text { font-size: 60px; }

    /* Stats */
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .stat-item { padding: 1.2rem 0.8rem; }
    .stat-number { font-size: 1.3rem; }
    .stat-label { font-size: 10px; letter-spacing: 0.15em; }

    /* Section headers */
    .section-header { padding: 1.5rem 1rem 0.8rem; }
    .section-title { font-size: 1.5rem; }
    .section-number { font-size: 0.55rem; }

    /* Programs */
    .program-card { padding: 1.2rem 1rem; }
    .program-name { font-size: 1rem; }
    .program-desc { font-size: 0.78rem; }
    .program-meta { font-size: 0.58rem; flex-direction: column; gap: 0.3rem; }

    /* About */
    .about-left { padding: 1.5rem 1rem; }
    .about-right { padding: 1.5rem 1rem; }
    .about-text { font-size: 0.9rem; }
    .about-quote { font-size: 1.1rem; }
    .about-stats-grid { gap: 0.8rem; }
    .about-stat-num { font-size: 1.3rem; }
    .about-features li { font-size: 0.7rem; padding: 0.7rem 0; }

    /* Course rows */
    .courses-detail .course-row { padding: 1rem 1rem; }
    .course-row-name { font-size: 0.95rem; }

    /* Process */
    .process-step { padding: 1.5rem 1rem; }
    .process-title { font-size: 1rem; }
    .process-desc { font-size: 0.75rem; }

    /* Testimonials */
    .testimonial-card { padding: 1.5rem 1rem; }
    .testimonial-text { font-size: 0.88rem; }

    /* CTA */
    .cta-left { padding: 2rem 1rem; }
    .cta-right { padding: 2rem 1rem; }
    .cta-title { font-size: 1.6rem; }
    .cta-desc { font-size: 0.82rem; }

    /* Forms */
    .form-input { height: 44px; font-size: 15px; padding: 0 12px; }
    .form-label { font-size: 11px; letter-spacing: 0.18em; }
    .form-submit { padding: 0.85rem; font-size: 0.65rem; }

    /* Partners */
    .partners { padding: 1.5rem 1rem; }
    .partners-logos { gap: 1.5rem; }
    .partner-logo { font-size: 0.85rem; }

    /* Footer */
    .footer-top { padding: 1.5rem 1rem; }
    .footer-brand { font-size: 1.2rem; }
    .footer-brand-desc { font-size: 0.8rem; }
    .footer-links li a { font-size: 0.72rem; }
    .footer-bottom { padding: 1rem; font-size: 0.52rem; }

    /* Gallery */
    .gallery-grid { gap: 10px; margin-top: 20px; }
    .gallery-img { height: 180px; }
    .gallery-item { border-radius: 14px; }

    /* Wizard */
    .wizard { border-radius: 12px; }
    .wizard-top { padding: 12px; }
    .wizard-form { padding: 10px; border-radius: 12px; }
    .wizard-step { padding: 8px 12px; font-size: 10px; }
    .wizard-actions { padding: 12px; }

    /* Register — eliminate whitespace on phones */
    .reg-page { padding: 12px 4px 40px; }
    .reg-hero { padding: 14px 6px 10px; }
    .reg-hero h1 { font-size: 26px; }
    .reg-hero p { font-size: 14.5px; }
    .reg-routine { padding: 0 2px; }
    .reg-routine-card { padding: 6px; border-radius: 12px; }
    .reg-top h1 { font-size: 1.8rem; }
    .reg-top p { font-size: 0.95rem; }

    body[data-page="register"] .wizard-form {
        margin: 4px 0 !important;
        padding: 0 !important;
    }

    body[data-page="register"] .reg-routine {
        padding: 0 2px;
    }

    body[data-page="register"] .reg-routine-card {
        padding: 6px;
        border-radius: 12px;
    }

    body[data-page="register"] .reg-form-inner {
        padding: 0 !important;
    }

    .wizard {
        border-radius: 10px;
        margin-top: 6px;
    }

    .wizard-top {
        padding: 10px 8px 8px;
    }

    .wizard-actions {
        padding: 10px 8px;
    }

    /* App section */
    .android-app .section-title { font-size: 1.6rem; }
    .android-app .about-features li { font-size: 0.9rem; }

    /* Content cards */
    .content-card { padding: 10px; border-radius: 10px; }

    /* Breadcrumbs */
    .breadcrumbs { font-size: 11px; letter-spacing: 0.15em; }

    /* Table */
    .simple-table { min-width: 100%; }
    .simple-table th, .simple-table td { padding: 0.7rem 0.8rem; }

    /* Page content */
    .page-content { padding: 1.2rem 1rem 2rem; }

    /* Mobile drawer */
    .mobile-nav a { font-size: 1.3rem; }
    .mobile-nav-pro { padding: 0; }
    .mobile-nav-pro-top { padding: 14px 14px 8px; }
    .mobile-nav-pro-links { margin: 0 10px; padding: 8px; border-radius: 14px; }
    .mobile-nav-pro-links a { padding: 10px; font-size: 14px; }
    .mobile-nav-pro-actions {
        flex-direction: column;
        padding: 12px 10px;
    }
    .reg-page {
        padding: 16px 4px 40px;
    }

    body[data-page="register"] .wizard-form {
        margin: 8px 0 !important;
    }
    .mobile-nav-pro-actions .btn { font-size: 14px; padding: 12px; }
}

/* ===========================================================
   RESPONSIVE — VERY SMALL PHONE (max-width: 360px)
   =========================================================== */
@media (max-width: 360px) {
    body { font-size: 14px; }

    .navbar { padding: 6px 10px; }
    .navbar-mark { width: 30px; height: 30px; font-size: 12px; }
    .navbar-title { font-size: 13px; }
    .navbar-brand { gap: 8px; }

    .hero-left { padding: 1.5rem 0.8rem; }
    .hero-title { font-size: 1.5rem; }
    .hero-desc { font-size: 0.82rem; }

    .gt-core {
        width: 65px;
        height: 65px;
        font-size: 26px;
    }

    .section-header { padding: 1.2rem 0.8rem 0.6rem; }
    .section-title { font-size: 1.3rem; }

    .program-card { padding: 1rem 0.8rem; }
    .about-left, .about-right { padding: 1.2rem 0.8rem; }
    .cta-left, .cta-right { padding: 1.5rem 0.8rem; }

    .stats-bar { grid-template-columns: 1fr; }
    .stat-item { border-right: none; }

    .form-input { height: 42px; font-size: 14px; }

    .wizard-step { font-size: 9px; padding: 7px 10px; }

    .footer-top { padding: 1.2rem 0.8rem; }

    .gallery-img { height: 160px; }

    /* Register — zero whitespace on tiny phones */
    .reg-page { padding: 8px 2px 32px; }
    .reg-hero { padding: 10px 4px 8px; }
    .reg-hero h1 { font-size: 22px; }
    .reg-routine { padding: 0; }
    .reg-routine-card { padding: 4px; border-radius: 10px; }
    .reg-top h1 { font-size: 1.5rem; }

    body[data-page="register"] .wizard-form {
        margin: 2px 0 !important;
    }

    body[data-page="register"] .reg-routine {
        padding: 0;
    }

    body[data-page="register"] .reg-routine-card {
        padding: 4px;
        border-radius: 10px;
    }

    .wizard {
        border-radius: 8px;
        margin-top: 4px;
    }

    .wizard-top {
        padding: 8px 6px 6px;
    }

    .wizard-actions {
        padding: 8px 6px;
    }
    .reg-page {
        padding: 8px 2px 32px;
    }

    body[data-page="register"] .wizard-form {
        margin: 4px 0 !important;
    }
}

/* ===========================================================
   FORM GRID — DESKTOP 2-COL
   =========================================================== */
@media (min-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px 20px;
    }
    .form-span-2 {
        grid-column: span 2;
    }
}

/* ===========================================================
   BANK GRID — DESKTOP LAYOUT
   =========================================================== */
@media (min-width: 860px) {
    .bank-grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* ===========================================================
   PRINT STYLES
   =========================================================== */
@media print {
    .navbar, .top-bar, .hamburger, .navbar-burger,
    .mobile-nav, .mobile-nav-pro, .loader { display: none !important; }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
    }

    .hero { min-height: auto; }
    .hero-right { display: none; }

    a { color: #000; text-decoration: underline; }

    .btn-primary, .btn-secondary { border: 1px solid #000; box-shadow: none; }
}

/* ===========================================================
   ACCESSIBILITY — REDUCED MOTION
   =========================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .top-bar-inner { animation: none; }
    .hero-gt-svg { animation: none; }
    .reveal { opacity: 1; transform: none; }
}

/* ===========================================================
   TOUCH DEVICE OPTIMIZATIONS
   =========================================================== */
@media (hover: none) and (pointer: coarse) {
    .program-card:hover {
        background: var(--surface);
        color: var(--text);
    }
    .program-card:hover .program-number,
    .program-card:hover .program-desc,
    .program-card:hover .program-meta {
        color: inherit;
    }
    .program-arrow { display: none; }
    .course-row:hover { background: transparent; }

    /* Bigger tap targets */
    .navlink { padding: 12px 8px; }
    .nav-links li a { padding: 0.6rem 1.4rem; }
    .wizard-step { padding: 14px 18px; }

    /* Remove hover transforms */
    .gallery-item:hover { transform: none; }
    .gallery-item:hover .gallery-img { transform: none; }
    .btn-primary:hover { transform: none; }
}

/* ===========================================================
   LANDSCAPE PHONE
   =========================================================== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: auto; }
    .hero-left { padding: 1.5rem 2rem; }
    .hero-right { min-height: 300px; }
    .hero-network { min-height: 300px; }
    .hero-title { font-size: 1.8rem; }
    .hero-desc { margin-bottom: 1rem; }

    .loader { gap: 1rem; }
    .loader-logo { font-size: 1.4rem; }
}
/* ===== UX / ACCESSIBILITY / PERFORMANCE TWEAKS ===== */
:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 3px;
}

.navbar-links,
.mobile-nav-pro-links,
.hero-cta,
.wizard-actions-right,
.wizard-right,
.wizard-left {
    min-width: 0;
}

@media (max-width: 768px) {
    .navbar-brandtext {
        min-width: 0;
    }

    .navbar-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 44vw;
    }

    .hero-badge {
        letter-spacing: 0.08em;
    }
}

@media (max-width: 480px) {
    .form-label,
    .breadcrumbs,
    .stat-label {
        letter-spacing: 0.12em;
    }

    .wizard-actions {
        gap: 8px;
    }
}


/* ===== MOBILE POLISH & OVERFLOW FIXES ===== */
html, body {
    max-width: 100%;
    overflow-x: clip;
}

.navbar,
.navbar-inner,
.mobile-nav-pro {
    width: 100%;
    max-width: 100%;
}

.navbar,
.navbar-inner {
    overflow-x: hidden;
}

.mobile-nav-pro {
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav-pro.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-brand,
.mobile-brand > div:last-child {
    min-width: 0;
}

.mobile-brand .brand-title,
.mobile-brand .brand-tagline {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 980px) {
    .navbar-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .navbar-brand {
        min-width: 0;
        max-width: calc(100vw - 88px);
    }

    .navbar-links,
    .navbar-actions {
        display: none;
    }

    .navbar-burger {
        display: flex;
        align-self: center;
        margin: 0;
    }

    .navbar-brandtext {
        min-width: 0;
    }

    .navbar-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 768px) {
    .hero-left,
    .about-left,
    .about-right,
    .cta-left,
    .cta-right,
    .section-header,
    .contact-wrap,
    .fees-wrap,
    .legal-wrap,
    .gallery-wrap {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .program-grid,
    .process-grid,
    .gallery-grid,
    .stats-bar,
    .footer-top,
    .contact-grid,
    .fees-grid {
        gap: 12px;
    }

    .program-card,
    .process-step,
    .contact-card,
    .fees-card,
    .stat-item,
    .gallery-item {
        border-radius: 14px;
    }

    .reg-page {
        padding: 24px 12px 56px;
    }

    .reg-hero {
        text-align: left;
        padding: 16px 6px 6px;
    }

    .reg-hero h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
        line-height: 1.1;
    }

    .reg-form {
        margin-top: 16px;
    }

    .wizard {
        border-radius: 20px;
        border: 1px solid rgba(39,24,17,0.12);
        box-shadow: 0 20px 40px rgba(14, 10, 7, 0.09);
    }

    .wizard-top {
        padding: 18px 14px 12px;
        margin-bottom: 8px;
        background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,246,240,0.72));
    }

    .wizard-title .section-sub {
        letter-spacing: 0.1em;
        font-size: 12px;
    }

    .wizard-step {
        min-width: 0;
        flex: 1 1 calc(50% - 8px);
        padding: 10px 12px;
        font-size: 11px;
        letter-spacing: 0.1em;
    }

    .wizard-form {
        padding: 14px;
        border-radius: 16px;
    }

    .form-grid {
        gap: 12px;
    }

    .form-group {
        padding: 12px;
        border: 1px solid rgba(39,24,17,0.1);
        border-radius: 14px;
        background: rgba(255,255,255,0.72);
    }

    .form-input {
        min-height: 44px;
        border-radius: 10px;
    }

    textarea.form-input {
        min-height: 90px;
        padding-top: 10px;
    }

    .option {
        border-radius: 12px;
        padding: 10px;
    }

    .wizard-actions {
        padding: 14px;
        gap: 10px;
    }

    .wizard-left,
    .wizard-right,
    .wizard-actions .btn {
        width: 100%;
    }

    .wizard-right {
        justify-content: stretch;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 8px 10px;
    }

    .navbar-brand {
        max-width: calc(100vw - 76px);
    }

    .navbar-title {
        font-size: 13px;
        max-width: 100%;
    }

    .reg-page {
        padding: 16px 8px 44px;
    }

    .wizard {
        border-radius: 16px;
    }

    .wizard-step {
        flex-basis: 100%;
    }

    .mobile-nav-pro-top {
        padding: 12px 12px 8px;
    }

    .mobile-nav-pro-links {
        margin: 0 8px;
    }
}

@media (max-width: 768px) {
    .table-wrap {
        width: 100%;
        overflow-x: auto;
    }

    .simple-table {
        min-width: 100%;
        table-layout: fixed;
    }

    .wizard-steps {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .wizard-step {
        width: 100%;
        flex: none;
    }
}


/* ===== HOME PAGE MOBILE REFINEMENT ===== */
@media (max-width: 768px) {
    body[data-page="home"] .hero-left {
        padding: 2rem 1.1rem 1.5rem;
        gap: 0.75rem;
    }

    body[data-page="home"] .hero-tag {
        margin-bottom: 0.9rem;
        font-size: 11px;
        letter-spacing: 0.13em;
    }

    body[data-page="home"] .hero-title {
        font-size: clamp(1.9rem, 8vw, 2.35rem);
        line-height: 1.08;
        margin-bottom: 0.6rem;
    }

    body[data-page="home"] .hero-desc {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 1.3rem;
        color: var(--text-secondary);
    }

    body[data-page="home"] .hero-cta .btn-primary {
        border-radius: 14px;
        padding: 13px 14px;
    }

    body[data-page="home"] .hero-right {
        padding: 1rem 0.75rem 1.3rem;
        min-height: auto;
    }

    body[data-page="home"] .hero-badges {
        position: static;
        margin-top: 0.8rem;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    body[data-page="home"] .hero-badge {
        width: 100%;
        min-height: 0;
        padding: 10px 12px;
        border-radius: 12px;
        text-align: center;
    }

    body[data-page="home"] .stats-bar {
        grid-template-columns: 1fr;
    }

    body[data-page="home"] .stat-item {
        padding: 14px 12px;
    }

    body[data-page="home"] .section-header {
        padding: 1.4rem 1rem 0.65rem;
    }

    body[data-page="home"] .section-title {
        line-height: 1.16;
        margin-top: 8px;
    }

    body[data-page="home"] .program-card,
    body[data-page="home"] .process-step,
    body[data-page="home"] .about-left,
    body[data-page="home"] .about-right,
    body[data-page="home"] .cta-left,
    body[data-page="home"] .cta-right,
    body[data-page="home"] .course-row {
        padding: 14px 12px;
    }

    body[data-page="home"] .course-row {
        grid-template-columns: 40px 1fr;
        gap: 8px 12px;
    }

    body[data-page="home"] .course-row-meta {
        grid-column: 2;
        margin-top: 2px;
        font-size: 12px;
    }

    body[data-page="home"] .footer-bottom {
        gap: 6px;
        line-height: 1.5;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body[data-page="home"] .hero-left {
        padding: 1.5rem 0.8rem 1.2rem;
    }

    body[data-page="home"] .hero-title {
        font-size: 1.75rem;
    }

    body[data-page="home"] .hero-desc {
        font-size: 0.9rem;
    }

    body[data-page="home"] .hero-gt-svg {
        width: 240px;
    }

    body[data-page="home"] .section-header {
        padding: 1.2rem 0.8rem 0.55rem;
    }
}
