/* ===================================================================
   Tnawrna Education — Modern Homepage (Knowledge × Growth)
   Brand palette:
     Indigo (Knowledge):  #6366f1  / #4f46e5 dark / #818cf8 light
     Purple (Wisdom):     #8b5cf6  / #7c3aed dark / #c4b5fd light
     Amber (Sunlight):    #f59e0b  / #d97706 dark
     Pink (Inspiration):  #ec4899  / #be185d dark
     Cyan (Tech):         #06b6d4  / #0891b2 dark
   =================================================================== */

:root {
    --tne-primary: #6366f1;
    --tne-primary-dark: #4f46e5;
    --tne-primary-light: #818cf8;
    --tne-secondary: #8b5cf6;
    --tne-secondary-dark: #7c3aed;
    --tne-secondary-light: #c4b5fd;
    --tne-accent: #f59e0b;
    --tne-accent-dark: #d97706;
    --tne-pink: #ec4899;
    --tne-pink-dark: #be185d;
    --tne-cyan: #06b6d4;
    --tne-cyan-dark: #0891b2;
    --tne-success: #10b981;
    --tne-danger: #ef4444;

    --tne-dark: #1e1b4b;
    --tne-darker: #0a0814;
    --tne-text: #1e293b;
    --tne-text-muted: #64748b;
    --tne-border: #e2e8f0;
    --tne-bg-soft: #f5f3ff;
    --tne-bg-mint: #eef2ff;

    --tne-r-sm: 10px;
    --tne-r: 16px;
    --tne-r-lg: 22px;
    --tne-r-xl: 32px;
    --tne-r-pill: 999px;

    --tne-shadow: 0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -2px rgba(0,0,0,.06);
    --tne-shadow-lg: 0 20px 40px -8px rgba(0,0,0,.15), 0 8px 16px -8px rgba(0,0,0,.08);
    --tne-shadow-violet: 0 12px 28px -6px rgba(99,102,241,.42);
    --tne-trans: cubic-bezier(.4, 0, .2, 1);
}

/* ===================================================================
   RESET (scoped to .tne-page)
   =================================================================== */
.tne-page,
.tne-page *,
.tne-page *::before,
.tne-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.tne-page {
    font-family: 'Plus Jakarta Sans', 'Tajawal', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-feature-settings: "cv02","cv03","cv04","cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--tne-text);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}
[dir="rtl"] .tne-page { font-family: 'Tajawal', 'Plus Jakarta Sans', system-ui, sans-serif; }

.tne-page img { max-width: 100%; display: block; height: auto; }
.tne-page a { text-decoration: none; color: inherit; }
.tne-page button { font-family: inherit; cursor: pointer; }
.tne-page ul { list-style: none; }

.tne-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ===================================================================
   BUTTONS
   =================================================================== */
.tne-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--tne-r-pill);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all .25s var(--tne-trans);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    line-height: 1;
}
.tne-btn--primary {
    background: linear-gradient(135deg, var(--tne-primary) 0%, var(--tne-secondary) 100%);
    color: #fff;
    box-shadow: var(--tne-shadow-violet);
}
.tne-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -6px rgba(79,70,229,.55);
    color: #fff;
}
.tne-btn--ghost {
    background: rgba(255,255,255,.12);
    color: #fff;
    border-color: rgba(255,255,255,.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.tne-btn--ghost:hover {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.5);
    color: #fff;
}
.tne-btn--white {
    background: #fff;
    color: var(--tne-primary-dark);
}
.tne-btn--white:hover {
    transform: translateY(-2px);
    box-shadow: var(--tne-shadow-lg);
    color: var(--tne-primary-dark);
}
.tne-btn--lg { padding: 16px 32px; font-size: 16px; }

/* ===================================================================
   HEADER (Desktop)
   =================================================================== */
.tne-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(99,102,241,.10);
    transition: box-shadow .3s, background .3s;
}
.tne-header.is-scrolled {
    background: rgba(255,255,255,.96);
    box-shadow: 0 4px 18px -4px rgba(15,23,42,.10);
}
.tne-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
}
.tne-header__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 22px;
    color: var(--tne-text);
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: transform .2s;
    flex-shrink: 0;
}
.tne-header__logo:hover { transform: scale(1.02); color: var(--tne-text); }
.tne-header__logo .logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--tne-primary) 0%, var(--tne-secondary) 50%, var(--tne-pink) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: var(--tne-shadow-violet);
}
.tne-header__logo b { background: linear-gradient(135deg, var(--tne-primary-dark), var(--tne-secondary-dark)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.tne-header__nav { display: flex; gap: 6px; flex: 1; justify-content: center; }
.tne-header__nav a {
    padding: 10px 16px;
    border-radius: var(--tne-r-pill);
    color: var(--tne-text);
    font-weight: 600;
    font-size: 14.5px;
    transition: all .2s var(--tne-trans);
    position: relative;
}
.tne-header__nav a:hover { background: var(--tne-bg-mint); color: var(--tne-primary-dark); }
.tne-header__nav a.is-active { background: var(--tne-bg-mint); color: var(--tne-primary-dark); }

.tne-header__actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.tne-header__icon-btn {
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: var(--tne-bg-mint);
    color: var(--tne-primary-dark);
    border: none;
    transition: all .2s var(--tne-trans);
    text-decoration: none;
    position: relative;
}
.tne-header__icon-btn:hover { background: #ddd6fe; color: var(--tne-primary-dark); transform: translateY(-1px); }
.tne-header__icon-btn:active { transform: scale(.94); }
.tne-header__icon-btn svg { width: 18px; height: 18px; }
.tne-header__badge {
    position: absolute; top: -4px; inset-inline-end: -4px;
    background: linear-gradient(135deg, var(--tne-danger), #dc2626);
    color: #fff; font-size: 10px; font-weight: 800;
    min-width: 18px; height: 18px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px; border: 2px solid #fff;
    animation: tne-bounce 1.6s ease-in-out infinite;
}

@media (max-width: 991px) {
    .tne-header { display: none; }
}

/* ===================================================================
   MOBILE HEADER (sticky, glass)
   =================================================================== */
.tne-mobile-header {
    display: none;
    position: sticky; top: 0; z-index: 999;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(99,102,241,.12);
    box-shadow: 0 2px 14px -4px rgba(15,23,42,.10);
}
@media (max-width: 991px) {
    .tne-mobile-header { display: block; }
}
.tne-mh__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 8px 12px;
    min-height: 60px;
}
.tne-mh__logo {
    flex: 1; min-width: 0;
    display: flex; align-items: center; gap: 8px;
    text-decoration: none;
    color: var(--tne-text);
    font-weight: 900; font-size: 17px;
    letter-spacing: -0.02em;
}
.tne-mh__logo .logo-mark {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--tne-primary) 0%, var(--tne-secondary) 50%, var(--tne-pink) 100%);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 18px;
    box-shadow: 0 6px 14px -4px rgba(99,102,241,.4);
}
.tne-mh__logo b { background: linear-gradient(135deg, var(--tne-primary-dark), var(--tne-secondary-dark)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.tne-mh__right { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.tne-mh__icon-btn {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: var(--tne-bg-mint);
    color: var(--tne-primary-dark);
    border: 1px solid rgba(99,102,241,.12);
    transition: all .25s var(--tne-trans);
    text-decoration: none;
    position: relative;
    flex-shrink: 0;
}
.tne-mh__icon-btn:hover { background: #ddd6fe; }
.tne-mh__icon-btn:active {
    transform: scale(.92);
    background: linear-gradient(135deg, var(--tne-primary), var(--tne-secondary));
    color: #fff;
    border-color: transparent;
}
.tne-mh__icon-btn svg { width: 18px; height: 18px; }
.tne-mh__badge {
    position: absolute; top: -4px; inset-inline-end: -4px;
    background: linear-gradient(135deg, var(--tne-danger), #dc2626);
    color: #fff; font-size: 9px; font-weight: 800;
    min-width: 16px; height: 16px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px; border: 2px solid #fff;
    animation: tne-bounce 1.6s ease-in-out infinite;
}

/* Collapsible search */
.tne-mh__search {
    max-height: 0; overflow: hidden;
    transition: max-height .35s var(--tne-trans);
    background: linear-gradient(135deg, var(--tne-bg-mint), var(--tne-bg-soft));
    border-top: 1px solid rgba(99,102,241,.10);
}
.tne-mh__search.is-open { max-height: 200px; }
.tne-mh__search form { padding: 12px 14px; margin: 0; }
.tne-mh__search-wrap {
    display: flex; align-items: center;
    background: #fff;
    border-radius: var(--tne-r-pill);
    padding: 4px 4px 4px 14px;
    box-shadow: 0 4px 14px -4px rgba(15,23,42,.10);
    border: 2px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
[dir="rtl"] .tne-mh__search-wrap { padding: 4px 14px 4px 4px; }
.tne-mh__search-wrap:focus-within {
    border-color: var(--tne-primary);
    box-shadow: 0 0 0 4px rgba(99,102,241,.12);
}
.tne-mh__search-wrap svg { color: var(--tne-primary-dark); flex-shrink: 0; margin-inline-end: 8px; }
.tne-mh__search-wrap input {
    flex: 1; min-width: 0;
    border: 0; outline: none; background: transparent;
    padding: 8px 0; font-size: 14px;
    color: var(--tne-text);
    font-family: inherit;
}
.tne-mh__search-wrap input::placeholder { color: #94a3b8; }
.tne-mh__search-wrap button {
    background: linear-gradient(135deg, var(--tne-primary), var(--tne-secondary));
    color: #fff; border: 0;
    border-radius: var(--tne-r-pill);
    padding: 9px 18px;
    font-weight: 700; font-size: 13px;
    flex-shrink: 0; transition: transform .2s;
}
.tne-mh__search-wrap button:active { transform: scale(.95); }

/* ===================================================================
   HERO (Slider)
   =================================================================== */
.tne-hero {
    position: relative;
    overflow: hidden;
}
.tne-hero__slider { width: 100%; }
.tne-hero__slide {
    position: relative;
    min-height: 600px;
    display: flex !important;
    align-items: center;
    overflow: hidden;
    color: #fff;
}
.tne-hero__slide--1 {
    background:
        radial-gradient(circle at 0% 50%, rgba(99,102,241,.40) 0%, transparent 55%),
        radial-gradient(circle at 100% 50%, rgba(236,72,153,.30) 0%, transparent 55%),
        linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
}
.tne-hero__slide--2 {
    background:
        radial-gradient(circle at 30% 30%, rgba(245,158,11,.30) 0%, transparent 55%),
        linear-gradient(135deg, #4338ca 0%, #7c3aed 50%, #c026d3 100%);
}
.tne-hero__slide--3 {
    background:
        radial-gradient(circle at 70% 30%, rgba(6,182,212,.35) 0%, transparent 55%),
        linear-gradient(135deg, #0f766e 0%, #1e40af 50%, #4f46e5 100%);
}

.tne-hero__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 70px 20px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}
.tne-hero__content { max-width: 600px; }
.tne-hero__eyebrow {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255,255,255,.14);
    color: #fff;
    border-radius: var(--tne-r-pill);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.30);
    animation: tne-fade-up .8s ease both;
}
.tne-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 20px;
    letter-spacing: -.025em;
    animation: tne-fade-up 1s ease both .15s;
    color: #fff;
}
.tne-hero__title-accent {
    background: linear-gradient(135deg, #fde68a 0%, #fca5a5 50%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.tne-hero__subtitle {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.65;
    opacity: .92;
    margin: 0 0 32px;
    animation: tne-fade-up 1s ease both .25s;
}
.tne-hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    animation: tne-fade-up 1s ease both .35s;
}
.tne-hero__stats {
    display: flex; gap: 36px;
    animation: tne-fade-up 1s ease both .45s;
}
.tne-hero-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fde68a 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.tne-hero-stat span {
    font-size: 13px;
    opacity: .80;
    margin-top: 6px;
    display: block;
}

/* Hero visual area */
.tne-hero__visual {
    position: relative;
    width: 100%;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: tne-fade-in 1.2s ease both .4s;
}

/* Glow orb */
.tne-hero__orb {
    position: absolute;
    width: 440px; height: 440px;
    background: radial-gradient(circle,
        rgba(196,181,253,.40) 0%,
        rgba(129,140,248,.28) 50%,
        transparent 75%);
    border-radius: 50%;
    animation: tne-pulse 5s ease-in-out infinite;
    z-index: 1;
}

/* Slide-1 visual: Book stack */
.tne-hero__books {
    position: relative;
    z-index: 2;
    width: 280px;
    height: 380px;
}
.tne-book {
    position: absolute;
    width: 220px;
    height: 60px;
    border-radius: 4px 12px 12px 4px;
    box-shadow: 0 12px 28px -6px rgba(0,0,0,.35);
    display: flex;
    align-items: center;
    padding: 0 16px 0 28px;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .5px;
    animation: tne-float 5s ease-in-out infinite;
    transform-origin: center;
}
.tne-book::before {
    content: '';
    position: absolute;
    inset-inline-start: 0; top: 0; bottom: 0;
    width: 12px;
    background: rgba(0,0,0,.25);
    border-radius: 4px 0 0 4px;
}
.tne-book--1 { top: 0;   inset-inline-start: 30px; background: linear-gradient(135deg, #ec4899, #be185d); animation-delay: 0s; transform: rotate(-6deg); }
.tne-book--2 { top: 80px; inset-inline-start: 0;   background: linear-gradient(135deg, #f59e0b, #d97706); animation-delay: 1s; transform: rotate(2deg); }
.tne-book--3 { top: 160px; inset-inline-start: 50px; background: linear-gradient(135deg, #06b6d4, #0891b2); animation-delay: 2s; transform: rotate(-4deg); }
.tne-book--4 { top: 240px; inset-inline-start: 10px; background: linear-gradient(135deg, #8b5cf6, #6d28d9); animation-delay: 1.5s; transform: rotate(3deg); }
.tne-book__cap {
    margin-inline-start: auto;
    font-size: 22px;
}

/* Slide-2 visual: Live session mock */
.tne-live-mock {
    position: relative; z-index: 2;
    width: 320px; height: 380px;
    display: flex; align-items: center; justify-content: center;
}
.tne-live-screen {
    position: relative;
    width: 100%; height: 240px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 18px;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.08);
    overflow: hidden;
    padding: 12px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
}
.tne-live-main {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 60px;
    position: relative;
    overflow: hidden;
}
.tne-live-main::after {
    content: 'LIVE';
    position: absolute; top: 8px; inset-inline-start: 8px;
    background: #ef4444; color: #fff;
    font-size: 9px; font-weight: 800;
    padding: 2px 7px; border-radius: 4px;
    animation: tne-pulse-dot 1.5s ease-in-out infinite;
}
.tne-live-side { display: flex; flex-direction: column; gap: 6px; }
.tne-live-tile {
    flex: 1;
    background: linear-gradient(135deg, #ec4899, #f59e0b);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.tne-live-tile:nth-child(2) { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.tne-live-tile:nth-child(3) { background: linear-gradient(135deg, #10b981, #14b8a6); }

.tne-live-bar {
    position: absolute;
    bottom: -14px; left: 50%; transform: translateX(-50%);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(14px);
    border-radius: 999px;
    padding: 8px 14px;
    display: flex; gap: 6px; align-items: center;
    color: var(--tne-text);
    box-shadow: 0 12px 24px -6px rgba(0,0,0,.30);
    font-size: 12px; font-weight: 700;
}
.tne-live-bar::before {
    content: '';
    width: 8px; height: 8px;
    background: #ef4444; border-radius: 50%;
    animation: tne-pulse-dot 1.5s ease-in-out infinite;
}

/* Slide-3 visual: Certificate */
.tne-cert {
    position: relative; z-index: 2;
    width: 320px; height: 380px;
    display: flex; align-items: center; justify-content: center;
}
.tne-cert__card {
    width: 280px; height: 200px;
    background: linear-gradient(135deg, #fef3c7 0%, #fff 100%);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,.40);
    position: relative;
    transform: rotate(-4deg);
    animation: tne-float 6s ease-in-out infinite;
    border: 4px solid #fff;
}
.tne-cert__seal {
    position: absolute;
    bottom: -16px; inset-inline-end: -16px;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tne-accent), var(--tne-accent-dark));
    display: flex; align-items: center; justify-content: center;
    font-size: 36px;
    box-shadow: 0 14px 28px -6px rgba(245,158,11,.55);
    animation: tne-spin-slow 18s linear infinite;
}
.tne-cert__title { font-size: 12px; color: var(--tne-text-muted); letter-spacing: 2px; text-transform: uppercase; }
.tne-cert__name {
    font-size: 22px; font-weight: 800;
    background: linear-gradient(135deg, var(--tne-primary-dark), var(--tne-secondary-dark));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    margin: 8px 0;
    border-bottom: 2px solid var(--tne-border);
    padding-bottom: 8px;
}
.tne-cert__body { font-size: 11px; color: var(--tne-text); line-height: 1.5; }
.tne-cert__sign { margin-top: 12px; font-size: 10px; color: var(--tne-text-muted); }

/* Floating chips around hero visual */
.tne-hero__chip {
    position: absolute;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--tne-r-pill);
    font-weight: 700;
    font-size: 13px;
    z-index: 3;
    animation: tne-float 5s ease-in-out infinite;
    white-space: nowrap;
    box-shadow: 0 8px 20px -4px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.15);
    display: inline-flex; align-items: center; gap: 6px;
}
.tne-hero__chip--1 { top: 5%;   inset-inline-start: -2%; animation-delay: 0s; }
.tne-hero__chip--2 { top: 12%;  inset-inline-end: -8%;   animation-delay: 1s; }
.tne-hero__chip--3 { bottom: 32%; inset-inline-start: -4%; animation-delay: 2s; }
.tne-hero__chip--4 { bottom: 6%;  inset-inline-end: -12%; animation-delay: 1.5s; }

/* Decorative shapes */
.tne-hero__bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.tne-shape { position: absolute; opacity: .10; animation: tne-drift 20s ease-in-out infinite; }
.tne-shape--circle {
    width: 200px; height: 200px;
    border-radius: 50%;
    background: var(--tne-secondary-light);
    top: -30px; inset-inline-end: 8%;
}
.tne-shape--circle-2 {
    width: 160px; height: 160px;
    border-radius: 50%;
    background: var(--tne-pink);
    bottom: 15%; inset-inline-start: 5%;
    animation-delay: 5s;
}
.tne-shape--blob {
    width: 100px; height: 130px;
    background: var(--tne-accent);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    top: 50%; inset-inline-end: 5%;
    transform: rotate(-15deg);
    animation-delay: 10s;
}

/* Pagination & nav (Swiper) */
.tne-hero__pagination { bottom: 24px !important; z-index: 5; }
.tne-hero__pagination .swiper-pagination-bullet {
    width: 30px; height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .35);
    opacity: 1;
    transition: all .3s;
    margin: 0 4px !important;
}
.tne-hero__pagination .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #fde68a, #c4b5fd);
    width: 50px;
}
.tne-hero__nav {
    width: 50px !important; height: 50px !important;
    background: rgba(255, 255, 255, .15) !important;
    backdrop-filter: blur(10px);
    border-radius: 50% !important;
    color: #fff !important;
    transition: all .3s !important;
}
.tne-hero__nav:hover { background: rgba(255, 255, 255, .25) !important; }
.tne-hero__nav::after { font-size: 18px !important; font-weight: 900 !important; }

/* ===================================================================
   TRUST BAR
   =================================================================== */
.tne-trust {
    background: #fff;
    padding: 36px 0;
    border-bottom: 1px solid var(--tne-border);
}
.tne-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.tne-trust__item {
    display: flex; align-items: center; gap: 16px;
    padding: 12px;
    border-radius: var(--tne-r-sm);
    transition: background .25s;
}
.tne-trust__item:hover { background: var(--tne-bg-soft); }
.tne-trust__icon {
    font-size: 1.6rem;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--tne-bg-mint), var(--tne-bg-soft));
    border-radius: 14px;
    flex-shrink: 0;
}
.tne-trust__item > div { min-width: 0; flex: 1; }
.tne-trust__item strong {
    display: block; font-weight: 800; color: var(--tne-text);
    font-size: 15px; margin-bottom: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tne-trust__item span { font-size: 13px; color: var(--tne-text-muted); }

/* ===================================================================
   SECTION COMMONS
   =================================================================== */
.tne-section { padding: 70px 0; background: #fff; }
.tne-section + .tne-section { background: var(--tne-bg-soft); }
.tne-section--alt { background: var(--tne-bg-soft); }
.tne-section__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}
.tne-section__head--center {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
    margin-inline: auto;
    margin-bottom: 50px;
}
.tne-section__eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99, 102, 241, .10);
    color: var(--tne-primary-dark);
    border-radius: var(--tne-r-pill);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.tne-section__eyebrow--hot {
    background: linear-gradient(135deg, var(--tne-danger), var(--tne-accent));
    color: #fff;
}
.tne-section__eyebrow--purple { background: rgba(139,92,246,.12); color: var(--tne-secondary-dark); }
.tne-section__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--tne-text);
    margin: 0;
    letter-spacing: -.02em;
    line-height: 1.2;
}
.tne-section__title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--tne-primary), var(--tne-secondary));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.tne-section__sub {
    font-size: 1rem;
    color: var(--tne-text-muted);
    margin: 12px 0 0;
    line-height: 1.65;
}
.tne-section__link {
    color: var(--tne-primary-dark);
    font-weight: 700;
    text-decoration: none;
    transition: gap .25s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14.5px;
}
.tne-section__link:hover { gap: 12px; color: var(--tne-secondary-dark); }

/* ===================================================================
   CATEGORIES
   =================================================================== */
.tne-cats__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
}
.tne-cat {
    background: #fff;
    border-radius: var(--tne-r);
    padding: 22px 14px;
    text-align: center;
    text-decoration: none;
    color: var(--tne-text);
    transition: all .35s var(--tne-trans);
    border: 2px solid var(--tne-border);
    position: relative;
    overflow: hidden;
    animation: tne-fade-up .8s ease both;
    animation-delay: calc(var(--i, 0) * 50ms);
    display: block;
}
.tne-cat::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--tne-primary) 0%, var(--tne-secondary) 100%);
    opacity: 0;
    transition: opacity .35s;
    z-index: 0;
}
.tne-cat > * { position: relative; z-index: 1; }
.tne-cat:hover {
    transform: translateY(-6px);
    border-color: var(--tne-primary);
    box-shadow: var(--tne-shadow-lg);
    color: #fff;
}
.tne-cat:hover::before { opacity: 1; }
.tne-cat__icon {
    width: 64px; height: 64px;
    margin: 0 auto 12px;
    background: var(--tne-bg-mint);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    transition: background .35s, transform .35s;
    overflow: hidden;
    font-size: 1.8rem;
}
.tne-cat:hover .tne-cat__icon {
    background: rgba(255,255,255,.20);
    transform: scale(1.1) rotate(-5deg);
}
.tne-cat__name {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.3;
}
.tne-cat__count {
    font-size: 11.5px;
    opacity: .75;
}

/* ===================================================================
   COURSES
   =================================================================== */
.tne-courses__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.tne-course {
    background: #fff;
    border-radius: var(--tne-r);
    overflow: hidden;
    text-decoration: none;
    color: var(--tne-text);
    border: 1px solid var(--tne-border);
    transition: all .3s var(--tne-trans);
    position: relative;
    display: flex; flex-direction: column;
    animation: tne-fade-up .7s ease both;
    animation-delay: var(--delay, 0ms);
}
.tne-course:hover {
    transform: translateY(-6px);
    box-shadow: var(--tne-shadow-lg);
    border-color: var(--tne-primary);
    color: var(--tne-text);
}
.tne-course__img {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--tne-bg-mint), var(--tne-bg-soft));
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    position: relative;
}
.tne-course__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.tne-course:hover .tne-course__img img { transform: scale(1.06); }
.tne-course__placeholder { font-size: 60px; color: var(--tne-primary-light); }

.tne-course__badge {
    position: absolute; top: 12px;
    inset-inline-start: 12px;
    padding: 4px 12px;
    border-radius: var(--tne-r-pill);
    font-size: 11.5px; font-weight: 800;
    z-index: 2;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.20);
    display: inline-flex; align-items: center; gap: 4px;
}
.tne-course__badge--popular { background: linear-gradient(135deg, var(--tne-accent), var(--tne-accent-dark)); }
.tne-course__badge--live { background: linear-gradient(135deg, var(--tne-danger), #dc2626); }
.tne-course__badge--hybrid { background: linear-gradient(135deg, var(--tne-cyan), var(--tne-secondary)); }
.tne-course__badge--new { background: linear-gradient(135deg, var(--tne-success), #059669); }

.tne-course__wishlist {
    position: absolute; top: 12px;
    inset-inline-end: 12px;
    width: 36px; height: 36px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .25s var(--tne-trans);
    color: #94a3b8;
    z-index: 3;
}
.tne-course__wishlist svg { width: 16px; height: 16px; }
.tne-course__wishlist:hover { background: #fff; color: var(--tne-danger); transform: scale(1.1); }
.tne-course__wishlist.is-active { background: #fff; color: var(--tne-danger); fill: var(--tne-danger); }
.tne-course__wishlist.is-active svg { fill: var(--tne-danger); }

.tne-course__body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.tne-course__cat {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--tne-primary-dark);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
}
.tne-course__name {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--tne-text);
    margin: 0 0 10px;
    line-height: 1.4;
    letter-spacing: -.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}
.tne-course__meta {
    display: flex; gap: 12px;
    font-size: 12px; color: var(--tne-text-muted);
    font-weight: 600;
    margin-bottom: 10px;
}
.tne-course__meta span { display: inline-flex; align-items: center; gap: 4px; }
.tne-course__rating {
    display: flex; align-items: center; gap: 6px;
    font-size: 12.5px; color: var(--tne-text-muted);
    margin-bottom: 12px;
}
.tne-course__rating .stars { color: var(--tne-accent); letter-spacing: 1px; }
.tne-course__foot {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--tne-border);
}
.tne-course__price {
    font-size: 1.15rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--tne-primary-dark), var(--tne-secondary-dark));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.tne-course__cart {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--tne-primary), var(--tne-secondary));
    color: #fff; border: none;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all .25s var(--tne-trans);
    box-shadow: 0 6px 14px -4px rgba(99,102,241,.45);
}
.tne-course__cart:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -4px rgba(79,70,229,.55); }
.tne-course__cart:active { transform: scale(.94); }
.tne-course__cart svg { width: 16px; height: 16px; }

/* ===================================================================
   TYPES STRIP (Live / Recorded / Hybrid)
   =================================================================== */
.tne-types {
    padding: 70px 0;
    background: #fff;
}
.tne-types__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.tne-type {
    position: relative;
    padding: 36px 30px;
    border-radius: var(--tne-r-lg);
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    transition: transform .35s var(--tne-trans), box-shadow .35s;
    isolation: isolate;
    min-height: 240px;
    display: flex; flex-direction: column; justify-content: space-between;
}
.tne-type::before {
    content: '';
    position: absolute; inset: 0;
    z-index: -1;
    background-size: 200% 200%;
    animation: tne-gradient-shift 8s ease infinite;
}
.tne-type--rec::before { background: linear-gradient(135deg, #3b82f6, #06b6d4, #2563eb); }
.tne-type--live::before { background: linear-gradient(135deg, #ef4444, #f59e0b, #dc2626); }
.tne-type--hyb::before { background: linear-gradient(135deg, #06b6d4, #6366f1, #8b5cf6); }
.tne-type:hover { transform: translateY(-8px); color: #fff; box-shadow: 0 30px 60px -16px rgba(0,0,0,.30); }
.tne-type__icon { font-size: 50px; line-height: 1; margin-bottom: 16px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.20)); }
.tne-type__title {
    font-size: 24px; font-weight: 800;
    margin: 0 0 8px; letter-spacing: -.02em;
    color: #fff;
}
.tne-type__text {
    font-size: 14.5px;
    opacity: .92;
    margin: 0 0 20px;
    line-height: 1.55;
}
.tne-type__cta {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 700;
    font-size: 14px;
    opacity: .95;
}
.tne-type:hover .tne-type__cta { gap: 12px; }

/* ===================================================================
   INSTRUCTORS
   =================================================================== */
.tne-instructors__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.tne-instructor {
    background: #fff;
    border-radius: var(--tne-r);
    overflow: hidden;
    text-decoration: none;
    color: var(--tne-text);
    border: 1px solid var(--tne-border);
    transition: all .3s var(--tne-trans);
    animation: tne-fade-up .7s ease both;
    animation-delay: var(--delay, 0ms);
    position: relative;
}
.tne-instructor:hover {
    transform: translateY(-6px);
    box-shadow: var(--tne-shadow-lg);
    border-color: var(--tne-primary);
    color: var(--tne-text);
}
.tne-instructor__img {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--tne-bg-mint), var(--tne-bg-soft));
    overflow: hidden;
    position: relative;
}
.tne-instructor__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.tne-instructor:hover .tne-instructor__img img { transform: scale(1.07); }
.tne-instructor__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15,23,42,.85) 100%);
    display: flex; align-items: flex-end;
    padding: 14px;
    opacity: 0;
    transition: opacity .3s;
    color: #fff;
    font-size: 12.5px; font-weight: 700;
}
.tne-instructor:hover .tne-instructor__overlay { opacity: 1; }

.tne-instructor__body { padding: 16px; text-align: center; }
.tne-instructor__name {
    font-size: 15px; font-weight: 800;
    margin: 0 0 4px; letter-spacing: -.01em;
}
.tne-instructor__role {
    font-size: 12px;
    color: var(--tne-text-muted);
    margin: 0 0 10px;
}
.tne-instructor__stats {
    display: inline-flex; gap: 10px;
    font-size: 11.5px;
    color: var(--tne-text-muted);
    font-weight: 600;
}
.tne-instructor__stats .star { color: var(--tne-accent); }

/* ===================================================================
   MISSION (Why Tnawrna)
   =================================================================== */
.tne-mission {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--tne-bg-mint) 0%, var(--tne-bg-soft) 100%);
    position: relative;
    overflow: hidden;
}
.tne-mission::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(196,181,253,.30), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(252,165,165,.20), transparent 40%);
    pointer-events: none;
}
.tne-mission__inner {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}
.tne-mission__visual {
    text-align: center;
    animation: tne-fade-in 1s ease both;
}
.tne-mission__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 380px;
    margin: 0 auto;
}
.tne-mission__card {
    background: #fff;
    border-radius: var(--tne-r);
    padding: 20px 16px;
    text-align: center;
    box-shadow: var(--tne-shadow);
    transition: transform .35s var(--tne-trans);
    animation: tne-float 5s ease-in-out infinite;
}
.tne-mission__card:nth-child(1) { animation-delay: 0s; }
.tne-mission__card:nth-child(2) { animation-delay: 1s; }
.tne-mission__card:nth-child(3) { animation-delay: 2s; }
.tne-mission__card:nth-child(4) { animation-delay: 1.5s; }
.tne-mission__card:hover { transform: translateY(-6px); }
.tne-mission__card-icon {
    width: 56px; height: 56px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, var(--tne-primary), var(--tne-secondary));
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    color: #fff;
    box-shadow: var(--tne-shadow-violet);
}
.tne-mission__card strong { display: block; font-weight: 800; font-size: 14px; margin-bottom: 4px; }
.tne-mission__card span { font-size: 11.5px; color: var(--tne-text-muted); }

.tne-mission__content { animation: tne-fade-up 1s ease both .2s; }
.tne-mission__text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--tne-text);
    margin: 16px 0 24px;
}
.tne-mission__pills { display: flex; gap: 10px; flex-wrap: wrap; }
.tne-mission__pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px;
    border-radius: var(--tne-r-pill);
    font-weight: 700; font-size: 14px;
    border: 1px solid;
}
.tne-mission__pill--violet { background: rgba(99,102,241,.10); color: var(--tne-primary-dark); border-color: rgba(99,102,241,.30); }
.tne-mission__pill--purple { background: rgba(139,92,246,.10); color: var(--tne-secondary-dark); border-color: rgba(139,92,246,.30); }
.tne-mission__pill--amber { background: rgba(245,158,11,.10); color: var(--tne-accent-dark); border-color: rgba(245,158,11,.30); }

/* ===================================================================
   TESTIMONIALS
   =================================================================== */
.tne-testimonials {
    padding: 70px 0;
    background: #fff;
}
.tne-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.tne-testimonial {
    background: #fff;
    border-radius: var(--tne-r-lg);
    padding: 28px 26px;
    border: 1px solid var(--tne-border);
    position: relative;
    transition: all .3s var(--tne-trans);
    overflow: hidden;
}
.tne-testimonial::before {
    content: '"';
    position: absolute;
    top: 12px; inset-inline-end: 18px;
    font-size: 80px; font-weight: 800;
    color: var(--tne-primary);
    opacity: .12;
    line-height: 1;
    font-family: Georgia, serif;
}
.tne-testimonial:hover {
    transform: translateY(-6px);
    box-shadow: var(--tne-shadow-lg);
    border-color: var(--tne-primary);
}
.tne-testimonial__stars { color: var(--tne-accent); letter-spacing: 1.5px; margin-bottom: 12px; font-size: 14px; }
.tne-testimonial__text {
    font-size: 14.5px; line-height: 1.75;
    color: var(--tne-text);
    margin: 0 0 20px;
    font-style: italic;
}
.tne-testimonial__foot { display: flex; align-items: center; gap: 12px; }
.tne-testimonial__avatar {
    width: 46px; height: 46px;
    border-radius: 50%; overflow: hidden;
    background: linear-gradient(135deg, var(--tne-bg-mint), var(--tne-bg-soft));
    flex-shrink: 0;
}
.tne-testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.tne-testimonial__name { font-size: 14px; font-weight: 800; margin: 0 0 2px; }
.tne-testimonial__role { font-size: 12px; color: var(--tne-text-muted); margin: 0; }

/* ===================================================================
   BANNER (Become Instructor)
   =================================================================== */
.tne-banner {
    padding: 0;
    background: var(--tne-bg-soft);
}
.tne-banner__inner {
    background: linear-gradient(135deg, var(--tne-primary) 0%, var(--tne-secondary) 50%, var(--tne-pink) 100%);
    background-size: 200% 200%;
    animation: tne-gradient-shift 10s ease infinite;
    border-radius: 28px;
    padding: 60px;
    color: #fff;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 40px;
    margin: 70px auto;
    max-width: 1240px;
    position: relative;
    overflow: hidden;
}
.tne-banner__shape { position: absolute; border-radius: 50%; background: rgba(255,255,255,.10); }
.tne-banner__shape--1 { width: 320px; height: 320px; top: -100px; inset-inline-end: -50px; animation: tne-pulse 5s ease-in-out infinite; }
.tne-banner__shape--2 { width: 200px; height: 200px; bottom: -50px; inset-inline-start: 15%; animation: tne-pulse 5s ease-in-out infinite reverse; }
.tne-banner__content { position: relative; z-index: 2; }
.tne-banner__tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,.20);
    border-radius: var(--tne-r-pill);
    font-weight: 700; font-size: 13px;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}
.tne-banner__title { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 800; margin: 0 0 12px; line-height: 1.2; color: #fff; }
.tne-banner__text { font-size: 1rem; opacity: .92; margin: 0 0 28px; line-height: 1.65; }
.tne-banner__visual { position: relative; z-index: 2; }
.tne-banner__icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 280px;
    margin-inline-start: auto;
}
.tne-banner__icons span {
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem;
    transition: transform .3s;
    animation: tne-float 4s ease-in-out infinite;
}
.tne-banner__icons span:nth-child(1) { animation-delay: 0s; }
.tne-banner__icons span:nth-child(2) { animation-delay: 1s; }
.tne-banner__icons span:nth-child(3) { animation-delay: 2s; }
.tne-banner__icons span:nth-child(4) { animation-delay: 1.5s; }
.tne-banner__icons span:hover { transform: scale(1.10); }

/* ===================================================================
   NEWSLETTER
   =================================================================== */
.tne-newsletter {
    background: linear-gradient(135deg, var(--tne-darker) 0%, var(--tne-dark) 50%, var(--tne-primary-dark) 100%);
    color: #fff;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.tne-newsletter::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(196,181,253,.25), transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(236,72,153,.20), transparent 50%);
}
.tne-newsletter__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.tne-newsletter__title { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; margin: 0 0 8px; color: #fff; }
.tne-newsletter__text { opacity: .85; margin: 0; }
.tne-newsletter__form {
    display: flex; gap: 8px;
    background: #fff;
    padding: 6px;
    border-radius: var(--tne-r-pill);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,.4);
}
.tne-newsletter__form input {
    flex: 1;
    padding: 14px 20px;
    border: 0;
    background: transparent;
    font-size: 15px;
    outline: none;
    color: var(--tne-text);
    font-family: inherit;
}
.tne-newsletter__form button {
    padding: 12px 28px;
    border: 0;
    border-radius: var(--tne-r-pill);
    background: linear-gradient(135deg, var(--tne-primary), var(--tne-secondary));
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s;
    white-space: nowrap;
    font-family: inherit;
}
.tne-newsletter__form button:hover { transform: translateY(-2px); }

/* ===================================================================
   FOOTER
   =================================================================== */
.tne-footer {
    background: #0a0814;
    color: #cbd5e1;
    padding: 60px 0 0;
}
.tne-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.tne-footer__col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 18px;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.tne-footer__about p { font-size: 14px; line-height: 1.7; color: #94a3b8; margin: 14px 0 18px; }
.tne-footer__col ul li { margin-bottom: 10px; }
.tne-footer__col ul li a {
    color: #94a3b8;
    font-size: 13.5px;
    transition: color .2s, padding .2s;
    display: inline-block;
}
.tne-footer__col ul li a:hover { color: var(--tne-primary-light); padding-inline-start: 4px; }

.tne-footer__social { display: flex; gap: 8px; flex-wrap: wrap; }
.tne-footer__social a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,.06);
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #cbd5e1;
    transition: all .25s var(--tne-trans);
}
.tne-footer__social a:hover {
    background: linear-gradient(135deg, var(--tne-primary), var(--tne-secondary));
    color: #fff; transform: translateY(-2px);
}
.tne-footer__social a svg { width: 18px; height: 18px; }

.tne-footer__bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

/* ===================================================================
   MOBILE BOTTOM NAV (5 items)
   =================================================================== */
.tne-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.99) 100%);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-top: 1px solid rgba(99,102,241,.12);
    box-shadow: 0 -8px 28px -8px rgba(15,23,42,.14);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    z-index: 998;
    transition: transform .3s var(--tne-trans);
}
.tne-bottom-nav.is-hidden { transform: translateY(110%); }
@media (max-width: 991px) {
    .tne-bottom-nav { display: flex; justify-content: space-around; align-items: stretch; gap: 2px; }
    .tne-page { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}
.tne-bn__item {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 3px;
    padding: 6px 2px;
    border-radius: 14px;
    color: var(--tne-text-muted);
    transition: all .3s var(--tne-trans);
    text-decoration: none;
    min-height: 54px;
    background: transparent;
    position: relative;
}
.tne-bn__icon {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
    color: inherit;
}
.tne-bn__icon svg { width: 18px; height: 18px; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.tne-bn__label { font-size: 10.5px; font-weight: 600; line-height: 1; }
.tne-bn__item:hover .tne-bn__icon { background: var(--tne-bg-mint); color: var(--tne-primary-dark); }
.tne-bn__item:active .tne-bn__icon {
    transform: scale(.88);
    background: linear-gradient(135deg, var(--tne-primary), var(--tne-secondary));
    color: #fff;
}
.tne-bn__item.is-active { color: var(--tne-primary-dark); }
.tne-bn__item.is-active .tne-bn__icon {
    background: linear-gradient(135deg, var(--tne-primary), var(--tne-secondary));
    color: #fff;
    box-shadow: 0 6px 14px -4px rgba(99,102,241,.45);
}
.tne-bn__item.is-active .tne-bn__icon svg { transform: translateY(-1px); }
.tne-bn__item.is-active .tne-bn__label { font-weight: 700; color: var(--tne-primary-dark); }
.tne-bn__item.is-active::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 50%; transform: translateX(-50%);
    width: 22px; height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--tne-primary), var(--tne-secondary));
}
.tne-bn__badge {
    position: absolute;
    top: -2px; inset-inline-end: 6px;
    background: linear-gradient(135deg, var(--tne-danger), #dc2626);
    color: #fff;
    font-size: 9px; font-weight: 800;
    min-width: 16px; height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
    line-height: 1;
}

/* ===================================================================
   ANIMATIONS
   =================================================================== */
@keyframes tne-fade-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes tne-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes tne-scale-in { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
@keyframes tne-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes tne-pulse { 0%,100% { transform: scale(1); opacity: .35; } 50% { transform: scale(1.10); opacity: .55; } }
@keyframes tne-pulse-dot { 0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,.7); } 50% { box-shadow: 0 0 0 8px rgba(239,68,68,0); } }
@keyframes tne-spin-slow { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes tne-drift { 0%,100% { transform: translate(0,0) rotate(0deg); } 33% { transform: translate(30px,-20px) rotate(120deg); } 66% { transform: translate(-20px,20px) rotate(240deg); } }
@keyframes tne-gradient-shift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes tne-bounce { 0%,100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes tne-progress { from { width: 0; } }

.tne-reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--tne-trans), transform .8s var(--tne-trans); }
.tne-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1200px) {
    .tne-cats__grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1100px) {
    .tne-cats__grid { grid-template-columns: repeat(4, 1fr); }
    .tne-courses__grid { grid-template-columns: repeat(3, 1fr); }
    .tne-instructors__grid { grid-template-columns: repeat(3, 1fr); }
    .tne-trust__grid { grid-template-columns: repeat(2, 1fr); }
    .tne-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 850px) {
    .tne-hero__inner { grid-template-columns: 1fr; gap: 30px; padding: 50px 20px; text-align: center; }
    .tne-hero__visual { height: 380px; }
    .tne-hero__orb { width: 320px; height: 320px; }
    .tne-hero__books { width: 240px; height: 320px; transform: scale(.85); }
    .tne-live-mock, .tne-cert { width: 280px; height: 320px; transform: scale(.85); }
    .tne-hero__stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
    .tne-hero__content { text-align: center; }
    .tne-hero__ctas { justify-content: center; }
    .tne-banner__inner { grid-template-columns: 1fr; padding: 40px; text-align: center; }
    .tne-banner__icons { margin: 0 auto; }
    .tne-newsletter__inner { grid-template-columns: 1fr; }
    .tne-mission__inner { grid-template-columns: 1fr; gap: 30px; }
    .tne-cats__grid { grid-template-columns: repeat(3, 1fr); }
    .tne-courses__grid { grid-template-columns: repeat(2, 1fr); }
    .tne-instructors__grid { grid-template-columns: repeat(2, 1fr); }
    .tne-types__grid { grid-template-columns: 1fr; }
    .tne-testimonials__grid { grid-template-columns: 1fr; }

    /* Hero chips on corners (not on visuals) */
    .tne-hero__chip { font-size: 11px; padding: 7px 12px; }
    .tne-hero__chip--1 { top: 0; inset-inline-start: 0; inset-inline-end: auto; bottom: auto; }
    .tne-hero__chip--2 { top: 0; inset-inline-end: 0; inset-inline-start: auto; bottom: auto; }
    .tne-hero__chip--3 { bottom: 0; inset-inline-start: 0; inset-inline-end: auto; top: auto; }
    .tne-hero__chip--4 { bottom: 0; inset-inline-end: 0; inset-inline-start: auto; top: auto; }

    .tne-hero__nav { display: none !important; }

    /* Hide animated decorative shapes on mobile */
    .tne-hero__bg-shapes { display: none; }
}

/* MOBILE HERO: contrast + readability fixes */
@media (max-width: 991px) {
    .tne-hero__slide { min-height: 480px; padding: 24px 16px; }

    .tne-hero__eyebrow {
        background: rgba(255,255,255,.95);
        color: var(--tne-primary-dark);
        font-weight: 800;
        font-size: 12px;
        box-shadow: 0 4px 12px -3px rgba(0,0,0,.20);
        border-color: transparent;
        text-transform: uppercase;
        letter-spacing: .5px;
    }
    .tne-hero__title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        line-height: 1.15;
        font-weight: 900;
        text-shadow: 0 2px 12px rgba(0,0,0,.30);
    }
    .tne-hero__title-accent {
        background: none !important;
        -webkit-background-clip: initial !important;
        background-clip: initial !important;
        -webkit-text-fill-color: #fde68a !important;
        color: #fde68a !important;
        font-weight: 900;
    }
    .tne-hero__slide--3 .tne-hero__title-accent {
        -webkit-text-fill-color: #67e8f9 !important;
        color: #67e8f9 !important;
    }
    .tne-hero__subtitle {
        font-size: 14px;
        line-height: 1.6;
        color: var(--tne-text);
        background: rgba(255,255,255,.90);
        padding: 12px 16px;
        border-radius: 14px;
        margin: 12px auto 18px;
        max-width: 92%;
        backdrop-filter: blur(8px);
        box-shadow: 0 4px 14px -4px rgba(0,0,0,.20);
    }
}

@media (max-width: 540px) {
    .tne-cats__grid { grid-template-columns: repeat(2, 1fr); }
    .tne-courses__grid { grid-template-columns: 1fr; }
    .tne-instructors__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .tne-section { padding: 50px 0; }
    .tne-section__head { flex-direction: column; align-items: flex-start; }
    .tne-newsletter__form { flex-direction: column; border-radius: 16px; padding: 12px; }
    .tne-newsletter__form button { width: 100%; padding: 14px; }
    .tne-banner__inner { padding: 30px 20px; border-radius: 22px; }
    .tne-mission__cards { grid-template-columns: repeat(2, 1fr); max-width: 320px; gap: 12px; }
    .tne-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ===================================================================
   ============= NEW: 3-PRODUCTS HOMEPAGE SECTIONS =============
   =================================================================== */

/* Hero refresh — focus on 3 products */
.tne-hero-3p {
    position: relative;
    padding: 80px 0 60px;
    background:
        radial-gradient(900px circle at 15% 20%, rgba(99,102,241,0.20), transparent 55%),
        radial-gradient(800px circle at 85% 80%, rgba(236,72,153,0.16), transparent 55%),
        linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    overflow: hidden;
    color: #fff;
}
.tne-hero-3p::before, .tne-hero-3p::after {
    content: ''; position: absolute; border-radius: 50%; pointer-events: none;
    filter: blur(80px); opacity: 0.6;
}
.tne-hero-3p::before { width: 500px; height: 500px; background: rgba(196,181,253,0.45); top: -200px; inset-inline-end: -200px; animation: tne-float 14s ease-in-out infinite; }
.tne-hero-3p::after  { width: 540px; height: 540px; background: rgba(245,158,11,0.30); bottom: -200px; inset-inline-start: -200px; animation: tne-float 16s ease-in-out infinite reverse; }

.tne-hero-3p__inner {
    position: relative; z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}
.tne-hero-3p__brand {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--tne-r-pill);
    color: #fff;
    font-size: 13px; font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 24px;
    animation: tne-fade-up .8s ease both;
}
.tne-hero-3p__title {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.03em;
    margin: 0 0 22px;
    animation: tne-fade-up 1s ease both .15s;
    color: #fff;
}
.tne-hero-3p__title em {
    font-style: normal;
    background: linear-gradient(135deg, #fde68a 0%, #fca5a5 50%, #c4b5fd 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.tne-hero-3p__sub {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.7;
    opacity: 0.95;
    max-width: 760px;
    margin: 0 auto 36px;
    animation: tne-fade-up 1s ease both .25s;
}
.tne-hero-3p__quick {
    display: flex; gap: 12px;
    justify-content: center; flex-wrap: wrap;
    margin-bottom: 32px;
    animation: tne-fade-up 1s ease both .35s;
}
.tne-hero-3p__quick-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: var(--tne-r-pill);
    color: #fff;
    font-weight: 700; font-size: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    transition: all .25s var(--tne-trans);
    text-decoration: none;
}
.tne-hero-3p__quick-pill:hover {
    background: rgba(255,255,255,0.20);
    transform: translateY(-2px);
    color: #fff;
    border-color: rgba(255,255,255,0.40);
}
.tne-hero-3p__quick-pill .ico { font-size: 18px; }

.tne-hero-3p__stats {
    display: flex; gap: 40px; flex-wrap: wrap;
    justify-content: center;
    animation: tne-fade-up 1s ease both .45s;
}
.tne-hero-3p__stat strong {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fde68a, #c4b5fd);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1;
}
.tne-hero-3p__stat span {
    font-size: 13px;
    opacity: 0.80;
    margin-top: 6px;
    display: block;
}

/* ============= 3 PRODUCTS SECTION (the heart) ============= */
.tne-products {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff 0%, #f5f3ff 100%);
    position: relative;
}
.tne-products__head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}
.tne-products__title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: var(--tne-text);
    margin: 0 0 16px;
    letter-spacing: -.025em;
    line-height: 1.2;
}
.tne-products__sub {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--tne-text-muted);
    line-height: 1.7;
}

.tne-products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (max-width: 1100px) { .tne-products__grid { grid-template-columns: 1fr; gap: 20px; max-width: 720px; } }

/* Each product card — large, distinctive */
.tne-product-card {
    position: relative;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    color: var(--tne-text);
    transition: all .4s var(--tne-trans);
    display: flex; flex-direction: column;
    box-shadow: 0 10px 30px -8px rgba(15,23,42,0.10);
    border: 1.5px solid var(--tne-border);
    isolation: isolate;
}
.tne-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.20);
    color: var(--tne-text);
    border-color: transparent;
}

/* Visual top section — color-themed */
.tne-product-card__visual {
    position: relative;
    height: 240px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.tne-product-card__visual::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background-size: 200% 200%;
    animation: tne-gradient-shift 9s ease infinite;
}
.tne-product-card--tutoring .tne-product-card__visual::before {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #14b8a6 100%);
}
.tne-product-card--courses .tne-product-card__visual::before {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
}
.tne-product-card--programs .tne-product-card__visual::before {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 50%, #dc2626 100%);
}

.tne-product-card__visual-art {
    position: relative;
    z-index: 2;
    font-size: 100px;
    line-height: 1;
    filter: drop-shadow(0 14px 30px rgba(0,0,0,0.30));
    transition: transform .4s var(--tne-trans);
}
.tne-product-card:hover .tne-product-card__visual-art {
    transform: scale(1.10) rotate(-3deg);
}

/* Floating chips on visual */
.tne-product-card__chip {
    position: absolute;
    z-index: 3;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--tne-text);
    padding: 6px 14px;
    border-radius: var(--tne-r-pill);
    font-size: 11.5px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(0,0,0,0.20);
    animation: tne-float 5s ease-in-out infinite;
    white-space: nowrap;
}
.tne-product-card__chip--1 { top: 16px; inset-inline-start: 16px; animation-delay: 0s; }
.tne-product-card__chip--2 { top: 16px; inset-inline-end: 16px; animation-delay: 1s; }
.tne-product-card__chip--3 { bottom: 16px; inset-inline-start: 16px; animation-delay: 2s; }

/* Body */
.tne-product-card__body {
    padding: 28px 26px 26px;
    flex: 1;
    display: flex; flex-direction: column;
}
.tne-product-card__icon-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    border-radius: var(--tne-r-pill);
    font-size: 12px; font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 14px;
    width: fit-content;
}
.tne-product-card--tutoring .tne-product-card__icon-pill { background: #ecfeff; color: #0e7490; }
.tne-product-card--courses .tne-product-card__icon-pill { background: #f5f3ff; color: var(--tne-secondary-dark); }
.tne-product-card--programs .tne-product-card__icon-pill { background: #fff7ed; color: #c2410c; }

.tne-product-card__title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--tne-text);
    letter-spacing: -.02em;
    margin: 0 0 10px;
    line-height: 1.15;
}
.tne-product-card__tagline {
    font-size: 14.5px;
    color: var(--tne-text-muted);
    line-height: 1.65;
    margin: 0 0 20px;
    min-height: 60px;
}

.tne-product-card__features {
    display: flex; flex-direction: column; gap: 10px;
    margin-bottom: 24px;
    padding-top: 18px;
    border-top: 1.5px dashed var(--tne-border);
}
.tne-product-card__feature {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px;
    color: var(--tne-text);
    font-weight: 600;
}
.tne-product-card__feature-icon {
    width: 22px; height: 22px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}
.tne-product-card--tutoring .tne-product-card__feature-icon { background: #ecfeff; color: #0e7490; }
.tne-product-card--courses .tne-product-card__feature-icon { background: #f5f3ff; color: var(--tne-secondary-dark); }
.tne-product-card--programs .tne-product-card__feature-icon { background: #fff7ed; color: #c2410c; }

.tne-product-card__cta {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--tne-r-pill);
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: all .25s var(--tne-trans);
    color: #fff;
    margin-top: auto;
}
.tne-product-card--tutoring .tne-product-card__cta {
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    box-shadow: 0 10px 24px -6px rgba(14,165,233,0.50);
}
.tne-product-card--courses .tne-product-card__cta {
    background: linear-gradient(135deg, var(--tne-primary), var(--tne-secondary));
    box-shadow: 0 10px 24px -6px rgba(99,102,241,0.50);
}
.tne-product-card--programs .tne-product-card__cta {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    box-shadow: 0 10px 24px -6px rgba(245,158,11,0.50);
}
.tne-product-card:hover .tne-product-card__cta {
    transform: translateY(-2px);
}

/* ============= REVIEWS BY PRODUCT (3 columns) ============= */
.tne-reviews-3p {
    padding: 70px 0;
    background: #fff;
}
.tne-reviews-3p__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1280px; margin: 0 auto; padding: 0 20px;
}
@media (max-width: 1024px) { .tne-reviews-3p__grid { grid-template-columns: 1fr; max-width: 600px; } }
.tne-reviews-3p__col {
    background: #f8fafc;
    border-radius: var(--tne-r-lg);
    padding: 26px;
    border: 1.5px solid var(--tne-border);
    transition: all .3s var(--tne-trans);
}
.tne-reviews-3p__col:hover { transform: translateY(-4px); box-shadow: var(--tne-shadow-lg); }
.tne-reviews-3p__col-head {
    display: flex; align-items: center; gap: 12px;
    padding-bottom: 18px; margin-bottom: 18px;
    border-bottom: 2px solid var(--tne-border);
}
.tne-reviews-3p__col-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    color: #fff;
}
.tne-reviews-3p__col--tutoring .tne-reviews-3p__col-icon { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.tne-reviews-3p__col--courses .tne-reviews-3p__col-icon { background: linear-gradient(135deg, var(--tne-primary), var(--tne-secondary)); }
.tne-reviews-3p__col--programs .tne-reviews-3p__col-icon { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.tne-reviews-3p__col-title {
    font-size: 16px; font-weight: 800; color: var(--tne-text);
    letter-spacing: -.01em; margin: 0;
}
.tne-reviews-3p__col-sub {
    font-size: 12px; color: var(--tne-text-muted);
    margin: 2px 0 0;
}

.tne-mini-review {
    background: #fff;
    border-radius: var(--tne-r);
    padding: 18px;
    margin-bottom: 12px;
    border: 1px solid var(--tne-border);
}
.tne-mini-review:last-child { margin-bottom: 0; }
.tne-mini-review__stars { color: var(--tne-accent); letter-spacing: 1.2px; font-size: 13px; margin-bottom: 8px; }
.tne-mini-review__text {
    font-size: 13.5px; line-height: 1.65;
    color: var(--tne-text); margin: 0 0 12px;
    font-style: italic;
}
.tne-mini-review__foot { display: flex; align-items: center; gap: 10px; }
.tne-mini-review__avatar {
    width: 36px; height: 36px; border-radius: 50%; overflow: hidden;
    background: var(--tne-bg-mint); flex-shrink: 0;
}
.tne-mini-review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.tne-mini-review__name { font-size: 13px; font-weight: 800; margin: 0; }
.tne-mini-review__role { font-size: 11.5px; color: var(--tne-text-muted); margin: 0; }

/* ============= HOW IT WORKS (3 columns per product) ============= */
.tne-how-3p {
    padding: 70px 0;
    background: var(--tne-bg-soft);
}
.tne-how-3p__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) { .tne-how-3p__grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; } }

.tne-how-product {
    background: #fff;
    border-radius: var(--tne-r-lg);
    padding: 26px;
    border-top: 5px solid;
    transition: all .3s var(--tne-trans);
}
.tne-how-product:hover { transform: translateY(-4px); box-shadow: var(--tne-shadow-lg); }
.tne-how-product--tutoring { border-top-color: #0ea5e9; }
.tne-how-product--courses { border-top-color: var(--tne-primary); }
.tne-how-product--programs { border-top-color: #f59e0b; }

.tne-how-product__head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.tne-how-product__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff;
    flex-shrink: 0;
}
.tne-how-product--tutoring .tne-how-product__icon { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.tne-how-product--courses .tne-how-product__icon { background: linear-gradient(135deg, var(--tne-primary), var(--tne-secondary)); }
.tne-how-product--programs .tne-how-product__icon { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.tne-how-product__name { font-size: 17px; font-weight: 800; margin: 0; letter-spacing: -.01em; }

.tne-how-product__steps { list-style: none; margin: 0; padding: 0; }
.tne-how-product__step {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px dashed var(--tne-border);
}
.tne-how-product__step:last-child { border-bottom: none; }
.tne-how-product__step-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--tne-bg-soft);
    color: var(--tne-text);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px;
    flex-shrink: 0;
}
.tne-how-product__step-text {
    font-size: 13.5px; color: var(--tne-text);
    line-height: 1.55; padding-top: 4px;
}

/* ============= FAQ ACCORDION ============= */
.tne-faq {
    padding: 70px 0;
    background: #fff;
}
.tne-faq__list {
    max-width: 800px;
    margin: 0 auto;
}
.tne-faq__item {
    background: #fff;
    border: 1.5px solid var(--tne-border);
    border-radius: var(--tne-r);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all .25s var(--tne-trans);
}
.tne-faq__item:hover { border-color: rgba(99,102,241,.30); }
.tne-faq__item.is-open {
    border-color: var(--tne-primary);
    box-shadow: 0 8px 22px -6px rgba(99,102,241,.18);
}
.tne-faq__q {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 18px 22px;
    text-align: start;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--tne-text);
    cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px;
}
.tne-faq__q-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--tne-bg-mint);
    color: var(--tne-primary-dark);
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 16px;
    flex-shrink: 0;
    transition: transform .25s var(--tne-trans);
}
.tne-faq__item.is-open .tne-faq__q-icon { transform: rotate(45deg); background: var(--tne-primary); color: #fff; }

.tne-faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--tne-trans);
}
.tne-faq__item.is-open .tne-faq__a { max-height: 500px; }
.tne-faq__a-inner {
    padding: 0 22px 20px;
    font-size: 14.5px;
    color: var(--tne-text-muted);
    line-height: 1.75;
}

/* ============= FINAL CTA / WIZARD ============= */
.tne-final-cta {
    padding: 80px 0;
    background:
        radial-gradient(800px circle at 30% 30%, rgba(99,102,241,0.16), transparent 55%),
        radial-gradient(700px circle at 70% 70%, rgba(245,158,11,0.10), transparent 55%),
        linear-gradient(135deg, var(--tne-darker) 0%, var(--tne-dark) 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.tne-final-cta__inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative; z-index: 2;
}
.tne-final-cta__title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    margin: 0 0 16px;
    letter-spacing: -.025em;
    color: #fff;
    line-height: 1.2;
}
.tne-final-cta__title em {
    font-style: normal;
    background: linear-gradient(135deg, #fde68a, #fca5a5);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.tne-final-cta__sub {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.92;
    margin: 0 0 32px;
}
.tne-final-cta__buttons {
    display: flex; gap: 12px; justify-content: center;
    flex-wrap: wrap;
}

/* ============= MEDIA QUERIES for new sections ============= */
@media (max-width: 540px) {
    .tne-hero-3p { padding: 50px 0 40px; }
    .tne-hero-3p__quick-pill { padding: 10px 16px; font-size: 13px; }
    .tne-hero-3p__stats { gap: 24px; }
    .tne-hero-3p__stat strong { font-size: 1.8rem; }
    .tne-products { padding: 50px 0; }
    .tne-products__grid { padding: 0 16px; }
    .tne-product-card__visual { height: 200px; }
    .tne-product-card__visual-art { font-size: 80px; }
    .tne-product-card__body { padding: 22px 20px 20px; }
    .tne-product-card__title { font-size: 1.35rem; }
    .tne-product-card__tagline { min-height: auto; }
    .tne-reviews-3p, .tne-how-3p, .tne-faq, .tne-final-cta { padding: 50px 0; }
}
