  :root {
    /* Pratik Esnaf marka renkleri (logodan) */
    --pe-blue: #1e88e5;
    --pe-blue-dark: #1565c0;
    --pe-blue-darker: #0d47a1;
    --pe-yellow: #f5b536;
    --pe-yellow-dark: #e09c1f;
    --pe-yellow-light: #fff8e7;
    --pe-blue-light: #e3f2fd;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
  }
  * { box-sizing: border-box; }
  body {
    background: var(--gray-50);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--gray-900);
    margin: 0;
  }

  /* Mockup üst nav */
  .mockup-nav {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 12px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
  }
  .brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }
  .brand-logo img {
    height: 36px;
    width: auto;
    display: block;
  }
  .brand-divider {
    width: 1px;
    height: 28px;
    background: var(--gray-200);
  }
  .brand-text {
    font-size: 1.15rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pe-blue) 0%, var(--pe-blue-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -.3px;
  }
  .mockup-nav .nav-link {
    color: var(--gray-600);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all .2s;
  }
  .mockup-nav .nav-link:hover { color: var(--pe-blue); background: var(--pe-blue-light); }
  .mockup-nav .nav-link.active { background: var(--pe-blue); color: white; }
  .mockup-section { display: none; padding: 0 0 48px; }
  .mockup-section.active { display: block; }

  /* ===== HERO (Yeni profesyonel tasarım) ===== */
  .hero {
    position: relative;
    background:
      radial-gradient(ellipse 80% 60% at 20% 0%, rgba(245,181,54,.15), transparent),
      radial-gradient(ellipse 80% 60% at 80% 100%, rgba(30,136,229,.18), transparent),
      linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 56px 0 0;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
      linear-gradient(rgba(30,136,229,.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(30,136,229,.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
  }
  .hero-inner { position: relative; z-index: 2; }
  .hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 12px 24px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,.04);
  }
  .hero-brand img {
    height: 52px;
    width: auto;
  }
  .hero-brand-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    border-left: 1px solid var(--gray-200);
    padding-left: 18px;
    line-height: 1.1;
  }
  .hero-brand-text .pretitle {
    font-size: .72rem;
    font-weight: 700;
    color: var(--gray-500);
    letter-spacing: 3px;
    margin-bottom: 4px;
  }
  .hero-brand-text .academy {
    font-size: 1.55rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pe-blue), var(--pe-yellow-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -.5px;
    line-height: 1;
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--gray-200);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--gray-700);
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    margin-bottom: 24px;
  }
  .hero-badge .dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
  }
  @keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
  }
  .hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--gray-900);
    margin-bottom: 20px;
  }
  .hero-title .hl {
    color: var(--pe-blue);
    position: relative;
    display: inline-block;
  }
  .hero-title .hl::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 0; right: 0;
    height: 12px;
    background: var(--pe-yellow);
    opacity: .35;
    z-index: -1;
    border-radius: 4px;
  }
  .hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 720px;
    margin-bottom: 32px;
    line-height: 1.6;
  }
  .hero-search {
    background: white;
    border-radius: 16px;
    padding: 10px;
    max-width: 720px;
    display: flex;
    box-shadow: 0 8px 24px rgba(30,136,229,.12), 0 0 0 1px var(--gray-200);
    transition: all .2s;
  }
  .hero-search:focus-within {
    box-shadow: 0 12px 32px rgba(30,136,229,.18), 0 0 0 2px var(--pe-blue);
  }
  .hero-search .input-icon {
    display: flex;
    align-items: center;
    padding-left: 16px;
    color: var(--gray-500);
    font-size: 1.2rem;
  }
  .hero-search input {
    flex: 1;
    border: none;
    padding: 14px 16px;
    font-size: 1.05rem;
    outline: none;
    font-family: inherit;
    background: transparent;
  }
  .hero-search button {
    background: linear-gradient(135deg, var(--pe-blue), var(--pe-blue-dark));
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
  }
  .hero-search button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(30,136,229,.3);
  }

  .hero-popular {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .hero-popular .lbl { color: var(--gray-500); font-size: .85rem; }
  .hero-popular .tag {
    background: white;
    border: 1px solid var(--gray-200);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: .8rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: all .15s;
  }
  .hero-popular .tag:hover {
    border-color: var(--pe-blue);
    color: var(--pe-blue);
  }

  /* Hero metrik kartları */
  .hero-metrics {
    margin-top: 48px;
    padding-bottom: 56px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .metric-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all .2s;
  }
  .metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,.06);
  }
  .metric-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
  }
  .metric-card.m1::before { background: var(--pe-blue); }
  .metric-card.m2::before { background: var(--pe-yellow); }
  .metric-card.m3::before { background: var(--success); }
  .metric-card.m4::before { background: var(--info); }
  .metric-card .lbl { color: var(--gray-500); font-size: .85rem; font-weight: 500; margin-bottom: 6px; }
  .metric-card .num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 4px;
  }
  .metric-card .trend {
    color: var(--success);
    font-size: .8rem;
    font-weight: 500;
  }
  .metric-card .icn {
    position: absolute;
    top: 20px; right: 20px;
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.2rem;
  }
  .metric-card.m1 .icn { background: var(--pe-blue-light); color: var(--pe-blue); }
  .metric-card.m2 .icn { background: var(--pe-yellow-light); color: var(--pe-yellow-dark); }
  .metric-card.m3 .icn { background: #d1fae5; color: var(--success); }
  .metric-card.m4 .icn { background: #cffafe; color: var(--info); }

  /* Hızlı başlangıç */
  .quick-start { padding: 56px 0; }
  .section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
  }
  .section-head h3 {
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -.5px;
  }
  .section-head .more {
    color: var(--pe-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: .9rem;
  }
  .section-subtitle { color: var(--gray-500); font-size: 1rem; margin-top: 4px; }

  .quick-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--gray-200);
    transition: all .2s;
    cursor: pointer;
    height: 100%;
    position: relative;
  }
  .quick-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    border-color: var(--pe-blue);
  }
  .quick-card .step-num {
    position: absolute;
    top: 16px; right: 16px;
    background: var(--gray-100);
    color: var(--gray-500);
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
  }
  .quick-card .icon-box {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
  }
  .quick-card.c1 .icon-box { background: var(--pe-blue-light); color: var(--pe-blue); }
  .quick-card.c2 .icon-box { background: var(--pe-yellow-light); color: var(--pe-yellow-dark); }
  .quick-card.c3 .icon-box { background: #d1fae5; color: var(--success); }
  .quick-card.c4 .icon-box { background: #fee2e2; color: var(--danger); }
  .quick-card h5 { font-weight: 700; margin-bottom: 8px; font-size: 1.05rem; }
  .quick-card p { color: var(--gray-600); font-size: .9rem; margin: 0; line-height: 1.5; }
  .quick-card .meta {
    margin-top: 14px;
    display: flex;
    gap: 12px;
    font-size: .8rem;
    color: var(--gray-500);
  }
  .quick-card .meta span i { color: var(--pe-blue); margin-right: 3px; }

  /* Sektör grid */
  .sectors-section { padding: 24px 0 56px; }
  .sector-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--gray-200);
    transition: all .2s;
    cursor: pointer;
    height: 100%;
    position: relative;
  }
  .sector-card:hover {
    border-color: var(--pe-blue);
    box-shadow: 0 12px 24px rgba(30,136,229,.1);
    transform: translateY(-2px);
  }
  .sector-card .top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }
  .sector-card .icon-box {
    width: 48px; height: 48px;
    background: var(--pe-blue-light);
    color: var(--pe-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
  }
  .sector-card h6 { margin: 0; font-weight: 700; font-size: 1rem; }
  .sector-card .meta { color: var(--gray-500); font-size: .8rem; }
  .sector-card .progress {
    height: 6px;
    margin-top: 14px;
    background: var(--gray-100);
    border-radius: 100px;
    overflow: hidden;
  }
  .sector-card .progress-bar {
    background: var(--pe-blue);
    border-radius: 100px;
  }
  .sector-card .stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    font-size: .78rem;
    color: var(--gray-600);
  }
  .sector-card .stats span {
    background: var(--gray-50);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid var(--gray-200);
  }
  .sector-card .stats span i { color: var(--pe-blue); margin-right: 4px; }
  .sector-card .new-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--pe-yellow);
    color: var(--gray-900);
    font-size: .65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
  }

  /* En çok izlenenler bölümü */
  .top-content { padding: 24px 0 56px; }
  .top-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all .2s;
    cursor: pointer;
  }
  .top-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .top-card .thumb {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--pe-blue), var(--pe-blue-dark));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }
  .top-card .thumb i { font-size: 3rem; opacity: .8; }
  .top-card .thumb .thumb-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    background: transparent;
  }
  .top-card .thumb video.thumb-video:not([data-loaded="1"]) { opacity: 0; }
  .top-card .thumb video.thumb-video[data-loaded="1"] { opacity: 1; transition: opacity .2s; }
  .top-card .thumb .thumb-play-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.6);
    opacity: .9;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .top-card:hover .thumb .thumb-play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
  .top-card .duration { z-index: 3; }
  .top-card .badge-popular { z-index: 3; }
  .top-card .duration {
    position: absolute;
    bottom: 8px; right: 8px;
    background: rgba(0,0,0,.7);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: .75rem;
    font-weight: 600;
  }
  .top-card .badge-popular {
    position: absolute;
    top: 10px; left: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #b45309;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .top-card .badge-popular i {
    font-size: .75rem;
    color: #f59e0b;
  }
  .top-card-body { padding: 16px; }
  .top-card-body h6 { font-weight: 600; margin: 0 0 8px; font-size: .95rem; line-height: 1.35; }
  .top-card-body .category {
    color: var(--pe-blue);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
  }

  /* Rating - reyting bar (KRİTİK YENİ) */
  .rating-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--gray-100);
    font-size: .78rem;
    color: var(--gray-500);
  }
  .rating-bar .stat {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .rating-bar .stat i { color: var(--gray-400); }
  .rating-bar .stars {
    color: var(--pe-yellow);
    letter-spacing: -1px;
  }
  .rating-bar .stars-num {
    color: var(--gray-700);
    font-weight: 600;
  }

  /* ===== MODÜL DETAY ===== */
  .modul-page { padding: 24px 0; }
  .info-bar {
    background: linear-gradient(90deg, var(--pe-blue-light), white);
    border: 1px solid var(--pe-blue-light);
    border-left: 4px solid var(--pe-blue);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .info-bar i { color: var(--pe-blue); font-size: 1.5rem; }

  .modul-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    margin-top: 24px;
  }
  .modul-sidebar {
    background: white;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--gray-200);
    height: fit-content;
    position: sticky;
    top: 80px;
  }
  .modul-sidebar h6 {
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--pe-blue-light);
    color: var(--gray-900);
  }
  .sidebar-tree { list-style: none; padding: 0; margin: 0; }
  .sidebar-tree li {
    padding: 9px 12px;
    border-radius: 8px;
    margin-bottom: 2px;
    cursor: pointer;
    font-size: .88rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all .15s;
  }
  .sidebar-tree li:hover { background: var(--pe-blue-light); color: var(--pe-blue); }
  .sidebar-tree li.active { background: var(--pe-blue); color: white; font-weight: 500; }
  .sidebar-tree li i { font-size: 1rem; }
  .sidebar-tree li .badge-mini {
    margin-left: auto;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: .7rem;
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: 600;
  }
  .sidebar-tree li.active .badge-mini { background: rgba(255,255,255,.25); color: white; }

  .modul-content {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--gray-200);
  }
  .modul-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 24px;
  }
  .modul-header .icon-box {
    width: 64px; height: 64px;
    background: var(--pe-blue-light);
    color: var(--pe-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
  }
  .modul-header h2 { margin: 0; font-weight: 700; }
  .breadcrumb-mini {
    font-size: .82rem;
    color: var(--gray-500);
  }
  .breadcrumb-mini a { color: var(--gray-500); text-decoration: none; }
  .breadcrumb-mini a:hover { color: var(--pe-blue); }

  /* İçerik reyting kutusu (her makale/video için) */
  .content-rating {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 14px 18px;
    margin: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }
  .content-rating .left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
  }
  .content-rating .stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .88rem;
    color: var(--gray-700);
  }
  .content-rating .stat i {
    color: var(--gray-500);
    font-size: 1.1rem;
  }
  .content-rating .stat strong { color: var(--gray-900); font-weight: 700; }
  .content-rating .stars { color: var(--pe-yellow); letter-spacing: -1px; font-size: 1rem; }
  .content-rating .rate-action {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .content-rating .rate-action button {
    background: white;
    border: 1px solid var(--gray-200);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: .82rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: all .15s;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .content-rating .rate-action button:hover {
    border-color: var(--pe-blue);
    color: var(--pe-blue);
  }
  .content-rating .rate-action button.active {
    background: var(--pe-blue);
    color: white;
    border-color: var(--pe-blue);
  }

  .step-block {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border-left: 4px solid var(--pe-blue);
  }
  .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: var(--pe-blue);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    margin-right: 12px;
  }

  /* Annotated screenshot */
  .screenshot-wrap {
    position: relative;
    margin: 16px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    cursor: zoom-in;
    background: white;
  }
  .screenshot-img { width: 100%; display: block; }
  .annotation { position: absolute; z-index: 5; }
  .annotation-marker {
    width: 32px; height: 32px;
    background: var(--danger);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(239,68,68,.5);
    border: 3px solid white;
    animation: pulse-mark 2s infinite;
  }
  @keyframes pulse-mark {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
  }
  .annotation-label {
    position: absolute;
    background: var(--gray-900);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: .82rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
  }
  .annotation-label::after {
    content: '';
    position: absolute;
    left: -6px; top: 50%;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 6px 6px 6px 0;
    border-color: transparent var(--gray-900) transparent transparent;
  }

  /* Video player */
  .video-block {
    background: var(--gray-900);
    border-radius: 16px;
    overflow: hidden;
    margin: 16px 0;
    position: relative;
  }
  .video-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b, #334155);
    position: relative;
    color: white;
  }
  .video-play-btn {
    width: 80px; height: 80px;
    background: rgba(255,255,255,.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .2s;
    z-index: 2;
  }
  .video-play-btn:hover { transform: scale(1.1); }
  .video-play-btn i { font-size: 2rem; color: var(--pe-blue); margin-left: 4px; }
  .video-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
    padding: 32px 24px 16px;
    color: white;
  }
  .video-info h6 { margin: 0 0 4px; font-weight: 600; }
  .video-info .duration {
    background: rgba(255,255,255,.15);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: .75rem;
    margin-left: 8px;
  }

  /* Tag pill */
  .tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: var(--pe-blue-light);
    color: var(--pe-blue);
    border-radius: 100px;
    font-size: .78rem;
    margin-right: 6px;
    margin-bottom: 6px;
    font-weight: 500;
  }
  .tag-pill.yellow { background: var(--pe-yellow-light); color: var(--pe-yellow-dark); }
  .tag-pill.success { background: #d1fae5; color: var(--success); }

  /* SSS Accordion */
  .sss-section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid var(--gray-200);
  }
  .sss-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
  }
  .sss-section-head h4 {
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .sss-section-head h4 .count {
    background: var(--pe-blue);
    color: white;
    font-size: .85rem;
    padding: 2px 12px;
    border-radius: 100px;
    font-weight: 600;
  }
  .sss-item {
    background: var(--gray-50);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all .15s;
  }
  .sss-item:hover { border-color: var(--pe-blue); }
  .sss-question {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: .95rem;
  }
  .sss-question:hover { background: var(--pe-blue-light); }
  .sss-question.open { background: var(--pe-blue-light); }
  .sss-question .q-icon {
    width: 28px; height: 28px;
    background: var(--pe-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 700;
    flex-shrink: 0;
  }
  .sss-question .chevron {
    margin-left: auto;
    transition: transform .2s;
  }
  .sss-question.open .chevron { transform: rotate(180deg); }
  .sss-question .views {
    color: var(--gray-500);
    font-size: .78rem;
    margin-right: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .sss-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all .3s;
  }
  .sss-question.open + .sss-answer {
    max-height: 1500px;
    padding: 0 20px 20px;
  }
  .sss-answer-content {
    padding-left: 40px;
    color: var(--gray-700);
    line-height: 1.7;
  }
  .sss-answer-content p { margin-bottom: 12px; }
  .sss-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    align-items: center;
  }
  .sss-actions .btn-sm {
    font-size: .82rem;
    padding: 6px 14px;
  }
  .btn-pe-primary {
    background: var(--pe-blue);
    color: white;
    border: 1px solid var(--pe-blue);
  }
  .btn-pe-primary:hover { background: var(--pe-blue-dark); color: white; }
  .btn-pe-outline {
    background: white;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
  }
  .btn-pe-outline:hover { border-color: var(--pe-blue); color: var(--pe-blue); }
  .sss-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-200);
    font-size: .82rem;
    color: var(--gray-500);
  }
  .sss-rating .helpful {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .sss-rating .helpful button {
    background: white;
    border: 1px solid var(--gray-200);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: .78rem;
    transition: all .15s;
  }
  .sss-rating .helpful button:hover {
    border-color: var(--pe-blue);
    color: var(--pe-blue);
  }

  .fake-screen { background: white; border: 1px solid var(--gray-200); }

  /* Aradığımı Bulamadım barı */
  .not-found-bar {
    background: linear-gradient(135deg, var(--pe-yellow-light) 0%, #fff 100%);
    border: 2px dashed var(--pe-yellow);
    border-radius: 16px;
    padding: 20px 24px;
    margin: 32px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }
  .not-found-bar .left {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .not-found-bar i.bi-question-circle-fill {
    font-size: 2.5rem;
    color: var(--pe-yellow-dark);
  }
  .not-found-bar strong { display: block; font-size: 1.05rem; color: var(--gray-900); margin-bottom: 2px; }
  .not-found-bar p { margin: 0; color: var(--gray-600); font-size: .9rem; }
  .btn-not-found {
    background: var(--pe-yellow);
    color: var(--gray-900);
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .95rem;
  }
  .btn-not-found:hover {
    background: var(--pe-yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(245,181,54,.3);
  }

  /* Paylaşım modal stilleri */
  .share-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0;
  }
  .share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all .15s;
    background: white;
    border: 1px solid var(--gray-200);
    text-decoration: none;
    color: var(--gray-900);
  }
  .share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,.08);
    color: var(--gray-900);
  }
  .share-btn .ic {
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
  }
  .share-btn.whatsapp .ic { background: #25D366; }
  .share-btn.telegram .ic { background: #0088cc; }
  .share-btn.email .ic { background: var(--pe-blue); }
  .share-btn.twitter .ic { background: #000; }
  .share-btn.facebook .ic { background: #1877f2; }
  .share-btn.linkedin .ic { background: #0a66c2; }
  .share-btn.instagram .ic { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
  .share-btn.copy .ic { background: var(--gray-700); }
  .share-btn span { font-size: .82rem; font-weight: 500; }

  .share-link-box {
    display: flex;
    gap: 8px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 8px;
    margin-top: 16px;
  }
  .share-link-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px;
    font-size: .9rem;
    color: var(--gray-700);
    outline: none;
    font-family: monospace;
  }
  .share-link-box button {
    background: var(--pe-blue);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: .85rem;
  }

  /* İletişim formu */
  .contact-form { text-align: left; }
  .contact-form .form-group { margin-bottom: 14px; }
  .contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--gray-700);
    font-size: .9rem;
  }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: .95rem;
    outline: none;
    font-family: inherit;
    transition: all .15s;
  }
  .contact-form input:focus,
  .contact-form select:focus,
  .contact-form textarea:focus {
    border-color: var(--pe-blue);
    box-shadow: 0 0 0 3px rgba(30,136,229,.1);
  }
  .contact-form textarea { resize: vertical; min-height: 100px; }
  .contact-form .help-text {
    background: var(--pe-blue-light);
    border-left: 3px solid var(--pe-blue);
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: .85rem;
    color: var(--gray-700);
  }
  .contact-form .help-text strong { color: var(--pe-blue-dark); }
  .ctx-info {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: .82rem;
    color: var(--gray-600);
  }
  .ctx-info strong { color: var(--gray-900); }

  /* Footer (sayfa altı) */
  .page-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 40px 0 20px;
    margin-top: 60px;
  }
  .page-footer h6 { color: white; font-weight: 700; margin-bottom: 12px; }
  .page-footer a { color: var(--gray-300); text-decoration: none; font-size: .9rem; display: block; padding: 4px 0; }
  .page-footer a:hover { color: var(--pe-yellow); }
  .footer-bottom {
    border-top: 1px solid #334155;
    margin-top: 24px;
    padding-top: 16px;
    text-align: center;
    font-size: .85rem;
    color: var(--gray-500);
  }

  @media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-metrics { grid-template-columns: repeat(2, 1fr); }
    /* Sidebar mobile'da tam genislik, sticky kapat, icerik wrap */
    .modul-layout { grid-template-columns: minmax(0, 1fr); min-width: 0; }
    .modul-sidebar { position: static; min-width: 0; max-width: 100%; box-sizing: border-box; }
    .modul-content { min-width: 0; max-width: 100%; box-sizing: border-box; padding: 20px 16px; }
    .sidebar-tree li { min-width: 0; word-break: break-word; }
    .sidebar-tree li span:first-child { min-width: 0; flex: 1 1 0; }
    /* Global mobile overflow guard */
    html, body { overflow-x: hidden; max-width: 100vw; }
  }

  /* Tablet ve altı: hero kartı taşmasın, search wrap olsun */
  @media (max-width: 575.98px) {
    .hero-brand {
      display: flex;
      gap: 12px;
      padding: 10px 14px;
      max-width: 100%;
      box-sizing: border-box;
    }
    .hero-brand img { height: 44px; }
    .hero-brand-text { padding-left: 12px; }
    .hero-brand-text .pretitle { font-size: .65rem; letter-spacing: 2px; }
    .hero-brand-text .academy { font-size: 1.25rem; }
    .hero-title { font-size: 1.65rem; letter-spacing: -.5px; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 20px; }
    .hero-search {
      flex-wrap: wrap;
      padding: 8px;
    }
    .hero-search .input-icon { padding-left: 10px; font-size: 1rem; }
    .hero-search input { padding: 12px 10px; font-size: .95rem; min-width: 0; flex: 1 1 60%; }
    .hero-search button { padding: 12px 18px; flex: 1 1 100%; margin-top: 6px; }
    .hero-badge { font-size: .78rem; padding: 6px 12px; margin-bottom: 16px; }
    .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hero-popular { gap: 6px; }
    .hero-popular .tag { font-size: .72rem; padding: 3px 9px; }
    /* Bootstrap row negatif margin overflow fix: hero/sektor/video container'da clipping */
    main, .container, .container-fluid { overflow-x: hidden; }
    /* Modul sayfasi sidebar mobile'da daha sikisik */
    .modul-sidebar { padding: 14px 12px; border-radius: 12px; }
    .modul-sidebar h6 { font-size: .92rem; margin-bottom: 8px; padding-bottom: 8px; }
    .sidebar-tree li { padding: 7px 8px; font-size: .82rem; gap: 6px; }
    .sidebar-tree li .badge-mini { font-size: .65rem; padding: 1px 6px; }
  }

  /* Çok küçük (iPhone SE / 360 Android): metrik kartlar tek sütun */
  @media (max-width: 374.98px) {
    .hero-brand-text .academy { font-size: 1.1rem; }
    .hero-title { font-size: 1.45rem; }
    .hero-metrics { grid-template-columns: 1fr; }
    /* En kucuk ekran (iPhone SE 1st gen 320px): sidebar minimum padding */
    .modul-sidebar { padding: 10px 8px; }
    .sidebar-tree li { padding: 6px 6px; font-size: .78rem; }
  }

  /* Ekran goruntusu lightbox — tiklanabilir gorsel ipucu */
  .icerik-html img,
  figure.border img,
  .akademi-zoom-target {
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .icerik-html img:hover,
  figure.border img:hover,
  .akademi-zoom-target:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
  }

  /* SweetAlert lightbox popup ozelleştirmesi */
  .akademi-zoom-popup {
    border-radius: 12px !important;
    max-height: 95vh !important;
    overflow-y: auto !important;
  }
  .akademi-zoom-popup .swal2-title {
    word-break: break-word;
    line-height: 1.35;
  }
  .akademi-zoom-img {
    cursor: zoom-out;
  }
  /* Mobil ekranlarda uzun caption (figcaption) popup'i tasirmasın */
  @media (max-width: 575px) {
    .akademi-zoom-popup .swal2-title {
      font-size: 1rem !important;
      padding: 0.4em 1em 0 !important;
    }
    .akademi-zoom-popup .swal2-close {
      width: 2rem !important;
      height: 2rem !important;
      font-size: 1.75rem !important;
    }
  }

/* ═══════════════════════════════════════════════════════════════
   EMBED MOD (customer panel help-mode iframe için)
   Sekme 133 — Akademi alt-modul iframe lightbox entegrasyonu
   ═══════════════════════════════════════════════════════════════ */
body.akademi-embed {
  background: #fff;
}
body.akademi-embed main,
body.akademi-embed .container {
  padding-top: 0;
  margin-top: 0;
}
body.akademi-embed .akademi-altmodul-hero {
  padding-top: 16px;
}
/* Embed modda 2 sutun sidebar -> tek sutuna duser (iframe dar) */
@media (max-width: 992px) {
  body.akademi-embed .modul-sidebar {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ANNOTATIONS — SVG OVERLAY (Sekme 134, 25 May 2026)
   Görsel üzerine ok / daire / dikdörtgen / tooltip vurgu katmanı.
   Koordinatlar viewBox 0 0 100 100 yüzde tabanlı, responsive.
   ═══════════════════════════════════════════════════════════════ */
.akademi-figure {
  margin: 0;
}
.akademi-img-wrap {
  position: relative;
  display: block;
  line-height: 0; /* img altındaki boşluğu kaldır, overlay tam otursun */
}
.akademi-img-wrap .akademi-img {
  display: block;
  width: 100%;
  height: auto;
}
/* =======================================================================
 * AKADEMI ANNOTATION - HTML OVERLAY (Sekme 139)
 * SVG yerine pure HTML position absolute katman.
 * Gerçek px font (11-13px), kesilme yok, mockup birebir tasarım.
 * img-wrap parent'a göre yüzdesel konumlandırma.
 * ======================================================================= */
.akademi-img-wrap { position: relative; }
.ann-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 3;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* === Numaralı kırmızı marker (mockup tarz pill) === */
.ann-marker {
  position: absolute;
  width: 26px;
  height: 26px;
  margin-left: -13px;  /* center anchor */
  margin-top: -13px;
  background: #ef4444;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.55), 0 0 0 1px rgba(0,0,0,0.08);
  animation: annMarkerPulse 2.4s ease-in-out infinite;
  z-index: 4;
}
@keyframes annMarkerPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 2px 6px rgba(239,68,68,0.55), 0 0 0 1px rgba(0,0,0,0.08); }
  50%      { transform: scale(1.12); box-shadow: 0 3px 10px rgba(239,68,68,0.7), 0 0 0 6px rgba(239,68,68,0.18); }
}

/* === Tooltip callout (siyah kart) - hover-only mod (Sekme 140) ===
 * Statik halde sadece numarali marker gorunur (temiz, cakisma yok).
 * Marker'a hover -> ilgili tooltip acilir (komsu kardes selector).
 * Cakisma sorununu komple cozer, mockup ile uyumlu.
 * Pointer-events: ann-layer none, marker auto -> hover yakalanir.
 */
.ann-layer { pointer-events: none; }
.ann-marker { pointer-events: auto; cursor: help; }
.ann-tooltip {
  position: absolute;
  background: #0f172a;
  color: #fff;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.35;
  max-width: 200px;
  min-width: 60px;
  white-space: normal;
  word-break: break-word;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease-out, visibility 0.18s;
  pointer-events: none;
}
/* Marker hover -> hemen ardisik tooltip (DOM'da marker'dan sonra tooltip geliyor) */
.ann-marker:hover + .ann-tooltip,
.ann-marker:focus + .ann-tooltip,
.ann-marker.is-open + .ann-tooltip,
.ann-tooltip:hover {
  opacity: 1;
  visibility: visible;
  z-index: 60;
}
/* Sekme 141: Mobile/touch cihazlarda hover yok -> marker'a dokununca tooltip acilir.
 * .is-open class'i JS ile toggle edilir; ayrica :focus de yakalanir (klavye erisilebilirligi). */
@media (hover: none) {
  .ann-marker { cursor: pointer; }
  .ann-marker.is-open {
    background: #dc2626;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.35);
  }
}
/* Yön: right (marker'ın sağında) */
.ann-tooltip-right {
  transform: translate(14px, -50%);
}
.ann-tooltip-right::before {
  content: '';
  position: absolute;
  left: -6px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #0f172a;
  border-left: 0;
}
/* Yön: left */
.ann-tooltip-left {
  transform: translate(calc(-100% - 14px), -50%);
}
.ann-tooltip-left::before {
  content: '';
  position: absolute;
  right: -6px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #0f172a;
  border-right: 0;
}
/* Yön: top */
.ann-tooltip-top {
  transform: translate(-50%, calc(-100% - 14px));
}
.ann-tooltip-top::before {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #0f172a;
  border-bottom: 0;
}
/* Yön: bottom */
.ann-tooltip-bottom {
  transform: translate(-50%, 14px);
}
.ann-tooltip-bottom::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: #0f172a;
  border-top: 0;
}

/* === Dikdörtgen vurgu === */
.ann-rect {
  position: absolute;
  border: 2px dashed #ef4444;
  border-radius: 4px;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.15);
  pointer-events: none;
  animation: annRectPulse 2.4s ease-in-out infinite;
}
@keyframes annRectPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(239,68,68,0.15); }
  50%      { box-shadow: 0 0 0 6px rgba(239,68,68,0.28); }
}

/* === Daire vurgu (responsive square, padding-bottom trick) === */
.ann-circle {
  position: absolute;
  margin-left: -8%;  /* yarısı */
  margin-top: -8%;
  border: 2px solid #ef4444;
  border-radius: 50%;
  pointer-events: none;
  animation: annRectPulse 2.4s ease-in-out infinite;
  background: rgba(239,68,68,0.05);
}

/* === Arrow SVG (sadece ok cizimi icin) === */
.ann-arrow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
  animation: annRectPulse 2.4s ease-in-out infinite;
}

/* === Anotasyonlu rozet (sol üst köşe) === */
.akademi-img-wrap[data-has-ann="1"]::before {
  content: "Anotasyonlu";
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 6;
  background: rgba(13, 110, 253, 0.92);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.18);
}

/* === Mobile küçültme === */
@media (max-width: 767.98px) {
  .ann-marker { width: 20px; height: 20px; margin-left: -10px; margin-top: -10px; font-size: 11px; border-width: 1.5px; }
  .ann-tooltip { font-size: 11px; padding: 5px 8px; max-width: 180px; }
  .akademi-img-wrap[data-has-ann="1"]::before { font-size: 0.55rem; padding: 2px 5px; }
}
@media (max-width: 575.98px) {
  .ann-marker { width: 18px; height: 18px; margin-left: -9px; margin-top: -9px; font-size: 10px; }
  .ann-tooltip { font-size: 10px; padding: 4px 7px; max-width: 150px; }
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  .ann-marker, .ann-rect, .ann-circle { animation: none; }
}
