/* ═══════════════════════════════════════
   AETHERYS - Main Stylesheet
   Wellness . Yoga . Meditation
   ═══════════════════════════════════════ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Variables ── */
:root {
    --primary: #105970;
    --primary-light: #1a7a96;
    --primary-dark: #0c4356;
    --primary-10: rgba(16,89,112,0.1);
    --primary-20: rgba(16,89,112,0.2);
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --cream: #F5F3F0;
    --gray-100: #F0F2F4;
    --gray-200: #E8EAED;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #727272;
    --gray-600: #4A4A4A;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --black: #1A1A1A;
    --accent: #E8B931;
    --success: #059669;
    --danger: #DC2626;
    --warning: #F59E0B;

    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --container: 1280px;
    --header-height: 72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* KRİTİK: overflow-x: hidden iOS Safari'de body'yi scroll container'a
       çeviriyor ve position:fixed header'ı viewport yerine body'ye göre
       konumlandırıyor — "sticky header sayfanın ortasında" bug'ının
       kök nedeni buydu. `clip` aynı görsel sonucu verir ama body'yi
       scroll container yapmaz, fixed elementleri bozmaz.
       Safari 16+, Chrome 90+, Firefox 81+ destekliyor. */
    overflow-x: hidden;
    overflow-x: clip;
}
html { overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--black);
}

/* ── Container ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 768px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1440px; margin: 0 auto; padding: 0 24px; }

/* ══════════════════════════════════════
   HEADER / NAVIGATION
   ══════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    /* viewport-fit=cover ile top:0 zaten ekranın gerçek tepesi; iOS status
       bar header'ın beyaz arka planı üzerine overlay'lenir. Padding-top
       safe-area eklemek subpixel rounding ile ince gap üretiyordu — kaldırıldı. */
    background: transparent;
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    /* iOS Safari fixed-positioning render bug'ı (scroll + URL-bar collapse
       sırasında header sayfa ortasında belirme) için GPU compositor katmanı
       zorunlu. overflow-x:clip body bug'ı için, translate3d burada Safari
       render bug'ı için — ikisi farklı sorunlar, ikisi de gerekli.
       Header içinde position:fixed alt eleman yok (dropdown'lar <body>'ye
       portal edildi), bu yüzden containing-block side-effect'i zararsız. */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}
/* backdrop-filter is on ::before so it does NOT create a containing block
   for position:fixed children (which would break the profile dropdown). */
.header.ae-scrolled {
    box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 24px rgba(0,0,0,0.05);
    border-bottom-color: var(--gray-200);
}
.header.ae-scrolled::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
    pointer-events: none;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
/* Desktop header logo — 34px height, aspect-ratio preserved, no squish */
.logo img { height: 34px; width: auto; flex-shrink: 0; display: block; }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    padding: 4px 0;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-actions .cart-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    /* <button class="cart-icon"> (zil) iOS Safari'de color'ı inherit etmeyip
       sistem mavisine düşüyordu — sayfa en üstteyken zil mavi görünüyordu.
       Explicit color ile her durumda header text rengini takip eder. */
    color: var(--gray-700);
    -webkit-appearance: none;
    appearance: none;
}
button.cart-icon { color: var(--gray-700); }
.nav-actions .cart-icon:hover { background: var(--gray-100); }
.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-profile {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    flex-shrink: 0;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

/* Mobile menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    flex-shrink: 0;
    padding: 6px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: var(--transition);
    flex-shrink: 0;
}
.mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: min(100%, 380px);
    height: 100vh;
    background: var(--white);
    z-index: 9999;
    padding: 24px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), visibility 0.4s;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-100);
}
.mobile-menu-header .logo img { height: 32px !important; width: auto !important; flex-shrink: 0 !important; }
.mobile-menu-header .logo span { font-size: 32px !important; font-family: var(--font-heading); font-weight: 700; color: var(--primary) !important; letter-spacing: -0.5px; }
.mobile-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: var(--radius-full);
}
.mobile-close:hover { background: var(--gray-100); }
.mobile-nav { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-size: 17px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius);
    transition: var(--transition-fast);
}
.mobile-nav a:hover, .mobile-nav a.active {
    background: var(--primary-10);
    color: var(--primary);
}
.mobile-nav-footer { padding-top: 24px; border-top: 1px solid var(--gray-200); display: flex; flex-direction: column; gap: 12px; }

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
    line-height: 1.4;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-1px);
}
.btn-ghost {
    color: var(--gray-600);
    padding: 8px 16px;
}
.btn-ghost:hover { color: var(--primary); background: var(--primary-10); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-full { width: 100%; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-full); }

/* ══════════════════════════════════════
   HERO / SLIDER
   ══════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
    margin-top: var(--header-height);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16,89,112,0.85) 0%, rgba(16,89,112,0.6) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 80px 0;
    color: var(--white);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}
.hero p {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 36px;
    max-width: 540px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounceDown 2s infinite;
}
@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════════
   SECTION LAYOUTS
   ══════════════════════════════════════ */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }
.section-gray { background: var(--off-white); }
.section-cream { background: var(--cream); }
.section-primary { background: var(--primary); color: var(--white); }
.section-dark { background: var(--black); color: var(--white); }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}
.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}
.section-header p {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.6;
}
.section-header-left { text-align: left; margin-left: 0; }

.section-header .divider {
    width: 48px;
    height: 3px;
    background: var(--primary);
    margin: 16px auto 0;
    border-radius: 2px;
}
.section-header-left .divider { margin-left: 0; }

/* ══════════════════════════════════════
   SERVICES / FEATURES BANNER
   ══════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.service-card {
    text-align: center;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-20);
}
.service-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--primary-10);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}
.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-weight: 600;
}
.service-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ══════════════════════════════════════
   COURSE CARDS
   ══════════════════════════════════════ */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
/* ═══════════════════════════════════════════════════════
   COURSE CARD — Flip-reveal hover (2026)
   Konsept: hover'da görsel tam karta yayılır,
   üstüne frosted cam panel süzülür, bilgiler okunur.
   ═══════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════
   COURSE CARD — Premium Sales-Oriented Design
   ════════════════════════════════════════════════════════ */
.course-card {
    border-radius: 18px;
    background: var(--white);
    border: 1.5px solid rgba(16,89,112,0.10);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    color: inherit;
    overflow: visible;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
    transition: box-shadow 0.35s cubic-bezier(0.22,1,0.36,1), transform 0.35s cubic-bezier(0.22,1,0.36,1), border-color 0.35s ease;
}
.course-card:hover {
    transform: translateY(-4px);
    border-color: rgba(232,185,49,0.45);
    box-shadow:
        0 2px 4px rgba(16,89,112,0.04),
        0 8px 20px rgba(16,89,112,0.10),
        0 0 0 1px rgba(232,185,49,0.14);
}

/* ── Thumbnail ── */
.course-card-img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}
.course-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.course-card:hover .course-card-img img { transform: scale(1.06); }

/* Gradient bottom fade — always present, dramatically darkens on hover */
.course-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 20%,
        rgba(6,32,44,0.35) 65%,
        rgba(6,32,44,0.72) 100%
    );
    opacity: 0.65;
    transition: opacity 0.4s ease;
    z-index: 1;
}
.course-card:hover .course-card-img::after { opacity: 1; }

/* ── Play button (always visible, pulses on hover) ── */
.course-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.82);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34,1.4,0.64,1);
    pointer-events: none;
}
.course-card:hover .course-card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.course-card-play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.course-card-play-btn svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    margin-left: 3px;
}
/* Live icon variant */
.course-card-play-btn.is-live svg {
    color: #ef4444;
    margin-left: 0;
}

/* Bottom overlay text inside image (title + cta) — hidden by default */
.course-card-play-bottom { display: none; }
.course-card-play-title  { display: none; }
.course-card-play-cta    { display: none; }

/* ── Price badge — always visible top-right ── */
.course-card-price-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 3;
    border-radius: 100px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    pointer-events: none;
    background: var(--accent, #E8B931);
    color: #1a1200;
    box-shadow: 0 4px 14px rgba(232,185,49,0.4), 0 0 0 1px rgba(255,255,255,0.5);
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
    letter-spacing: 0.01em;
}
.course-card:hover .course-card-price-badge {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 22px rgba(232,185,49,0.5), 0 0 0 1px rgba(255,255,255,0.6);
}
.course-card-price-badge.is-free {
    background: #dcfce7;
    color: #15803d;
    box-shadow: 0 2px 8px rgba(21,128,61,0.18);
}
.course-card-price-badge.has-discount {
    background: #fef2f2;
    color: #dc2626;
    box-shadow: 0 2px 8px rgba(220,38,38,0.15);
}
.course-card-price-badge.is-coming-soon {
    background: #fffbeb;
    color: #92400e;
    box-shadow: 0 2px 8px rgba(245,158,11,0.18);
}
.course-card-price-badge.is-donation {
    background: #fff;
    color: #0c4356;
    border: 1.5px solid var(--primary, #105970);
    box-shadow: 0 4px 12px -3px rgba(16,89,112,0.22);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
}

/* ── Badges (featured, live, etc.) ── */
.course-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 3;
}
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--radius-full);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.badge-featured { background: var(--accent); color: #1a1200; }
.badge-discount  { background: #dc2626; color: #fff; }
.badge-live      { background: #ef4444; color: #fff; animation: pulse-live 2s infinite; }
.badge-new       { background: var(--success); color: #fff; }
.badge-category  { background: rgba(255,255,255,0.9); backdrop-filter: blur(6px); color: var(--gray-700); }

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.72; }
}

/* ── Card body ── */
.course-card-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 0 0 18px 18px;
    position: relative;
}

/* No left accent stripe on normal state */
.course-card-body::before { display: none; }

/* ── Category pill ── */
.course-card-category {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(16,89,112,0.08);
    border-radius: 100px;
    padding: 3px 10px;
    margin-bottom: 10px;
    width: fit-content;
}

/* ── Title ── */
.course-card-title {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}
.course-card:hover .course-card-title { color: var(--primary); }

/* ── Summary ── */
.course-card-summary {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Instructor + price row ── */
.course-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 14px;
}
.course-card-meta .instructor {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}
.course-card-meta .instructor img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid rgba(16,89,112,0.15);
}
.course-card-price {
    font-weight: 800;
    color: var(--primary);
    font-size: 15px;
    flex-shrink: 0;
}
.course-card-price .original {
    text-decoration: line-through;
    color: #94a3b8;
    font-weight: 400;
    font-size: 12px;
    margin-right: 4px;
}
.course-card-price .free { color: #16a34a; }

/* ── CTA Button — always visible ── */
.course-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    background: #f0f7fa;
    border: 1.5px solid rgba(16,89,112,0.18);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    transition: background 0.3s cubic-bezier(0.22,1,0.36,1), border-color 0.3s ease, color 0.25s ease, box-shadow 0.3s ease;
    margin-top: auto;
}
.course-card-cta svg {
    width: 15px;
    height: 15px;
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
    flex-shrink: 0;
}
.course-card:hover .course-card-cta {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(16,89,112,0.28);
}
.course-card:hover .course-card-cta svg { transform: translateX(5px); }
.course-card-cta.is-live-cta {
    background: #fef2f2;
    border-color: rgba(239,68,68,0.25);
    color: #dc2626;
}
.course-card:hover .course-card-cta.is-live-cta {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

/* ═══════════════════════════════════════
   Course Slider
   ═══════════════════════════════════════ */
.course-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Yeterli padding — box-shadow kırpılmasın */
    padding: 20px 8px 32px;
}
.course-slider::-webkit-scrollbar { display: none; }

.course-slider .course-card {
    min-width: 330px;
    max-width: 330px;
    scroll-snap-align: start;
    flex-shrink: 0;
    transition: box-shadow 0.45s ease, transform 0.45s ease,
                opacity 0.35s ease, filter 0.35s ease, border-color 0.3s ease;
    border: 1.5px solid rgba(16,89,112,0.08);
}

/* Sibling focus — çok çok hafif, premium his */
.course-slider:has(.course-card:hover) .course-card:not(:hover) {
    opacity: 0.88;
    transform: none;
}

.slider-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}
.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    color: var(--gray-600);
}
.slider-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-10);
}

/* ══════════════════════════════════════
   CATEGORY CHIPS
   ══════════════════════════════════════ */
.category-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}
.category-chip {
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    transition: var(--transition);
    background: var(--white);
}
.category-chip:hover, .category-chip.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ══════════════════════════════════════
   EVENT CARDS
   ══════════════════════════════════════ */
.event-card {
    display: flex;
    border-radius: 18px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(16,89,112,0.10);
    transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.event-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16,89,112,0.20);
    box-shadow:
        0 2px 4px rgba(16,89,112,0.05),
        0 8px 24px rgba(16,89,112,0.13),
        0 24px 48px rgba(16,89,112,0.10);
}
.event-card-img {
    width: 280px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.event-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.event-card:hover .event-card-img img { transform: scale(1.06); }
.event-card-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 8px 14px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}
.event-card:hover .event-card-date { transform: translateY(-2px); }
.event-card-date .day {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.event-card-date .month {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
}
.event-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.event-card-body h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    transition: color 0.25s ease;
}
.event-card:hover .event-card-body h3 { color: var(--primary); }
.event-card-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--gray-500);
}
.event-card-info span { display: flex; align-items: center; gap: 6px; }

/* ══════════════════════════════════════
   PRODUCT CARDS (SHOP)
   ══════════════════════════════════════ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    padding: 4px;
}
.product-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 30, 40, 0.06);
    box-shadow:
        0 1px 2px rgba(15, 30, 40, 0.04),
        0 4px 12px -2px rgba(15, 30, 40, 0.06),
        0 0 0 1px rgba(15, 30, 40, 0.02);
    transition: transform .35s cubic-bezier(.16,1,.3,1),
                box-shadow .35s cubic-bezier(.16,1,.3,1),
                border-color .35s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    pointer-events: none;
    box-shadow: 0 0 0 2px transparent;
    transition: box-shadow .35s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 4px 8px rgba(15, 30, 40, 0.06),
        0 20px 40px -12px rgba(16, 89, 112, 0.22),
        0 0 0 1px rgba(16, 89, 112, 0.12);
    border-color: rgba(16, 89, 112, 0.18);
}
.product-card:hover::after {
    box-shadow: 0 0 0 1px rgba(232, 185, 49, 0.4) inset;
}
.product-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    position: relative;
}
.product-card-img,
.product-card-image > img {
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}
.product-card-img img,
.product-card-image > img,
.product-card-image .ae-img-track > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.product-card:hover .product-card-img img,
.product-card:hover .product-card-image > img,
.product-card:hover .product-card-image .ae-img-track > img {
    transform: scale(1.06);
}
.product-card-body {
    padding: 18px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    position: relative;
    z-index: 1;
}
.product-card-body h3,
.product-card-title {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: #0f1e28;
    margin: 4px 0 6px;
    line-height: 1.35;
    letter-spacing: -0.005em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-card-price,
.product-card .product-price {
    font-weight: 800;
    color: var(--primary);
    font-size: 17px;
    letter-spacing: -0.01em;
}
.product-card .product-price .original {
    font-weight: 500;
    color: var(--gray-400, #9ca3af);
    font-size: 13px;
    text-decoration: line-through;
    margin-left: 6px;
    letter-spacing: 0;
}
.product-card .badge {
    box-shadow: 0 4px 12px -2px rgba(15,30,40,0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ══════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-img {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-content h2 { font-size: 2rem; margin-bottom: 20px; }
.about-content p { margin-bottom: 16px; color: var(--gray-600); }

/* ══════════════════════════════════════
   COURSE DETAIL PAGE
   ══════════════════════════════════════ */
.course-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #0a3a4a 100%);
    color: var(--white);
    padding: 110px 0 70px;
    margin-top: var(--header-height);
    position: relative;
    overflow: hidden;
}
.course-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 0%, rgba(232,185,49,0.10) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 100%, rgba(232,185,49,0.06) 0%, transparent 50%);
    pointer-events: none;
}
.course-hero > .container { position: relative; z-index: 1; }
.course-hero-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 56px;
    align-items: start;
}
.course-hero-badges { display:flex; gap:8px; margin-bottom: 18px; flex-wrap: wrap; }
.course-hero-badges .badge {
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.18);
}
.course-hero-badges .badge-category { background: rgba(232,185,49,0.18); color: #ffd97a; border-color: rgba(232,185,49,0.35); }
.course-hero-badges .badge-live     { background: rgba(239,68,68,0.22);  color: #fecaca; border-color: rgba(239,68,68,0.35); }
.course-hero-badges .badge-discount { background: rgba(16,185,129,0.22); color: #a7f3d0; border-color: rgba(16,185,129,0.35); }
.course-hero h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    color: var(--white);
    margin: 0 0 18px;
    line-height: 1.15;
    letter-spacing: -0.025em;
    font-weight: 800;
}
.course-hero-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}
.course-hero-fav {
    flex-shrink: 0;
    margin-top: 4px;
}
.course-hero-fav .ae-fav-btn {
    background: rgba(255,255,255,0.10) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.22) !important;
    color: rgba(255,255,255,0.92) !important;
    width: 46px !important; height: 46px !important;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18) !important;
    transition: background .2s, transform .2s, color .2s;
}
.course-hero-fav .ae-fav-btn:hover {
    background: rgba(255,255,255,0.22) !important;
    color: #fff !important;
    transform: scale(1.06);
}
.course-hero-fav .ae-fav-btn.is-fav {
    background: rgba(232,185,49,0.20) !important;
    color: #ffd97a !important;
    border-color: rgba(232,185,49,0.45) !important;
}
.course-hero-fav .ae-fav-btn svg { width: 20px !important; height: 20px !important; }
.course-hero .summary {
    font-size: 16px;
    color: rgba(255,255,255,0.86);
    line-height: 1.75;
    margin: 0 0 28px;
    max-width: 640px;
    font-weight: 400;
}
.course-meta-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13.5px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.course-meta-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 999px;
    color: rgba(255,255,255,0.92);
    font-weight: 500;
}
.course-meta-row span a { color: #ffd97a !important; text-decoration: none; font-weight: 600; }
.course-meta-row span a:hover { text-decoration: underline; }
.course-meta-row span svg { opacity: 0.7; }

/* ── Kontenjan urgency banner ── */
.crs-urgency-banner {
    margin-top: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: linear-gradient(90deg, rgba(245,158,11,0.16), rgba(232,185,49,0.12));
    border: 1px solid rgba(245,158,11,0.40);
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    color: #fde68a;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(245,158,11,0.10);
    animation: crsUrgencyPulse 2.4s ease-in-out infinite;
}
.crs-urgency-banner.is-full {
    background: linear-gradient(90deg, rgba(239,68,68,0.18), rgba(220,38,38,0.12));
    border-color: rgba(239,68,68,0.42);
    border-left-color: #ef4444;
    color: #fecaca;
    animation: none;
}
.crs-urgency-icon {
    width: 38px; height: 38px; flex-shrink: 0;
    border-radius: 50%;
    background: rgba(245,158,11,0.22);
    display: flex; align-items: center; justify-content: center;
    color: #fbbf24;
}
.crs-urgency-banner.is-full .crs-urgency-icon { background: rgba(239,68,68,0.22); color: #fca5a5; }
.crs-urgency-text { flex: 1; min-width: 0; }
.crs-urgency-text strong { font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.crs-urgency-text small { display: block; font-size: 12px; opacity: 0.85; margin-top: 2px; font-weight: 500; }
@keyframes crsUrgencyPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(245,158,11,0.10); }
    50%      { box-shadow: 0 4px 28px rgba(245,158,11,0.28); }
}

/* Sidebar uyarısı — fiyatın hemen altında */
.crs-sidebar-urgency {
    margin-top: 12px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(245,158,11,0.10), rgba(232,185,49,0.06));
    border: 1px solid rgba(245,158,11,0.35);
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: #b45309;
    display: flex; align-items: center; gap: 8px;
}
.crs-sidebar-urgency.is-full { background: rgba(239,68,68,0.10); border-color: rgba(239,68,68,0.35); color: #b91c1c; }
.crs-sidebar-urgency svg { flex-shrink: 0; }

/* ── Eğitmen / Stüdyo people kartları (course detay sağ kolon) ── */
.crs-people-card {
    position: relative !important;
    background: #fff !important;
    border: 1px solid var(--gray-200, #e2e8f0) !important;
    border-radius: 16px !important;
    padding: 28px 24px !important;
    text-align: center !important;
    box-shadow: 0 2px 10px rgba(15,30,40,0.04) !important;
    transition: box-shadow .25s, transform .25s, border-color .25s !important;
    overflow: hidden !important;
    display: block !important;
}
.crs-people-card:hover {
    box-shadow: 0 8px 28px rgba(15,30,40,0.10) !important;
    transform: translateY(-2px) !important;
    border-color: rgba(16,89,112,0.18) !important;
}
.crs-people-card img.crs-people-avatar {
    width: 88px !important;
    height: 88px !important;
    max-width: 88px !important;
    max-height: 88px !important;
    min-width: 0 !important;
    border-radius: 50% !important;
    margin: 0 auto 14px !important;
    object-fit: cover !important;
    display: block !important;
    background: #f1f5f9 !important;
    border: 3px solid #fff !important;
    box-shadow: 0 4px 14px rgba(15,30,40,0.10) !important;
    padding: 0 !important;
    aspect-ratio: 1 / 1 !important;
}
.crs-people-card div.crs-people-avatar.crs-people-avatar--initials {
    width: 88px !important;
    height: 88px !important;
    border-radius: 50% !important;
    margin: 0 auto 14px !important;
    background: linear-gradient(135deg, var(--primary, #105970), #0c4356) !important;
    color: #fff !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    letter-spacing: 0.04em !important;
    border: 3px solid #fff !important;
    box-shadow: 0 4px 14px rgba(15,30,40,0.10) !important;
}
.crs-people-card .crs-people-name {
    font-family: var(--font-heading, inherit) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--text-main, #0f1e28) !important;
    margin: 0 0 4px !important;
    letter-spacing: -0.015em !important;
    line-height: 1.3 !important;
}
.crs-people-card .crs-people-role {
    font-size: 12px !important;
    color: var(--gray-500, #94a3b8) !important;
    margin: 0 0 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}
.crs-people-card .crs-people-bio {
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    color: var(--gray-600, #64748b) !important;
    margin: 0 0 18px !important;
}
.crs-people-card .btn,
.crs-people-card a.btn {
    display: inline-block !important;
    width: auto !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
}

/* Stüdyo kartı varyantı — üstte ince dekor band */
.crs-studio-card.crs-people-card {
    padding-top: 100px !important; /* cover'a yer aç */
}
.crs-studio-card .crs-studio-cover {
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important;
    height: 70px !important;
    background-color: var(--primary, #105970) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    z-index: 0 !important;
    pointer-events: none !important;
}
.crs-studio-card .crs-studio-cover::after {
    content: '' !important;
    position: absolute !important; inset: 0 !important;
    background: linear-gradient(180deg, rgba(10,29,39,0.10) 0%, transparent 100%) !important;
}
.crs-studio-card img.crs-studio-logo,
.crs-studio-card div.crs-studio-logo {
    position: relative !important;
    z-index: 1 !important;
    margin-top: -50px !important;
    background: #fff !important;
    padding: 4px !important;
    box-shadow: 0 6px 20px rgba(15,30,40,0.12) !important;
}
.crs-studio-card div.crs-studio-logo.crs-people-avatar--initials {
    background: linear-gradient(135deg, #E8B931, #b8941e) !important;
    color: #fff !important;
    padding: 0 !important;
}
.crs-studio-card .crs-people-name,
.crs-studio-card .crs-people-role,
.crs-studio-card .crs-people-bio { position: relative !important; z-index: 1 !important; }

/* Sticky sidebar card */
.course-sidebar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    color: var(--gray-700);
    position: sticky;
    top: calc(var(--header-height) + 24px);
}
.course-sidebar-video {
    aspect-ratio: 16/9;
    background: var(--black);
    position: relative;
    cursor: pointer;
}
.course-sidebar-video img { width: 100%; height: 100%; object-fit: cover; }
.course-sidebar-video .play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    transition: var(--transition);
}
.course-sidebar-video .play-overlay:hover { background: rgba(0,0,0,0.5); }
.course-sidebar-body { padding: 24px; }
.course-sidebar-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.course-sidebar-price .original {
    font-size: 18px;
    text-decoration: line-through;
    color: var(--gray-400);
    font-weight: 400;
}
.course-sidebar-discount {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #FEF2F2;
    color: var(--danger);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}
.course-sidebar-body .btn-full { margin-bottom: 12px; }
.course-sidebar-features {
    list-style: none;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}
.course-sidebar-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--gray-600);
}

/* Curriculum */
.curriculum-section { padding: 60px 0; }
.curriculum-section .container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
}
.curriculum-accordion {}
.curriculum-group {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}
.curriculum-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--off-white);
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: 600;
    font-size: 15px;
}
.curriculum-group-header:hover { background: var(--gray-100); }
.curriculum-group-header .count {
    font-weight: 400;
    font-size: 13px;
    color: var(--gray-500);
}
.curriculum-lessons { display: none; }
.curriculum-group.open .curriculum-lessons { display: block; }
.curriculum-lesson {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-top: 1px solid var(--gray-100);
    font-size: 14px;
    transition: var(--transition-fast);
}
.curriculum-lesson:hover { background: var(--primary-10); }
.curriculum-lesson .icon { width: 20px; color: var(--gray-400); flex-shrink: 0; }
.curriculum-lesson .title { flex: 1; }
.curriculum-lesson .duration { color: var(--gray-400); font-size: 13px; }
.curriculum-lesson .badge-sm {
    font-size: 10px;
    padding: 2px 8px;
}
.curriculum-lesson.locked { opacity: 0.5; }
.curriculum-lesson.locked .icon { color: var(--gray-300); }

/* Admin quick-edit button on curriculum rows */
.curriculum-admin-edit {
    display: none;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(16,89,112,0.08);
    border: 1px solid rgba(16,89,112,0.2);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease;
}
.curriculum-lesson:hover .curriculum-admin-edit { display: inline-flex; }
.curriculum-admin-edit:hover { background: var(--primary); color: #fff; }

/* ══════════════════════════════════════
   VIDEO PLAYER
   ══════════════════════════════════════ */
.lesson-view {
    display: grid;
    grid-template-columns: 1fr 360px;
    height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);
}
.lesson-video-area {
    background: var(--black);
    display: flex;
    flex-direction: column;
}
.lesson-video-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
/* Secure player fills wrapper */
.lesson-video-wrapper .ae-player {
    width: 100%;
    height: 100%;
    min-height: 300px;
}
.lesson-video-wrapper video,
.lesson-video-wrapper iframe {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - var(--header-height) - 80px);
}
.lesson-controls {
    padding: 16px 24px;
    background: var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
}
.lesson-controls .lesson-title {
    font-size: 15px;
    font-weight: 500;
}
.lesson-controls .btn-next {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
}
.lesson-sidebar {
    background: var(--white);
    border-left: 1px solid var(--gray-200);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.lesson-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lesson-sidebar-header h3 {
    font-size: 16px;
    font-family: var(--font-body);
}
.lesson-progress-bar {
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
}
.lesson-progress-bar .fill {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.5s ease;
}
.lesson-list { flex: 1; overflow-y: auto; }
.lesson-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 14px;
}
.lesson-item:hover { background: var(--primary-10); }
.lesson-item.active { background: var(--primary-10); color: var(--primary); font-weight: 500; }
.lesson-item.completed .check { color: var(--success); }
.lesson-item.locked { opacity: 0.5; cursor: not-allowed; }

/* Zoom Embed */
.zoom-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--black);
}
.zoom-waiting {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    text-align: center;
    padding: 40px;
    border-radius: var(--radius-lg);
}
.zoom-waiting h3 { font-size: 1.5rem; margin-bottom: 12px; color: var(--white); }
.zoom-waiting .countdown {
    font-size: 2rem;
    font-weight: 700;
    margin: 24px 0;
    font-variant-numeric: tabular-nums;
}
.zoom-join-options {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

/* ══════════════════════════════════════
   PROFILE
   ══════════════════════════════════════ */
.profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    padding-top: calc(var(--header-height) + 32px);
    padding-bottom: 64px;
    min-height: 100vh;
}
.profile-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 32px);
    align-self: start;
}
.profile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 16px;
}
.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    margin: 0 auto 16px;
}
.profile-name { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.profile-email { font-size: 14px; color: var(--gray-500); }

.profile-nav {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}
.profile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition-fast);
}
.profile-nav a:last-child { border-bottom: none; }
.profile-nav a:hover { background: var(--primary-10); color: var(--primary); }
.profile-nav a.active { background: var(--primary-10); color: var(--primary); border-left: 3px solid var(--primary); }

.profile-content { padding-bottom: 60px; }
.profile-content h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    font-family: var(--font-body);
}

/* ══════════════════════════════════════
   FORMS
   ══════════════════════════════════════ */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition-fast);
    background: var(--white);
    color: var(--black);
}
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-10);
}
.form-input.error { border-color: var(--danger); }
.form-error { font-size: 13px; color: var(--danger); margin-top: 4px; }
.form-hint { font-size: 13px; color: var(--gray-500); margin-top: 4px; }

textarea.form-input { min-height: 120px; resize: vertical; }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23727272' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

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

/* Auth pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--off-white);
}
.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}
.auth-card .logo { justify-content: center; margin-bottom: 32px; }
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo a,
.auth-logo-link { display: inline-block; text-decoration: none; }
.auth-logo img,
.auth-logo-link img {
    display: block !important;
    margin: 0 auto !important;
    height: 36px !important;
    width: auto !important;
    max-width: 150px !important;
    max-height: 36px !important;
    object-fit: contain !important;
}
.auth-card h1 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 8px;
}
.auth-card .subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 32px;
    font-size: 15px;
}
.auth-divider {
    text-align: center;
    color: var(--gray-400);
    font-size: 14px;
    margin: 24px 0;
    position: relative;
}

/* ══════════════════════════════════════
   CART & CHECKOUT
   ══════════════════════════════════════ */
.cart-page { padding-top: calc(var(--header-height) + 40px); min-height: 80vh; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gray-200);
}
.cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}
.cart-item-info { display: flex; align-items: center; gap: 16px; }
.cart-item-img { width: 80px; height: 60px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-summary {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 400px;
    margin-left: auto;
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 15px;
}
.cart-summary-row.total {
    font-size: 18px;
    font-weight: 700;
    border-top: 2px solid var(--gray-300);
    padding-top: 16px;
    margin-top: 8px;
}

/* ══════════════════════════════════════
   BLOG
   ══════════════════════════════════════ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}
.blog-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-card-date { font-size: 13px; color: var(--gray-400); margin-bottom: 8px; }
.blog-card-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; font-family: var(--font-body); }
.blog-card-excerpt { font-size: 14px; color: var(--gray-500); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Blog article */
.article-content { max-width: 720px; margin: 0 auto; }
.article-content h1 { font-size: 2.25rem; margin-bottom: 16px; }
.article-content p { margin-bottom: 20px; line-height: 1.8; }
.article-content img { border-radius: var(--radius); margin: 32px 0; }

/* ══════════════════════════════════════
   FILTERS
   ══════════════════════════════════════ */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding: 16px 20px;
    background: var(--off-white);
    border-radius: var(--radius-lg);
}
.filter-bar select, .filter-bar input {
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--white);
}
.filter-bar .search-input {
    flex: 1;
    min-width: 200px;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
    background: var(--black);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
    gap: 40px;
    margin-bottom: 48px;
    align-items: start;
}
.footer-brand { padding-right: 16px; }
@media (min-width: 1025px) {
    .footer-grid {
        display: grid !important;
        grid-template-columns: 1.6fr 1fr 1fr 1.1fr !important;
        gap: 48px !important;
        text-align: left !important;
    }
    .footer-brand p, .footer h4, .footer ul, .footer-contact li, .footer-social { text-align: left !important; justify-content: flex-start !important; margin-left: 0 !important; margin-right: 0 !important; }
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 16px; max-width: 320px; }
.footer-brand img { height: 36px; filter: brightness(0) invert(1); }
.footer h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-body);
    margin-bottom: 20px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: var(--transition-fast);
}
.footer ul li a:hover { color: var(--white); }
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.footer-bottom {
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
    flex-wrap: wrap;
    font-size: 13px;
}
.footer-bottom-left { color: rgba(255,255,255,0.55); }
.footer-bottom-left .fb-sub { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 3px; }
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
}
.footer-legal a {
    font-size: 12px;
    color: rgba(255,255,255,0.40);
    letter-spacing: .01em;
    transition: color .2s ease;
    white-space: nowrap;
}
.footer-legal a:hover { color: rgba(255,255,255,0.85); }
@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
        padding: 20px 0 28px;
    }
    .footer-bottom-left { width: 100%; }
    .footer-legal {
        width: 100%;
        justify-content: center;
        gap: 8px 14px;
        row-gap: 8px;
    }
    .footer-legal a { font-size: 11.5px; white-space: normal; }
    .footer { padding-bottom: 12px; }
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: var(--transition-fast);
}
.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ══════════════════════════════════════
   ALERTS & NOTIFICATIONS
   ══════════════════════════════════════ */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.alert-warning { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.alert-info { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }

/* ══════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 48px;
}
.pagination a, .pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
}
.pagination a:hover { background: var(--gray-100); }
.pagination .active {
    background: var(--primary);
    color: var(--white);
}

/* ══════════════════════════════════════
   ADMIN PANEL
   ══════════════════════════════════════ */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}
.admin-sidebar {
    background: var(--black);
    color: var(--white);
    padding: 24px 0;
    position: fixed;
    width: 260px;
    height: 100vh;
    overflow-y: auto;
}
.admin-sidebar .logo { padding: 0 24px; margin-bottom: 32px; }
.admin-sidebar .logo img { height: 32px; filter: brightness(0) invert(1); }
.admin-nav { display: flex; flex-direction: column; }
.admin-nav-section {
    padding: 0 12px;
    margin-bottom: 8px;
}
.admin-nav-section-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    padding: 12px 12px 8px;
}
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition-fast);
}
.admin-nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.admin-nav a.active { color: var(--white); background: var(--primary); }
.admin-main {
    margin-left: 260px;
    padding: 32px;
    background: var(--off-white);
    min-height: 100vh;
}
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}
.admin-header h1 {
    font-size: 1.5rem;
    font-family: var(--font-body);
    font-weight: 700;
}

/* Admin stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}
.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--gray-200);
}
.stat-card .label { font-size: 13px; color: var(--gray-500); font-weight: 500; margin-bottom: 4px; }
.stat-card .value { font-size: 28px; font-weight: 700; color: var(--black); }
.stat-card .change { font-size: 13px; margin-top: 4px; }
.stat-card .change.up { color: var(--success); }
.stat-card .change.down { color: var(--danger); }

/* Admin table */
.admin-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}
.admin-table th {
    text-align: left;
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    background: var(--off-white);
    border-bottom: 1px solid var(--gray-200);
}
.admin-table td {
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--gray-100);
}
.admin-table tr:hover td { background: var(--primary-10); }
.status-badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}
.status-active { background: #ECFDF5; color: #065F46; }
.status-pending { background: #FFFBEB; color: #92400E; }
.status-draft { background: var(--gray-100); color: var(--gray-600); }
.status-cancelled { background: #FEF2F2; color: #991B1B; }

/* ══════════════════════════════════════
   THANK YOU PAGE
   ══════════════════════════════════════ */
.thanks-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    margin-top: var(--header-height);
}
.thanks-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: #ECFDF5;
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
    .course-hero-grid { grid-template-columns: 1fr; }
    .course-sidebar-card { position: static; }
    .curriculum-section .container { grid-template-columns: 1fr; }
    .lesson-view { grid-template-columns: 1fr; }
    .lesson-sidebar { display: none; position: fixed; top: 0; right: 0; width: 360px; height: 100vh; z-index: 9999; }
    .lesson-sidebar.open { display: flex; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { transform: translateX(-100%); z-index: 9999; }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .profile-layout { grid-template-columns: 1fr; gap: 16px; padding-top: calc(var(--header-height) + 16px); }
    .profile-sidebar { position: static; }
    /* Horizontal scrollable nav on mobile */
    .profile-nav { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; white-space: nowrap; }
    .profile-nav a { border-bottom: none; border-right: 1px solid var(--gray-100); padding: 12px 16px; flex-shrink: 0; font-size: 13px; }
    .profile-nav a:last-child { border-right: none; }
    .profile-nav a.active { border-left: none; border-bottom: 2px solid var(--primary); }
    .profile-user { display: none; }
    .prf-hero { border-radius: 14px; }
}



/* ══════════════════════════════════════
   UTILITY CLASSES
   ══════════════════════════════════════ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-gray { color: var(--gray-500); }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ══════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

.fade-in { animation: fadeIn 0.5s ease; }
.fade-in-up { animation: fadeInUp 0.6s ease; }

/* Scroll reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Home v2 ========== */

/* ── Hero v2 ── */
.hv2-hero {
    position: relative;
    min-height: 100svh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}
.hv2-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 8s ease;
}
.hv2-hero:hover .hv2-hero-bg { transform: scale(1); }
.hv2-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(12,67,86,0.82) 0%, rgba(16,89,112,0.55) 60%, rgba(0,0,0,0.3) 100%);
}
.hv2-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
    padding-left: clamp(24px, 6vw, 96px);
    padding-right: clamp(24px, 4vw, 64px);
}
.hv2-hero-content { max-width: 620px; padding-left: 8px; }
@media (min-width: 1024px) { .hv2-hero-inner { padding-left: clamp(120px, 14vw, 280px) !important; } }
@media (min-width: 1440px) { .hv2-hero-inner { padding-left: clamp(180px, 18vw, 360px) !important; } }
.hv2-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}
.hv2-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 24px;
}
.hv2-hero-lead {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    max-width: 520px;
}
.hv2-hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.hv2-ghost-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.02em;
    transition: var(--transition-fast);
}
.hv2-ghost-link:hover { color: var(--white); }
.hv2-rotating-badge {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hv2-rotate 18s linear infinite;
    flex-shrink: 0;
}
.hv2-rotating-badge-inner {
    position: absolute;
    font-size: 1.4rem;
    color: rgba(255,255,255,0.6);
}
.hv2-hero-badge-wrap { display: none; margin-left: auto; align-self: center; }
.hv2-scroll-cue {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    animation: hv2-bob 2s ease-in-out infinite;
    z-index: 1;
}
.hv2-scroll-cue:hover { color: rgba(255,255,255,0.9); }
@keyframes hv2-bob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }
@keyframes hv2-rotate { to { transform: rotate(360deg); } }

/* ── Section layout v2 ── */
.hv2-section {
    padding: clamp(56px, 7vw, 96px) 0;
}
.hv2-section-tinted { background: var(--off-white); }
.hv2-section-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}
.hv2-section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 8px 0 12px;
}
.hv2-section-header p {
    color: var(--gray-500);
    font-size: 1rem;
}
.hv2-section-header--left {
    text-align: left;
    margin: 0;
    max-width: none;
}
.hv2-section-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.hv2-section-footer {
    text-align: center;
    margin-top: 48px;
}
.hv2-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 6px;
}
.hv2-label--live { color: #e53e3e; }
.hv2-link-more {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    white-space: nowrap;
    transition: var(--transition-fast);
}
.hv2-link-more:hover { color: var(--primary-dark); }

/* ── Services v2 ── */
.hv2-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.hv2-service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.hv2-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--accent);
    transition: height 0.4s ease;
    border-radius: 0 0 3px 0;
}
.hv2-service-card:hover { border-color: var(--primary-20); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.hv2-service-card:hover::before { height: 100%; }
.hv2-service-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-10);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}
.hv2-service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.hv2-service-card p { color: var(--gray-500); font-size: 0.95rem; line-height: 1.65; }

/* ── Category chips v2 ── */
.hv2-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.hv2-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition-fast);
}
.hv2-chip:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.hv2-chip:hover .hv2-chip-count { background: rgba(255,255,255,0.2); color: var(--white); }
.hv2-chip-count {
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--gray-100);
    color: var(--gray-500);
    padding: 1px 7px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

/* ── Slider controls v2 ── */
.hv2-slider-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hv2-slider-btn {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: var(--transition-fast);
    background: var(--white);
}
.hv2-slider-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ── About v2 ── */
.hv2-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
.hv2-about-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.hv2-about-visual img,
.hv2-about-visual picture {
    display: block;
    width: 100%;
    height: 100%;
}
.hv2-about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.hv2-about-visual--fallback { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.hv2-about-float-tag {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    color: var(--white);
    font-size: 0.85rem;
    line-height: 1.5;
}
.hv2-about-float-tag span { font-size: 1.2rem; display: block; margin-bottom: 4px; }
.hv2-about-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 8px 0 20px; }
.hv2-about-body p { color: var(--gray-600); line-height: 1.75; margin-bottom: 16px; font-size: 0.975rem; }
.hv2-pull-quote {
    border-left: 3px solid var(--accent);
    padding: 12px 20px;
    margin: 24px 0 28px;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--gray-600);
    font-size: 1rem;
    background: var(--off-white);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ── Events v2 ── */
.hv2-events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.hv2-event-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    border: 1px solid rgba(16,89,112,0.10);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
    background: var(--white);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 4px 14px rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.hv2-event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16,89,112,0.20);
    box-shadow: 0 6px 20px rgba(16,89,112,0.12), 0 16px 36px rgba(16,89,112,0.09);
}
.hv2-event-img {
    position: relative;
    overflow: hidden;
}
.hv2-event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.hv2-event-card:hover .hv2-event-img img { transform: scale(1.08); }
.hv2-event-date {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    text-align: center;
    line-height: 1;
}
.hv2-event-day { display: block; font-size: 1.2rem; font-weight: 700; }
.hv2-event-month { display: block; font-size: 0.6rem; letter-spacing: 0.1em; opacity: 0.85; margin-top: 2px; }
.hv2-event-featured-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: var(--accent);
    color: var(--black);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}
.hv2-event-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hv2-event-title {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.35;
}
.hv2-event-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 14px;
}
.hv2-event-meta span { display: flex; align-items: center; gap: 4px; }
.hv2-event-cta {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.02em;
}

/* ── Community CTA v2 ── */
.hv2-cta {
    position: relative;
    padding: clamp(72px, 9vw, 120px) 0;
    text-align: center;
    overflow: hidden;
    color: var(--white);
}
.hv2-cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1a8ca8 100%);
}
.hv2-cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hv2-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}
.hv2-eyebrow--light { color: var(--accent); }
.hv2-cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--white);
    margin: 16px 0;
}
.hv2-cta-lead {
    font-size: 1.05rem;
    opacity: 0.88;
    line-height: 1.7;
    margin-bottom: 36px;
}
.hv2-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.hv2-ghost-link--light {
    color: rgba(255,255,255,0.8);
}
.hv2-ghost-link--light:hover { color: var(--white); }

/* ── Shop v2 ── */
.hv2-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.hv2-product-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.hv2-product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.hv2-product-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-100);
}
.hv2-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hv2-product-card:hover .hv2-product-img img { transform: scale(1.05); }
.hv2-product-body { padding: 16px; }
.hv2-product-title {
    font-size: 0.95rem;
    margin-bottom: 6px;
    line-height: 1.3;
}
.hv2-product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

/* ── Blog v2 ── */
.hv2-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
.hv2-blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.hv2-blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.hv2-blog-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gray-100);
}
.hv2-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hv2-blog-card:hover .hv2-blog-img img { transform: scale(1.04); }
.hv2-blog-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.hv2-blog-date {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 10px;
}
.hv2-blog-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.35;
}
.hv2-blog-excerpt {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 16px;
}
.hv2-blog-read {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
}

/* ── Breakpoints ── */
@media (min-width: 640px) {
    .hv2-services-grid { grid-template-columns: repeat(2, 1fr); }
    .hv2-events-grid { grid-template-columns: repeat(2, 1fr); }
    .hv2-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .hv2-product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .hv2-hero-badge-wrap { display: block; }
    .hv2-product-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
    .hv2-services-grid { grid-template-columns: repeat(3, 1fr); }
    .hv2-events-grid { grid-template-columns: repeat(2, 1fr); }
    .hv2-about-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
    .hv2-blog-grid { grid-template-columns: repeat(3, 1fr); }
    .hv2-event-card { grid-template-columns: 160px 1fr; }
}

/* ========== End Home v2 ========== */

/* ══════════════════════════════════════
   Animations v2
   ══════════════════════════════════════ */

/* 1. Page fade-in */
@keyframes pageFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
body {
    animation: pageFadeIn 0.6s ease forwards;
}

/* 2. Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Stagger children */
.stagger-children > *:nth-child(1)  { transition-delay: 0s; }
.stagger-children > *:nth-child(2)  { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3)  { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4)  { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5)  { transition-delay: 0.4s; }
.stagger-children > *:nth-child(6)  { transition-delay: 0.5s; }
.stagger-children > *:nth-child(7)  { transition-delay: 0.6s; }
.stagger-children > *:nth-child(8)  { transition-delay: 0.7s; }
.stagger-children > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-children.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* 4. Floating elements */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-18px); }
}
@keyframes floatMedium {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}
.float-slow   { animation: floatSlow   6s ease-in-out infinite; }
.float-medium { animation: floatMedium 4s ease-in-out infinite; }

/* 5. Gradient text */
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.gradient-text {
    background: linear-gradient(135deg, #105970, #1a7a96, #E8B931, #1a7a96, #105970);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
}

/* 6. Card hover lift */
.card,
.course-card,
.hv2-service-card,
.hv2-event-card,
.hv2-blog-card,
.hv2-product-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover,
.hv2-service-card:hover,
.hv2-event-card:hover,
.hv2-blog-card:hover,
.hv2-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(16, 89, 112, 0.09), 0 2px 6px rgba(0,0,0,0.04);
}
/* course-card has its own hover rules above */

/* 7. Shimmer skeleton */
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}
.skeleton,
.skeleton-text,
.skeleton-img {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.6s ease-in-out infinite;
    border-radius: var(--radius-sm);
}
.skeleton-text {
    height: 1em;
    width: 80%;
    margin-bottom: 0.5em;
    display: block;
}
.skeleton-img {
    width: 100%;
    padding-top: 56.25%;
    border-radius: var(--radius);
}

/* 8. Button pulse ring */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(16, 89, 112, 0.4);
    transition: box-shadow 0.4s ease;
    pointer-events: none;
}
.btn-primary:hover::after {
    box-shadow: 0 0 0 8px rgba(16, 89, 112, 0);
    animation: btnPulse 0.6s ease-out forwards;
}
@keyframes btnPulse {
    0%   { box-shadow: 0 0 0 0   rgba(16, 89, 112, 0.4); }
    100% { box-shadow: 0 0 0 14px rgba(16, 89, 112, 0); }
}

/* 9. Section entrance */
.section-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-fade-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 10. Count-up prep */
.count-up {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    transition: color 0.3s ease;
}

/* 11. Cursor glow (injected via JS — style hook only) */
#cursor-glow {
    position: fixed;
    top: 0; left: 0;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16,89,112,0.12) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: opacity 0.3s ease;
    will-change: transform;
}

/* 12. Mobile menu slide-in */
/* mobile-menu transition defined in base styles above */


/* ========== Profile v2 ========== */

/* --- Stat Grid --- */
.profile-stat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 24px 0;
}
.profile-stat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
    transition: box-shadow .2s, transform .2s;
}
.profile-stat-card:hover {
    box-shadow: 0 4px 16px rgba(16,89,112,.12);
    transform: translateY(-2px);
}
.profile-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 6px;
}
.profile-stat-label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* --- Progress Bar --- */
.progress-bar {
    flex: 1;
    background: var(--gray-200);
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}
.progress-bar > div {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 999px;
    transition: width .4s ease;
    min-width: 2px;
}
.pv2-progress-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pv2-progress-pct {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    min-width: 32px;
    text-align: right;
}

/* --- Tab Pills --- */
.tab-pills {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.tab-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border: 2px solid var(--gray-300);
    border-radius: 999px;
    background: var(--white);
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}
.tab-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.tab-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.tab-pill__count {
    background: rgba(255,255,255,.25);
    border-radius: 999px;
    padding: 1px 7px;
    font-size: 12px;
    font-weight: 700;
}
.tab-pill.active .tab-pill__count {
    background: rgba(255,255,255,.3);
}
.tab-pill:not(.active) .tab-pill__count {
    background: var(--gray-200);
    color: var(--gray-600);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* --- Activity Feed --- */
.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 32px;
    border-left: 2px solid var(--gray-200);
    margin-left: 10px;
    padding-left: 0;
}
.activity-feed__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    position: relative;
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 8px;
    margin-left: -10px;
    border: 1px solid var(--gray-200);
}
.activity-feed__item:hover {
    border-color: var(--primary-20);
    box-shadow: 0 2px 8px rgba(16,89,112,.07);
}
.activity-feed__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}
.activity-feed__info {
    flex: 1;
    font-size: 14px;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.activity-feed__course {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.activity-feed__course:hover { text-decoration: underline; }
.activity-feed__sep { color: var(--gray-400); }
.activity-feed__lesson { color: var(--gray-600); }
.activity-feed__link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
    padding: 4px 10px;
    border: 1px solid var(--primary-20);
    border-radius: 6px;
    transition: background .2s;
}
.activity-feed__link:hover {
    background: var(--primary-10);
}

/* --- Course Card Profile (horizontal) --- */
.course-grid-profile {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}
.course-card-profile {
    display: flex;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.course-card-profile:hover {
    box-shadow: 0 4px 20px rgba(16,89,112,.1);
    transform: translateY(-1px);
}
.course-card-profile__thumb {
    width: 160px;
    flex-shrink: 0;
}
.course-card-profile__thumb img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}
.course-card-profile__body {
    padding: 16px 16px 16px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.course-card-profile__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 6px 0;
    line-height: 1.4;
}

/* --- Quick Nav & Section Title --- */
.pv2-quick-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.pv2-quick-link {
    padding: 6px 14px;
    background: var(--gray-100);
    border-radius: 999px;
    font-size: 13px;
    color: var(--gray-700);
    text-decoration: none;
    transition: background .2s, color .2s;
}
.pv2-quick-link:hover {
    background: var(--primary-10);
    color: var(--primary);
}
.pv2-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 32px 0 16px;
}
.pv2-resume-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}
.pv2-welcome {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}
.pv2-welcome h1 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 4px;
}
.pv2-welcome p {
    color: var(--gray-500);
    margin: 0;
}
.pv2-empty {
    text-align: center;
    padding: 64px 32px;
    background: var(--gray-100);
    border-radius: 16px;
    margin-top: 32px;
}
.tab-empty {
    text-align: center;
    padding: 48px 32px;
    background: var(--gray-100);
    border-radius: 12px;
    color: var(--gray-600);
    font-size: 15px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .profile-stat-grid { grid-template-columns: repeat(3, 1fr); }
    .pv2-welcome { flex-direction: column; }
}
@media (max-width: 600px) {
    .profile-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .course-card-profile { flex-direction: column; }
    .course-card-profile__thumb { width: 100%; }
    .course-card-profile__thumb img { height: 180px; }
    .course-card-profile__body { padding: 12px; }
}

/* ========== End Profile v2 ========== */

/* ========== Events v2 ========== */
.ev2-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.ev2-chip {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.ev2-chip:hover { border-color: var(--primary); color: var(--primary); }
.ev2-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.ev2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.ev2-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
.ev2-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.ev2-card-img {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gray-100);
}
.ev2-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.ev2-card:hover .ev2-card-img img { transform: scale(1.05); }

/* Date pill overlay */
.ev2-date-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,.72);
    color: #fff;
    border-radius: 8px;
    padding: 6px 10px;
    text-align: center;
    line-height: 1.1;
    backdrop-filter: blur(4px);
}
.ev2-date-day { display: block; font-size: 20px; font-weight: 700; }
.ev2-date-mon { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; opacity: .85; }

/* Type badge */
.ev2-type-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
}
.ev2-type-online  { background: rgba(var(--primary-rgb, 16,89,112),.85); color:#fff; }
.ev2-type-offline { background: rgba(0,0,0,.6); color:#fff; }

.ev2-card-body { display:flex; flex-direction:column; padding: 20px; flex:1; }
.ev2-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height:1.35; }
.ev2-card-meta { font-size: 13px; color: var(--gray-500); display:flex; gap:12px; flex-wrap:wrap; margin-bottom: 8px; }
.ev2-card-summary { font-size: 13px; color: var(--gray-600); line-height:1.55; flex:1; margin-bottom: 16px; }
.ev2-card-footer { display:flex; justify-content:space-between; align-items:center; margin-top:auto; }
.ev2-card-price { font-weight: 700; color: var(--primary); font-size: 15px; }

/* Event show hero meta */
.ev2-show-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255,255,255,.9);
    font-size: 15px;
}

/* Ticket rows */
.ev2-ticket-row {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 14px;
    transition: border-color .2s;
}
.ev2-ticket-row:hover { border-color: var(--primary); }
.ev2-ticket-soldout { opacity: .6; pointer-events: none; }
.ev2-ticket-info { margin-bottom: 10px; }
.ev2-ticket-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.ev2-ticket-desc { font-size: 13px; color: var(--gray-500); }
.ev2-ticket-remaining { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.ev2-ticket-low { color: var(--warning, #e67e22) !important; font-weight: 600; }
.ev2-ticket-price { font-weight: 700; color: var(--primary); font-size: 16px; margin-bottom: 12px; }
.ev2-ticket-orig { font-weight: 400; color: var(--gray-400); text-decoration: line-through; font-size: 13px; margin-left: 6px; }
.ev2-ticket-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* Qty picker */
.ev2-qty-picker {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    overflow: hidden;
    width: fit-content;
}
.ev2-qty-btn {
    width: 34px; height: 34px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--gray-700);
    line-height: 1;
    transition: background .15s;
}
.ev2-qty-btn:hover { background: var(--gray-100); }
.ev2-qty-input {
    width: 44px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--gray-300);
    border-right: 1px solid var(--gray-300);
    height: 34px;
    font-size: 14px;
    font-weight: 600;
    -moz-appearance: textfield;
}
.ev2-qty-input::-webkit-inner-spin-button,
.ev2-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Lesson lock icon */
.lesson-lock-icon {
    font-size: 13px;
    cursor: default;
    margin-left: 4px;
    opacity: .75;
}

/* ========== Empty States ========== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
    gap: 12px;
}
.empty-state-icon {
    font-size: 52px;
    line-height: 1;
    margin-bottom: 8px;
    opacity: .75;
}
.empty-state h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}
.empty-state p {
    color: var(--gray-500);
    font-size: 15px;
    max-width: 400px;
    margin: 0 0 8px;
    line-height: 1.6;
}
.empty-state .btn { margin-top: 8px; }
/* ========== End Events v2 + Empty States ========== */

/* ========== Corporate Pages ========== */

/* -- Corp Hero -- */
.corp-hero {
    padding: 80px 0 64px;
    text-align: center;
}
.corp-hero--teal {
    background: linear-gradient(135deg, #105970 0%, #0d7a9e 100%);
}
.corp-hero--dark {
    background: linear-gradient(135deg, #0a3a47 0%, #105970 100%);
}
.corp-hero--light {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}
.corp-hero-inner { max-width: 640px; margin: 0 auto; }
.corp-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.92);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 18px;
}
.corp-hero--light .corp-hero-badge {
    background: rgba(16,89,112,0.1);
    color: var(--primary);
}
.corp-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
}
.corp-hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.82);
}

/* -- Story Grid -- */
.corp-story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}
@media (min-width: 900px) {
    .corp-story-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.corp-story-text p { color: var(--gray-600); line-height: 1.75; }
.corp-story-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.corp-story-icon { font-size: 2rem; margin-bottom: 12px; }

/* -- Values Grid -- */
.corp-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}
@media (min-width: 768px) {
    .corp-values-grid { grid-template-columns: repeat(4, 1fr); }
}
.corp-value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.corp-value-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: transparent;
}
.corp-value-icon { font-size: 2.2rem; margin-bottom: 14px; }
.corp-value-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gray-900);
}
.corp-value-card p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.65; }

/* -- Services Grid (corp) -- */
.corp-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}
@media (min-width: 640px) { .corp-services-grid { grid-template-columns: repeat(3, 1fr); } }
.corp-service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.corp-service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.corp-service-icon { font-size: 2.4rem; }
.corp-service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); }
.corp-service-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.65; flex: 1; }

/* -- Stats Row -- */
.corp-stats-row {
    background: linear-gradient(135deg, #105970 0%, #0d7a9e 100%);
    padding: 56px 0;
}
.corp-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    text-align: center;
}
@media (min-width: 640px) { .corp-stats-grid { grid-template-columns: repeat(4, 1fr); } }
.corp-stat-number {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}
.corp-stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
}

/* -- Benefits Grid -- */
.corp-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}
@media (min-width: 640px) { .corp-benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.corp-benefit {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.corp-benefit:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.corp-benefit-icon { font-size: 2.6rem; margin-bottom: 16px; }
.corp-benefit h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--gray-900); }
.corp-benefit p { font-size: 0.88rem; color: var(--gray-600); line-height: 1.65; }

/* -- Application Form -- */
.corp-form-wrap {
    max-width: 680px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}
.corp-form-header { margin-bottom: 32px; }
.corp-form-header h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.corp-form-header p { color: var(--gray-600); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; gap: 16px; } }
.corp-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 8px;
}
@media (min-width: 480px) { .corp-checkbox-grid { grid-template-columns: repeat(3, 1fr); } }
.corp-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-700);
    cursor: pointer;
    padding: 8px 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: var(--transition);
    user-select: none;
}
.corp-checkbox-label:hover { border-color: var(--primary); background: rgba(16,89,112,0.04); }
.corp-checkbox-label input[type="checkbox"] { accent-color: var(--primary); width: 16px; height: 16px; flex-shrink: 0; }
.required { color: #e53e3e; }

/* -- FAQ Accordion -- */
.corp-faq-wrap { max-width: 760px; margin: 0 auto; }
.corp-faq-group { margin-bottom: 40px; }
.corp-faq-group-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(16,89,112,0.15);
}
.corp-accordion { display: flex; flex-direction: column; gap: 8px; }
.corp-accordion-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.corp-accordion-item[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.corp-accordion-q {
    padding: 18px 20px;
    font-weight: 600;
    font-size: 0.97rem;
    color: var(--gray-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    user-select: none;
}
.corp-accordion-q::-webkit-details-marker { display: none; }
.corp-accordion-q::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.corp-accordion-item[open] .corp-accordion-q::after {
    transform: rotate(45deg);
}
.corp-accordion-a {
    padding: 0 20px 18px;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.75;
}
.corp-accordion-a a { color: var(--primary); }
.corp-faq-cta {
    text-align: center;
    margin-top: 40px;
    padding: 32px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--gray-300);
}
.corp-faq-cta p { margin-bottom: 16px; color: var(--gray-600); }

/* -- Legal Pages -- */
.corp-legal-wrap {
    max-width: 760px;
    margin: 0 auto;
}
.corp-legal-intro {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 40px;
    padding: 20px 24px;
    background: rgba(16,89,112,0.05);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.corp-legal-section {
    margin-bottom: 36px;
}
.corp-legal-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gray-200);
}
.corp-legal-section p, .corp-legal-section li {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.8;
}
.corp-legal-section ul { padding-left: 20px; margin-top: 10px; }
.corp-legal-section li { margin-bottom: 6px; }
.corp-legal-section a { color: var(--primary); }
.corp-legal-contact {
    margin-top: 40px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}
.corp-legal-contact h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.corp-legal-contact p { font-size: 0.9rem; color: var(--gray-600); }
.corp-legal-contact a { color: var(--primary); }

/* -- Alerts -- */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-weight: 500;
}
.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ══════════════════════════════════════
   Premium Animations
   ══════════════════════════════════════ */

/* 1. Magnetic Cursor — kaldırıldı (sistem cursor'u kullanılıyor) */

/* 2. Hero Canvas */
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* 3. Split Text Headline */
.ae-word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    margin-right: 0.25em;
}
.ae-word-inner {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    will-change: transform, opacity;
}
.ae-word-inner.visible {
    animation: ae-word-reveal 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes ae-word-reveal {
    to { transform: translateY(0); opacity: 1; }
}

/* 6. Header Morphing */
/* Non-hero pages: always frosted glass — backdrop-filter on ::before to avoid creating a containing block */
body:not(.has-dark-hero) .header:not(.ae-scrolled) {
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    border-bottom-color: var(--gray-200);
}
body:not(.has-dark-hero) .header:not(.ae-scrolled)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
    pointer-events: none;
}
/* Hero pages: transparent until scroll */
body.has-dark-hero .header:not(.ae-scrolled) { box-shadow: none; }
body.has-dark-hero .header:not(.ae-scrolled) .nav-menu a,
body.has-dark-hero .header:not(.ae-scrolled) .logo,
body.has-dark-hero .header:not(.ae-scrolled) .logo-text { color: #fff; }
body.has-dark-hero .header:not(.ae-scrolled) .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
body.has-dark-hero .header:not(.ae-scrolled) .cart-icon { color: #fff; }
body.has-dark-hero .header:not(.ae-scrolled) .nav-menu a:hover { color: rgba(255,255,255,0.8); }
body.has-dark-hero .header:not(.ae-scrolled) .mobile-toggle span { background: #fff; }
body.has-dark-hero .header:not(.ae-scrolled) .logo-text { color: #fff !important; }
body.has-dark-hero .header:not(.ae-scrolled) .logo img { filter: brightness(0) invert(1); }
body.has-dark-hero .header:not(.ae-scrolled) .nav-profile { background: rgba(255,255,255,0.2); color: #fff; }

/* Header scrolled state */
.header.ae-scrolled {
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    border-bottom-color: var(--gray-200);
}
.header.ae-scrolled::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
    pointer-events: none;
}
.header.ae-scrolled .nav-menu a {
    color: var(--gray-dark, var(--gray-700));
}
.header.ae-scrolled .logo,
.header.ae-scrolled .logo-text {
    color: var(--primary);
}
.header .nav-menu a,
.header .btn-ghost {
    transition: color 0.4s ease;
}

/* 7. Premium card hover — refined elevation, no 3D tilt */
.hv2-service-card, .card, .event-card {
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s cubic-bezier(0.22,1,0.36,1), border-color 0.3s ease;
    position: relative;
}
.hv2-service-card:hover, .card:hover, .event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(16,89,112,0.10), 0 2px 8px rgba(0,0,0,0.05);
}
/* Liquid glass shimmer on hover */
.hv2-service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}
.hv2-service-card:hover::before { opacity: 1; }

/* 8. Page Transition Overlay */
#ae-page-overlay {
    position: fixed;
    inset: 0;
    background: var(--primary);
    z-index: 999999;
    transform: scaleY(0);
    transform-origin: bottom;
    pointer-events: none;
}
#ae-page-overlay.sweep-in {
    animation: ae-sweep-in 0.35s cubic-bezier(0.16,1,0.3,1) forwards;
}
#ae-page-overlay.sweep-out {
    animation: ae-sweep-out 0.35s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes ae-sweep-in {
    from { transform: scaleY(0); transform-origin: bottom; }
    to   { transform: scaleY(1); transform-origin: bottom; }
}
@keyframes ae-sweep-out {
    from { transform: scaleY(1); transform-origin: top; }
    to   { transform: scaleY(0); transform-origin: top; }
}

/* 9. Staggered Grid Reveal */
.ae-grid-reveal > * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.ae-grid-reveal > *.ae-card-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 10. Hero Gradient Animation */
.hv2-hero,
.hero {
    background-size: 300% 300% !important;
    animation: ae-hero-gradient 8s ease infinite;
}
@keyframes ae-hero-gradient {
    0%   { background-position: 0% 50%; }
    33%  { background-position: 100% 50%; }
    66%  { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
}

/* 11. Mobile Menu Enhanced */
.mobile-nav a {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.2s ease, color 0.2s ease;
}
.mobile-menu.open .mobile-nav a {
    opacity: 1;
    transform: translateX(0);
}
.mobile-close {
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.mobile-menu.open .mobile-close {
    transform: rotate(90deg);
}
#ae-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(2px);
}
#ae-mobile-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

/* 12. Loading Screen */
#ae-loader {
    position: fixed;
    inset: 0;
    background: var(--primary-dark);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}
#ae-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}
.ae-loader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 0 24px;
    opacity: 0;
    animation: ae-logo-in 0.6s cubic-bezier(0.16,1,0.3,1) 0.1s forwards;
}
.ae-loader-logo img {
    height: clamp(36px, 5vw, 56px);
    width: auto;
    max-width: 200px;
    margin: 0 auto;
    display: block;
    filter: brightness(0) invert(1);
}
.ae-loader-logo span {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    color: #fff;
}
@keyframes ae-logo-in {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}
/* kept for backward compat */
.ae-loader-word { display: flex; gap: 2px; }
.ae-loader-letter {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    animation: ae-letter-in 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
    letter-spacing: 2px;
}
@keyframes ae-letter-in { to { opacity: 1; transform: translateY(0); } }

/* Reduce motion overrides */
@media (prefers-reduced-motion: reduce) {
    .ae-word-inner,
    .ae-loader-letter,
    #ae-page-overlay,
    .ae-grid-reveal > *,
    .hv2-hero,
    .hero,
    .mobile-menu,
    .mobile-nav a {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    #ae-loader { display: none !important; }
}

/* ========== End Corporate Pages ========== */

/* ══════════════════════════════════════
   About Page v2
   ══════════════════════════════════════ */

/* Hero */
/* ── ABOUT PAGE: Editorial redesign ──────────────────────────── */
.about-hero {
    background: linear-gradient(160deg, #0a3d52 0%, var(--primary) 55%, #1a7a96 100%);
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 140px 0 72px;
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(232,185,49,0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 80%, rgba(255,255,255,0.04) 0%, transparent 50%);
    pointer-events: none;
}
/* Large decorative "A" watermark */
.about-hero::after {
    content: 'Æ';
    position: absolute;
    right: -40px;
    bottom: -60px;
    font-family: var(--font-heading);
    font-size: clamp(260px, 35vw, 480px);
    font-weight: 700;
    font-style: italic;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}
.about-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}
.about-hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.about-hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}
.about-hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 6.5vw, 4.8rem);
    font-weight: 500;
    font-style: italic;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}
.about-hero-headline em { font-style: italic; }
.about-hero-sub {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.65);
    font-weight: 400;
    letter-spacing: 0.02em;
    padding-left: 44px;
    border-left: 1px solid rgba(255,255,255,0.2);
}

/* Story Section */
.about-story-section { background: var(--white); }
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
@media (min-width: 768px) {
    .about-story-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
}
.about-pull-quote-wrap {
    position: sticky;
    top: 100px;
}
.about-pull-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-style: italic;
    font-weight: 500;
    color: var(--primary);
    line-height: 1.45;
    margin: 0;
    position: relative;
    padding-top: 40px;
}
/* Big decorative opening quote */
.about-pull-quote::before {
    content: '\201C';
    display: block;
    font-family: var(--font-heading);
    font-size: 6rem;
    color: var(--accent);
    line-height: 0.6;
    margin-bottom: 16px;
    opacity: 0.7;
}
.about-pull-quote-attr {
    display: block;
    margin-top: 24px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
}
.about-story-body p {
    color: var(--gray-700);
    line-height: 1.85;
    font-size: 1.05rem;
}
.about-story-body p:first-child::first-letter {
    float: left;
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 0.75;
    margin-right: 10px;
    margin-top: 6px;
}
.about-story-body p + p { margin-top: 24px; }
.about-services-section { background: var(--gray-50); }
.section-header--lg { margin-bottom: 56px; }
.section-header--md { margin-bottom: 48px; }

/* Stats Bar */
.about-stats-bar {
    background: var(--primary);
    padding: 40px 24px;
}
.about-stats-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: var(--container);
    margin: 0 auto;
}
.about-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 40px;
    flex: 1;
    min-width: 200px;
}
.about-stat-value {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.about-stat-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.about-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .about-stat-divider { display: none; }
    .about-stat-item { min-width: 100%; padding: 12px 24px; }
}

/* Values Section */
.about-values-section { background: var(--white); }
.about-values-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 48px 0;
    border-bottom: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}
.about-values-item:last-child { border-bottom: none; }
@media (min-width: 768px) {
    .about-values-item--left {
        grid-template-columns: auto 1fr;
        gap: 48px;
        align-items: center;
    }
    .about-values-item--right {
        grid-template-columns: 1fr auto;
        gap: 48px;
        align-items: center;
        direction: rtl;
    }
    .about-values-item--right .about-values-content { direction: ltr; }
    .about-values-item--right .about-values-number { direction: ltr; }
}
.about-values-number {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 10vw, 8rem);
    font-weight: 700;
    color: rgba(16,89,112,0.06);
    line-height: 1;
    user-select: none;
    flex-shrink: 0;
}
.about-values-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}
.about-values-desc {
    color: var(--gray-600);
    line-height: 1.75;
    font-size: 1rem;
    max-width: 540px;
}

/* Services Grid */
.about-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 640px) {
    .about-services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Glass Cards */
.about-glass-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(16,89,112,0.12);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s cubic-bezier(0.16,1,0.3,1);
}
.about-glass-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(16,89,112,0.10), 0 2px 8px rgba(0,0,0,0.04);
}
.about-glass-icon {
    width: 52px;
    height: 52px;
    background: rgba(16,89,112,0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
    flex-shrink: 0;
}
.about-glass-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
}
.about-glass-desc {
    font-size: 0.94rem;
    color: var(--gray-600);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 24px;
}
.about-glass-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.2s ease;
}
.about-glass-link:hover { gap: 10px; }

/* CTA Section */
.about-cta-section {
    background: var(--primary-dark);
    padding: 100px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.about-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 60%, rgba(232,185,49,0.07) 0%, transparent 60%);
    pointer-events: none;
}
.about-cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.about-cta-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}
.about-cta-headline em { font-style: italic; color: rgba(255,255,255,0.85); }
.about-cta-sub {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}
.about-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-accent {
    background: var(--accent);
    color: var(--black);
    font-weight: 600;
}
.btn-accent:hover {
    background: #d4a82a;
    color: var(--black);
}
.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.4);
    font-weight: 500;
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}

/* ── About Page v2 — Additions ── */

/* Hero decorative circle */
.about-hero-deco {
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.10);
    pointer-events: none;
    z-index: 0;
}

/* Stats bar gradient upgrade */
.about-stats-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1a7a96 100%);
}
.about-stat-value {
    font-size: 1.35rem;
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}
.about-stat-accent {
    display: block;
    width: 32px;
    height: 2px;
    background: var(--accent);
    margin: 6px auto 0;
    border-radius: 2px;
}

/* Values content editorial border */
.about-values-content {
    border-left: 3px solid var(--primary);
    padding-left: 24px;
}

/* Mobile: stack values straight, no alternating */

/* Services cards upgrade */
.about-glass-card {
    border-top: 3px solid var(--primary);
}
.about-glass-icon {
    background: linear-gradient(135deg, rgba(16,89,112,0.10), rgba(16,89,112,0.05));
}
.about-glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(16,89,112,0.18), 0 4px 12px rgba(16,89,112,0.10);
}

/* Story section pull-quote decorative circle */
.about-pull-quote-wrap {
    position: relative;
}
.about-pull-quote-wrap::after {
    content: '';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(16,89,112,0.10);
    z-index: -1;
    pointer-events: none;
}

/* ══════════════════════════════════════
   Contact Page v2
   ══════════════════════════════════════ */

.contact-wrap {
    display: grid;
    grid-template-columns: 40% 60%;
    margin-top: var(--header-height);
}

/* Left panel */
.contact-left {
    background: var(--primary);
    padding: 64px 52px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.contact-left::before {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.08);
    pointer-events: none;
}
.contact-left::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.06);
    pointer-events: none;
}

.contact-logo {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-headline-wrap {
    margin-bottom: 56px;
}
.contact-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 800;
    font-style: normal;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 16px;
}
.contact-subline {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    font-weight: 300;
    line-height: 1.6;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}
.contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
}
.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.18);
}
.contact-info-label {
    font-family: var(--font-body);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2px;
}
.contact-info-value {
    font-family: var(--font-body);
    font-size: 0.97rem;
    color: #fff;
    font-weight: 400;
}
.contact-info-value a {
    color: #fff;
    text-decoration: none;
}
.contact-info-value a:hover { opacity: 0.8; }

.contact-socials {
    display: flex;
    gap: 16px;
}
.contact-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.contact-social-link:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.5);
}

/* Right panel */
.contact-right {
    background: var(--off-white);
    padding: 72px 60px 80px;
    display: flex;
    flex-direction: column;
}
.contact-form-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 40px;
}

/* Floating label fields */
.contact-field {
    position: relative;
    margin-bottom: 32px;
}
.contact-field input,
.contact-field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--gray-300);
    padding: 14px 0 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--black);
    outline: none;
    transition: border-color 0.25s ease;
    resize: none;
}
.contact-field input:focus,
.contact-field textarea:focus {
    border-bottom-color: var(--primary);
}
.contact-field label {
    position: absolute;
    left: 0;
    top: 14px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray-400);
    pointer-events: none;
    transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}
.contact-field input:focus ~ label,
.contact-field input:not(:placeholder-shown) ~ label,
.contact-field textarea:focus ~ label,
.contact-field textarea:not(:placeholder-shown) ~ label {
    top: -8px;
    font-size: 0.72rem;
    color: var(--primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Bottom border animation */
.contact-field::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}
.contact-field:focus-within::after {
    width: 100%;
}

/* Submit button */
.contact-submit {
    width: 100%;
    padding: 16px 32px;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    font-style: normal;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    text-align: center;
}
.contact-submit:hover {
    background: var(--accent);
    color: var(--black);
}

/* Flash messages */
.contact-flash-success {
    background: #d1fae5;
    border: 1px solid #34d399;
    color: #065f46;
    border-radius: var(--radius);
    padding: 14px 20px;
    margin-bottom: 24px;
    font-size: 0.95rem;
}
.contact-flash-error {
    background: #fee2e2;
    border: 1px solid #f87171;
    color: #991b1b;
    border-radius: var(--radius);
    padding: 14px 20px;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* Mobile */
@media (max-width: 900px) {
    .contact-wrap {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .contact-left {
        padding: 48px 32px 40px;
        min-height: 320px;
    }
    .contact-logo { padding-bottom: 24px; }
    .contact-headline-wrap { margin-bottom: 32px; }
    .contact-info-list { margin-bottom: 32px; }
    .contact-right {
        padding: 48px 32px 72px;
    }
}

/* ══════════════════════════════════════
   Event Detail v2
   ══════════════════════════════════════ */

/* Hero */
.ev-hero {
    position: relative;
    height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--primary-dark);
    margin-top: var(--header-height);
}
.ev-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ev-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.70) 100%);
}
.ev-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 0 52px;
}
.ev-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-full);
    padding: 5px 14px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}
.ev-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}
.ev-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.ev-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    transition: background 0.2s ease;
}
.ev-pill:hover { background: rgba(255,255,255,0.25); color: #fff; }
.ev-pill svg { flex-shrink: 0; opacity: 0.85; }
.ev-hero-summary {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255,255,255,0.80);
    line-height: 1.6;
    max-width: 640px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Main layout */
.ev-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 52px;
    align-items: start;
    padding: 60px 0 80px;
}
.ev-main {}
.ev-section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}
.ev-description {
    color: var(--gray-600);
    line-height: 1.85;
    font-size: 1rem;
    margin-bottom: 48px;
}
.ev-description p + p { margin-top: 16px; }

/* Timeline */
.ev-timeline {
    margin-bottom: 48px;
}
.ev-timeline-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}
.ev-timeline-item:last-child { border-bottom: none; }
.ev-timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 6px;
}
.ev-timeline-text {
    font-family: var(--font-body);
    font-size: 0.97rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Instructor card */
.ev-instructor-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 48px;
}
.ev-instructor-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}
.ev-instructor-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 2px;
}
.ev-instructor-role {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Sidebar sticky */
.ev-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

/* Ticket card wrapper */
.ev-ticket-widget {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.ev-ticket-widget-header {
    background: var(--primary);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
}
.ev-ticket-widget-body {
    padding: 20px;
}

/* Individual ticket card */
.ev-ticket-card {
    position: relative;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    background: var(--white);
}
.ev-ticket-card:hover:not(.sold-out) {
    border-color: var(--primary);
}
.ev-ticket-card.selected {
    border-color: var(--primary);
    background: rgba(16,89,112,0.04);
}
.ev-ticket-card.vip {
    border-color: var(--accent);
    border-width: 2px;
}
.ev-ticket-card.vip.selected {
    background: rgba(232,185,49,0.05);
}
.ev-ticket-card.sold-out {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

/* Ticket badges */
.ev-ticket-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    padding: 3px 10px;
    line-height: 1.4;
}
.ev-ticket-badge--early {
    background: #d1fae5;
    color: #065f46;
}
.ev-ticket-badge--vip {
    background: var(--accent);
    color: var(--black);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.ev-ticket-badge--soldout {
    background: var(--gray-200);
    color: var(--gray-600);
}

.ev-ticket-name {
    font-family: var(--font-body);
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 2px;
    padding-right: 80px;
    padding-left: 28px;
}
.ev-ticket-desc { padding-left: 28px; }
.ev-ticket-desc {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--gray-500);
    margin-bottom: 8px;
    line-height: 1.5;
}
.ev-ticket-row-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}
.ev-ticket-price-main {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    white-space: nowrap;
    display: inline-block;
}
.ev-ticket-price-orig {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.82rem;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-left: 6px;
    font-variant-numeric: tabular-nums;
}
.ev-ticket-price-free {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--success);
    letter-spacing: -0.02em;
}
.ev-ticket-remaining {
    font-family: var(--font-body);
    font-size: 0.75rem;
    border-radius: var(--radius-full);
    padding: 2px 10px;
    font-weight: 600;
}
.ev-ticket-remaining--low {
    background: #fee2e2;
    color: #991b1b;
}
.ev-ticket-remaining--ok {
    background: #d1fae5;
    color: #065f46;
}
.ev-ticket-radio {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    background: #fff;
    transition: border-color 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}
.ev-ticket-card.selected .ev-ticket-radio {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: inset 0 0 0 3px #fff;
}

/* Quantity picker */
.ev-qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0 12px;
    border-top: 1px solid var(--gray-100);
    margin-top: 4px;
}
.ev-qty-label {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--gray-600);
    font-weight: 500;
}
.ev-qty-picker {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
}
.ev-qty-btn {
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    font-family: inherit;
}
.ev-qty-btn:hover { background: var(--gray-200); }
.ev-qty-input {
    width: 48px;
    text-align: center;
    border: none;
    border-left: 1.5px solid var(--gray-200);
    border-right: 1.5px solid var(--gray-200);
    padding: 6px 4px;
    font-family: var(--font-body);
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--black);
    outline: none;
    background: #fff;
}

/* Total bar */
.ev-total-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 16px;
    border-top: 1px solid var(--gray-100);
}
.ev-total-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-500);
}
.ev-total-amount {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* No tickets state */
.ev-no-tickets {
    text-align: center;
    padding: 40px 24px;
}
.ev-no-tickets-icon {
    color: var(--gray-300);
    margin: 0 auto 16px;
}
.ev-no-tickets-text {
    font-family: var(--font-body);
    font-size: 0.97rem;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 900px) {
    .ev-hero { height: 380px; }
    .ev-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 0 60px;
    }
    /* Sidebar moves above description on mobile */
    .ev-sidebar { position: static; order: -1; }
}



/* ═══════════════════════════════════════
   QR Check-in
   ═══════════════════════════════════════ */

/* ── Ticket page ── */
.ticket-page-section { padding: 60px 0 80px; background: var(--cream); min-height: 80vh; }

.ticket-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.ticket-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 28px 32px 24px;
}
.ticket-header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    opacity: .9;
    margin-bottom: 12px;
}
.ticket-header-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.ticket-body { padding: 28px 32px; }

.ticket-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}
.ticket-status-badge--confirmed  { background: rgba(16,89,112,.1); color: var(--primary); }
.ticket-status-badge--attended   { background: rgba(5,150,105,.12); color: var(--success); }
.ticket-status-badge--cancelled  { background: rgba(220,38,38,.1); color: var(--danger); }
.ticket-status-time { font-weight: 400; opacity: .8; font-size: 12px; }

.ticket-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0 20px;
}
.ticket-qr img {
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    padding: 8px;
    background: var(--white);
}
.ticket-qr-hint {
    margin-top: 10px;
    font-size: 12px;
    color: var(--gray-400);
    text-align: center;
}

.ticket-details {
    border-top: 1px solid var(--gray-200);
    padding-top: 20px;
    display: grid;
    gap: 12px;
}
.ticket-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}
.ticket-detail-label { color: var(--gray-400); flex-shrink: 0; }
.ticket-detail-value { color: var(--gray-800); font-weight: 500; text-align: right; }
.ticket-code { font-family: monospace; font-size: 13px; letter-spacing: .05em; }

.ticket-perforation {
    height: 1px;
    background: repeating-linear-gradient(to right, var(--gray-300) 0, var(--gray-300) 8px, transparent 8px, transparent 14px);
    margin: 0 -1px;
    position: relative;
}

.ticket-footer {
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    background: var(--gray-100);
}
.ticket-footer-link { color: var(--primary); font-weight: 600; text-decoration: none; }
.ticket-footer-link:hover { text-decoration: underline; }
.ticket-footer-note { color: var(--gray-400); font-size: 11px; }

/* ── Admin Check-in Panel ── */
.checkin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.checkin-stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.checkin-stat-num { font-size: 32px; font-weight: 700; line-height: 1; }
.checkin-stat-lbl { font-size: 12px; color: var(--gray-400); }

.checkin-wrap {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 24px;
    align-items: start;
}
.checkin-section-title {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 16px;
}

/* Scanner panel */
.checkin-scanner {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}
.checkin-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 12px;
}
.checkin-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.checkin-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}
.checkin-scan-line {
    display: none;
    position: absolute;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: scanLine 2.4s ease-in-out infinite;
    top: 20%;
}
@keyframes scanLine {
    0%   { top: 15%; }
    50%  { top: 82%; }
    100% { top: 15%; }
}
.checkin-cam-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.checkin-result {
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.checkin-result--success { background: rgba(5,150,105,.1); border: 1px solid rgba(5,150,105,.25); }
.checkin-result--error   { background: rgba(220,38,38,.07); border: 1px solid rgba(220,38,38,.2); }
.checkin-result-icon { font-size: 28px; font-weight: 700; }
.checkin-result--success .checkin-result-icon { color: var(--success); }
.checkin-result--error   .checkin-result-icon { color: var(--danger); }
.checkin-result-msg { font-weight: 600; font-size: 15px; }
.checkin-result-detail { font-size: 13px; color: var(--gray-600); line-height: 1.6; }

.checkin-manual { border-top: 1px solid var(--gray-200); padding-top: 16px; }
.checkin-manual-row { display: flex; gap: 8px; }
.checkin-manual-input {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: monospace;
}
.checkin-manual-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-10); }

/* Attendee list panel */
.checkin-attendee-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: calc(100vh - 260px);
    overflow: hidden;
}
.checkin-list-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.checkin-search {
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 13px;
    width: 220px;
}
.checkin-search:focus { outline: none; border-color: var(--primary); }

.checkin-attendee-list {
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.checkin-attendee-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: background .15s;
}
.checkin-attendee-item:hover { background: var(--gray-100); }
.checkin-attendee-name { font-weight: 600; font-size: 14px; color: var(--gray-800); }
.checkin-attendee-meta { font-size: 12px; color: var(--gray-400); margin-top: 2px; }
.checkin-attendee-checkin-time { font-size: 11px; color: var(--success); margin-top: 2px; font-weight: 500; }
.checkin-attendee-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.checkin-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}
.checkin-badge--confirmed { background: rgba(16,89,112,.1); color: var(--primary); }
.checkin-badge--attended  { background: rgba(5,150,105,.12); color: var(--success); }
.checkin-badge--cancelled { background: rgba(220,38,38,.1); color: var(--danger); }

/* Responsive */
@media (max-width: 1100px) {
    .checkin-wrap { grid-template-columns: 1fr; }
    .checkin-attendee-panel { max-height: 60vh; }
    .checkin-video-wrap { max-width: 380px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
    .checkin-stats { grid-template-columns: repeat(2, 1fr); }
    .checkin-list-header { flex-direction: column; align-items: flex-start; }
    .checkin-search { width: 100%; }
    .ticket-footer { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ═══ Hero Cinematic Slider — 2026 ═══ */
.hv2-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hv2-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1), transform 7s ease;
    will-change: opacity, transform;
}
.hv2-slide--active {
    opacity: 1;
    transform: scale(1);
}
.hv2-slide--exit {
    opacity: 0;
    transform: scale(1.04);
}
.hv2-slide-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hv2-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: width 0.4s ease, background 0.3s ease;
}
.hv2-dot--active {
    width: 28px;
    border-radius: 4px;
    background: #fff;
}

/* ═══ Mobile Optimization 2026 ═══ */


/* Global overflow guard — prevent horizontal scroll from decorative elements */
.about-hero,
.about-cta-section,
.hv2-hero,
.hv2-section {
    overflow-x: hidden;
}

/* ═══ Hero Slide Gradient Backgrounds (görsel yokken fallback) ═══ */
.hv2-slide--1 {
    background-image: url('/images/hero-2.jpg'),
        linear-gradient(135deg, #0a3d52 0%, #105970 40%, #1a7a94 70%, #0d4a61 100%);
    background-size: cover;
    background-position: center;
}
.hv2-slide--2 {
    background-image: url('/images/hero-3.jpg'),
        linear-gradient(135deg, #1a2a3a 0%, #0d4a61 40%, #105970 70%, #2a5a70 100%);
    background-size: cover;
    background-position: center top;
}
.hv2-slide--3 {
    background-image: url('/images/hero-4.jpg'),
        linear-gradient(135deg, #0d3344 0%, #0a4a5e 40%, #16687f 70%, #0e3d50 100%);
    background-size: cover;
    background-position: center;
}

/* Slide overlay texture pattern */
.hv2-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(232,185,49,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(255,255,255,0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* Hero her zaman visible — section-fade-up override */
.hv2-hero,
.hv2-hero.section-fade-up,
.hv2-hero.reveal {
    opacity: 1 !important;
    transform: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   AETHERYS 2026 — COMPREHENSIVE UPDATE
   ═══════════════════════════════════════════════════════════════ */

/* ── Editorial touches on About page ───────────────────────────── */
.about-story-body p { font-size: 1.0625rem; line-height: 1.85; color: var(--gray-700); margin-bottom: 1.1em; }
.about-story-body p strong { color: var(--black); font-weight: 600; }
.about-story-body p:first-of-type::first-letter {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.4rem;
    float: left;
    line-height: 0.9;
    padding: 6px 10px 0 0;
    color: var(--primary);
}
.about-signoff {
    font-style: italic;
    color: var(--gray-500);
    margin-top: 1.6em !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.01em;
}
.about-pull-quote { font-size: 1.35rem !important; line-height: 1.55 !important; font-weight: 400; font-style: italic; color: var(--gray-800); }
.about-pull-quote-attr { display: block; margin-top: 18px; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-style: normal; color: var(--gray-500); font-weight: 600; }
.about-value-block h3 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.02em; }
.about-founder-card { text-align: center; }
.about-founder-role { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-500); font-weight: 600; margin-top: 6px; }
.about-founder-name { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.02em; font-size: 1.15rem; margin-top: 14px; }

/* ── 1. MOBILE MENU LOGO (BIG & prominent — overrides everything) */
.mobile-menu .mobile-menu-header,
.mobile-menu-header {
    padding: 8px 0 28px !important;
    margin-bottom: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px;
}
.mobile-menu .mobile-menu-header .logo,
.mobile-menu-header .logo {
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
    min-height: 48px !important;
}
/* Mobile menu overlay logo — 32px, no squish, no max-width constraint */
.mobile-menu .mobile-menu-header .logo img,
.mobile-menu-header .logo img {
    height: 32px !important;
    width: auto !important;
    flex-shrink: 0 !important;
    display: block !important;
}
.mobile-menu .mobile-menu-header .logo span,
.mobile-menu-header .logo span {
    font-size: 26px !important;
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
    letter-spacing: -0.04em !important;
    line-height: 1 !important;
}

/* ── 2. HEADER — white nav guaranteed on transparent hero ─────── */
/* Ensure logo + nav visible on any dark background */
body.has-dark-hero .header:not(.ae-scrolled) {
    background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, transparent 100%) !important;
}
body.has-dark-hero .header:not(.ae-scrolled) .nav-menu a { color: #fff !important; }
body.has-dark-hero .header:not(.ae-scrolled) .logo-text { color: #fff !important; }
body.has-dark-hero .header:not(.ae-scrolled) .logo img { filter: brightness(0) invert(1) !important; }
body.has-dark-hero .header:not(.ae-scrolled) .cart-icon { color: #fff !important; }
body.has-dark-hero .header:not(.ae-scrolled) .mobile-toggle span { background: #fff !important; }
body.has-dark-hero .header:not(.ae-scrolled) .btn-ghost { color: #fff !important; border-color: rgba(255,255,255,0.5) !important; }
body.has-dark-hero .header:not(.ae-scrolled) .nav-profile { background: rgba(255,255,255,0.2) !important; color: #fff !important; }

/* ── FIX: Dark hero pages — remove top margin so header overlays hero ── */
body.has-dark-hero .hero,
body.has-dark-hero .hv2-hero {
    margin-top: 0 !important;
}

/* ── 3. HERO SLIDER — premium cross-dissolve ─────────────────── */
.hv2-slides { perspective: none; }
.hv2-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition:
        opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
        transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
    background-size: cover;
    background-position: center;
}
.hv2-slide--active {
    opacity: 1 !important;
    transform: scale(1) !important;
}
/* Exit slide — gentle fade */
.hv2-slide--exit {
    opacity: 0;
    transform: scale(1.01);
    transition: opacity 0.9s ease, transform 1.2s ease;
}

/* ── 4. ENHANCED HOVER EFFECTS ────────────────────────────────── */
/* course-card hover handled in main card block above */

/* Service cards */
.hv2-service-card {
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
                box-shadow 0.4s cubic-bezier(0.22,1,0.36,1),
                border-color 0.3s ease !important;
}
.hv2-service-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(16,89,112,0.10), 0 2px 8px rgba(0,0,0,0.05) !important;
}
.hv2-service-card:hover .hv2-service-icon {
    background: linear-gradient(135deg, var(--primary), #1a7a94);
    color: #fff;
    transform: scale(1.05);
}
.hv2-service-icon {
    transition: background 0.3s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

/* Event cards */
.hv2-event-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 28px rgba(16,89,112,0.10), 0 2px 6px rgba(0,0,0,0.04) !important;
}
.hv2-event-card:hover .hv2-event-img img {
    transform: scale(1.05);
}
.hv2-event-img img {
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

/* Buttons — spring bounce */
.btn { transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease, background 0.2s ease !important; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(16,89,112,0.35); }
.btn-accent:hover { box-shadow: 0 8px 24px rgba(232,185,49,0.4); }

/* Nav links — underline sweep */
.nav-menu a { position: relative; }
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent, #E8B931);
    border-radius: 99px;
    transition: width 0.3s cubic-bezier(0.16,1,0.3,1);
}
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }

/* About glass cards */
.about-glass-card {
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.4s cubic-bezier(0.16,1,0.3,1) !important;
}
.about-glass-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 28px rgba(16,89,112,0.10), 0 2px 6px rgba(0,0,0,0.04) !important;
}

/* ── 5. ABOUT VALUES — modern 2-column grid ──────────────────── */
.about-values-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 40px;
}
.about-value-block {
    background: var(--white);
    padding: 48px 40px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: background 0.3s ease;
}
.about-value-block:hover { background: #f8feff; }
.about-value-num {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    color: rgba(16,89,112,0.08);
    line-height: 1;
    flex-shrink: 0;
    user-select: none;
    min-width: 70px;
}
.about-value-body h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}
.about-value-body p {
    color: var(--gray-600);
    line-height: 1.75;
    font-size: 0.95rem;
    max-width: 360px;
}

/* ── 6. ABOUT FOUNDERS GRID — editorial portrait style ─────── */
.about-founders-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.about-founder-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 24px 28px;
    text-align: center;
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease, border-color 0.3s ease;
}
.about-founder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(16,89,112,0.10);
    border-color: rgba(16,89,112,0.15);
}
/* Gold accent line on hover */
.about-founder-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: transform 0.3s ease;
    transform-origin: center;
}
.about-founder-card:hover::after {
    transform: translateX(-50%) scaleX(1);
}
.about-founder-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a3d52, var(--primary));
    color: #fff;
    font-family: var(--font-body);
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 4px solid rgba(232,185,49,0.35);
    box-shadow: 0 8px 32px rgba(16,89,112,0.15);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
    position: relative;
}
.about-founder-card:hover .about-founder-avatar {
    border-color: rgba(232,185,49,0.65);
    box-shadow: 0 12px 40px rgba(16,89,112,0.25);
    transform: translateY(-3px);
}
/* duplicate removed */
.about-founder-name { font-weight: 600; font-size: 15px; margin-bottom: 4px; color: var(--gray-800); }
.about-founder-role { font-size: 12px; color: var(--gray-400); letter-spacing: 0.08em; text-transform: uppercase; }
/* 3-founder variant */
.about-founders-grid--3 { grid-template-columns: repeat(3, 1fr); }
/* Founder avatar color variants */
.about-founder-avatar--ek { background: linear-gradient(135deg, #0a3d52, #105970); }
.about-founder-avatar--od { background: linear-gradient(135deg, #105970, #1a7a94); }
.about-founder-avatar--ty { background: linear-gradient(135deg, #c49b1a, #E8B931); }
@media (max-width: 900px) {
    .about-founders-grid { grid-template-columns: repeat(2, 1fr); }
    .about-founders-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .about-founders-grid--3 { grid-template-columns: 1fr; gap: 12px; }
    .about-founders-grid--3 .about-founder-card {
        display: grid;
        grid-template-columns: 64px 1fr;
        text-align: left;
        padding: 18px 20px;
        gap: 16px;
        align-items: center;
    }
    .about-founders-grid--3 .about-founder-avatar {
        margin: 0;
        width: 64px;
        height: 64px;
        font-size: 20px;
        position: static;
    }
}
/* ── 7. ABOUT PARTNERS ──────────────────────────────────────── */
.about-partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.about-partner-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    gap: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-100);
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
}
.about-partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(16,89,112,0.10);
}
.about-partner-logo-wrap { flex-shrink: 0; }
.about-partner-initials {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #1a7a94);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-partner-name { font-size: 17px; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
.about-partner-desc { font-size: 14px; color: var(--gray-600); line-height: 1.65; margin-bottom: 12px; }
.about-partner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--gray-500);
    align-items: center;
    margin-bottom: 10px;
}
.about-partner-meta span { display: flex; align-items: center; gap: 4px; }
.about-partner-ig {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.about-partner-ig:hover { color: var(--accent, #E8B931); }
.about-partner-scope {
    display: inline-block;
    font-size: 11px;
    background: rgba(16,89,112,0.08);
    color: var(--primary);
    border-radius: 99px;
    padding: 3px 10px;
    font-weight: 500;
}

/* ── 8. PRODUCT VARIANTS — better UX ───────────────────────── */
.variant-group { margin-bottom: 20px; }
.variant-group-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.variant-group-label span { color: var(--primary); font-weight: 700; }
.variant-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-chip {
    padding: 8px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    background: var(--white);
    color: var(--gray-700);
    user-select: none;
}
.variant-chip:hover { border-color: var(--primary); color: var(--primary); }
.variant-chip.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}
.variant-chip.out-of-stock { opacity: 0.45; cursor: not-allowed; text-decoration: line-through; }
.product-price-display {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    transition: color 0.2s ease;
}
.product-price-display.updated { animation: priceFlash 0.4s ease; }
@keyframes priceFlash {
    0% { color: var(--primary); }
    50% { color: var(--accent, #E8B931); }
    100% { color: var(--primary); }
}

/* ── 9. BLOG PAGE IMPROVEMENTS ──────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-100);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
    display: block;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(16,89,112,0.16); }
.blog-card-image { aspect-ratio: 16/9; overflow: hidden; background: var(--off-white); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.blog-card:hover .blog-card-image img { transform: scale(1.06); }
.blog-card-body { padding: 24px; }
.blog-category {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(16,89,112,0.08);
    border-radius: 99px;
    padding: 3px 10px;
    margin-bottom: 10px;
}
.blog-card-body h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; color: var(--gray-900); }
.blog-card-body p { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin-bottom: 12px; }
.blog-meta { font-size: 12px; color: var(--gray-400); }
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* ── 10. FILTER BAR ─────────────────────────────────────────── */
.filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    align-items: center;
}
.search-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease;
}
.search-input:focus { border-color: var(--primary); }
.filter-bar select {
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    outline: none;
    background: var(--white);
    cursor: pointer;
}

/* ── 11. EMPTY STATE ────────────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state-icon { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; margin-bottom: 8px; }
.empty-state p { color: var(--gray-500); margin-bottom: 20px; }

/* ── 12. PRODUCT DETAIL RESPONSIVE ─────────────────────────── */

/* ── 13. GLOBAL RESPONSIVE IMPROVEMENTS ────────────────────── */
@media (max-width: 1024px) {
    .about-founders-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .about-stats-inner { flex-direction: column; gap: 20px; text-align: center; }
    .about-stat-divider { display: none; }
    .section-header .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}

/* ── 14. HERO OVERLAY — stronger top gradient for nav readability */
.hv2-hero-overlay {
    background: linear-gradient(to bottom,
        rgba(0,0,0,0.45) 0%,
        rgba(0,0,0,0.25) 30%,
        rgba(0,0,0,0.10) 60%,
        rgba(0,0,0,0.30) 100%) !important;
}

/* ═══════════════════════════════════════════════════════
   15. PREMIUM CARD ANIMATIONS — card-enter + slider stagger
   ═══════════════════════════════════════════════════════ */

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards in sliders — taller image, staggered entrance */
.course-slider .course-card .course-card-img {
    aspect-ratio: 4/3;
}
.course-slider .course-card {
    opacity: 0;
    animation: cardEnter 0.6s cubic-bezier(0.22,1,0.36,1) forwards;
}
.course-slider .course-card:nth-child(1)  { animation-delay: 0.04s; }
.course-slider .course-card:nth-child(2)  { animation-delay: 0.12s; }
.course-slider .course-card:nth-child(3)  { animation-delay: 0.20s; }
.course-slider .course-card:nth-child(4)  { animation-delay: 0.28s; }
.course-slider .course-card:nth-child(5)  { animation-delay: 0.36s; }
.course-slider .course-card:nth-child(n+6){ animation-delay: 0.44s; }

/* ae-card-visible used by JS IntersectionObserver */
.ae-card-visible { opacity: 1 !important; transform: translateY(0) !important; }

/* When user prefers reduced motion, skip animation */
@media (prefers-reduced-motion: reduce) {
    .course-slider .course-card {
        opacity: 1;
        animation: none;
    }
}

/* ── Event card premium enhancements ── */
.hv2-event-card {
    border-width: 1.5px !important;
    transition: box-shadow 0.4s cubic-bezier(0.22,1,0.36,1),
                transform 0.4s cubic-bezier(0.22,1,0.36,1),
                border-color 0.3s ease !important;
}
.hv2-event-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(232,185,49,0.40) !important;
    box-shadow:
        0 4px 12px rgba(16,89,112,0.08),
        0 8px 24px rgba(16,89,112,0.10),
        0 0 0 1px rgba(232,185,49,0.12) !important;
}

/* Date badge scales on event card hover */
.hv2-event-date {
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.hv2-event-card:hover .hv2-event-date {
    transform: scale(1.08) !important;
}

/* Event title color on hover */
.hv2-event-card:hover .hv2-event-title {
    color: var(--primary);
}

/* Urgency "Son X kişi!" badge pulse */
@keyframes urgencyPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.45); }
    50%       { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}
.hv2-urgency-badge,
.badge-urgency,
[class*="urgency"] {
    animation: urgencyPulse 1.8s ease-in-out infinite;
}

/* ── Profile Dashboard — Premium Redesign ── */
@keyframes profileHeroIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Profile hero Æ watermark ── */
.prf-hero-ae {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 180px;
    font-weight: 700;
    color: rgba(255,255,255,0.04);
    pointer-events: none;
    line-height: 1;
    user-select: none;
}
/* ── Avatar progress ring ── */
.prf-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}
.prf-ring {
    position: absolute;
    inset: 0;
}
.prf-ring-fill {
    transition: stroke-dashoffset 1.2s cubic-bezier(0.22,1,0.36,1) 0.3s;
}
.prf-ring-pct {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: #E8B931;
    color: #082d3a;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}
/* ── Watch time badge ── */
.prf-hero-watchtime {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(255,255,255,0.50);
    margin-top: 8px;
}
/* ── 4-column stat grid ── */
.prf-stat-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.prf-hero {
    background: linear-gradient(135deg, #105970 0%, #0d4558 60%, #082d3a 100%);
    border-radius: 20px;
    padding: 36px 40px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 28px;
    position: relative;
    overflow: hidden;
    animation: profileHeroIn 0.6s cubic-bezier(0.22,1,0.36,1) both;
}
.prf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 80% -10%, rgba(232,185,49,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at -10% 80%, rgba(255,255,255,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.prf-avatar-circle {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: rgba(232,185,49,0.20);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #E8B931;
    letter-spacing: -0.5px;
}
.prf-hero-info { flex: 1; min-width: 0; }
.prf-hero-greeting {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(232,185,49,0.80);
    margin-bottom: 6px;
}
.prf-hero-name {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-body);
    margin: 0 0 6px;
}
.prf-hero-meta {
    font-size: 13px;
    color: rgba(255,255,255,0.60);
}
.prf-hero-stats {
    display: flex;
    gap: 24px;
    flex-shrink: 0;
}
.prf-hero-stat {
    text-align: center;
    color: #fff;
}
.prf-hero-stat-num {
    font-size: 26px;
    font-weight: 800;
    color: #E8B931;
    line-height: 1;
    display: block;
}
.prf-hero-stat-lbl {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    margin-top: 4px;
    display: block;
    white-space: nowrap;
}
.prf-hero-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    align-self: center;
}

/* Stat cards */
.prf-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}
.prf-stat-card {
    background: var(--white);
    border: 1.5px solid rgba(16,89,112,0.10);
    border-radius: 16px;
    padding: 20px 18px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}
.prf-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(232,185,49,0.35);
    box-shadow: 0 8px 24px rgba(16,89,112,0.10);
}
.prf-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(16,89,112,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: var(--primary);
}
.prf-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}
.prf-stat-lbl {
    font-size: 12px;
    color: var(--text-muted, #6b7280);
    font-weight: 500;
}

/* Quick nav row */
.prf-quick-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.prf-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--white);
    border: 1.5px solid rgba(16,89,112,0.12);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.prf-quick-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Section heading */
.prf-section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main, #111827);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.prf-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(16,89,112,0.08);
}

/* Resume card grid */
.prf-resume-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.prf-resume-card {
    background: var(--white);
    border: 1.5px solid rgba(16,89,112,0.10);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1), border-color 0.3s ease;
}
.prf-resume-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16,89,112,0.22);
    box-shadow: 0 8px 24px rgba(16,89,112,0.10);
}
.prf-resume-thumb {
    aspect-ratio: 16/7;
    overflow: hidden;
    position: relative;
}
.prf-resume-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.prf-resume-card:hover .prf-resume-thumb img { transform: scale(1.04); }
.prf-resume-pct-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(16,89,112,0.85);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
}
.prf-resume-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.prf-resume-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main, #111827);
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.prf-progress-track {
    height: 5px;
    background: rgba(16,89,112,0.08);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 12px;
}
.prf-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #105970, #E8B931);
    border-radius: 99px;
    transition: width 0.8s ease;
}
.prf-resume-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    align-self: flex-start;
}
.prf-resume-btn:hover { background: #0d4558; transform: translateX(2px); }
.prf-resume-btn-outline {
    background: transparent;
    border: 1.5px solid rgba(16,89,112,0.25);
    color: var(--primary);
}
.prf-resume-btn-outline:hover { background: rgba(16,89,112,0.06); }

/* Activity feed */
.prf-activity {
    background: var(--white);
    border: 1.5px solid rgba(16,89,112,0.10);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
}
.prf-activity-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(16,89,112,0.06);
    transition: background 0.2s ease;
}
.prf-activity-item:last-child { border-bottom: none; }
.prf-activity-item:hover { background: rgba(16,89,112,0.025); }
.prf-activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}
.prf-activity-info { flex: 1; min-width: 0; }
.prf-activity-course {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.prf-activity-lesson {
    font-size: 12px;
    color: var(--text-muted, #6b7280);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin-top: 1px;
}
.prf-activity-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    flex-shrink: 0;
    padding: 5px 10px;
    border: 1px solid rgba(16,89,112,0.20);
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}
.prf-activity-link:hover { background: var(--primary); color: #fff; }

/* Empty state */
.prf-empty {
    text-align: center;
    padding: 56px 24px;
    background: var(--white);
    border: 1.5px dashed rgba(16,89,112,0.18);
    border-radius: 16px;
}
.prf-empty-icon { display: flex; justify-content: center; margin-bottom: 14px; }
.prf-empty h3 { font-size: 18px; margin-bottom: 8px; color: var(--text-main); }
.prf-empty p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }


/* ══════════════════════════════════════
   RESPONSIVE ADDITIONS — mobile fixes
   ══════════════════════════════════════ */

/* Filter bar — detailed mobile rules */
@media (max-width: 640px) {
    .filter-bar { flex-direction: column; padding: 12px 16px; gap: 10px; }
    .filter-bar .search-input { min-width: unset; width: 100%; }
    .filter-bar select { width: 100%; }
    .filter-bar button { width: 100%; }
}

/* Pagination mobile */

/* Profile quick nav mobile */
@media (max-width: 640px) {
    .prf-quick-nav { flex-wrap: wrap; gap: 8px; }
    .prf-quick-link { font-size: 12px; padding: 8px 12px; }
}

/* Empty state icon — allow SVG inside */
.empty-state-icon svg { display: block; margin: 0 auto; }

/* ══════════════════════════════════════
   MOBILE RESPONSIVE — TARGETED FIXES
   ══════════════════════════════════════ */

/* hv2-hero-inner: stack vertically at < 768px, hide badge */

/* hv2-hero-title: cap at 2rem for very small screens */

/* course-slider / event-slider cards: prevent overflow on narrow screens */
@media (max-width: 400px) {
    .course-slider .course-card {
        min-width: calc(100vw - 48px);
        max-width: calc(100vw - 48px);
    }
    .hv2-event-card {
        min-width: calc(100vw - 48px);
        max-width: calc(100vw - 48px);
    }
}

/* prf-stat-grid--4: 2 columns at < 640px (already at 768px; reinforce for 640) */
@media (max-width: 640px) {
    .prf-stat-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* contact-wrap: single column at < 768px (extended from 900px breakpoint) */

/* Cart table at < 600px: enable horizontal scroll with visual indicator */
@media (max-width: 600px) {
    .cart-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }
    .cart-table-wrap::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 32px;
        height: 100%;
        background: linear-gradient(to left, rgba(255,255,255,0.85), transparent);
        pointer-events: none;
    }
    .cart-table { min-width: 480px; font-size: 13px; }
    .cart-table th:nth-child(4),
    .cart-table td:nth-child(4) { display: none; }
}

/* Footer at < 480px: center-aligned single column */


/* ───────── MOBILE: about/profile/admin overflow & layout fixes ───────── */

/* ───────── PRELOADER hard-centering (mobil dahil) ───────── */
#ae-loader { display:flex !important; align-items:center !important; justify-content:center !important; text-align:center !important; }
#ae-loader .ae-loader-logo { display:flex !important; align-items:center !important; justify-content:center !important; width:100% !important; padding:0 16px !important; }
#ae-loader .ae-loader-logo > * { margin:0 auto !important; text-align:center !important; }

/* ───────── MOBILE STICKY HEADER LOGO — consolidated, no squish ───────── */

/* ═══════════════════════════════════════════════════════════
   PROFILE MOBILE — full responsive (no horizontal scroll)
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   COURSE DETAIL — Ücretsiz price tag, küçült
   ═══════════════════════════════════════════════════════════ */
.course-sidebar-price,
.course-price { font-size: 1.6rem !important; }
.course-sidebar-price-free,
.course-sidebar-price.free,
.price-free { font-size: 1.4rem !important; font-weight: 700 !important; color: var(--primary) !important; }
/* Price block "ÜCRETSİZ" if rendered as text */
.course-sidebar-price:has(+ .price-free),
.course-price-free { font-size: 1.5rem !important; }

/* ═══════════════════════════════════════════════════════════
   DESKTOP COURSE CARDS — slightly bigger
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
    .course-slider .course-card,
    .courses-grid .course-card,
    .hv2-courses-slider-wrap .course-card { min-width: 320px; }
    .course-card-image { aspect-ratio: 4/3; }
    .course-card-title { font-size: 18px !important; line-height: 1.35 !important; }
    .course-card-meta { font-size: 13px !important; }
    .course-card-price { font-size: 17px !important; }
}

/* MOBILE STICKY HEADER LOGO — unified (consolidated into earlier block above) */

/* ═══════════════════════════════════════════════════════════
   GLOBAL — kill horizontal scroll on mobile (root + container)
   ═══════════════════════════════════════════════════════════ */
html, body { overflow-x: hidden !important; max-width: 100vw; }

/* ═══════════════════════════════════════════════════════════
   FOUNDER CARDS V2 — bigger, polished, with emails
   ═══════════════════════════════════════════════════════════ */
.about-founders-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}
.founder-card-v2 {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--gray-200, #e5e7eb);
    box-shadow: 0 4px 20px rgba(16,89,112,0.06);
    transition: transform .35s cubic-bezier(0.16,1,0.3,1), box-shadow .35s ease;
    display: flex;
    flex-direction: column;
}
.founder-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(16,89,112,0.16);
}
.founder-card-v2-img {
    aspect-ratio: 4/5;
    background: linear-gradient(180deg, rgba(16,89,112,0.05), rgba(232,185,49,0.06));
    overflow: hidden;
    position: relative;
}
.founder-card-v2-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .6s ease;
}
.founder-card-v2:hover .founder-card-v2-img img { transform: scale(1.04); }
.founder-card-v2-fallback {
    width: 100%; height: 100%;
    align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: 4rem; font-weight: 800;
    color: var(--primary, #105970);
    letter-spacing: -0.04em;
    background: rgba(16,89,112,0.06);
}
.founder-card-v2-body {
    padding: 24px 22px 26px;
    text-align: center;
    border-top: 1px solid var(--gray-100, #f3f4f6);
}
.founder-card-v2-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text, #1a1a1a);
    margin: 0 0 8px;
}
.founder-card-v2-email {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary, #105970);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.01em;
    word-break: break-all;
    transition: color .2s;
}
.founder-card-v2-email:hover { color: var(--accent, #E8B931); }

@media (min-width: 769px) and (max-width: 1024px) {
    .about-founders-grid-v2 { gap: 22px; }
}

/* ═══════════════════════════════════════════════════════════
   FOUNDER CARDS V2 — desktop polish (override earlier)
   ═══════════════════════════════════════════════════════════ */
.about-founders-grid-v2 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 32px !important;
    margin-top: 48px !important;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.founder-card-v2 {
    background: #fff !important;
    border-radius: 24px !important;
    overflow: hidden;
    border: 1px solid var(--gray-200, #e5e7eb);
    box-shadow: 0 8px 32px rgba(16,89,112,0.08);
    transition: transform .4s cubic-bezier(0.16,1,0.3,1), box-shadow .4s ease;
    display: flex !important;
    flex-direction: column !important;
}
.founder-card-v2:hover { transform: translateY(-8px); box-shadow: 0 24px 56px rgba(16,89,112,0.18); }
.founder-card-v2-img {
    aspect-ratio: 4/5 !important;
    width: 100% !important;
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, rgba(16,89,112,0.05), rgba(232,185,49,0.06));
    border-radius: 0 !important;
}
.founder-card-v2-img img {
    width: 100% !important; height: 100% !important;
    object-fit: cover !important; object-position: center 20% !important;
    display: block !important;
    transition: transform .6s ease;
}
.founder-card-v2:hover .founder-card-v2-img img { transform: scale(1.05); }
.founder-card-v2-fallback {
    width: 100%; height: 100%;
    display: none;
    align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: 5rem; font-weight: 800;
    color: var(--primary, #105970);
    letter-spacing: -0.04em;
    background: rgba(16,89,112,0.06);
}
.founder-card-v2-body {
    padding: 28px 24px 30px !important;
    text-align: center !important;
    background: #fff;
}
.founder-card-v2-name {
    font-family: var(--font-heading) !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    color: var(--text, #1a1a1a) !important;
    margin: 0 0 10px !important;
    line-height: 1.2 !important;
}
.founder-card-v2-email {
    display: inline-block;
    font-size: 0.85rem !important;
    color: var(--primary, #105970) !important;
    text-decoration: none;
    font-weight: 500;
    word-break: break-all;
    transition: color .2s;
}
.founder-card-v2-email:hover { color: var(--accent, #E8B931) !important; }
@media (max-width: 900px) {
    .about-founders-grid-v2 { grid-template-columns: 1fr !important; gap: 22px !important; max-width: 460px !important; }
    .founder-card-v2-img { aspect-ratio: 1/1 !important; }
}

/* Override earlier conflicting styles from about-founder-card */
.about-founder-card { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   ABOUT — Mobile overflow KILL (decorative Æ + overflow chain)
   ═══════════════════════════════════════════════════════════ */
.about-hero { overflow: hidden !important; max-width: 100vw !important; box-sizing: border-box !important; }
.about-hero::after,
.about-hero::before { display: none !important; pointer-events: none; }

/* ═══════════════════════════════════════════════════════════
   PROFILE PAGE — full mobile responsive (hard fix)
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   FOUNDER CARDS V2 — equal heights, premium boxes (override)
   ═══════════════════════════════════════════════════════════ */
.about-founders-grid-v2 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(240px, 1fr)) !important;
    gap: 28px !important;
    max-width: 1080px !important;
    margin: 48px auto 0 !important;
    align-items: stretch !important;
    padding: 0 16px !important;
}
.founder-card-v2 {
    background: #fff !important;
    border: 1px solid rgba(16,89,112,0.12) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 6px 24px rgba(16,89,112,0.07) !important;
    transition: transform .35s cubic-bezier(0.16,1,0.3,1), box-shadow .35s ease !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    position: relative;
}
.founder-card-v2::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary, #105970), var(--accent, #E8B931));
    z-index: 2;
}
.founder-card-v2:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 18px 44px rgba(16,89,112,0.16) !important;
}
.founder-card-v2-img {
    aspect-ratio: 1 / 1 !important;  /* eşit kare */
    width: 100% !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #f4f8fa, #eaf1f4) !important;
    flex-shrink: 0 !important;
}
.founder-card-v2-img img {
    width: 100% !important; height: 100% !important;
    object-fit: cover !important; object-position: center 22% !important;
    display: block !important;
    transition: transform .55s ease !important;
}
.founder-card-v2:hover .founder-card-v2-img img { transform: scale(1.06) !important; }
.founder-card-v2-fallback {
    width: 100% !important; height: 100% !important;
    display: none;
    align-items: center !important; justify-content: center !important;
    font-family: var(--font-heading) !important;
    font-size: 4rem !important; font-weight: 800 !important;
    color: var(--primary, #105970) !important;
    background: rgba(16,89,112,0.06) !important;
}
.founder-card-v2-body {
    padding: 22px 20px 24px !important;
    text-align: center !important;
    background: #fff !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 8px !important;
}
.founder-card-v2-name {
    font-family: var(--font-heading) !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    color: var(--text, #1a1a1a) !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}
.founder-card-v2-email {
    display: inline-block !important;
    font-size: 0.78rem !important;
    color: var(--primary, #105970) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    word-break: break-all !important;
    letter-spacing: 0 !important;
}
.founder-card-v2-email:hover { color: var(--accent, #E8B931) !important; text-decoration: underline !important; }

@media (max-width: 900px) {
    .about-founders-grid-v2 {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        max-width: 360px !important;
        padding: 0 16px !important;
    }
    .founder-card-v2-img { aspect-ratio: 4/5 !important; }
    .founder-card-v2-name { font-size: 1.15rem !important; }
    .founder-card-v2-email { font-size: 0.75rem !important; }
}

/* ═══════════════════════════════════════════════════════════
   FOUNDER CARDS V3 — editorial, minimalist, matches site style
   (final override — clean magazine layout, no chrome)
   ═══════════════════════════════════════════════════════════ */
.about-founders-grid-v2 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 36px !important;
    max-width: 980px !important;
    margin: 56px auto 0 !important;
    padding: 0 24px !important;
    align-items: start !important;
}
.founder-card-v2 {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    transition: none !important;
    display: block !important;
    text-align: center !important;
    overflow: visible !important;
    height: auto !important;
}
.founder-card-v2::before { display: none !important; }
.founder-card-v2:hover {
    transform: none !important;
    box-shadow: none !important;
}
.founder-card-v2-img {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto 22px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #f1f5f7 !important;
    position: relative;
    box-shadow: 0 2px 14px rgba(16,89,112,0.06) !important;
}
.founder-card-v2-img img {
    width: 100% !important; height: 100% !important;
    object-fit: cover !important;
    object-position: center 25% !important;
    display: block !important;
    transition: transform .8s cubic-bezier(0.16,1,0.3,1) !important;
    filter: saturate(0.95) !important;
}
.founder-card-v2:hover .founder-card-v2-img img {
    transform: scale(1.04) !important;
    filter: saturate(1.05) !important;
}
.founder-card-v2-fallback {
    width: 100% !important; height: 100% !important;
    display: none;
    align-items: center !important; justify-content: center !important;
    font-family: var(--font-heading), 'Inter', sans-serif !important;
    font-size: 3.5rem !important; font-weight: 800 !important;
    color: var(--primary, #105970) !important;
    background: #f1f5f7 !important;
    letter-spacing: -0.04em !important;
}
.founder-card-v2-body {
    padding: 0 !important;
    background: transparent !important;
    text-align: center !important;
    display: block !important;
}
.founder-card-v2-name {
    font-family: 'Inter', var(--font-heading), sans-serif !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.035em !important;
    color: #1a1a1a !important;
    margin: 0 0 6px !important;
    line-height: 1.2 !important;
}
.founder-card-v2-email {
    display: inline-block !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.78rem !important;
    color: var(--gray-500, #6b7280) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    letter-spacing: 0.005em !important;
    word-break: break-all !important;
    border-bottom: 1px solid transparent !important;
    transition: color .2s, border-color .2s !important;
    padding-bottom: 1px !important;
}
.founder-card-v2-email:hover {
    color: var(--primary, #105970) !important;
    border-bottom-color: var(--primary, #105970) !important;
}

@media (max-width: 900px) {
    .about-founders-grid-v2 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 18px !important;
        max-width: 100% !important;
        padding: 0 16px !important;
    }
    .founder-card-v2-img { max-width: 100% !important; margin-bottom: 14px !important; border-radius: 10px !important; }
    .founder-card-v2-name { font-size: 0.95rem !important; }
    .founder-card-v2-email { font-size: 0.7rem !important; }
}

/* ═══════════════════════════════════════════════════════════
   FINAL OVERRIDE — KILL ALL OVERFLOW + V4 FOUNDER CARDS
   (This is the last word — placed at file end for max specificity)
   ═══════════════════════════════════════════════════════════ */

/* Stop horizontal scroll EVERYWHERE */
html, body, main, section, .container, .about-hero, .about-section,
.about-stats-bar, .profile-section, .profile-layout, .profile-content,
.profile-sidebar, .prf-hero, footer, header, .footer, .header {
    max-width: 100vw !important;
    overflow-x: clip !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}
@supports (overflow: clip) {
    html, body { overflow-x: clip !important; }
}


/* ═══════════════════════════════════════════════════════════
   FOUNDERS V4 — clean simple cards with photos
   ═══════════════════════════════════════════════════════════ */
.founders-v4 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 32px !important;
    max-width: 960px !important;
    margin: 56px auto 0 !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}
.founder-v4 {
    text-align: center !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}
.founder-v4-img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin: 0 auto 18px !important;
    background: #f1f5f7 !important;
    box-shadow: 0 6px 24px rgba(16,89,112,0.10) !important;
    border: 4px solid #fff !important;
    max-width: 220px !important;
    transition: transform .35s ease;
}
.founder-v4:hover .founder-v4-img { transform: translateY(-4px); }
.founder-v4-img img {
    width: 100% !important; height: 100% !important;
    object-fit: cover !important;
    object-position: center 25% !important;
    display: block !important;
}
.founder-v4-fallback {
    width: 100%; height: 100%;
    display: none;
    align-items: center; justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem; font-weight: 800;
    color: var(--primary, #105970);
    background: rgba(16,89,112,0.06);
    letter-spacing: -0.04em;
}
.founder-v4-name {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.035em !important;
    color: #1a1a1a !important;
    margin-bottom: 4px !important;
}
.founder-v4-mail {
    display: inline-block;
    font-size: 0.78rem !important;
    color: #6b7280 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color .2s;
    word-break: break-all;
}
.founder-v4-mail:hover { color: var(--primary, #105970) !important; }


/* Hide all old founder versions */
.about-founder-card, .about-founders-grid, .about-founders-grid-v2 { display: none !important; }

/* Partner image (when uploaded) — replaces initials box */
.about-partner-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
    background: #f1f5f7;
}
.about-partner-image img {
    width: 100% !important; height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ═══════════════════════════════════════════════════════════
   PARTNER CARDS — logo circle + gallery thumbnails
   ═══════════════════════════════════════════════════════════ */
.about-partner-card { position: relative; }
.about-partner-logo-circle {
    position: absolute;
    top: calc(56.25% - 40px); /* sit on bottom edge of 16:9 hero */
    left: 20px;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    z-index: 2;
}
.about-partner-logo-circle img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 6px;
}
.about-partner-card .about-partner-body { padding-top: 56px; }
.about-partner-card .about-partner-body:first-child { padding-top: 24px; }

.about-partner-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 0 18px 18px;
}
.about-partner-gallery-item {
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    background: #f4f6f8;
    cursor: pointer;
    transition: transform .25s ease;
}
.about-partner-gallery-item:hover { transform: scale(1.04); }
.about-partner-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* Click any gallery image to open lightbox */
.ae-lightbox {
    position: fixed; inset: 0; z-index: 99999999;
    background: rgba(10,29,39,0.94);
    display: flex; align-items: center; justify-content: center;
    padding: 24px; cursor: zoom-out;
    animation: ae-lb-fade .25s;
}
@keyframes ae-lb-fade { from { opacity: 0; } }
.ae-lightbox img {
    max-width: 100%; max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}


/* ═══════════════════════════════════════════════════════════
   PROFILE DROPDOWN — desktop hover fallback + always-on click
   ═══════════════════════════════════════════════════════════ */
.nav-profile-wrap { position: relative; }
.nav-profile-wrap .nav-profile {
    cursor: pointer; user-select: none;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--primary, #105970);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
    border: none;
    transition: transform .15s, box-shadow .15s;
}
.nav-profile-wrap .nav-profile:hover { transform: scale(1.05); box-shadow: 0 4px 14px rgba(16,89,112,0.3); }
/* profile dropdown — see bottom of file for full implementation */

/* ═══════════════════════════════════════════════════════════
   FINAL MOBILE HEADER — LOGO + BUTTONS BALANCED
   (Override anything earlier — placed at very end)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 380px) {
    .header .logo img { height: 24px !important; width: auto !important; max-width: none !important; }
    .header .logo span { font-size: 18px !important; line-height: 24px !important; }
    .header .nav-actions .btn { padding: 0 8px !important; font-size: 10.5px !important; height: 32px !important; }
    .header .nav-actions .btn-ghost { display: inline-flex !important; padding: 0 8px !important; font-size: 10.5px !important; height: 32px !important; }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT HERO — kill the right-side decorative circle on mobile
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .about-hero, .about-hero * { overflow-x: hidden !important; }
    .about-hero::before, .about-hero::after { display: none !important; }
    .about-hero .hv2-rotating-badge,
    .about-hero [class*="circle"],
    .about-hero [class*="badge"]:not(.about-hero-eyebrow):not(.section-badge) { display: none !important; }
}
/* Force the hero section to clip any overflowing element */
.about-hero { overflow: hidden !important; clip-path: inset(0); }

/* ═══════════════════════════════════════════════════════════
   FOUNDERS MOBILE — Ögeday first, then Tekin
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .founders-v4 { display: flex !important; flex-direction: column !important; align-items: center; }
    .founders-v4 .founder-v4 { order: 99; width: 100%; max-width: 320px; }
    /* Ögeday's card has email "ogeday.demiray@..." — target via attribute selector */
    .founders-v4 .founder-v4:has(a[href*="ogeday"]) { order: 1 !important; }
    .founders-v4 .founder-v4:has(a[href*="tekin"])  { order: 2 !important; }
}

/* ═══════════════════════════════════════════════════════════
   PROFILE PAGES — full mobile responsive (FINAL)
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   FINAL TWEAKS — header logo küçült, about top padding +
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 380px) {
    .header .logo img { height: 24px !important; width: auto !important; max-width: none !important; }
    .header .logo span { font-size: 17px !important; line-height: 24px !important; }
}

/* Partners about cards — prefer logo over initials when both present (already in PHP) */
/* Partners admin index — show logo image instead of initials box */
.ap-table img.partner-logo-thumb {
    width: 40px; height: 40px;
    border-radius: 8px;
    object-fit: contain;
    background: #f4f6f8;
    padding: 4px;
    border: 1px solid var(--card-border);
}

/* ═══════════════════════════════════════════════════════════
   MOBILE LOGOS — UNIFIED SIZE EVERYWHERE (FINAL FINAL)
   Sticky header (guest + logged-in) + Hamburger panel logo
   = ALL 32px height
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 380px) {
    /* Even tighter on tiny */
    .header .logo img,
    .mobile-menu-header .logo img { height: 24px !important; width: auto !important; max-width: none !important; }
    .header .logo span,
    .mobile-menu-header .logo span { font-size: 18px !important; line-height: 24px !important; }
}

/* ═══════════════════════════════════════════════════════════
   DISCOUNT BADGES — unified across all card types
   ═══════════════════════════════════════════════════════════ */
.badge.badge-discount {
    background: linear-gradient(135deg, #dc2626, #ef4444) !important;
    color: #fff !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    box-shadow: 0 2px 8px rgba(220,38,38,0.25) !important;
    text-transform: none !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}
.badge.badge-discount::before {
    content: '🏷';
    font-size: 11px;
    opacity: 0.9;
}

/* ═══════════════════════════════════════════════════════════
   CART + CHECKOUT — mobile responsive
   ═══════════════════════════════════════════════════════════ */

/* Partner: logo replaces initials box, exact same shape/size */
.about-partner-initials.about-partner-initials--logo {
    width: 56px !important;
    height: 56px !important;
    background: #fff !important;
    padding: 5px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid var(--gray-200, #e5e7eb) !important;
    border-radius: 14px !important;
    flex-shrink: 0 !important;
    isolation: isolate; /* clip child img to rounded corners reliably */
}
.about-partner-initials.about-partner-initials--logo img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
    border-radius: 10px !important;
}

/* ═══════════════════════════════════════════════════════════
   FINAL MOBILE FIXES — profile padding, AE watermark kill,
   admin panel scroll, hero spacing
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE SWEEP — final pass
   Tüm site + admin mobil uyumlu
   ═══════════════════════════════════════════════════════════ */

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .container { padding: 0 24px !important; }
    .ap-grid-3, .ap-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE PAGE-SPECIFIC POLISH
   ═══════════════════════════════════════════════════════════ */

/* Very small screens (<400px) — extra compaction */
@media (max-width: 400px) {
    h1 { font-size: 1.4rem !important; }
    h2 { font-size: 1.15rem !important; }
    .ap-page-title { font-size: 16px !important; }
    .container { padding: 0 12px !important; }
    .ap-card-body, .form-section { padding: 12px !important; }
    .ap-stats { grid-template-columns: 1fr !important; }
    .footer { padding: 24px 12px !important; }
    .hv2-hero-title { font-size: 1.5rem !important; }
}

/* PRINT styles (admin order print) */
@media print {
    .header, .footer, .ap-sidebar, .ap-topbar, .ap-page-actions, button, .ap-btn { display: none !important; }
    body, .ap-main { background: #fff !important; padding: 0 !important; }
    .ap-card { box-shadow: none !important; border: 1px solid #ddd !important; page-break-inside: avoid; }
}

/* ═══════════════════════════════════════════════════════════
   FINAL MOBILE — about overflow + sticky header + body lock
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   FINAL — hero behind sticky header (no white gap) + dots fix
   ═══════════════════════════════════════════════════════════ */

/* Remove the over-aggressive `body *` max-width that broke small inline elements (dots, buttons) */

/* ═══════════════════════════════════════════════════════════
   HERO SLIDER DOTS — defeat global max-width and force circles
   ═══════════════════════════════════════════════════════════ */
.hv2-dots { display: flex !important; gap: 8px !important; align-items: center !important; }
.hv2-dot {
    display: inline-block !important;
    width: 8px !important; height: 8px !important;
    min-width: 8px !important; min-height: 8px !important;
    max-width: 8px !important; max-height: 8px !important;
    padding: 0 !important; margin: 0 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.45) !important;
    border: 0 !important;
    cursor: pointer !important;
    transition: all .25s ease !important;
}
.hv2-dot.is-active, .hv2-dot--active {
    width: 28px !important; max-width: 28px !important; min-width: 28px !important;
    border-radius: 4px !important;
    background: #fff !important;
}

/* HERO MOBILE — title bigger, buttons smaller */

/* ═══════════════════════════════════════════════════════════
   FINAL MOBILE STICKY + ABOUT OVERFLOW + DOTS HARD-FIX
   ═══════════════════════════════════════════════════════════ */

/* Kill ALL horizontal overflow on about page */
@media (max-width: 900px) {
    body:has(.about-hero), body:has(.about-hero) main { overflow-x: clip !important; max-width: 100vw !important; }
    .about-hero, .about-story-section, .about-stats-bar, .about-values-section,
    .about-hero *, .about-story-section *, .about-stats-bar *, .about-values-section * {
        max-width: 100vw !important;
    }
    .about-hero::after, .about-hero::before { display: none !important; }
    .about-hero-deco, .about-hero-circle, [class*="about-"][class*="-deco"],
    [class*="about-"][class*="-circle"] { display: none !important; }
}

/* Profile circle in mobile sticky — restore proper round shape */

/* HERO: extend behind transparent header on home (no gap on first slide) */
body.has-dark-hero { padding-top: 0 !important; }
body.has-dark-hero .hv2-hero,
body.has-dark-hero .hero,
body.has-dark-hero .home-hero { margin-top: 0 !important; padding-top: 0 !important; }
body.has-dark-hero .hv2-hero-slide,
body.has-dark-hero .hero-slide { padding-top: 90px !important; }

/* SLIDER DOTS — nuclear override (defeat all global rules) */
.hv2-dots, .hero-dots { display: flex !important; gap: 10px !important; align-items: center !important; justify-content: center !important; padding: 0 !important; margin: 0 !important; }
.hv2-dot, .hero-dot,
button.hv2-dot, button.hero-dot {
    appearance: none !important;
    box-sizing: border-box !important;
    width: 10px !important; height: 10px !important;
    min-width: 10px !important; min-height: 10px !important;
    max-width: 10px !important; max-height: 10px !important;
    padding: 0 !important; margin: 0 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.5) !important;
    border: 1.5px solid rgba(255,255,255,0.8) !important;
    cursor: pointer !important;
    transition: all .3s ease !important;
    flex: 0 0 auto !important;
}
.hv2-dot.is-active, .hv2-dot--active, .hero-dot.is-active,
.hv2-dot[aria-current="true"] {
    width: 30px !important; max-width: 30px !important; min-width: 30px !important;
    border-radius: 5px !important;
    background: #fff !important;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE — EDITORIAL REFRESH (insan/yazılı hissi)
   ═══════════════════════════════════════════════════════════ */

/* Hero: less corporate gradient, more editorial */
.about-hero {
    background: linear-gradient(180deg, #0a3d52 0%, #105970 100%) !important;
    min-height: 70vh !important;
    align-items: center !important;
    padding: 140px 0 100px !important;
}
.about-hero::after { display: none !important; }
.about-hero-inner { max-width: 880px !important; padding: 0 32px !important; }
.about-hero-headline {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 400 !important;
    font-size: clamp(2.5rem, 6vw, 5rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.02em !important;
    color: #fff !important;
    font-style: italic !important;
}
.about-hero-headline br { display: none; }
.about-hero-sub {
    font-size: 17px !important;
    line-height: 1.7 !important;
    color: rgba(255,255,255,0.78) !important;
    max-width: 560px !important;
    margin-top: 28px !important;
    border: none !important;
    padding: 0 !important;
    font-family: 'Inter', sans-serif !important;
}

/* Story section: add an editorial signature */
.about-story-section { padding: 100px 0 !important; }
.about-pull-quote {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-style: italic !important;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem) !important;
    line-height: 1.4 !important;
    color: var(--primary) !important;
    border-left: 2px solid var(--accent) !important;
    padding-left: 28px !important;
    font-weight: 400 !important;
}
.about-story-body p {
    font-size: 16.5px !important;
    line-height: 1.85 !important;
    color: #2d3a44 !important;
    margin-bottom: 22px !important;
}
.about-story-body p:first-child::first-letter {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 4em !important;
    font-weight: 600 !important;
    float: left !important;
    line-height: 0.85 !important;
    margin: 6px 12px 0 0 !important;
    color: var(--primary) !important;
}
.about-story-body::after {
    content: '— Ögeday & Tekin';
    display: block;
    margin-top: 32px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 16px;
    color: #6b7c87;
    letter-spacing: 0.02em;
}

/* Values: make numbers feel hand-set, headings warmer */
.about-value-num {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-style: italic !important;
    color: var(--accent) !important;
    font-weight: 400 !important;
}
.about-value-body h3 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
}

/* Service glass cards: simplify into editorial blocks */
.about-glass-card {
    background: #fff !important;
    backdrop-filter: none !important;
    border: 1px solid #e8edf0 !important;
    border-radius: 4px !important;
    padding: 36px 28px !important;
    box-shadow: none !important;
    transition: border-color .25s, transform .25s !important;
}
.about-glass-card:hover { border-color: var(--accent) !important; transform: translateY(-2px) !important; }
.about-glass-icon {
    background: transparent !important;
    color: var(--primary) !important;
    width: auto !important; height: auto !important;
    margin-bottom: 16px !important;
}
.about-glass-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 500 !important;
    font-size: 1.5rem !important;
    letter-spacing: -0.01em !important;
}

/* CTA: editorial italic */
.about-cta-headline {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 400 !important;
    font-style: italic !important;
}

/* Mobile editorial polish */

/* ═══════════════════════════════════════════════════════════
   MOBILE PROFILE DROPDOWN + MENU SPACING FIX
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY V2 — replace Cormorant italic with Fraunces (editorial, not calligraphic)
   ═══════════════════════════════════════════════════════════ */
.about-hero-headline,
.about-pull-quote,
.about-story-body p:first-child::first-letter,
.about-glass-title,
.about-cta-headline,
.about-value-num,
.about-value-body h3 {
    font-family: 'Fraunces', 'Inter', Georgia, serif !important;
    font-style: normal !important;
    font-feature-settings: 'ss01' 1, 'ss02' 1;
}

.about-hero-headline {
    font-weight: 500 !important;
    letter-spacing: -0.025em !important;
}
.about-pull-quote {
    font-weight: 400 !important;
    font-style: italic !important; /* keep italic only on the actual quote */
    letter-spacing: -0.005em !important;
}
.about-glass-title {
    font-weight: 600 !important;
    font-size: 1.4rem !important;
    letter-spacing: -0.015em !important;
}
.about-cta-headline {
    font-weight: 500 !important;
    font-style: normal !important;
    letter-spacing: -0.025em !important;
}
.about-value-num {
    font-weight: 500 !important;
    font-style: normal !important;
}
.about-value-body h3 {
    font-weight: 600 !important;
    font-size: 1.25rem !important;
    letter-spacing: -0.01em !important;
}
.about-story-body p:first-child::first-letter {
    font-weight: 600 !important;
    font-size: 3.6em !important;
}

/* ═══════════════════════════════════════════════════════════
   PROFILE DROPDOWN — Tam yeniden yazım (hover + click, her cihazda)
   ═══════════════════════════════════════════════════════════ */

/* Wrapper */
#navProfileWrap {
    position: relative;
    flex-shrink: 0;
}

/* Dropdown container — default hidden */
/* #navProfileMenu base styles — positioned fixed, see DEFINITIVE FIX block below */
#navProfileMenu {
    display: block;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

/* Dropdown header */
.np-header {
    padding: 14px 16px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    background: #fafbfc;
}
.np-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    line-height: 1.3;
}
.np-email {
    font-size: 12px;
    color: var(--text-muted, #6b7280);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

/* Menu items */
.np-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text, #1a1a1a);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.12s;
    white-space: nowrap;
}
.np-item:hover { background: #f5f7fa; }
.np-item svg { flex-shrink: 0; opacity: 0.65; }
.np-item-sep { border-top: 1px solid rgba(0,0,0,0.06); }
.np-item-danger { color: #dc2626 !important; font-weight: 600; }
.np-item-danger svg { opacity: 1; }

/* Mobile: full-width fixed below header */

/* ═══════════════════════════════════════════════════════════
   GLOBAL OVERFLOW FIX — tüm sayfalarda yatay kaydırma yok
   ═══════════════════════════════════════════════════════════ */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}
*, *::before, *::after {
    box-sizing: border-box;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE — MOBİL DÜZELTME
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   ADMIN PANELİ — MOBİL & GENEL DÜZELTME
   ═══════════════════════════════════════════════════════════ */

/* Scrollable tables on mobile */
.ap-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.ap-table {
    min-width: 600px;
}

@media (max-width: 900px) {
    /* Admin sidebar collapse */
    .ap-sidebar { width: 60px !important; overflow: hidden !important; }
    .ap-sidebar .ap-nav-label,
    .ap-sidebar .ap-logo-text,
    .ap-sidebar .ap-sidebar-footer { display: none !important; }
    .ap-main { margin-left: 60px !important; }
}


/* Admin sidebar overlay on mobile */
.ap-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 8999;
}
.ap-sidebar-overlay.show { display: block; }

/* ═══════════════════════════════════════════════════════════
   GENEL SAYFA — MOBİL DÜZELTME
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
   AETHERYS 2026 — COMPREHENSIVE FIX PACK v2
   Mobile overflow, logo, fonts, contact, dropdown, checkout form
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. ABOUT PAGE: Fix horizontal overflow on all devices ───────── */
.about-story-section { overflow: hidden; }
.about-pull-quote-wrap { overflow: hidden; }
.about-pull-quote-wrap::after { display: none !important; }

/* ── 2. ABOUT PAGE: Consistent font (Inter throughout, no Fraunces) ─ */
.about-hero-headline {
    font-family: var(--font-body, 'Inter', sans-serif) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
}
.about-pull-quote {
    font-family: var(--font-body, 'Inter', sans-serif) !important;
    font-weight: 500 !important;
}
.about-pull-quote::before {
    font-family: var(--font-body, 'Inter', sans-serif) !important;
}
.about-cta-headline {
    font-family: var(--font-body, 'Inter', sans-serif) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
}
.about-value-num {
    font-family: var(--font-body, 'Inter', sans-serif) !important;
    font-weight: 800 !important;
}
.about-glass-title {
    font-family: var(--font-body, 'Inter', sans-serif) !important;
    font-weight: 700 !important;
}

/* ── 3. CONTACT PAGE: Reduce top gap ─────────────────────────────── */
.contact-wrap {
    margin-top: 0 !important;
}
.contact-left {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    min-height: calc(100vh - var(--header-height, 72px));
}
.contact-right {
    padding-top: 40px !important;
}

/* ── 4. PROFILE DROPDOWN: Ensure visible and clickable ───────────── */
/* navProfileMenu duplicate removed — handled above */

/* ── 5. HERO SLIDER: Gradient fallback when no image ─────────────── */
.hv2-slide { background-color: #105970; }
.hv2-slide--active { opacity: 1; }
/* Numbered fallback backgrounds */
.hv2-slide:nth-child(1):not([style*="url("]) { background-image: url('/images/hero-2.jpg'), linear-gradient(135deg,#0a3d52,#105970,#1a7a94); }
.hv2-slide:nth-child(2):not([style*="url("]) { background-image: url('/images/hero-3.jpg'), linear-gradient(135deg,#1a2a3a,#0d4a61,#105970); }
.hv2-slide:nth-child(3):not([style*="url("]) { background-image: url('/images/hero-4.jpg'), linear-gradient(135deg,#0d3344,#0a4a5e,#16687f); }
.hv2-slide:nth-child(4):not([style*="url("]) { background-image: url('/images/hero-5.jpg'), linear-gradient(135deg,#0e3d50,#105970,#1a7a94); }
.hv2-slide:nth-child(5):not([style*="url("]) { background-image: url('/images/hero-1.jpg'), linear-gradient(135deg,#0a3d52,#105970,#1a7a94); }

/* ── 6. CHECKOUT FORM: Styled form fields ─────────────────────────── */
.checkout-field-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.checkout-field-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 2px;
}
.checkout-field-group input,
.checkout-field-group select,
.checkout-field-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200, #e5e7eb);
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
}
.checkout-field-group input:focus,
.checkout-field-group select:focus,
.checkout-field-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16,89,112,0.1);
}
.checkout-field-group input::placeholder,
.checkout-field-group textarea::placeholder {
    color: var(--gray-400, #9ca3af);
}
.checkout-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 640px) {
    .checkout-form-grid { grid-template-columns: 1fr; }
}
.checkout-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-100);
}
.checkout-address-title-field {
    grid-column: 1 / -1;
}

/* ── 7. GLOBAL: Prevent any element causing horizontal scroll ──────── */
.section,
.container,
.about-hero,
.about-story-section,
.about-stats-bar,
.about-values-section,
.about-partners-section,
.about-services-section,
.about-cta-section,
.hv2-hero,
.hv2-section,
.footer,
.contact-wrap {
    max-width: 100vw;
}

/* ── 8. ADMIN: Improve order show page on mobile ─────────────────── */

/* ── 9. LOGO IMG: Proper sizing in header — no max-width so it never squishes ── */
.logo img.ae-logo-img {
    height: 28px;
    width: auto;
    max-width: none;
    display: block;
    flex-shrink: 0;
}
/* Mobile inherits 28px from the @media block below */

/* ── 10. HERO SLIDE TEXT: Equal-length text on slider ───────────── */
.hv2-hero-title {
    min-height: 2.2em;
}
.hv2-hero-lead {
    min-height: 3.5em;
}

/* ── 11. PROFILE DROPDOWN: Fix on dark hero header ──────────────── */
.nav-profile-wrap {
    position: relative;
    z-index: 1000;
}

/* ═══════════════════════════════════════════════════════════
   PROFILE DROPDOWN DEFINITIVE FIX
   ═══════════════════════════════════════════════════════════ */
#navProfileWrap {
    position: relative;
}
/* Ensure items are clickable: extend hit area between button and menu */
#navProfileWrap::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -10px;
    right: -10px;
    height: 16px; /* bridges the gap */
    display: none; /* only active when hover menu is open */
}
@media (hover: hover) {
    #navProfileWrap:hover::after { display: block; }
}
/* Profile dropdown — position:fixed to escape all overflow:hidden ancestors.
   NOTE: top/right/left have NO !important so JS inline styles can override them. */
#navProfileMenu {
    position: fixed !important;
    right: 16px;
    top: calc(var(--header-height, 64px) + 8px);
    left: auto;
    z-index: 1000001 !important;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
    transition: opacity 0.18s, transform 0.18s, visibility 0s linear 0.18s;
    will-change: transform, opacity;
    min-width: 220px;
    max-width: calc(100vw - 32px);
}
#navProfileMenu.ae-open {
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    transition: opacity 0.18s, transform 0.18s, visibility 0s linear 0s !important;
}
@media (hover: hover) {
    #navProfileWrap:hover #navProfileMenu {
        pointer-events: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) scale(1) !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE OVERFLOW — DEFINITIVE FIX
   ═══════════════════════════════════════════════════════════ */
.about-story-section,
.about-section,
section.about-story,
section[class*="about"] {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}
/* Hide the decorative circle that bleeds out 240px on mobile */
@media (max-width: 900px) {
    .about-pull-quote-wrap::after {
        display: none !important;
        content: none !important;
    }
    .about-pull-quote-wrap {
        overflow: hidden !important;
    }
}
/* Force about page to not overflow on ANY viewport */
.about-pull-quote-wrap {
    overflow: hidden !important;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE — REDUCE HEADER GAP
   ═══════════════════════════════════════════════════════════ */
.contact-wrap {
    margin-top: var(--header-height, 72px) !important;
    padding-top: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   LOGO — İKİ VERSİYON (MAVİ / BEYAZ) KONTROL
   ═══════════════════════════════════════════════════════════ */

/* Ana header logosu: temel boyut */
.ae-logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.ae-logo-img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Varsayılan: mavi göster, beyazı gizle */
.ae-logo-default { display: block; }
.ae-logo-white   { display: none;  }

/* Dark hero üzerinde: beyaz logoyu göster, maviyi gizle */
body.has-dark-hero .header:not(.ae-scrolled) .ae-logo-default { display: none;  }
body.has-dark-hero .header:not(.ae-scrolled) .ae-logo-white   { display: block; }

/* Scroll sonrası her zaman mavi */
.header.ae-scrolled .ae-logo-default { display: block; }
.header.ae-scrolled .ae-logo-white   { display: none;  }

/* Mobil menü logosu: beyaz (menü koyu arka plan) */
.ae-mobile-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    max-width: calc(100% - 60px); /* kapat butonuna yer bırak */
}

.ae-mobile-logo-img {
    display: block;
    height: 36px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Mobile menu header layout düzelt */
.mobile-menu-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 20px !important;
    gap: 12px !important;
    overflow: hidden !important;
}

/* Kapat butonu sıkışmasın */
.mobile-close {
    flex-shrink: 0 !important;
    min-width: 36px !important;
    min-height: 36px !important;
}

/* Mobil header'da logo küçültme */

/* ─── LOGO filter override: artık iki ayrı PNG var, invert gerekmiyor ─── */
body.has-dark-hero .header:not(.ae-scrolled) .logo img.ae-logo-img,
body.has-dark-hero .header:not(.ae-scrolled) .ae-logo-img,
.header.ae-scrolled .logo img.ae-logo-img,
.header.ae-scrolled .ae-logo-img {
    filter: none !important;
}
/* Eski logo-img genel kural override */
.logo img.ae-logo-img,
.ae-logo-img {
    filter: none !important;
    transition: opacity 0.2s;
}

/* ═══════════════════════════════════════════════════════════
   LOGO ORANI KORUMA — TÜM KONUMLAR
   Oran: ~4.4:1 (2971×672 px)
   ═══════════════════════════════════════════════════════════ */

/* Footer logosu */
.ae-footer-logo-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    text-decoration: none;
    flex-shrink: 0;
}
.ae-footer-logo-img {
    display: block;
    height: 34px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    flex-shrink: 0;
    min-width: 0;
}

/* Admin sidebar logosu */
.ae-admin-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    overflow: hidden;
    min-height: 48px;
}
.ae-admin-logo-img {
    display: block;
    height: 30px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    flex-shrink: 0;
    filter: none !important;
}

/* Admin topbar (mobil) logosu */
.ae-admin-topbar-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    flex-shrink: 0;
    overflow: hidden;
    max-width: calc(100% - 120px);
}
.ae-admin-topbar-logo-img {
    display: block;
    height: 26px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    flex-shrink: 0;
    filter: none !important;
}

/* Genel kural: hiçbir .ae-*-logo-img sıkışmasın */
[class*="ae-"][class*="logo-img"] {
    min-width: 0 !important;
    max-width: 220px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

/* Ana header logosu — var olan .ae-logo-img override */
.ae-logo-img {
    height: 40px !important;
    width: auto !important;
    max-width: 177px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    filter: none !important;
}

/* Mobil menü logosu */
.ae-mobile-logo-img {
    height: 32px !important;
    width: auto !important;
    max-width: 142px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    filter: none !important;
}

/* Eski .logo img kurallarının logoyu sıkıştırmasını önle */
.logo img.ae-logo-img,
.ae-logo-link .ae-logo-img {
    height: 40px !important;
    width: auto !important;
    max-width: 177px !important;
    filter: none !important;
}
.footer-logo .ae-footer-logo-img {
    height: 34px !important;
    width: 150px !important;
    max-width: 150px !important;
    filter: none !important;
}

/* Mobilde daha küçük */

/* Admin sidebar daraltıldığında logo gizle */
@media (max-width: 900px) {
    .ae-admin-logo-img { max-width: 28px !important; object-position: center; }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER & LOGO — FINAL FIXES 2026-05-02
   ═══════════════════════════════════════════════════════════ */

/* 1. Footer altındaki beyaz boşluk — body padding-bottom kaldır */
@media (max-width: 600px) {
    body { padding-bottom: 0 !important; }
}

/* 2. footer-brand img eski filter kuralını sıfırla — artık gerçek PNG var */
.footer-brand img,
.footer-brand .ae-footer-logo-img {
    filter: none !important;
}

/* 3. Footer brand column mobil taşmasını önle */
.footer-brand {
    overflow: hidden;
    min-width: 0;
    word-break: break-word;
}
.footer-brand p {
    overflow: hidden;
    max-width: 100%;
    word-break: break-word;
}

/* 4. Footer grid mobilde tek sütun — taşma engeli */

/* 5. Tek logo — eski iki-logo CSS kurallarını devre dışı bırak */
.ae-logo-default { display: block !important; }
.ae-logo-white   { display: none !important; }
/* Dark hero: mavi logo üzerine beyaz filter uygula (tek PNG yeterli) */
body.has-dark-hero .header:not(.ae-scrolled) .ae-logo-img {
    filter: brightness(0) invert(1) !important;
}
body.has-dark-hero .header:not(.ae-scrolled) .ae-logo-default { display: block !important; }
body.has-dark-hero .header:not(.ae-scrolled) .ae-logo-white   { display: none  !important; }
.header.ae-scrolled .ae-logo-img { filter: none !important; }

/* ═══════════════════════════════════════════════════════════
   MOBİL LOGO KESİN BOYUT KURALLARI — 2026-05-02 v2
   ═══════════════════════════════════════════════════════════ */

/* Sticky/normal header — mobil logo sıkışmasın */

/* Mobil menü açık — logo büyük olmasın */
.mobile-menu-header,
.mobile-menu .mobile-menu-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 20px !important;
    gap: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
}

.ae-mobile-logo-link,
.mobile-menu-header .ae-mobile-logo-link,
.mobile-menu .ae-mobile-logo-link {
    flex-shrink: 0 !important;
    max-width: calc(100% - 56px) !important;
    overflow: hidden !important;
}

.ae-mobile-logo-img,
.mobile-menu-header .ae-mobile-logo-img,
.mobile-menu-header img,
.mobile-menu .mobile-menu-header img,
.mobile-menu-header .logo img {
    height: 32px !important;
    width: auto !important;
    max-width: 140px !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0 !important;
    filter: none !important;
}

/* Footer logo — PNG, filter sıfırla ve boyutu sabitle */
.footer-brand img,
.footer-brand .ae-footer-logo-img,
.ae-footer-logo-link img,
.ae-footer-logo-img {
    height: 32px !important;
    width: auto !important;
    max-width: 160px !important;
    object-fit: contain !important;
    display: block !important;
    filter: none !important;
}

/* Footer brand sütunu taşmasın */
.footer-brand {
    overflow: hidden !important;
    min-width: 0 !important;
    max-width: 100% !important;
}
.footer-brand p {
    max-width: 100% !important;
    overflow: hidden !important;
    word-break: break-word !important;
}

/* ═══════════════════════════════════════════════════════════
   HAKKIMIZDA — YATay KAYMASI DÜZELTMESİ
   ═══════════════════════════════════════════════════════════ */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}
.about-story-section,
.about-hero,
.about-story-grid,
.about-pull-quote-wrap,
section[class*="about"],
.founders-v4,
.about-values,
.about-cta {
    overflow-x: hidden !important;
    max-width: 100% !important;
}
@media (max-width: 900px) {
    .about-story-grid {
        grid-template-columns: 1fr !important;
        overflow: hidden !important;
    }
    .about-pull-quote-wrap::after,
    .about-pull-quote-wrap::before {
        display: none !important;
        content: none !important;
    }
    .about-pull-quote-wrap {
        overflow: hidden !important;
        position: relative !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   MOBİL HEADER LOGO — hafif aşağı + küçük
   ═══════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════
   ANA SAYFA MOBİL — görsel kayma düzeltmesi
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   LOGO BOYUTLARI — width:auto kullan, sıkışma olmasın
   ═══════════════════════════════════════════════════════════ */
.ae-logo-img {
    height: 24px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: unset !important;
    flex-shrink: 0 !important;
    display: block !important;
    filter: none !important;
}
.ae-mobile-logo-img {
    height: 30px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: unset !important;
    flex-shrink: 0 !important;
    filter: none !important;
}
.ae-footer-logo-img {
    height: 34px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: unset !important;
    flex-shrink: 0 !important;
    filter: none !important;
}
/* Header logo — tek tanım, sıkışma yok */
.header .logo img,
.header-inner .logo img,
.logo img.ae-logo-img,
.ae-logo-link .ae-logo-img {
    height: 28px !important;
    width: auto !important;
    max-width: none !important;
    flex-shrink: 0 !important;
    display: block !important;
    object-fit: unset !important;
    filter: none !important;
}
/* Mobilde küçük */

/* ═══ MOBILE HEADER LOGO — KESİN SON KURAL ═══ */


/* ═══ RESPONSIVE: max-width 768px ═══ */
@media (max-width: 768px) {
    :root { --header-height: 64px; }
    .container { padding: 0 16px; }
    .nav-menu { display: none; }
    .mobile-toggle { display: flex; }
    /* Mobile sticky header logo — 28px, no max-width, no squish */
    :root { --header-height: 64px; }
    .header .logo img,
    .header-inner .logo img,
    .logo img { height: 28px !important; width: auto !important; flex-shrink: 0 !important; }
    .logo-text,
    .header .logo span { font-size: 22px !important; font-weight: 800 !important; letter-spacing: -0.04em !important; line-height: 1 !important; }
    .header-inner { min-height: 64px; }
    /* Don't shrink logo when scrolled */
    .header.ae-scrolled .logo img,
    .header.ae-scrolled .logo span { transform: none !important; }
    /* Show guest buttons on mobile in compact form */
    .header .nav-actions .btn-ghost,
    .header .nav-actions .btn-primary.btn-sm { display: inline-flex !important; padding: 0 10px !important; font-size: 12px !important; height: 34px !important; }
    .hero { min-height: 100vh; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 16px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .section { padding: 56px 0; }
    .section-header h2 { font-size: 1.5rem; }
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card { padding: 28px 24px; }
    .course-grid { grid-template-columns: 1fr; }
    .course-slider .course-card { min-width: 300px; max-width: 300px; }
    .event-card { flex-direction: column; }
    .event-card-img { width: 100%; height: 200px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .filter-bar { flex-direction: column; }
    .filter-bar select, .filter-bar input { width: 100%; }
    .form-row { grid-template-columns: 1fr; }
    .cart-table { font-size: 14px; }
    .cart-table th:nth-child(3), .cart-table td:nth-child(3) { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .course-hero { padding: 100px 0 40px; }
    .course-hero h1 { font-size: 1.75rem; }
    .auth-card { padding: 28px 24px; }
    /* Header always visible on mobile */
    /* backdrop-filter on ::before — keeps fixed dropdown unaffected */
    .header { border-bottom-color: var(--gray-200) !important; }
    .header::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: -1; pointer-events: none; }
    body.has-dark-hero .header:not(.ae-scrolled) { background: linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, transparent 100%) !important; border-bottom-color: transparent; }
    body.has-dark-hero .header:not(.ae-scrolled) .mobile-toggle span { background: #fff !important; }
    body.has-dark-hero .header:not(.ae-scrolled) .cart-icon { color: #fff !important; }
    body.has-dark-hero .header:not(.ae-scrolled) .logo img { filter: brightness(0) invert(1) !important; }
    body.has-dark-hero .header:not(.ae-scrolled) .logo-text { color: #fff !important; }
    body.has-dark-hero .header:not(.ae-scrolled) .btn-ghost { color: #fff !important; border-color: rgba(255,255,255,0.55) !important; }
    body.has-dark-hero .header:not(.ae-scrolled) .nav-actions .btn-primary { background: rgba(255,255,255,0.92) !important; color: var(--primary) !important; }
    /* Scrolled state — force dark elements visible on white bg */
    .header.ae-scrolled .mobile-toggle span { background: var(--black) !important; }
    .header.ae-scrolled .cart-icon { color: var(--gray-700) !important; }
    .header.ae-scrolled .logo,
    .header.ae-scrolled .logo span,
    .header.ae-scrolled .logo-text { color: var(--primary) !important; opacity: 1 !important; }
    .header.ae-scrolled .logo img { filter: none !important; opacity: 1 !important; }
    .header.ae-scrolled .nav-actions,
    .header.ae-scrolled .nav-actions * { opacity: 1 !important; visibility: visible !important; }
    .header.ae-scrolled .btn-ghost { color: var(--gray-700) !important; border-color: var(--gray-300) !important; }
    .header.ae-scrolled .btn-primary { color: #fff !important; background: var(--primary) !important; }
    .header.ae-scrolled .nav-profile { background: var(--primary) !important; color: #fff !important; }
    /* Header height stays stable on scroll — no collapse */
    .header, .header.ae-scrolled { height: var(--header-height) !important; }
    .header-inner { gap: 8px; }
    .nav-actions { gap: 8px; }
    /* Always-visible mobile toggle touch target */
    .mobile-toggle { display: flex !important; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }

    /* Hero mobile */
    .hv2-hero { min-height: 100svh; }
    .hv2-hero-title { font-size: clamp(32px, 8vw, 52px); }
    .hv2-hero-lead { font-size: 15px; }
    .hv2-slide-dots { bottom: 20px; }

    /* Mobile touch targets */
    .mobile-nav a { min-height: 52px; font-size: 16px; }
    .mobile-close { width: 48px; height: 48px; font-size: 22px; }

    /* Cards responsive */
    .course-card, .event-card { border-radius: 16px; }
    .hv2-services-grid { grid-template-columns: 1fr; gap: 16px; }

    /* Contact mobile */
    .contact-wrap { flex-direction: column; min-height: auto; }
    .contact-left { width: 100%; padding: 40px 24px; border-radius: 0; }
    .contact-right { width: 100%; padding: 32px 24px; }

    /* About mobile — comprehensive fix */
    .about-hero { min-height: 60vh; padding: 120px 0 52px; }
    .about-hero::after { font-size: 200px; right: -20px; bottom: -30px; }
    .about-hero-inner { padding: 0 20px; }
    .about-hero-headline { font-size: clamp(2rem, 8vw, 3rem); }
    .about-hero-sub { padding-left: 0; border-left: none; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 16px; margin-top: 0; }
    .about-story-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-pull-quote-wrap { position: static; }
    .about-pull-quote { font-size: 1.3rem; }
    .about-pull-quote::before { font-size: 4rem; top: -10px; }
    .about-values-item { flex-direction: column; gap: 12px; }
    .about-values-number { font-size: 60px; }
    .about-stats-inner { flex-direction: column; gap: 24px; }
    .about-stat-divider { display: none; }
    .about-values-modern { grid-template-columns: 1fr; }
    .about-cta-inner { padding: 56px 24px; }
    .about-cta-headline { font-size: clamp(2rem, 7vw, 3rem); }
    .about-cta-buttons { flex-direction: column; align-items: center; gap: 12px; }
    .about-services-grid { grid-template-columns: 1fr; }
    .about-partners-grid { grid-template-columns: 1fr; }
    .about-partner-card { flex-direction: column; gap: 16px; padding: 24px; }
    .about-glass-card { padding: 28px 24px; }

    /* Event mobile */
    .ev-layout { flex-direction: column; }
    .ev-sidebar { width: 100%; }
    .about-values-modern { grid-template-columns: 1fr; }
    .about-value-block { padding: 32px 24px; }
    .about-value-num { font-size: 3rem; min-width: 50px; }
    .about-partners-grid { grid-template-columns: 1fr; }
    .about-partner-card { flex-direction: column; }
    .product-detail > .container > div { grid-template-columns: 1fr !important; gap: 32px !important; }
    .prf-hero { flex-direction: column; padding: 28px 24px; gap: 20px; text-align: center; }
    .prf-hero-stats { gap: 12px; flex-wrap: wrap; justify-content: center; }
    .prf-hero-ae { font-size: 120px; }
    .prf-stat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .prf-stat-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .prf-resume-grid { grid-template-columns: 1fr; }
    .prf-hero-watchtime { justify-content: center; }
    .prf-avatar-wrap { margin: 0 auto; }
    .hv2-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 0;
        padding-bottom: 60px;
    }
    .hv2-hero-badge-wrap { display: none !important; }
    .hv2-hero-content { max-width: 100%; }
    .contact-wrap {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    html, body { overflow-x: hidden !important; }
    .container { max-width: 100% !important; padding-left: 16px !important; padding-right: 16px !important; }
    .about-founder-card { padding: 18px 14px !important; }
    .about-founder-avatar { width: 96px !important; height: 96px !important; }
    .about-founder-name { font-size: 1rem !important; }
    .about-founder-role { font-size: 0.7rem !important; }
    .about-pull-quote { font-size: 1.05rem !important; padding: 0 8px !important; }
    .about-value-block { padding: 18px 14px !important; }
    .about-stat-num { font-size: 1.6rem !important; }
    .about-section img { max-width: 100% !important; height: auto !important; }
    /* Fix: course card resmi 16/9 yerine 4/3 container'ı dolduramıyordu — height:auto override'unu kaldır */
    .course-card-img img,
    .course-card .course-card-img img,
    .course-slider .course-card .course-card-img img,
    .hv2-event-card img,
    .hv2-event-card-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
    .profile-section { padding: 28px 0 !important; }
    .profile-layout { display: block !important; gap: 0 !important; }
    .profile-sidebar { position: static !important; width: 100% !important; margin-bottom: 18px !important; }
    .profile-content { padding: 0 !important; }
    .prf-hero { flex-direction: column !important; padding: 22px 18px !important; gap: 14px !important; text-align: center; }
    .prf-hero-stats { width: 100%; justify-content: center; }
    .prf-hero-name { font-size: 1.4rem !important; }
    .ap-main { padding: 12px !important; }
    .ap-page-head { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; }
    .ap-grid-2, .ap-grid-3, .ap-grid-4 { grid-template-columns: 1fr !important; gap: 12px !important; }
    .ap-stats { grid-template-columns: repeat(2, 1fr) !important; }
    .ap-card-head { flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; }
    .ap-table-wrap { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
    .ap-table { min-width: 600px; font-size: 12px; }
    .ap-table th, .ap-table td { padding: 8px 10px !important; }
    .header .nav-actions { gap: 6px !important; flex-wrap: nowrap !important; }
    .header .nav-actions .btn-ghost,
    .header .nav-actions .btn-primary.btn-sm {
        display: inline-flex !important;
        padding: 6px 10px !important;
        font-size: 12px !important;
        min-height: 32px !important;
    }
    /* Logo: height only, width auto, no max-width constraint */
    .header .logo,
    .header-inner .logo { flex-shrink: 0 !important; }
    .header .logo img,
    .header-inner .logo img { height: 28px !important; width: auto !important; flex-shrink: 0 !important; max-width: none !important; }
    .header .logo .logo-text,
    .header .logo span { font-size: 22px !important; line-height: 1 !important; font-weight: 800 !important; letter-spacing: -0.04em !important; color: var(--primary) !important; }
    .header .nav-profile { width: 34px !important; height: 34px !important; font-size: 12px !important; }
    .nav-profile-wrap { flex-shrink: 0; }
    .profile-section, section.profile-section { padding: 24px 0 40px !important; overflow-x: hidden; }
    .profile-layout { display: block !important; grid-template-columns: 1fr !important; gap: 0 !important; padding: 0 !important; }
    .profile-sidebar {
        position: static !important; width: 100% !important; max-width: 100% !important;
        margin: 0 0 18px !important; padding: 14px !important; box-sizing: border-box;
    }
    .profile-user { gap: 12px !important; }
    .profile-avatar, .profile-avatar-placeholder { width: 48px !important; height: 48px !important; font-size: 18px !important; flex-shrink: 0; }
    .profile-name { font-size: 15px !important; }
    .profile-email { font-size: 12px !important; word-break: break-all; }
    /* Sidebar nav: horizontal scroll bar */
    .profile-nav {
        display: flex !important; flex-direction: row !important; overflow-x: auto;
        -webkit-overflow-scrolling: touch; gap: 4px !important; padding-bottom: 4px;
        margin: 14px -14px 0 !important; padding-left: 14px !important; padding-right: 14px !important;
    }
    .profile-nav::-webkit-scrollbar { display: none; }
    .profile-nav a {
        flex-shrink: 0 !important; white-space: nowrap !important; padding: 8px 14px !important;
        font-size: 13px !important; border-radius: 999px !important;
        background: rgba(16,89,112,0.06); border: none !important;
    }
    .profile-nav a.active { background: var(--primary) !important; color: #fff !important; }
    .profile-content { padding: 0 !important; max-width: 100% !important; box-sizing: border-box; }
    /* Hero on mobile: vertical stack */
    .prf-hero {
        flex-direction: column !important; padding: 22px 16px !important; gap: 14px !important;
        text-align: center; align-items: center !important;
    }
    .prf-hero-info { text-align: center !important; width: 100%; }
    .prf-hero-name { font-size: 1.4rem !important; word-break: break-word; }
    .prf-hero-meta { font-size: 12px !important; word-break: break-all; }
    .prf-hero-stats { width: 100%; justify-content: space-around !important; flex-wrap: wrap; }
    .prf-hero-stat-num { font-size: 1.4rem !important; }
    .prf-hero-stat-lbl { font-size: 10px !important; }
    .prf-hero-divider { display: none; }
    /* Cards inside profile */
    .prf-card, .prf-card-grid > * { padding: 14px !important; }
    .prf-stat-grid, .prf-card-grid {
        display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important;
    }
    .prf-stat-num { font-size: 1.4rem !important; }
    /* Course/order cards inside profile content */
    .prf-courses, .prf-orders, .prf-feed { display: block !important; }
    .prf-course-card, .prf-feed-item, .prf-order-card { width: 100% !important; box-sizing: border-box; }
    .prf-course-card img, .prf-order-card img { width: 100% !important; height: auto !important; }
    .course-sidebar-price, .course-price { font-size: 1.4rem !important; }
    html, body { overflow-x: hidden !important; }
    body * { max-width: 100vw; }
    .container, section, .section, main, footer, header, .hv2-hero { max-width: 100vw !important; box-sizing: border-box !important; }
    img, video, iframe { max-width: 100% !important; height: auto; }
    pre, code { white-space: pre-wrap !important; word-break: break-word !important; }
    .about-stats-bar, .about-founders-grid, .about-founders-grid-v2,
    .hv2-services-grid, .hv2-products-grid, .hv2-events-grid,
    .courses-grid, .events-grid, .products-grid { max-width: 100vw !important; }
    /* Container side padding */
    .container { padding-left: 16px !important; padding-right: 16px !important; }
    /* About hero & stats prevent overflow */
    .about-hero, .about-section, .about-stats-bar { padding-left: 0 !important; padding-right: 0 !important; }
    /* Kill any negative margins */
    [style*="margin-left:-"], [style*="margin-right:-"] { margin-left: 0 !important; margin-right: 0 !important; }
    .about-founders-grid-v2 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        max-width: 480px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .founder-card-v2-img { aspect-ratio: 1/1; }
    .founder-card-v2-name { font-size: 1.2rem; }
    .founder-card-v2-email { font-size: 0.78rem; }
    .about-hero {
        min-height: auto !important;
        padding: 80px 0 40px !important;
        max-width: 100vw !important;
    }
    .about-hero::after,
    .about-hero::before,
    .prf-hero-ae,
    [class*="watermark"],
    [class*="-ae"]:not(.ae-loader-logo):not(.ae-grid-reveal) {
        display: none !important;
    }
    .about-hero-inner {
        max-width: 100% !important;
        padding: 0 16px !important;
        margin: 0 !important;
    }
    .about-hero-headline { font-size: clamp(1.6rem, 7vw, 2.4rem) !important; line-height: 1.15 !important; }
    .about-hero-eyebrow { font-size: 11px !important; letter-spacing: 0.18em !important; }
    .about-hero-lead { font-size: 14px !important; }
    /* Force everything inside about-section to fit */
    .about-section, .about-section > .container { max-width: 100vw !important; padding-left: 16px !important; padding-right: 16px !important; box-sizing: border-box !important; }
    .about-section *, .about-stats-bar * { max-width: 100% !important; }
    /* Stats bar mobile stack */
    .about-stats-bar .container { padding: 0 16px; }
    .about-stats-inner { flex-direction: column !important; gap: 16px !important; }
    .about-stat-divider { display: none !important; }
    .about-stat-value { font-size: 1.4rem !important; }
    body.ae-has-user .profile-section,
    .profile-section { padding: 20px 0 60px !important; overflow-x: hidden !important; max-width: 100vw !important; }
    .profile-layout {
        display: block !important;
        grid-template-columns: 1fr !important;
        max-width: 100vw !important;
        padding: 0 14px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    .profile-sidebar {
        position: static !important; width: 100% !important; max-width: 100% !important;
        margin: 0 0 16px !important; padding: 14px !important;
        box-sizing: border-box !important;
    }
    .profile-content {
        width: 100% !important; max-width: 100% !important;
        padding: 0 !important; margin: 0 !important; box-sizing: border-box !important;
    }
    .profile-content > * { max-width: 100% !important; box-sizing: border-box !important; }
    .prf-hero {
        flex-direction: column !important; gap: 12px !important;
        padding: 20px 16px !important; text-align: center !important;
        align-items: center !important; box-sizing: border-box; max-width: 100% !important;
    }
    .prf-hero-ae { display: none !important; }
    .prf-hero-info { text-align: center !important; width: 100% !important; }
    .prf-hero-name { font-size: 1.3rem !important; word-break: break-word; }
    .prf-hero-meta { font-size: 11px !important; word-break: break-all; }
    .prf-hero-stats { width: 100% !important; justify-content: center !important; flex-wrap: wrap !important; gap: 10px !important; }
    .prf-hero-divider { display: none !important; }
    .prf-hero-stat { flex: 1 1 0; min-width: 0; }
    .prf-hero-stat-num { font-size: 1.2rem !important; }
    .prf-hero-stat-lbl { font-size: 10px !important; }
    .prf-avatar-wrap { flex-shrink: 0; }
    /* Hero watch time, etc */
    .prf-hero-watchtime { font-size: 11px !important; justify-content: center; }
    /* Cards */
    .prf-card, .prf-feed, .prf-courses { padding: 14px !important; }
    .prf-stat-grid, .prf-card-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    /* Course cards inside */
    .prf-course-card { width: 100% !important; max-width: 100% !important; }
    .prf-course-card-img { width: 100% !important; height: auto !important; }
    /* Tables */
    .profile-content table, .ticket-list, .order-list { max-width: 100% !important; overflow-x: auto; }
    .ticket-card, .order-card {
        flex-direction: column !important; gap: 12px !important;
        align-items: stretch !important; width: 100% !important;
        box-sizing: border-box !important;
    }
    .ticket-card img, .order-card img { width: 100% !important; height: 180px !important; object-fit: cover; }
    /* Kill any element that exceeds viewport width */
    body, body * { max-width: 100vw !important; }
    img, video, iframe, canvas, picture { max-width: 100% !important; height: auto !important; }
    /* Disable all decorative pseudo-elements that can overflow */
    .about-hero::before, .about-hero::after,
    .prf-hero-ae,
    .hv2-hero::after, .hv2-hero::before,
    [class*="watermark"], [class*="-deco"] { display: none !important; }
    /* Force containers to fit */
    .about-hero, .about-story-section, .about-partners-section, .about-stats-bar,
    .profile-section, .profile-layout {
        width: 100% !important; max-width: 100vw !important;
        padding-left: 0 !important; padding-right: 0 !important;
        margin-left: 0 !important; margin-right: 0 !important;
        box-sizing: border-box !important;
    }
    .about-hero-inner, .about-story-section .container, .about-partners-section .container,
    .about-stats-bar .container, .profile-layout {
        max-width: 100% !important;
        padding-left: 16px !important; padding-right: 16px !important;
        margin-left: auto !important; margin-right: auto !important;
        box-sizing: border-box !important;
    }
    /* Kill negative margins anywhere */
    [style*="margin-left:-"], [style*="margin-right:-"],
    [style*="margin: -"], [style*="margin:-"] {
        margin-left: 0 !important; margin-right: 0 !important;
    }
    .founders-v4 {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        max-width: 100% !important;
        padding: 0 16px !important;
        margin-top: 36px !important;
    }
    .founder-v4-img { max-width: 240px !important; width: 100% !important; }
    .founder-v4-name { font-size: 1.25rem !important; }
    .founder-v4-mail { font-size: 0.85rem !important; }
    .about-partner-logo-circle { width: 64px; height: 64px; left: 16px; }
    .about-partner-card .about-partner-body { padding-top: 44px; }
    .about-partner-gallery { grid-template-columns: repeat(3, 1fr); }
    .header { padding: 0 !important; }
    .header .header-inner {
        padding: 0 12px !important;
        min-height: 60px !important;
        display: flex !important; align-items: center !important;
        gap: 8px !important;
    }
    /* Logo: flex-shrink:0 so it NEVER gets squeezed, NO max-width */
    .header .logo,
    .header-inner .logo { flex-shrink: 0 !important; min-width: 0 !important; }
    .header .logo img,
    .header-inner .logo img {
        height: 24px !important;
        width: auto !important;
        max-width: none !important;
        flex-shrink: 0 !important;
        display: block !important;
    }
    .header .logo .logo-text,
    .header .logo span {
        font-size: 20px !important;
        line-height: 24px !important;
        font-weight: 800 !important;
        letter-spacing: -0.04em !important;
    }
    /* Header nav-actions: equal-sized chips */
    .header .nav-actions {
        margin-left: auto !important;
        gap: 6px !important;
        display: flex !important; align-items: center !important;
        flex-wrap: nowrap !important;
    }
    .header .cart-icon {
        width: 36px !important; height: 36px !important;
        display: inline-flex !important; align-items: center !important; justify-content: center !important;
    }
    .header .cart-icon svg { width: 18px !important; height: 18px !important; }
    .header .nav-actions .btn-ghost,
    .header .nav-actions .btn-primary.btn-sm,
    .header .nav-actions .btn {
        height: 36px !important;
        padding: 0 12px !important;
        font-size: 12px !important;
        line-height: 36px !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
    }
    .header .mobile-toggle {
        width: 36px !important; height: 36px !important;
        display: inline-flex !important; align-items: center !important; justify-content: center !important;
    }
    .header .nav-profile { width: 36px !important; height: 36px !important; font-size: 13px !important; }
    /* Tüm profil sayfaları için */
    .profile-section, body.ae-has-user .profile-section {
        padding: 16px 0 60px !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    .profile-layout, .container.profile-layout {
        display: block !important;
        max-width: 100vw !important;
        padding: 0 12px !important;
        margin: 0 !important;
        gap: 0 !important;
        box-sizing: border-box !important;
    }
    .profile-sidebar {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 14px !important;
        padding: 14px !important;
        border-radius: 14px;
        box-sizing: border-box !important;
    }
    .profile-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    .profile-content > *,
    .profile-content section,
    .profile-content .ap-card,
    .profile-content .form-section,
    .profile-content .ticket-card,
    .profile-content .order-card,
    .profile-content .prf-hero,
    .profile-content table {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .profile-content h1 { font-size: 1.6rem !important; margin-bottom: 12px !important; }
    .profile-content h2 { font-size: 1.25rem !important; }
    .profile-content h3 { font-size: 1.05rem !important; }

    /* Settings sayfası özel */
    .set-page { padding: 16px 0 60px !important; }
    .set-grid { grid-template-columns: 1fr !important; padding: 0 12px !important; gap: 14px !important; max-width: 100vw !important; }
    .set-card { border-radius: 12px !important; }
    .set-row { grid-template-columns: 1fr !important; gap: 12px !important; }
    .set-card-head { padding: 16px 16px 8px !important; }
    .set-card-body { padding: 14px 16px !important; }
    .set-h1 { font-size: 1.4rem !important; }

    /* Ticket / order kartları */
    .ticket-card, .order-card {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
        padding: 14px !important;
    }
    .ticket-card img, .order-card img {
        width: 100% !important;
        height: 160px !important;
        object-fit: cover;
    }

    /* Profile sidebar nav as horizontal pills */
    .profile-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        gap: 6px !important;
        padding: 6px 0 !important;
        margin-top: 12px !important;
    }
    .profile-nav::-webkit-scrollbar { display: none; }
    .profile-nav a {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        padding: 8px 14px !important;
        font-size: 13px !important;
        border-radius: 999px !important;
        background: rgba(16,89,112,0.06) !important;
        border: none !important;
    }
    .profile-nav a.active {
        background: var(--primary, #105970) !important;
        color: #fff !important;
    }

    /* Hero on profile main page */
    .prf-hero {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 18px 14px !important;
        text-align: center !important;
        align-items: center !important;
    }
    .prf-hero-info { text-align: center !important; width: 100% !important; }
    .prf-hero-name { font-size: 1.3rem !important; word-break: break-word !important; }
    .prf-hero-meta { font-size: 11px !important; word-break: break-all !important; line-height: 1.4 !important; }
    .prf-hero-stats {
        width: 100% !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
    }
    .prf-hero-divider { display: none !important; }
    .prf-hero-stat { flex: 1 1 30%; min-width: 0 !important; }
    .prf-hero-ae { display: none !important; }
    /* Logo küçük, sıkışmasın */
    .header .logo img,
    .header-inner .logo img {
        height: 18px !important;
        width: auto !important;
        max-width: none !important;
    }
    .header .logo .logo-text,
    .header .logo span {
        font-size: 19px !important;
        line-height: 28px !important;
    }
    .header .logo, .header-inner .logo { max-width: none !important; flex-shrink: 0 !important; }
    /* Ensure cart icon doesn't get covered */
    .header .nav-actions { margin-left: auto !important; flex-shrink: 0 !important; }
    .header .header-inner { gap: 6px !important; padding: 0 10px !important; }

    /* About hero — menu altında biraz nefes ver */
    .about-hero { padding-top: 130px !important; }
    .about-hero .about-hero-inner { padding-top: 20px !important; }
    /* HEADER LOGO — 18px, sıkışmasın */
    .header .logo img,
    .header-inner .logo img,
    body.ae-has-user .header .logo img,
    body.ae-guest .header .logo img {
        height: 18px !important;
        width: auto !important;
        max-width: none !important;
    }
    .header .logo .logo-text,
    .header .logo span,
    body.ae-has-user .header .logo span,
    body.ae-guest .header .logo span {
        font-size: 22px !important;
        line-height: 32px !important;
        font-weight: 800 !important;
    }
    .header .logo,
    .header-inner .logo,
    body.ae-has-user .header .logo,
    body.ae-guest .header .logo { max-width: none !important; flex-shrink: 0 !important; }

    /* HAMBURGER PANEL LOGO — same size */
    .mobile-menu .mobile-menu-header .logo img,
    .mobile-menu-header .logo img {
        height: 32px !important;
        max-width: 124px !important;
        width: auto !important;
    }
    .mobile-menu .mobile-menu-header .logo span,
    .mobile-menu-header .logo span,
    .mobile-menu .mobile-menu-header .logo .logo-text {
        font-size: 22px !important;
        line-height: 32px !important;
        font-weight: 800 !important;
    }
    .mobile-menu-header { padding: 14px 0 18px !important; min-height: auto !important; }

    /* GUEST: cart icon MUST be visible */
    body.ae-guest .header .cart-icon,
    .header .cart-icon {
        display: inline-flex !important;
        width: 36px !important; height: 36px !important;
        align-items: center !important; justify-content: center !important;
    }
    body.ae-guest .header .cart-icon svg,
    .header .cart-icon svg { width: 18px !important; height: 18px !important; }

    /* Buttons rhythm */
    .header .nav-actions { gap: 6px !important; }
    .header .nav-actions .btn-ghost,
    .header .nav-actions .btn-primary.btn-sm,
    .header .nav-actions .btn {
        height: 36px !important;
        padding: 0 11px !important;
        font-size: 12px !important;
        line-height: 36px !important;
    }
    .cart-layout {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .cart-summary {
        position: static !important;
        top: auto !important;
        padding: 18px !important;
    }
    .cart-item {
        flex-direction: row !important;
        gap: 12px !important;
        padding: 14px !important;
    }
    .cart-item img {
        width: 80px !important;
        height: 80px !important;
    }
    .cart-item > div { font-size: 13px; }
    .cart-item > div:last-child { font-size: 13px !important; }

    .checkout-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 0 !important;
    }
    .checkout-grid aside {
        position: static !important;
        top: auto !important;
        order: -1; /* show summary first on mobile */
    }
    .form-section {
        padding: 18px !important;
    }
    /* Profile mobile: sticky menü altında nefes alanı */
    body .profile-section,
    body.ae-has-user .profile-section,
    body.ae-guest .profile-section {
        padding-top: calc(var(--header-height, 70px) + 24px) !important;
    }
    body .set-page,
    body.ae-has-user .set-page {
        padding-top: calc(var(--header-height, 70px) + 24px) !important;
    }
    /* Profile sidebar nav ulaşılır olsun */
    .profile-sidebar { margin-top: 0 !important; }

    /* About hero — AE/Æ watermark mobilde tamamen yok */
    .about-hero::before,
    .about-hero::after,
    .prf-hero-ae,
    .hv2-rotating-badge,
    .hv2-hero-badge-wrap,
    [class*="watermark"] {
        display: none !important;
    }
    .about-hero { padding: 90px 0 50px !important; min-height: auto !important; }

    /* Admin panel — sidebar bottom items ulaşılır */
    .ap-sidebar, #apSidebar {
        max-height: calc(100vh - 60px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 60px !important;
    }
    .ap-sidebar::-webkit-scrollbar { width: 4px; }
    .ap-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

    /* Admin main content — bottom padding for mobile thumb reach */
    .ap-main, .ap-content { padding-bottom: 80px !important; }
    /* TAP TARGET — min 44x44 (Apple HIG) */
    button, a.btn, .btn, input[type=submit], input[type=button] { min-height: 44px; }

    /* TABLES — universal horizontal scroll wrap */
    .ap-table-wrap, .table-wrap, table { max-width: 100%; overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
    table { font-size: 12px !important; }
    table th, table td { padding: 8px 10px !important; white-space: nowrap; }

    /* FORMS — full width, larger inputs (44px tap) */
    input[type=text], input[type=email], input[type=tel], input[type=password],
    input[type=number], input[type=search], input[type=url], input[type=date],
    input[type=datetime-local], input[type=time], textarea, select,
    .ap-input, .ap-select, .ap-textarea, .set-input {
        width: 100% !important;
        font-size: 16px !important; /* iOS zoom prevention */
        min-height: 44px !important;
        padding: 11px 12px !important;
        box-sizing: border-box !important;
    }
    textarea, .ap-textarea { min-height: 88px !important; }

    /* CARDS — tighter padding mobile */
    .ap-card-body, .form-section { padding: 16px !important; }
    .ap-card-head { padding: 14px 16px !important; flex-wrap: wrap; gap: 8px; }
    .ap-card-title { font-size: 14px !important; }

    /* HEADINGS no overflow */
    h1, h2, h3, h4 { overflow-wrap: break-word; word-wrap: break-word; hyphens: auto; }
    h1 { font-size: clamp(1.5rem, 6vw, 2rem) !important; }
    h2 { font-size: clamp(1.3rem, 5vw, 1.6rem) !important; }
    h3 { font-size: clamp(1.05rem, 4vw, 1.25rem) !important; }

    /* IMAGES never overflow */
    img, video, iframe, picture, svg { max-width: 100% !important; height: auto; }

    /* PRE/CODE wrap */
    pre, code { white-space: pre-wrap !important; word-break: break-word !important; }

    /* GRIDS collapse */
    [class*="grid-cols-2"], [class*="grid-cols-3"], [class*="grid-cols-4"],
    .ap-grid-2, .ap-grid-3, .ap-grid-4 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .ap-stats { grid-template-columns: repeat(2, 1fr) !important; }

    /* DETAILS/SUMMARY */
    details summary { padding: 12px 14px !important; min-height: 44px; display: flex; align-items: center; }

    /* MODAL/DIALOG centering */
    dialog, .modal { max-width: calc(100vw - 24px) !important; margin: 12px auto; }

    /* PAGE HEAD layouts */
    .ap-page-head { flex-direction: column !important; align-items: stretch !important; gap: 12px !important; padding: 14px !important; }
    .ap-page-actions { flex-wrap: wrap; gap: 8px !important; }
    .ap-page-title { font-size: 18px !important; }

    /* ADMIN sidebar — slide-in mobile (already exists) tweaks */
    #apSidebar { width: 280px !important; }
    .ap-sidebar a { padding: 12px 16px !important; font-size: 14px !important; }

    /* ADMIN top bar */
    .ap-topbar { padding: 10px 14px !important; min-height: 56px; }

    /* FOOTER mobile */
    .footer { padding: 32px 16px !important; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; text-align: center; justify-items: center !important; }
    .footer-brand { padding-right: 0 !important; padding-left: 0 !important; }
    .footer-brand, .footer-brand p, .footer-brand .footer-logo, .footer-brand .footer-social { margin-left: auto !important; margin-right: auto !important; text-align: center !important; }
    .footer-brand .footer-logo, .footer-brand .ae-footer-logo-link { display: flex !important; justify-content: center !important; width: 100% !important; }
    .footer-brand .ae-footer-logo-img { margin-left: auto !important; margin-right: auto !important; display: block !important; }

    /* SECTION padding */
    .section, .hv2-section { padding: 36px 0 !important; }
    .container { padding: 0 14px !important; }

    /* CART/CHECKOUT pre-existing fixes already present, ensure stack */
    .cart-layout, .checkout-grid { grid-template-columns: 1fr !important; }
    /* COURSE LIST/SHOW */
    .courses-grid, .course-list, .hv2-courses-slider-wrap {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .course-card { width: 100% !important; }
    .course-sidebar, .ev-sidebar {
        position: static !important; top: auto !important;
        margin-top: 18px !important; width: 100% !important;
    }
    .course-show-grid, .ev-layout {
        display: block !important;
    }
    .course-show-grid > *, .ev-layout > * { width: 100% !important; max-width: 100% !important; }

    /* EVENT DETAIL */
    .ev-ticket-card { padding: 14px !important; }
    .ev-ticket-name { font-size: 15px !important; }
    .ev-total-bar { padding: 14px !important; }
    .ev-qty-row { padding: 10px 14px !important; }

    /* SHOP DETAIL */
    .product-show-grid { display: block !important; }
    .product-images, .product-info { width: 100% !important; max-width: 100% !important; }
    .product-thumbs { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; }
    .product-thumbs img { width: 60px; height: 60px; flex-shrink: 0; }
    .variant-chips { flex-wrap: wrap; }
    .variant-chip { min-height: 40px; padding: 8px 14px; }

    /* BLOG SHOW */
    .blog-content { font-size: 15px !important; line-height: 1.7 !important; }
    .blog-content img { width: 100% !important; }
    .blog-content h2, .blog-content h3 { margin-top: 24px !important; }

    /* PROFILE inner cards */
    .prf-card-grid, .prf-stat-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .prf-course-card { flex-direction: column !important; }
    .prf-course-card-img { width: 100% !important; height: 160px !important; aspect-ratio: 16/9; }

    /* AUTH pages */
    .auth-page, .auth-card {
        padding: 24px 18px !important;
        max-width: 100% !important;
        margin: 16px !important;
    }
    .auth-card h1 { font-size: 1.5rem !important; }

    /* CHECKOUT */
    .checkout-grid form { width: 100% !important; }
    .form-group { margin-bottom: 14px !important; }

    /* CART */
    .cart-summary { margin-top: 14px !important; }
    .cart-item img { width: 70px !important; height: 70px !important; }

    /* ADMIN — quick actions bar fixed bottom */
    #bulkBar { position: sticky; bottom: 0; top: auto !important; flex-direction: column; align-items: stretch !important; }
    #bulkBar > div { justify-content: center; flex-wrap: wrap; }

    /* HOMEPAGE */
    .hv2-hero { min-height: 80vh !important; }
    .hv2-hero-title { font-size: clamp(1.7rem, 7vw, 2.4rem) !important; }
    .hv2-hero-lead { font-size: 14px !important; }
    .hv2-hero-actions { flex-direction: column; gap: 10px; align-items: stretch; }
    .hv2-hero-actions .btn { width: 100%; text-align: center; }

    /* HEADER nav-actions ultra compact */
    .header .nav-actions { gap: 4px !important; }

    /* CONTACT */
    .contact-wrap, .contact-grid { display: block !important; }
    .contact-left, .contact-right { width: 100% !important; padding: 24px !important; }

    /* ABOUT */
    .about-stats-bar { padding: 24px 14px !important; }
    .about-section { padding: 32px 0 !important; }
    .about-story-section .container { padding: 0 14px !important; }
    .about-pull-quote { font-size: 1rem !important; line-height: 1.6 !important; }
    .about-story-body p { font-size: 15px !important; line-height: 1.7 !important; }

    /* LESSON PLAYER */
    .lp-topbar { flex-wrap: wrap; gap: 8px; padding: 10px 14px !important; }
    .lp-topbar-title h1 { font-size: 14px !important; }
    .lp-info { padding: 16px !important; }
    .lp-actions { flex-direction: column; align-items: stretch; }
    .lp-actions .lp-btn { width: 100%; justify-content: center; margin-left: 0 !important; }

    /* CHECK-IN page */
    .checkin-wrap { display: block !important; }
    .checkin-scanner, .checkin-attendee-panel { width: 100% !important; max-width: 100% !important; }
    .checkin-video-wrap { aspect-ratio: 1; }
    .checkin-stats { grid-template-columns: repeat(2, 1fr) !important; }

    /* INSTRUCTOR APPLY form */
    .corp-checkbox-grid { grid-template-columns: repeat(2, 1fr) !important; }

    /* Spacing safety: prevent any element from being unreachable below sticky */
    body { padding-bottom: 24px; }
    /* GLOBAL: kill any decorative circle/gradient from pseudo-elements that overflow */
    body section::before,
    body section::after,
    body .section::before,
    body .section::after,
    body .about-section::before,
    body .about-section::after,
    body .about-story-section::before,
    body .about-story-section::after,
    body .about-stats-bar::before,
    body .about-stats-bar::after,
    body .hv2-section::before,
    body .hv2-section::after {
        display: none !important;
    }
    body { overflow-x: hidden !important; }
    body * { max-width: 100vw !important; }

    /* About hero — sticky menu altında nefes payı */
    .about-hero, body .about-hero {
        padding: calc(var(--header-height, 70px) + 32px) 16px 40px !important;
        min-height: auto !important;
    }

    /* HEADER STICKY — fix at top, body content offset */
    .header {
        position: fixed !important;
        top: 0; left: 0; right: 0;
        z-index: 9999 !important;
        background: #fff !important;
        box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    }
    body { padding-top: var(--header-height, 70px); }

    /* GUEST mode: fit logo + cart + login + register + hamburger ALL on screen */
    body.ae-guest .header .header-inner,
    .header .header-inner {
        padding: 0 8px !important;
        gap: 4px !important;
    }
    body.ae-guest .header .logo img,
    body.ae-guest .header .logo .logo-text,
    body.ae-guest .header .logo span {
        height: 30px !important;
        font-size: 20px !important;
        line-height: 30px !important;
        max-width: 100px !important;
    }
    body.ae-guest .header .nav-actions { gap: 4px !important; flex-shrink: 0 !important; }
    body.ae-guest .header .nav-actions .btn {
        padding: 0 8px !important;
        font-size: 11px !important;
        height: 32px !important;
        line-height: 32px !important;
        min-height: 32px !important;
        white-space: nowrap;
    }
    body.ae-guest .header .cart-icon {
        width: 32px !important; height: 32px !important;
    }
    .mobile-toggle {
        width: 32px; height: 32px;
        padding: 4px !important;
        flex-shrink: 0;
    }

    /* MOBILE MENU panel logo — daha küçük */
    .mobile-menu-header .logo img,
    .mobile-menu .mobile-menu-header .logo img {
        height: 36px !important;
        max-width: 130px !important;
    }
    .mobile-menu-header .logo span,
    .mobile-menu .mobile-menu-header .logo span {
        font-size: 24px !important;
        line-height: 36px !important;
    }

    /* MOBILE MENU OPEN — body scroll lock */
    body.menu-open { overflow: hidden !important; touch-action: none !important; height: 100vh !important; }

    /* Profile menu items — sticky menü altında erişilebilir */
    .profile-section, body .profile-section { padding-top: calc(var(--header-height, 70px) + 28px) !important; }
    .profile-sidebar, .profile-nav { margin-top: 0 !important; padding-top: 8px; }

    /* profile dropdown handled at bottom of file */
    /* Reset universal max-width applied earlier; only apply to block-level layout containers */
    body *:not(button):not(.hv2-dot):not(.btn):not(svg):not(.checkin-attendee-actions *) { /* allow naturals */ }
    .hv2-dot { max-width: none !important; width: 8px !important; min-width: 8px !important; }
    .hv2-dot--active { width: 28px !important; min-width: 28px !important; }
    .hv2-slide-dots { gap: 6px !important; bottom: 16px !important; }

    /* Hero ana sayfada sticky header'ın ALTINA değil ALTINDAN GEÇSIN */
    body.has-dark-hero { padding-top: 0 !important; }
    body.has-dark-hero .header {
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    body.has-dark-hero .header.ae-scrolled {
        background: rgba(255,255,255,0.95) !important;
        backdrop-filter: blur(12px);
    }
    body.has-dark-hero .header:not(.ae-scrolled) .logo .logo-text,
    body.has-dark-hero .header:not(.ae-scrolled) .logo span { color: #fff !important; }
    body.has-dark-hero .header:not(.ae-scrolled) .nav-actions .btn-ghost { color: #fff !important; border-color: rgba(255,255,255,0.5) !important; }
    body.has-dark-hero .header:not(.ae-scrolled) .cart-icon { color: #fff !important; background: transparent !important; }
    body.has-dark-hero .header:not(.ae-scrolled) .mobile-toggle span { color: #fff !important; background: #fff !important; }

    /* Hero kendisi tam ekran genişliği + üst kısmı header'ı kapsasın */
    .hv2-hero { padding-top: var(--header-height, 70px) !important; min-height: 100vh !important; }

    /* Hero butonları daha estetik */
    .hv2-hero-actions { gap: 12px !important; }
    .hv2-hero-actions .btn {
        background: #fff !important;
        color: var(--primary, #105970) !important;
        font-weight: 700 !important;
        font-size: 15px !important;
        padding: 14px 24px !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.18) !important;
        letter-spacing: -0.01em;
        border: none !important;
    }
    .hv2-hero-actions .btn:hover { background: var(--accent, #E8B931) !important; color: #1a1a1a !important; }
    .hv2-hero-actions .hv2-ghost-link {
        color: #fff !important;
        font-weight: 600;
        font-size: 14px;
        padding: 12px 0;
        text-decoration: none;
        border-bottom: none;
        align-self: center;
        display: block;
        text-align: center;
        width: 100%;
    }
    .hv2-hero-actions .hv2-ghost-link:hover { color: var(--accent, #E8B931) !important; }

    /* Hero text contrast better */
    .hv2-hero-overlay {
        background: linear-gradient(180deg, rgba(10,29,39,0.55) 0%, rgba(10,29,39,0.15) 40%, rgba(10,29,39,0.7) 100%) !important;
    }
    .hv2-hero-content {
        padding-top: 40px;
    }
    .hv2-eyebrow {
        color: var(--accent, #E8B931) !important;
        font-weight: 700;
        letter-spacing: 0.18em;
        font-size: 11px !important;
        text-transform: uppercase;
    }
    .hv2-hero-lead {
        color: rgba(255,255,255,0.95) !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
        max-width: 90%;
    }
    .hv2-hero-title { font-size: 2rem !important; line-height: 1.15 !important; }
    .hv2-hero-subtitle { font-size: 14.5px !important; }
    .hv2-hero-actions { gap: 10px !important; }
    .hv2-hero-actions .btn,
    .hv2-hero-actions .hv2-btn {
        padding: 10px 18px !important;
        font-size: 13.5px !important;
        height: auto !important;
        min-height: 42px !important;
        border-radius: 12px !important;
    }
    .header .nav-profile-wrap .nav-profile,
    .header .nav-profile {
        width: 36px !important; height: 36px !important;
        min-width: 36px !important; min-height: 36px !important;
        border-radius: 50% !important;
        font-size: 12px !important; font-weight: 700 !important;
        background: var(--primary, #105970) !important;
        color: #fff !important;
        display: inline-flex !important;
        align-items: center !important; justify-content: center !important;
        flex-shrink: 0 !important;
        padding: 0 !important; line-height: 1 !important;
    }
    /* Reduce profile sub-page top padding (was too much) */
    body.has-profile-nav main, .profile-layout, .profile-content {
        padding-top: 8px !important;
    }
    .profile-subnav, .profile-tabs { margin-top: 6px !important; }
    body.has-dark-hero .hv2-hero-slide,
    body.has-dark-hero .hero-slide { padding-top: 70px !important; }
    /* Make header icons clearly visible over dark hero image */
    body.has-dark-hero .header:not(.ae-scrolled) {
        background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 100%) !important;
        backdrop-filter: none !important;
    }
    body.has-dark-hero .header:not(.ae-scrolled) .cart-icon,
    body.has-dark-hero .header:not(.ae-scrolled) .cart-icon svg,
    body.has-dark-hero .header:not(.ae-scrolled) .mobile-toggle span {
        color: #fff !important;
        filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5)) !important;
    }
    body.has-dark-hero .header:not(.ae-scrolled) .mobile-toggle span { background: #fff !important; }
    .about-hero { min-height: 55vh !important; padding: 110px 0 60px !important; }
    .about-hero-headline { font-size: clamp(2rem, 9vw, 3rem) !important; }
    .about-hero-sub { font-size: 15.5px !important; margin-top: 20px !important; }
    .about-story-section { padding: 60px 0 !important; }
    .about-pull-quote { font-size: 1.2rem !important; padding-left: 18px !important; }
    .about-story-body p:first-child::first-letter { font-size: 3.2em !important; }
    /* profile dropdown handled at bottom of file */

    /* Mobile menu: pull items up so İletişim isn't far below */
    .mobile-menu .mobile-menu-header { padding: 14px 18px !important; min-height: auto !important; }
    .mobile-menu .mobile-menu-header .logo span { font-size: 28px !important; }
    .mobile-menu .mobile-nav { padding: 6px 0 !important; gap: 0 !important; }
    .mobile-menu .mobile-nav a {
        padding: 11px 22px !important;
        font-size: 15.5px !important;
        line-height: 1.2 !important;
    }
    .mobile-menu .mobile-nav-footer { padding: 14px 18px !important; }
    #navProfileMenu {
        position: fixed !important;
        top: calc(var(--header-height, 64px) + 6px);
        right: 8px;
        left: auto;
        min-width: 240px !important;
        max-width: calc(100vw - 16px) !important;
    }
    html body .header .logo img,
    html body .header-inner .logo img,
    html body .header .ae-logo-link .ae-logo-img,
    html body .header .logo img.ae-logo-img {
        height: 18px !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        object-fit: unset !important;
        flex-shrink: 0 !important;
        display: block !important;
    }
    html body .header .logo,
    html body .header-inner .logo,
    html body .header .ae-logo-link {
        max-width: none !important;
        min-width: 0 !important;
        flex-shrink: 0 !important;
    }
}

/* ═══ RESPONSIVE: max-width 767px ═══ */
@media (max-width: 767px) {
    .about-pull-quote { font-size: 1.3rem; padding-top: 24px; }
    .about-pull-quote::before { font-size: 4rem; }
    .about-pull-quote-wrap { position: static; }
    .about-values-item--left,
    .about-values-item--right {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .about-values-item--right .about-values-content,
    .about-values-item--right .about-values-number { direction: ltr; }
    .about-stat-item { min-width: 100%; padding: 12px 24px; }
    .about-services-grid { grid-template-columns: 1fr; }
    /* About hero */
    .about-hero { padding: 100px 0 56px !important; min-height: 50vh !important; }
    .about-hero-headline { font-size: clamp(1.9rem, 8.5vw, 2.8rem) !important; line-height: 1.15 !important; }
    .about-hero-sub { font-size: 15px !important; padding: 0 4px !important; }

    /* Story grid → single column */
    .about-story-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
    .about-pull-quote-wrap { position: static !important; }
    .about-pull-quote { font-size: 1.1rem !important; padding-left: 16px !important; }
    .about-story-body p:first-child::first-letter { font-size: 2.8em !important; }
    .about-story-body p { font-size: 15.5px !important; }

    /* Stats bar → stacked */
    .about-stats-inner { flex-direction: column !important; gap: 0 !important; }
    .about-stat-divider { display: none !important; }
    .about-stat-item { width: 100% !important; min-width: unset !important; padding: 14px 20px !important; text-align: left !important; border-bottom: 1px solid rgba(255,255,255,0.1); }

    /* Values modern grid */
    .about-values-modern { grid-template-columns: 1fr !important; gap: 0 !important; }
    .about-value-block { padding: 20px 16px !important; }

    /* Partners grid */
    .about-partners-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
    .about-partner-card { flex-direction: column !important; gap: 14px !important; padding: 20px 16px !important; }

    /* Services grid */
    .about-services-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
    .about-glass-card { padding: 24px 18px !important; }

    /* Founders */
    .founders-v4 { grid-template-columns: repeat(2, 1fr) !important; gap: 24px !important; }
    .founder-v4-img { width: 100% !important; max-width: 200px !important; height: auto !important; aspect-ratio: 1/1 !important; margin: 0 auto !important; }
    .founder-v4-name { font-size: 1.05rem !important; }
    .founder-v4-mail { font-size: 0.78rem !important; }

    /* CTA */
    .about-cta-headline { font-size: clamp(2rem, 9vw, 3rem) !important; }
    .about-cta-buttons { flex-direction: column !important; align-items: center !important; gap: 12px !important; }
    .about-cta-buttons .btn { width: 100% !important; max-width: 280px !important; }
    /* Admin sidebar hidden — hamburger menu */
    .ap-sidebar { transform: translateX(-100%) !important; position: fixed !important; z-index: 9000 !important; height: 100vh !important; width: 260px !important; }
    .ap-sidebar.ap-sidebar-open { transform: translateX(0) !important; }
    .ap-main { margin-left: 0 !important; width: 100% !important; }

    /* Admin header */
    .ap-header { padding: 0 14px !important; }
    .ap-page-head { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; padding: 16px 14px !important; }
    .ap-page-actions { width: 100% !important; }
    .ap-page-actions .ap-btn { width: 100% !important; justify-content: center !important; }

    /* Stats cards */
    .ap-stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }

    /* Tables */
    .ap-table { min-width: 500px; font-size: 13px !important; }
    .ap-table th, .ap-table td { padding: 10px 10px !important; }

    /* Hide non-critical columns on mobile */
    .hide-mobile { display: none !important; }

    /* Cards */
    .ap-card { border-radius: 10px !important; }
    .ap-card-head { padding: 14px 14px 10px !important; }
    .ap-card-body { padding: 14px !important; }

    /* Form layouts */
    .ap-form-grid { grid-template-columns: 1fr !important; }
    .ap-form-row-2 { grid-template-columns: 1fr !important; }

    /* Modals */
    .ap-modal-content { width: calc(100vw - 24px) !important; max-height: 90vh !important; overflow-y: auto !important; }
    /* Sections */
    .section { padding: 48px 0 !important; }
    .section-header { margin-bottom: 28px !important; }
    .section-title { font-size: clamp(1.4rem, 6vw, 2.2rem) !important; }

    /* Grid → single col */
    .courses-grid,
    .events-grid,
    .products-grid { grid-template-columns: 1fr !important; gap: 14px !important; }

    /* Cards */
    .course-card,
    .event-card { border-radius: 12px !important; }

    /* Buttons */
    .btn-lg { padding: 13px 24px !important; font-size: 15px !important; }

    /* Hero V2 */
    .hv2-hero-title { font-size: clamp(1.8rem, 7.5vw, 2.8rem) !important; }
    .hv2-hero-sub { font-size: 15px !important; }
    .hv2-hero-actions { flex-direction: column !important; align-items: center !important; gap: 8px !important; width: 100% !important; }
    .hv2-hero-actions .btn { width: 100% !important; max-width: 320px !important; text-align: center !important; }
    .hv2-hero-actions .hv2-ghost-link { width: 100% !important; max-width: 320px !important; text-align: center !important; border-bottom: none !important; padding: 10px 0 !important; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
    .footer-bottom { flex-direction: column !important; text-align: center !important; gap: 8px !important; }

    /* Cart table */
    .cart-table-wrap { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
    .cart-table { min-width: 440px; }

    /* Profile page */
    .profile-grid { grid-template-columns: 1fr !important; }
    .profile-sidebar { position: static !important; }

    /* Checkout */
    .checkout-grid { grid-template-columns: 1fr !important; }
    .checkout-summary { order: -1 !important; }
    .contact-left { padding: 32px 24px !important; min-height: auto !important; }
    .contact-right { padding: 32px 24px 48px !important; }
    .order-detail-grid { grid-template-columns: 1fr !important; }
    .footer-grid {
        grid-template-columns: 1fr !important;
        overflow: hidden !important;
    }
    .footer {
        overflow: hidden !important;
    }
    .header-inner {
        padding: 0 16px !important;
        gap: 8px !important;
    }
    .logo,
    .ae-logo-link {
        flex-shrink: 0 !important;
        max-width: 140px !important;
        overflow: hidden !important;
    }
    .logo img,
    .ae-logo-img {
        height: 34px !important;
        width: auto !important;
        max-width: 140px !important;
        object-fit: contain !important;
        display: block !important;
        flex-shrink: 0 !important;
    }
    .header-inner {
        align-items: center !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .logo,
    .ae-logo-link {
        margin-top: 2px !important;
    }
    .logo img,
    .ae-logo-img {
        height: 30px !important;
        max-width: 133px !important;
    }
    .hv2-hero-slide,
    .hv2-hero-bg,
    .hv2-hero-track {
        overflow: hidden !important;
        max-width: 100vw !important;
    }
    .hv2-hero-slide img,
    .hv2-hero-bg img {
        width: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
    .header .logo img,
    .header-inner .logo img,
    .logo img.ae-logo-img,
    .ae-logo-link .ae-logo-img {
        height: 18px !important;
        width: auto !important;
        max-width: none !important;
    }
}

/* ═══ RESPONSIVE: max-width 480px ═══ */
@media (max-width: 480px) {
    .auth-logo img,
    .auth-logo-link img {
        height: 28px !important;
        max-height: 28px !important;
        max-width: 120px !important;
        width: auto !important;
    }
    .auth-logo { margin-bottom: 20px; }
    .product-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .hero-badge { font-size: 11px; }
    .ae-loader-logo img { height: 32px !important; max-width: 140px !important; }
    .contact-left { padding: 40px 24px 32px; }
    .contact-right { padding: 40px 24px 72px; }
    .ev-hero { height: 320px; }
    .ev-hero-content { padding-bottom: 32px; }
    .ev-pills { gap: 8px; }
    .hv2-hero-title { font-size: 28px; }
    .container { padding: 0 16px; }
    .btn-lg { padding: 14px 24px; font-size: 15px; }
    .section { padding: 48px 0; }
    /* About 480px */
    .about-hero { padding: 100px 0 44px; }
    .about-hero::after { display: none; }
    .about-cta-buttons .btn { width: 100%; justify-content: center; }
    .about-partners-grid { gap: 16px; }
    .prf-hero-stats { flex-wrap: wrap; }
 .about-founders-grid { grid-template-columns: 1fr 1fr; } }
    .prf-hero-stats { gap: 8px; }
    .prf-hero-divider { display: none; }
    .prf-hero-stat { background: rgba(255,255,255,0.06); border-radius: 10px; padding: 8px 14px; }
    .pagination { flex-wrap: wrap; justify-content: center; gap: 4px; }
    .pagination a, .pagination span { min-width: 36px; height: 36px; font-size: 13px; }
    .hv2-hero-title { font-size: 2rem; }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }
    .footer-brand p { margin-left: auto; margin-right: auto; }
    .footer-brand img { margin: 0 auto; }
    .footer-social { justify-content: center; }
    .footer-bottom { text-align: center; flex-direction: column; gap: 12px; }
    .footer h4 { text-align: center; }
    .footer ul { text-align: center; }
    .footer-contact li { justify-content: center; }
    .about-founders-grid-v2 {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }
    .about-founders-grid-v2 .founder-card-v2:nth-child(3) {
        grid-column: 1 / -1 !important;
        max-width: 60% !important;
        margin: 0 auto !important;
    }
    .ae-mobile-logo-img { height: 30px !important; max-width: none !important; }
    .ae-mobile-logo-img { height: 28px !important; max-width: none !important; }
    .ae-footer-logo-img,
    .footer-brand img,
    .footer-brand .ae-footer-logo-img,
    .ae-footer-logo-link img {
        height: 28px !important;
        width: auto !important;
        max-width: 130px !important;
        max-height: 28px !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        display: block !important;
        filter: none !important;
    }
    .footer-logo, .ae-footer-logo-link {
        display: inline-block !important;
        max-width: 130px !important;
    }
    .ae-admin-topbar-logo-img { height: 22px !important; max-width: 110px !important; }
}

/* ── Mobile dark-hero header: stronger backdrop for nav visibility ── */
@media (max-width: 768px) {
    /* Stronger gradient ensures white elements stay readable on any hero image */
    body.has-dark-hero .header:not(.ae-scrolled) {
        background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.10) 100%) !important;
    }
    /* Giriş Yap — white text + visible border */
    body.has-dark-hero .header:not(.ae-scrolled) .btn-ghost {
        color: #fff !important;
        border: 1.5px solid rgba(255,255,255,0.65) !important;
        background: rgba(255,255,255,0.08) !important;
    }
    /* Kayıt Ol — keep teal background, bump contrast */
    body.has-dark-hero .header:not(.ae-scrolled) .btn-primary,
    body.has-dark-hero .header:not(.ae-scrolled) .btn-primary.btn-sm {
        background: var(--primary) !important;
        color: #fff !important;
        border-color: transparent !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.30) !important;
    }
    /* Cart icon */
    body.has-dark-hero .header:not(.ae-scrolled) .cart-icon {
        color: #fff !important;
    }
    body.has-dark-hero .header:not(.ae-scrolled) .cart-icon svg {
        color: #fff !important;
        stroke: #fff !important;
    }
    /* Logo */
    body.has-dark-hero .header:not(.ae-scrolled) .logo-text,
    body.has-dark-hero .header:not(.ae-scrolled) .logo span {
        color: #fff !important;
    }
    body.has-dark-hero .header:not(.ae-scrolled) .logo img {
        filter: brightness(0) invert(1) !important;
    }
    /* Mobile toggle */
    body.has-dark-hero .header:not(.ae-scrolled) .mobile-toggle span {
        background: #fff !important;
    }
}

/* ══════════════════════════════════════════════════════
   FIX: Hakkımızda horizontal overflow (mobile)
   FIX: Homepage hero blue band (mobile)
   FIX: Logo white on transparent header (all screens)
   2026-05-04
   ══════════════════════════════════════════════════════ */

/* Prevent horizontal overflow sitewide on mobile */
@media (max-width: 900px) {
    html { overflow-x: hidden !important; max-width: 100% !important; }
    body { overflow-x: hidden !important; max-width: 100% !important; }
}

/* Hakkımızda — kill overflow on every section */
body:has(.about-hero) {
    overflow-x: hidden !important;
}
.about-hero, .about-story-section, .about-stats-bar,
.about-values-section, .about-partners-section,
.about-services-section, .about-cta-section {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
}
.about-pull-quote {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}
@media (max-width: 768px) {
    .about-pull-quote::before {
        font-size: 4rem !important;
    }
    .about-story-grid { grid-template-columns: 1fr !important; }
}

/* Homepage hero — remove teal band by ensuring hero covers full screen */
@media (max-width: 768px) {
    .hv2-hero {
        min-height: 100svh !important;
        min-height: 100vh !important;
        background: #0a3d52 !important;
    }
    .hv2-slides, .hv2-slide--active {
        min-height: 100% !important;
        height: 100% !important;
    }
    /* Ensure section after hero doesn't have gap */
    .hv2-hero + * {
        margin-top: 0 !important;
    }
}

/* Logo white on transparent dark-hero header — desktop + mobile */
body.has-dark-hero .header:not(.ae-scrolled) .logo img,
body.has-dark-hero .header:not(.ae-scrolled) .ae-logo-img {
    filter: brightness(0) invert(1) !important;
}
body.has-dark-hero .header.ae-scrolled .logo img,
body.has-dark-hero .header.ae-scrolled .ae-logo-img {
    filter: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   PROFILE PAGES (eğitmen + stüdyo) — premium hero + sections
   ═══════════════════════════════════════════════════════════════ */

.prof-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark, #0c4356) 0%, var(--primary, #105970) 55%, #0a3a4a 100%);
    color: #fff;
    padding: calc(var(--header-height, 72px) + 60px) 0 70px;
    overflow: hidden;
}
.prof-hero-deco {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at 18% 12%, rgba(232,185,49,0.12), transparent 55%),
                radial-gradient(ellipse at 82% 100%, rgba(232,185,49,0.07), transparent 55%);
}
.prof-hero-cover {
    position: absolute; inset: 0;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    opacity: 0.35;
}
.prof-hero--with-cover::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(12,67,86,0.65) 0%, rgba(10,29,39,0.92) 100%);
    pointer-events: none;
}
.prof-hero-inner { position: relative; z-index: 1; text-align: center; }

.prof-hero-avatar-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 22px;
}
.prof-hero-avatar {
    width: 144px; height: 144px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.18);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 0 8px rgba(232,185,49,0.10);
    display: block;
    background: rgba(255,255,255,0.05);
}
.prof-hero-avatar--initials {
    background: linear-gradient(135deg, #E8B931 0%, #b8941e 100%);
    color: #fff;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 0.04em;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading, inherit);
}
.prof-hero-avatar--studio {
    border-radius: 24px;
    background: #fff;
    padding: 12px;
    object-fit: contain;
}
.prof-hero-avatar--studio.prof-hero-avatar--initials {
    background: linear-gradient(135deg, #E8B931, #b8941e);
    padding: 0;
}
.prof-hero-badge-dot {
    position: absolute;
    bottom: 8px; right: 8px;
    width: 34px; height: 34px;
    background: linear-gradient(135deg, #E8B931, #b8941e);
    color: #1a1a1a;
    border: 3px solid #0c4356;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

.prof-hero-name {
    font-family: var(--font-heading, inherit);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.03em;
    font-weight: 800;
    line-height: 1.1;
}
.prof-hero-role {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.90);
    margin: 0 0 24px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.prof-hero-bio {
    max-width: 680px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,0.88);
    line-height: 1.75;
    font-size: 16px;
    font-weight: 400;
}

.prof-hero-stats {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 28px 0 0;
}
.prof-hero-stat {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 16px 24px;
    min-width: 110px;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    transition: background .2s, border-color .2s, transform .2s;
}
.prof-hero-stat:hover {
    background: rgba(232,185,49,0.12);
    border-color: rgba(232,185,49,0.35);
    transform: translateY(-2px);
}
.prof-hero-stat-num {
    font-family: var(--font-heading, inherit);
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.prof-hero-stat-label {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: rgba(255,255,255,0.65);
    font-weight: 600;
}

.prof-hero-affiliations {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    justify-content: center;
    margin: 30px 0 0;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,0.10);
}
.prof-hero-affiliations-label {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.10em;
    font-weight: 600;
}
.prof-hero-aff-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px 7px 7px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, transform .2s;
}
.prof-hero-aff-chip:hover { background: rgba(232,185,49,0.16); transform: translateY(-1px); }
.prof-hero-aff-chip img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; background: #fff; }

/* ── Section heads ── */
.prof-section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
    margin-bottom: 28px; flex-wrap: wrap;
}
.prof-section-label {
    display: block;
    font-size: 11px; font-weight: 700;
    color: var(--primary, #105970);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.prof-section-head h2 {
    margin: 0; font-size: 1.75rem; letter-spacing: -0.025em; font-weight: 800;
}
.prof-section-count {
    font-size: 13px; color: var(--gray-500, #94a3b8); font-weight: 600;
    padding: 6px 14px;
    background: var(--sidebar-hover, #f1f5f9);
    border-radius: 999px;
}

/* ── Empty state ── */
.prof-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500, #94a3b8);
}
.prof-empty svg { margin: 0 auto 16px; display: block; opacity: 0.5; }
.prof-empty h3 { font-size: 1.2rem; color: var(--text-main, #0f1e28); margin: 0 0 6px; font-weight: 700; }
.prof-empty p { margin: 0; font-size: 14px; }

/* ── Team grid (stüdyo'nun eğitmenleri) ── */
.prof-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}
.prof-team-card {
    background: #fff;
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: 16px;
    padding: 22px 16px;
    text-align: center;
    text-decoration: none !important;
    color: inherit !important;
    transition: box-shadow .25s, transform .25s, border-color .25s;
    display: block;
}
.prof-team-card:hover {
    box-shadow: 0 12px 32px rgba(15,30,40,0.10);
    transform: translateY(-3px);
    border-color: rgba(16,89,112,0.25);
}
.prof-team-card .prof-team-avatar {
    width: 78px; height: 78px;
    border-radius: 50%;
    margin: 0 auto 12px;
    object-fit: cover;
    background: #f1f5f9;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(15,30,40,0.10);
    display: block;
}
.prof-team-card div.prof-team-avatar--initials {
    background: linear-gradient(135deg, var(--primary, #105970), #0c4356);
    color: #fff;
    font-size: 24px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.prof-team-name {
    font-size: 14.5px; font-weight: 700;
    color: var(--text-main, #0f1e28);
    margin: 0 0 4px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.prof-team-role {
    font-size: 11px; color: var(--gray-500, #94a3b8);
    text-transform: uppercase; letter-spacing: 0.10em; font-weight: 600;
}

/* ── Event grid (profile sayfa varyantı) ── */
.prof-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.prof-event-card {
    display: block;
    background: #fff;
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit !important;
    transition: box-shadow .25s, transform .25s;
}
.prof-event-card:hover { box-shadow: 0 14px 40px rgba(15,30,40,0.12); transform: translateY(-3px); }
.prof-event-card .prof-event-img {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary, #105970), #0c4356);
    overflow: hidden;
}
.prof-event-card .prof-event-img img {
    width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important;
}
.prof-event-card .prof-event-date {
    position: absolute; top: 14px; left: 14px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 8px 12px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    min-width: 52px;
}
.prof-event-card .prof-event-date .d {
    display: block;
    font-size: 1.4rem; font-weight: 800;
    color: var(--primary, #105970);
    letter-spacing: -0.02em;
    line-height: 1;
}
.prof-event-card .prof-event-date .m {
    display: block;
    font-size: 10px; font-weight: 700;
    color: var(--gray-500, #94a3b8);
    letter-spacing: 0.08em;
    margin-top: 2px;
}
.prof-event-card .prof-event-body { padding: 16px 18px 18px; }
.prof-event-card .prof-event-body h3 {
    font-size: 15.5px; font-weight: 700;
    color: var(--text-main, #0f1e28);
    margin: 0 0 6px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}
.prof-event-card .prof-event-body p {
    font-size: 13px; color: var(--gray-600, #64748b);
    margin: 0; line-height: 1.55;
}

@media (max-width: 768px) {
    .prof-hero { padding: calc(var(--header-height, 72px) + 30px) 0 50px; }
    .prof-hero-avatar { width: 120px; height: 120px; }
    .prof-hero-stats { gap: 10px; }
    .prof-hero-stat { padding: 12px 16px; min-width: 90px; }
    .prof-hero-stat-num { font-size: 1.3rem; }
    .prof-section-head h2 { font-size: 1.4rem; }
    .prof-team-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
