/* ============================================================
   Mucizem — Reference-aligned Design System
   Color: Yellow/Gold + Black + White (canlı renkler)
   ============================================================ */

:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --surface-2:#f7f7f7;
  --surface-3:#f0f0f0;
  --text:#1a1a1a;
  --muted:#6b7280;
  --primary:#F5C518;
  --primary-dark:#d4a90e;
  --primary-weak:rgba(245,197,24,.12);
  --accent:#E53935;
  --accent-weak:rgba(229,57,53,.10);
  --border:#e5e7eb;
  --shadow:0 4px 24px rgba(0,0,0,.06);
  --shadow-2:0 1px 8px rgba(0,0,0,.04);
  --radius:14px;
  --dark:#1a1a1a;
  --dark-2:#111111;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{height:100%}
body{
  margin:0;
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  font-size:16px;
  line-height:1.6;
}
.font-body,.font-heading{font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif!important}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:1499px;margin:0 auto;padding:0 24px}

/* ───────── TOP NAV ───────── */
.topbar{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border-bottom:1px solid var(--border)}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;height:72px;gap:16px}
.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:22px;letter-spacing:-.02em}
.brand-logo{display:flex;align-items:center;gap:3px}
.brand-bar{width:5px;height:28px;border-radius:2px}
.brand-bar.b1{background:var(--primary)}
.brand-bar.b2{background:var(--accent)}
.brand-bar.b3{background:var(--primary)}
.nav{display:flex;gap:4px;align-items:center}
.nav a{padding:10px 16px;border-radius:10px;color:var(--muted);font-weight:600;font-size:14px;transition:all .15s}
.nav a:hover,.nav a.active{color:var(--text);background:var(--surface-2)}
.nav-dropdown{position:relative}
.nav-dropdown-toggle{display:flex;align-items:center;gap:4px;padding:10px 16px;border-radius:10px;color:var(--muted);font-weight:600;font-size:14px;transition:all .15s;cursor:pointer;background:none;border:none;text-decoration:none}
.nav-dropdown-toggle:hover{color:var(--text);background:var(--surface-2)}
.nav-chev{transition:transform .2s}
.nav-dropdown:hover .nav-chev{transform:rotate(180deg)}
.nav-dropdown-menu{display:none;position:absolute;top:100%;left:0;min-width:180px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.1);padding:6px 0;z-index:100}
.nav-dropdown:hover .nav-dropdown-menu{display:block}
.nav-dropdown-menu a{display:block;padding:8px 18px;color:var(--muted);font-weight:600;font-size:13px;transition:all .12s;border-radius:0}
.nav-dropdown-menu a:hover{color:var(--text);background:var(--surface-2)}
@media(max-width:960px){.nav{display:none}}

/* ───────── BUTTONS ───────── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);padding:12px 20px;border-radius:10px;cursor:pointer;font-weight:700;font-size:14px;transition:all .15s}
.btn:hover{background:var(--surface-2)}
.btn-primary{background:var(--primary);border-color:var(--primary);color:var(--dark);font-weight:800;box-shadow:0 4px 14px rgba(245,197,24,.3)}
.btn-primary:hover{background:var(--primary-dark);border-color:var(--primary-dark)}
.btn-dark{background:var(--dark);border-color:var(--dark);color:#fff}
.btn-dark:hover{background:#333}
.btn-outline{background:transparent;border:2px solid var(--dark);color:var(--dark)}
.btn-outline:hover{background:var(--dark);color:#fff}
.btn-accent{background:var(--accent);border-color:var(--accent);color:#fff}
.btn-accent:hover{background:#c62828}
.btn-danger{background:var(--accent);border-color:var(--accent);color:#fff}
.btn-danger:hover{background:#c62828;border-color:#c62828}
.btn-link{border:0;background:transparent;color:var(--muted);padding:10px 14px;border-radius:10px;font-weight:700;font-size:14px}
.btn-link:hover{color:var(--text);background:var(--surface-2)}
.btn-sm{padding:8px 14px;font-size:13px}

/* ───────── BADGES ───────── */
.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;font-weight:700;font-size:12px;letter-spacing:.02em}
.badge-yellow{background:var(--primary-weak);color:#92710c;border:1px solid rgba(245,197,24,.3)}
.badge-red{background:var(--accent-weak);color:var(--accent);border:1px solid rgba(229,57,53,.2)}
.badge-dark{background:rgba(26,26,26,.08);color:var(--dark);border:1px solid rgba(26,26,26,.12)}
.badge-white{background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.2)}

/* ───────── LAYOUT HELPERS ───────── */
.grid{display:grid;gap:20px}
.cols-2{grid-template-columns:repeat(2,1fr)}
.cols-3{grid-template-columns:repeat(3,1fr)}
.cols-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:1024px){.cols-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){.cols-3{grid-template-columns:1fr}.cols-2{grid-template-columns:1fr}}
.text-center{text-align:center}
.small{font-size:13px;color:var(--muted);line-height:1.6}
.section{padding:60px 0}
.section-label{font-size:13px;font-weight:700;color:var(--accent);letter-spacing:.06em;text-transform:uppercase;margin-bottom:8px}
.section-title{margin:0 0 10px;font-size:32px;font-weight:900;letter-spacing:-.02em;line-height:1.15}
.section-sub{color:var(--muted);max-width:600px;font-size:15px;line-height:1.7;margin:0}

/* ───────── CARDS ───────── */
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}

/* ═══════════════════════════════════════════════
   HERO / BANNER
   ═══════════════════════════════════════════════ */
.hero{padding:72px 0 40px;background:linear-gradient(160deg,#fffdf7 0%,#fff8eb 40%,#fff3d6 100%);position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-120px;right:-120px;width:400px;height:400px;background:radial-gradient(circle,rgba(245,197,24,.10) 0%,transparent 70%);pointer-events:none}
.hero::after{content:'';position:absolute;bottom:-80px;left:-80px;width:300px;height:300px;background:radial-gradient(circle,rgba(229,57,53,.06) 0%,transparent 70%);pointer-events:none}

.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}

/* Left */
.hero-left{position:relative;z-index:2}

.hero-badge{display:inline-flex;align-items:center;gap:8px;padding:7px 18px;background:rgba(245,197,24,.12);border:1px solid rgba(245,197,24,.25);border-radius:50px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--dark);margin-bottom:28px}
.hero-badge-dot{width:8px;height:8px;border-radius:50%;background:var(--primary);flex-shrink:0;animation:heroPulse 2s infinite}
@keyframes heroPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}}

.hero-title{font-size:54px;font-weight:900;line-height:1.08;letter-spacing:-.03em;margin:0 0 24px;color:var(--dark)}
.hero-title span{display:block}
.hero-line1{color:var(--dark)}
.hero-line2{color:var(--primary)}
.hero-line3{color:var(--dark)}
.hero-line4{color:var(--accent)}

.hero-desc{color:var(--muted);font-size:16px;line-height:1.8;margin:0 0 32px;max-width:480px}

.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:36px}

/* Stats row */
.hero-stats{display:flex;gap:0;border-top:1px solid var(--border);padding-top:28px}
.hero-stat{flex:1;position:relative;padding-right:20px}
.hero-stat:not(:last-child)::after{content:'';position:absolute;right:0;top:0;bottom:0;width:1px;background:var(--border)}
.hero-stat:not(:first-child){padding-left:20px}
.hero-stat strong{display:block;font-size:24px;font-weight:900;color:var(--dark);letter-spacing:-.01em}
.hero-stat span{font-size:12px;color:var(--muted);font-weight:500;margin-top:2px;display:block}

/* Right — image */
.hero-right{position:relative;z-index:2}
.hero-img-wrap{position:relative;border-radius:24px;overflow:visible}
.hero-img{width:100%;height:auto;border-radius:24px;display:block;box-shadow:0 24px 64px rgba(0,0,0,.10),0 8px 24px rgba(0,0,0,.06);object-fit:cover;max-height:520px}
.hero-img-placeholder{width:100%;min-height:440px;border-radius:24px;background:linear-gradient(145deg,#fffde7 0%,#fff9c4 50%,#ffe082 100%);display:flex;align-items:center;justify-content:center}

/* Floating badges */
.hero-float-badge{position:absolute;display:inline-flex;align-items:center;gap:6px;padding:8px 16px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.6);border-radius:50px;font-size:12px;font-weight:700;color:var(--dark);box-shadow:0 8px 24px rgba(0,0,0,.08);white-space:nowrap;z-index:3;animation:floatBadge 4s ease-in-out infinite}
.fb-emoji{font-size:16px}
.fb-pos1{top:8%;left:-28px;animation-delay:0s}
.fb-pos2{top:30%;right:-32px;animation-delay:.6s}
.fb-pos3{bottom:28%;left:-24px;animation-delay:1.2s}
.fb-pos4{bottom:8%;right:-20px;animation-delay:1.8s}
.fb-pos5{top:58%;right:-28px;animation-delay:2.4s}
.fb-pos6{top:16%;right:-24px;animation-delay:3s}
@keyframes floatBadge{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

/* Overlay card */
.hero-overlay-card{position:absolute;bottom:24px;left:24px;display:flex;align-items:center;gap:12px;padding:14px 20px;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border-radius:16px;box-shadow:0 12px 32px rgba(0,0,0,.10);z-index:4}
.hoc-icon{width:36px;height:36px;border-radius:10px;background:var(--primary-weak);display:flex;align-items:center;justify-content:center;color:var(--primary-dark);flex-shrink:0}
.hoc-text{display:flex;flex-direction:column}
.hoc-text strong{font-size:13px;font-weight:800;color:var(--dark)}
.hoc-text span{font-size:11px;color:var(--muted);margin-top:1px}
.hoc-dot{width:10px;height:10px;border-radius:50%;background:#22c55e;flex-shrink:0;border:2px solid rgba(34,197,94,.3)}

/* Scroll indicator */
.hero-scroll{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:40px}
.hero-scroll-text{font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--muted)}
.hero-scroll-line{width:1px;height:32px;background:linear-gradient(to bottom,var(--muted),transparent);animation:scrollPulse 2s infinite}
@keyframes scrollPulse{0%,100%{opacity:1}50%{opacity:.3}}

/* Hero responsive */
@media(max-width:1024px){
  .hero{padding:48px 0 32px}
  .hero-grid{grid-template-columns:1fr;gap:40px}
  .hero-title{font-size:42px}
  .hero-right{max-width:500px;margin:0 auto}
  .hero-float-badge{display:none}
}
@media(max-width:600px){
  .hero-title{font-size:32px}
  .hero-badge{font-size:11px;padding:6px 14px}
  .hero-stats{flex-direction:column;gap:16px}
  .hero-stat:not(:last-child)::after{display:none}
  .hero-stat:not(:first-child){padding-left:0;border-top:1px solid var(--border);padding-top:16px}
  .hero-stat{padding-right:0}
  .hero-overlay-card{left:12px;bottom:12px;padding:10px 14px}
}

/* ═══════════════════════════════════════════════
   DARK SERVICES BAND
   ═══════════════════════════════════════════════ */
.dark-section{padding:0 0 60px}
.dark-band{background:var(--dark-2);border-radius:28px;padding:56px 52px;position:relative;overflow:hidden}
.dark-band .section-label{color:var(--accent)}
.dark-band .section-title{color:#fff;font-size:28px}
.dark-band .section-sub{color:rgba(255,255,255,.55)}
.dark-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:44px}
.dark-card{text-align:center;padding:8px}
.dark-icon{width:72px;height:72px;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;position:relative}
/* Geometric SVG-like shapes via CSS */
.dark-icon svg{width:56px;height:56px}
.di-triangle{width:0;height:0;border-left:32px solid transparent;border-right:32px solid transparent;border-bottom:56px solid var(--accent)}
.di-cross{position:relative;width:48px;height:48px}
.di-cross::before,.di-cross::after{content:'';position:absolute;background:var(--accent);border-radius:4px}
.di-cross::before{width:48px;height:14px;top:17px;left:0}
.di-cross::after{width:14px;height:48px;top:0;left:17px}
.di-shield{width:48px;height:56px;background:var(--accent);border-radius:8px 8px 24px 24px;clip-path:polygon(50% 0,100% 20%,100% 70%,50% 100%,0 70%,0 20%)}
.di-x{position:relative;width:48px;height:48px}
.di-x::before,.di-x::after{content:'';position:absolute;width:52px;height:12px;background:var(--accent);border-radius:4px;top:18px;left:-2px}
.di-x::before{transform:rotate(45deg)}
.di-x::after{transform:rotate(-45deg)}
.dark-card-title{color:#fff;font-weight:800;font-size:16px;margin-bottom:8px}
.dark-card-desc{color:rgba(255,255,255,.5);font-size:13px;line-height:1.6}
@media(max-width:1024px){.dark-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.dark-band{padding:36px 24px;border-radius:20px}.dark-grid{grid-template-columns:1fr}}

/* ═══════════════════════════════════════════════
   PROCESS / STEPS
   ═══════════════════════════════════════════════ */
.process{padding:60px 0}
.process-header{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start;margin-bottom:48px}
.process-title{font-size:38px;font-weight:900;letter-spacing:-.02em;line-height:1.15;margin:0}
.process-title em{font-style:normal;color:var(--primary);text-decoration:underline;text-decoration-color:var(--primary);text-underline-offset:6px;text-decoration-thickness:3px}
.process-desc{color:var(--muted);font-size:15px;line-height:1.75;padding-top:8px}
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.step{text-align:center;position:relative}
.step-circle{width:170px;height:170px;border-radius:50%;margin:0 auto 18px;overflow:hidden;border:4px solid;display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--muted);font-size:13px;position:relative}
.step.s1 .step-circle{background:linear-gradient(135deg,#fffde7,#fff59d);border-color:var(--primary)}
.step.s2 .step-circle{background:linear-gradient(135deg,#e8f5e9,#a5d6a7);border-color:#4caf50}
.step.s3 .step-circle{background:linear-gradient(135deg,#fce4ec,#f48fb1);border-color:#e91e63}
.step.s4 .step-circle{background:linear-gradient(135deg,#e3f2fd,#90caf9);border-color:#2196f3}
.step-badge{position:absolute;bottom:-6px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px;padding:4px 12px;border-radius:8px;font-weight:900;font-size:12px;color:#fff;white-space:nowrap;z-index:2}
.step.s1 .step-badge{background:var(--primary);color:var(--dark)}
.step.s2 .step-badge{background:#4caf50}
.step.s3 .step-badge{background:#e91e63}
.step.s4 .step-badge{background:#2196f3}
.step-title{font-weight:800;font-size:15px;margin-bottom:6px}
.step .small{font-size:12px;max-width:180px;margin:0 auto}
@media(max-width:1024px){.steps{grid-template-columns:repeat(2,1fr)}.process-header{grid-template-columns:1fr}}
@media(max-width:600px){.steps{grid-template-columns:1fr}.step-circle{width:140px;height:140px}}

/* ═══════════════════════════════════════════════
   FEATURE SPLIT (Neden Mucizem?)
   ═══════════════════════════════════════════════ */
.feature-section{padding:60px 0}
.feature-card{background:var(--surface-2);border:1px solid var(--border);border-radius:28px;padding:52px;display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center;overflow:hidden}
.feature-media{position:relative;display:flex;align-items:center;justify-content:center}
.feature-circle{width:300px;height:300px;border-radius:50%;background:var(--primary);display:flex;align-items:center;justify-content:center;font-weight:700;color:rgba(0,0,0,.15);box-shadow:0 16px 48px rgba(245,197,24,.2)}
.feature-content h2{font-size:26px;font-weight:900;line-height:1.2;margin:0 0 10px}
.feature-content .fdesc{color:var(--muted);font-size:14px;line-height:1.7;margin-bottom:24px}
.feature-flags{display:flex;gap:12px;margin-bottom:20px}
.flag-item{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--muted)}
.flag-dot{width:24px;height:16px;border-radius:3px;border:1px solid var(--border)}
.feature-list{display:grid;gap:16px;margin-bottom:20px}
.feature-item{display:flex;align-items:flex-start;gap:14px}
.fi-icon{width:44px;height:44px;border-radius:12px;background:var(--primary-weak);border:1px solid rgba(245,197,24,.25);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:18px}
.fi-text strong{display:block;font-weight:800;font-size:14px;margin-bottom:2px;color:var(--text)}
.fi-text span{font-size:13px;color:var(--muted)}
.feature-info{background:var(--dark);border-radius:16px;padding:18px 20px;color:#fff;font-size:13px;line-height:1.6;margin-top:12px}
@media(max-width:1024px){.feature-card{grid-template-columns:1fr;padding:32px;gap:32px}.feature-circle{width:220px;height:220px;margin:0 auto}}

/* ═══════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════ */
.testimonials{padding:60px 0;overflow:hidden}
.testimonial{display:flex;flex-direction:column;gap:6px;border:1px solid var(--border);border-radius:var(--radius);padding:22px;background:var(--surface);transition:box-shadow .2s;min-width:340px;max-width:400px;flex-shrink:0}
.testimonial:hover{box-shadow:0 8px 28px rgba(0,0,0,.08)}
.stars{color:var(--primary);font-size:15px;letter-spacing:2px}
.testimonial .quote{color:var(--text);font-size:14px;line-height:1.65;margin:8px 0;font-style:italic}
.testimonial .who{display:flex;align-items:center;gap:10px;margin-top:10px}
.avatar-circle{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;color:#fff;flex-shrink:0}
.ac1{background:var(--primary);color:var(--dark)}
.ac2{background:var(--accent)}
.ac3{background:#4caf50}
.ac4{background:#2196f3}
.ac5{background:#9c27b0}
.ac6{background:#ff9800}
.who-info strong{display:block;font-size:14px;color:var(--text)}
.who-info span{font-size:12px;color:var(--muted)}

/* Marquee tracks */
.tm-marquee{position:relative;width:100%;overflow:hidden;margin-bottom:20px}
.tm-marquee:last-child{margin-bottom:0}
.tm-track{display:flex;gap:20px;width:max-content}
.tm-marquee--left .tm-track{animation:tmSlideLeft 35s linear infinite}
.tm-marquee--right .tm-track{animation:tmSlideRight 35s linear infinite}
.tm-marquee:hover .tm-track{animation-play-state:paused}
/* fade edges */
.tm-marquee::before,.tm-marquee::after{content:'';position:absolute;top:0;bottom:0;width:80px;z-index:2;pointer-events:none}
.tm-marquee::before{left:0;background:linear-gradient(to right,var(--bg) 0%,transparent 100%)}
.tm-marquee::after{right:0;background:linear-gradient(to left,var(--bg) 0%,transparent 100%)}

@keyframes tmSlideLeft{
    0%{transform:translateX(0)}
    100%{transform:translateX(-50%)}
}
@keyframes tmSlideRight{
    0%{transform:translateX(-50%)}
    100%{transform:translateX(0)}
}
@media(max-width:600px){
    .testimonial{min-width:280px;max-width:320px;padding:18px}
    .tm-marquee::before,.tm-marquee::after{width:30px}
}

/* ═══════════════════════════════════════════════
   JOIN / CTA
   ═══════════════════════════════════════════════ */
.join-section{padding:20px 0 60px}
.join-card{border-radius:28px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;background:linear-gradient(135deg,#fff8e1 0%,#ffe0b2 40%,#ffcc80 100%);border:1px solid rgba(245,197,24,.25);box-shadow:0 16px 48px rgba(245,197,24,.10);position:relative}
.join-left{padding:52px;display:flex;flex-direction:column;justify-content:center;position:relative}
.join-sparkle{position:absolute;top:24px;right:24px;font-size:52px;opacity:.2;transform:rotate(15deg)}
.join-title{font-size:30px;font-weight:900;letter-spacing:-.02em;line-height:1.2;margin:0 0 8px}
.join-title strong{font-style:italic}
.join-desc{color:var(--muted);font-size:14px;line-height:1.75;margin-bottom:28px;max-width:420px}
.join-media{width:200px;height:200px;border-radius:50%;background:var(--primary);margin-bottom:24px;display:flex;align-items:center;justify-content:center;font-weight:700;color:rgba(0,0,0,.12);box-shadow:0 12px 36px rgba(245,197,24,.18)}
.join-timeline{display:grid;gap:16px}
.tl-item{display:flex;align-items:center;gap:14px}
.tl-num{width:36px;height:36px;border-radius:50%;background:var(--dark);display:flex;align-items:center;justify-content:center;font-weight:900;font-size:14px;color:#fff;flex-shrink:0;box-shadow:0 4px 12px rgba(0,0,0,.15)}
.tl-text{font-size:14px;font-weight:700;color:var(--text)}
.join-right{background:rgba(255,255,255,.88);backdrop-filter:blur(8px);padding:52px;display:flex;flex-direction:column;justify-content:center}
.join-right .form-title{font-size:18px;font-weight:800;margin:0 0 16px}
@media(max-width:1024px){.join-card{grid-template-columns:1fr}}
@media(max-width:600px){.join-left,.join-right{padding:32px}}

/* ───────── FORMS ───────── */
.form{display:grid;gap:14px}
.field{display:grid;gap:5px}
.label{font-size:13px;color:var(--muted);font-weight:700}
.input,.select,.textarea{
  width:100%;padding:12px 14px;border-radius:10px;
  background:var(--surface);border:1px solid var(--border);
  color:var(--text);font-size:14px;
  outline:none;transition:border .15s;
}
.input:focus,.select:focus,.textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(245,197,24,.15)}
.textarea{min-height:90px;resize:vertical}
.help{font-size:12px;color:var(--muted);line-height:1.5;margin-top:4px}
.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:600px){.row{grid-template-columns:1fr}}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer{background:var(--dark-2);color:#fff;padding:0}
.footer-newsletter{border-bottom:1px solid rgba(255,255,255,.08);padding:36px 0}
.footer-nl-inner{display:grid;grid-template-columns:1fr minmax(0,640px);align-items:center;gap:20px}
.footer-nl-title{font-size:18px;font-weight:800}
.footer-nl-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,180px) auto;gap:10px;width:100%;min-width:0}
.footer-nl-form input{min-width:0;max-width:100%;padding:12px 14px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#fff;font-size:14px;outline:none}
.footer-nl-form .footer-nl-phone{max-width:100%}
.footer-nl-form input::placeholder{color:rgba(255,255,255,.35)}
.footer-nl-form .btn-accent{justify-self:end;white-space:nowrap;max-width:100%}
.footer-main{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:40px;padding:48px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-col{min-width:0}
.footer-brand{font-size:22px;font-weight:900;margin-bottom:16px;display:flex;align-items:center;gap:8px}
.footer-brand-bars{display:flex;gap:3px;margin-right:6px}
.footer-brand-bars span{width:4px;height:22px;border-radius:2px}
.footer-contact{display:grid;gap:10px;font-size:13px;color:rgba(255,255,255,.5)}
.footer-contact a{color:rgba(255,255,255,.5);transition:color .15s;overflow-wrap:anywhere}
.footer-contact a:hover{color:#fff}
.footer-desc{font-size:13px;color:rgba(255,255,255,.45);margin-bottom:12px;line-height:1.6}
.footer-social{display:flex;gap:10px;margin-top:14px}
.footer-social a{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.5);transition:all .15s}
.footer-social a:hover{background:rgba(255,255,255,.15);color:#fff}
.footer-col-title{font-weight:800;font-size:14px;margin-bottom:14px;color:#fff}
.footer-links{display:grid;gap:8px}
.footer-links a{font-size:13px;color:rgba(255,255,255,.45);transition:color .15s;overflow-wrap:anywhere}
.footer-links a:hover{color:#fff}
.footer-bottom{padding:20px 0;text-align:center;font-size:12px;color:rgba(255,255,255,.3)}
@media(max-width:768px){.footer-main{grid-template-columns:1fr 1fr;gap:28px}}
@media(max-width:500px){.footer-main{grid-template-columns:1fr 1fr;gap:22px}}

@media(max-width:900px){
  .footer-newsletter{padding:28px 0}
  .footer-nl-inner{grid-template-columns:1fr}
}

@media(max-width:600px){
  .footer-nl-form{grid-template-columns:1fr}
  .footer-nl-form .btn-accent{justify-self:stretch}

  /* Mobile footer layout: brand spans full width, links stay 2 columns */
  .footer-main{padding:34px 0;grid-template-columns:1fr 1fr;gap:22px;align-items:start}
  .footer-col-brand{grid-column:1 / -1;padding-bottom:12px;margin-bottom:2px;border-bottom:1px solid rgba(255,255,255,.08)}
}

@media(max-width:420px){
  .footer-main{grid-template-columns:1fr}
}

/* ═══════════════════════════════════════════════
/* ═══════════════════════════════════════════════
   EDUCATION PAGES
   ═══════════════════════════════════════════════ */

/* Header */
.edu-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid var(--border)}
.edu-header-title{margin:0;font-size:28px;font-weight:900;letter-spacing:-.02em}
.edu-header-sub{margin:8px 0 0;font-size:15px;color:var(--muted);line-height:1.6;max-width:520px}
.edu-header-stat{display:flex;flex-direction:column;align-items:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px 20px}
.edu-header-stat strong{font-size:24px;font-weight:900;color:var(--text)}
.edu-header-stat span{font-size:12px;color:var(--muted);font-weight:700}

/* Grid */
.edu-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
@media(max-width:768px){.edu-grid{grid-template-columns:1fr}}

/* Card */
.edu-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;transition:all .2s;text-decoration:none;color:inherit}
.edu-card:hover{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}

.edu-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.edu-card-play{width:44px;height:44px;border-radius:12px;background:var(--dark);color:var(--primary);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.edu-card-badges{display:flex;gap:6px;flex-wrap:wrap}
.edu-badge{font-size:11px;font-weight:800;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid var(--border);color:var(--muted)}

.edu-card-title{margin:0 0 6px;font-size:17px;font-weight:900;line-height:1.35;color:var(--text)}
.edu-card-desc{margin:0 0 0;font-size:13px;color:var(--muted);line-height:1.6;flex:1}

.edu-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid var(--border)}
.edu-card-info{font-size:12px;color:var(--muted);font-weight:700}
.edu-card-price{font-size:18px;font-weight:900;color:#F59E0B}

/* Empty */
.edu-empty{text-align:center;padding:80px 20px;color:var(--muted)}
.edu-empty-icon{margin:0 auto 16px;width:64px;height:64px;border-radius:50%;background:var(--surface);border:1px solid var(--border);display:flex;align-items:center;justify-content:center}
.edu-empty h3{margin:0 0 6px;color:var(--text);font-size:18px;font-weight:900}
.edu-empty p{margin:0;font-size:14px}

/* Catalog (Products) */
.catalog-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  flex-wrap:wrap;
  padding:22px;
  border-radius:calc(var(--radius) + 8px);
  border:1px solid var(--border);
  background:linear-gradient(135deg, rgba(245,197,24,.14), rgba(229,57,53,.06)), var(--surface);
  box-shadow:var(--shadow-2);
}
.catalog-title{margin:6px 0 8px;font-size:42px;font-weight:900;letter-spacing:-.03em;line-height:1.05}
.catalog-sub{margin:0;color:var(--muted);max-width:760px;font-size:15px;line-height:1.7}
.catalog-actions{display:flex;gap:12px;flex-wrap:wrap}

.catalog-empty{display:flex;gap:16px;align-items:center;justify-content:center;padding:22px;max-width:920px;margin:10px auto 0}
.catalog-empty-ico{width:64px;height:64px;border-radius:18px;display:flex;align-items:center;justify-content:center;border:1px solid var(--border);background:var(--surface-2);color:var(--muted);flex-shrink:0}

@media(max-width:768px){
  .catalog-title{font-size:32px}
  .catalog-empty{flex-direction:column;align-items:flex-start}
}

/* ── Detail Page ── */
.pub-detail-hero{padding:48px 0 32px;background:var(--dark);color:#fff}
.pub-detail-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:start}
@media(max-width:860px){.pub-detail-grid{grid-template-columns:1fr;gap:24px}}

.pub-back-link{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:600;color:rgba(255,255,255,.5);margin-bottom:16px;transition:color .15s}
.pub-back-link:hover{color:#fff}

.pub-detail-title{font-size:36px;font-weight:900;line-height:1.1;letter-spacing:-.02em;margin:0 0 12px}
@media(max-width:768px){.pub-detail-title{font-size:26px}}
.pub-detail-sub{font-size:16px;color:rgba(255,255,255,.65);line-height:1.6;margin:0 0 16px}
.pub-detail-badges{display:flex;flex-wrap:wrap;gap:8px}
.pub-detail-badges .badge{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.15);color:rgba(255,255,255,.85)}
.pub-detail-badges .badge-dark{background:rgba(255,255,255,.18);color:#fff}
.pub-detail-badges .badge-yellow{background:rgba(245,197,24,.2);border-color:rgba(245,197,24,.3);color:#F5C518}

/* Price Card */
.pub-price-card{
  background:var(--surface);border-radius:var(--radius);padding:28px;
  box-shadow:0 8px 32px rgba(0,0,0,.15);color:var(--text);
}
.pub-price-amount{font-size:32px;font-weight:900;color:#F59E0B;margin-bottom:16px}
.pub-price-note{font-size:12px;color:var(--muted);margin:12px 0 0;line-height:1.6}

/* Tabs */
.pub-tabs{display:flex;gap:4px;border-bottom:2px solid var(--border);margin-bottom:24px}
.pub-tab{
  padding:12px 20px;border:none;background:transparent;
  font-size:14px;font-weight:700;color:var(--muted);
  cursor:pointer;border-bottom:2px solid transparent;
  margin-bottom:-2px;transition:all .15s;
}
.pub-tab:hover{color:var(--text)}
.pub-tab.active{color:var(--text);border-bottom-color:var(--primary)}

/* Accordion */
.pub-accordion{border:1px solid var(--border);border-radius:12px;margin-bottom:10px;overflow:hidden}
.pub-accordion-head{
  display:flex;align-items:center;gap:10px;width:100%;
  padding:14px 18px;border:none;background:var(--surface-2);
  cursor:pointer;font-size:14px;text-align:left;transition:background .15s;
}
.pub-accordion-head:hover{background:var(--surface-3)}
.pub-accordion-toggle{display:flex;transition:transform .2s}
.pub-accordion-head.open .pub-accordion-toggle{transform:rotate(180deg)}
.pub-accordion-title{font-weight:800;color:var(--text);flex:1}
.pub-accordion-count{font-size:12px;color:var(--muted);font-weight:600}

.pub-accordion-body{max-height:0;overflow:hidden;transition:max-height .3s ease}
.pub-accordion-body.open{max-height:2000px}

.pub-lesson-row{
  display:flex;align-items:center;gap:10px;
  padding:10px 18px;border-top:1px solid var(--border);
  font-size:13px;color:var(--muted);transition:background .1s;
}
.pub-lesson-row:hover{background:var(--surface-2)}
.pub-lesson-title{flex:1;font-weight:600;color:var(--text)}
.pub-lesson-dur{font-size:12px;color:var(--muted);font-weight:600}
.pub-lesson-lock{color:var(--border)}

/* Description */
.pub-description{font-size:15px;line-height:1.8;color:var(--text);max-width:720px}

/* Product detail (physical products) */
.pub-alert{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:12px;border:1px solid rgba(245,197,24,.28);background:var(--primary-weak);color:var(--dark);font-weight:700}

.pub-product-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
@media(max-width:960px){.pub-product-grid{grid-template-columns:1fr}}

.pub-media-card{padding:0;overflow:hidden}
.pub-media-main{background:var(--surface-2)}
.pub-media-main img{width:100%;max-height:460px;object-fit:cover;display:block}
.pub-media-empty{height:360px;display:flex;align-items:center;justify-content:center;color:var(--muted)}

.pub-media-thumbs{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;padding:12px;border-top:1px solid var(--border);background:var(--surface)}
@media(max-width:600px){.pub-media-thumbs{grid-template-columns:repeat(4,1fr)}}
.pub-thumb{display:block;border-radius:12px;overflow:hidden;border:1px solid var(--border);background:var(--surface-2)}
.pub-thumb img{width:100%;height:64px;object-fit:cover;display:block}

.pub-detail-panels{display:grid;gap:14px}
.pub-detail-panels .pub-description{max-width:none}
.pub-panel-title{font-weight:900;font-size:14px;margin:0 0 10px}

.pub-spec-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(max-width:600px){.pub-spec-grid{grid-template-columns:1fr}}
.pub-spec-grid > div{border:1px solid var(--border);border-radius:12px;padding:12px;background:var(--surface-2)}
.pub-spec-grid span{display:block;font-size:12px;color:var(--muted);font-weight:700;margin-bottom:4px}
.pub-spec-grid strong{display:block;font-size:14px;font-weight:900}
