/* ═══════════════════════════════════════════════
   Yeni Nesil Avukat — Design System
   Dark premium theme, Inter font, gold accents
   ═══════════════════════════════════════════════ */

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

/* ── Reset & Base ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  background:#070b14; color:#d1d5db;
  line-height:1.7; -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a { color:#d4af37; text-decoration:none; transition:color 0.3s; }
a:hover { color:#f5d76e; }
img { max-width:100%; height:auto; display:block; }
ul { list-style:none; }

/* ── Variables ── */
:root {
  --gold: #d4af37;
  --gold-light: #f5d76e;
  --gold-dark: #b8971f;
  --bg-primary: #070b14;
  --bg-secondary: #0d1117;
  --bg-card: rgba(255,255,255,0.03);
  --border: rgba(255,255,255,0.06);
  --border-gold: rgba(212,175,55,0.3);
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --green: #22c55e;
  --red: #ef4444;
  --max-w: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
}

/* ── HukukOS Logo ── */
.hukukos-logo {
  display:inline-flex; align-items:center; gap:2px;
  font-family:'Inter',sans-serif; font-weight:800; font-size:1rem;
  user-select:none;
}
.hukukos-logo .hk-text { color:#ffffff !important; }
.hukukos-logo .hk-os {
  background:#d4af37; color:#000000; padding:2px 7px;
  border-radius:5px; font-weight:900; font-size:0.85em;
  margin-left:2px; letter-spacing:0.02em;
}
.hukukos-logo-link {
  display:inline-flex; align-items:center; padding:6px 14px !important;
  border:1px solid rgba(212,175,55,0.3); border-radius:var(--radius-sm);
  background:rgba(0,0,0,0.4); transition:all 0.3s;
}
.hukukos-logo-link:hover {
  background:rgba(0,0,0,0.6); border-color:var(--gold);
  transform:translateY(-1px);
}

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

/* ── Navbar ── */
.navbar {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:rgba(7,11,20,0.85); backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
  padding:0 24px; height:72px;
  display:flex; align-items:center;
}
.navbar .container {
  display:flex; align-items:center; justify-content:space-between;
  width:100%; max-width:var(--max-w);
}
.nav-brand {
  display:flex; align-items:center; gap:10px;
  font-weight:800; font-size:1.15rem; color:var(--text-primary);
}
.nav-brand .icon { font-size:1.5rem; }
.nav-brand span { background:linear-gradient(135deg,var(--gold),var(--gold-light));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.nav-links { display:flex; align-items:center; gap:8px; }
.nav-links a {
  color:var(--text-secondary); padding:8px 16px; border-radius:var(--radius-sm);
  font-size:0.88rem; font-weight:500; transition:all 0.3s;
}
.nav-links a:hover { color:var(--gold); background:rgba(212,175,55,0.08); }
.nav-cta {
  background:linear-gradient(135deg,var(--gold),var(--gold-dark));
  color:#000 !important; font-weight:700; padding:10px 22px !important;
  border-radius:var(--radius-sm) !important;
  box-shadow:0 4px 15px rgba(212,175,55,0.2);
}
.nav-cta:hover { transform:translateY(-1px); box-shadow:0 6px 20px rgba(212,175,55,0.3); }
.nav-toggle { display:none; background:none; border:none; color:var(--text-primary);
  font-size:1.5rem; cursor:pointer; }

/* ── Hero ── */
.hero {
  position:relative; min-height:100vh; display:flex; align-items:center;
  padding:120px 24px 80px;
  background:linear-gradient(135deg, #070b14 0%, #0f0a2a 40%, #1a0e3e 60%, #070b14 100%);
  overflow:hidden;
}
.hero::before {
  content:''; position:absolute; top:-20%; right:-10%; width:700px; height:700px;
  background:radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
  border-radius:50%; pointer-events:none;
}
.hero::after {
  content:''; position:absolute; bottom:-20%; left:-10%; width:600px; height:600px;
  background:radial-gradient(circle, rgba(124,58,237,0.05) 0%, transparent 70%);
  border-radius:50%; pointer-events:none;
}
.hero .container { position:relative; z-index:1; text-align:center; }
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(212,175,55,0.1); border:1px solid var(--border-gold);
  color:var(--gold); padding:8px 20px; border-radius:30px;
  font-size:0.8rem; font-weight:600; letter-spacing:0.05em; margin-bottom:24px;
}
.hero-badge .pulse { width:8px; height:8px; background:var(--green);
  border-radius:50%; animation:pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.8)} }
.hero h1 {
  font-size:3.5rem; font-weight:900; line-height:1.15; letter-spacing:-0.03em;
  color:var(--text-primary); max-width:800px; margin:0 auto 20px;
}
.hero h1 .gold {
  background:linear-gradient(135deg,var(--gold),var(--gold-light));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.hero-sub {
  font-size:1.15rem; color:var(--text-secondary); max-width:600px;
  margin:0 auto 40px; line-height:1.7;
}
.hero-buttons { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 32px; border-radius:var(--radius-sm); font-weight:600;
  font-size:0.95rem; transition:all 0.3s; cursor:pointer; border:none;
  font-family:'Inter',sans-serif;
}
.btn-gold {
  background:linear-gradient(135deg,var(--gold),var(--gold-dark));
  color:#000; box-shadow:0 4px 20px rgba(212,175,55,0.3);
}
.btn-gold:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(212,175,55,0.4); color:#000; }
.btn-outline {
  background:transparent; border:1px solid var(--border-gold);
  color:var(--gold);
}
.btn-outline:hover { background:rgba(212,175,55,0.1); transform:translateY(-2px); }
.btn-purple {
  background:linear-gradient(135deg,var(--purple),#5b21b6);
  color:#fff; box-shadow:0 4px 20px rgba(124,58,237,0.3);
}
.btn-purple:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(124,58,237,0.4); color:#fff; }
.hero-stats {
  display:flex; justify-content:center; gap:48px; margin-top:60px;
  padding-top:40px; border-top:1px solid var(--border);
}
.hero-stat { text-align:center; }
.hero-stat-num { font-size:2rem; font-weight:800; color:var(--gold); }
.hero-stat-label { font-size:0.8rem; color:var(--text-muted); margin-top:4px; }

/* ── Section Base ── */
.section { padding:100px 24px; position:relative; }
.section-dark { background:var(--bg-secondary); }
.section-title {
  font-size:2rem; font-weight:800; color:var(--text-primary);
  text-align:center; margin-bottom:12px; letter-spacing:-0.02em;
}
.section-sub {
  font-size:1rem; color:var(--text-secondary); text-align:center;
  max-width:600px; margin:0 auto 50px;
}
.gold-line {
  width:60px; height:3px; background:linear-gradient(90deg,var(--gold),var(--gold-light));
  margin:16px auto 0; border-radius:2px;
}

/* ── Curriculum / Timeline ── */
.timeline { max-width:800px; margin:0 auto; position:relative; }
.timeline::before {
  content:''; position:absolute; left:28px; top:0; bottom:0; width:2px;
  background:linear-gradient(180deg, var(--gold), var(--purple), var(--gold));
}
.timeline-item {
  position:relative; padding-left:72px; margin-bottom:24px;
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius); padding:24px 24px 24px 72px;
  transition:all 0.3s; cursor:pointer;
}
.timeline-item:hover { border-color:var(--border-gold);
  box-shadow:0 8px 30px rgba(0,0,0,0.3); }
.timeline-dot {
  position:absolute; left:16px; top:28px; width:24px; height:24px;
  background:var(--bg-primary); border:2px solid var(--gold);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:0.65rem; color:var(--gold); font-weight:800; z-index:1;
}
.timeline-hour { font-size:0.75rem; color:var(--gold); font-weight:700;
  margin-bottom:6px; letter-spacing:0.05em; }
.timeline-title { font-size:1.05rem; font-weight:700; color:var(--text-primary); margin-bottom:8px; }
.timeline-content { display:none; }
.timeline-item.active .timeline-content { display:block; }
.timeline-content ul { padding-left:0; }
.timeline-content li {
  padding:6px 0; padding-left:20px; position:relative;
  color:var(--text-secondary); font-size:0.9rem;
}
.timeline-content li::before {
  content:'→'; position:absolute; left:0; color:var(--gold); font-weight:600;
}
.timeline-toggle { color:var(--text-muted); font-size:0.8rem; margin-top:4px; }

/* ── Instructor Cards ── */
.instructors { display:grid; grid-template-columns:repeat(auto-fit,minmax(340px,1fr)); gap:32px; }
.instructor-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius); padding:32px; text-align:center;
  transition:all 0.3s;
}
.instructor-card:hover { border-color:var(--border-gold);
  transform:translateY(-4px); box-shadow:0 12px 40px rgba(0,0,0,0.3); }
.instructor-avatar {
  width:100px; height:100px; border-radius:50%; margin:0 auto 20px;
  background:linear-gradient(135deg,var(--gold),var(--purple));
  display:flex; align-items:center; justify-content:center;
  font-size:2.5rem; font-weight:800; color:#000;
}
.instructor-name { font-size:1.15rem; font-weight:700; color:var(--text-primary); }
.instructor-role { font-size:0.85rem; color:var(--gold); margin:4px 0 16px; font-weight:500; }
.instructor-bio { font-size:0.88rem; color:var(--text-secondary); line-height:1.7; margin-bottom:20px; }
.cert-grid { display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
.cert-badge {
  background:rgba(212,175,55,0.08); border:1px solid rgba(212,175,55,0.15);
  color:var(--gold); padding:4px 12px; border-radius:20px;
  font-size:0.7rem; font-weight:600;
}
.instructor-links { margin-top:16px; }
.instructor-links a {
  display:inline-flex; align-items:center; gap:6px;
  color:var(--text-muted); font-size:0.85rem;
}
.instructor-links a:hover { color:var(--gold); }

/* ── Pricing ── */
.pricing-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:32px; }
.pricing-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius); padding:40px 32px; position:relative;
  transition:all 0.3s;
}
.pricing-card:hover { border-color:var(--border-gold);
  transform:translateY(-4px); box-shadow:0 12px 40px rgba(0,0,0,0.3); }
.pricing-card.featured {
  border-color:var(--gold);
  background:linear-gradient(180deg, rgba(212,175,55,0.05) 0%, var(--bg-card) 100%);
}
.pricing-card.featured::before {
  content:'ÖNERİLEN'; position:absolute; top:-12px; left:50%; transform:translateX(-50%);
  background:linear-gradient(135deg,var(--gold),var(--gold-dark));
  color:#000; padding:4px 20px; border-radius:20px;
  font-size:0.7rem; font-weight:800; letter-spacing:0.05em;
}
.pricing-name { font-size:1.3rem; font-weight:700; color:var(--text-primary); margin-bottom:8px; }
.pricing-desc { font-size:0.88rem; color:var(--text-secondary); margin-bottom:24px; }
.pricing-old { font-size:1.1rem; color:var(--text-muted); text-decoration:line-through; }
.pricing-price { font-size:2.8rem; font-weight:900; color:var(--gold); line-height:1; }
.pricing-price small { font-size:0.9rem; font-weight:500; color:var(--text-muted); }
.pricing-date {
  font-size:0.85rem; color:var(--text-secondary); margin:16px 0 24px;
  padding:8px 16px; background:rgba(255,255,255,0.03); border-radius:var(--radius-sm);
}
.pricing-features { margin-bottom:32px; }
.pricing-features li {
  padding:8px 0; padding-left:24px; position:relative;
  color:var(--text-secondary); font-size:0.9rem;
}
.pricing-features li::before {
  content:'✓'; position:absolute; left:0; color:var(--green); font-weight:700;
}
.pricing-cta { width:100%; text-align:center; justify-content:center; }

/* ── News Preview ── */
.news-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); gap:24px; }
.news-card {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius); overflow:hidden; transition:all 0.3s;
  display:block; color:inherit;
}
.news-card:hover { border-color:var(--border-gold); transform:translateY(-4px);
  box-shadow:0 12px 40px rgba(0,0,0,0.4); color:inherit; }
.news-card img { width:100%; height:200px; object-fit:cover; }
.news-card-body { padding:20px; }
.news-card-tag {
  background:rgba(212,175,55,0.12); color:var(--gold);
  padding:3px 10px; border-radius:10px; font-weight:600; font-size:0.7rem;
  display:inline-block; margin-bottom:10px;
}
.news-card h3 { font-size:1.05rem; font-weight:700; color:var(--text-primary);
  margin-bottom:8px; line-height:1.4; }
.news-card p { font-size:0.85rem; color:var(--text-secondary); }
.news-more { text-align:center; margin-top:40px; }

/* ── FAQ Accordion ── */
.faq-list { max-width:800px; margin:0 auto; }
.faq-item {
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius); margin-bottom:12px; overflow:hidden;
  transition:border-color 0.3s;
}
.faq-item:hover { border-color:rgba(255,255,255,0.1); }
.faq-question {
  width:100%; display:flex; justify-content:space-between; align-items:center;
  padding:20px 24px; background:none; border:none; cursor:pointer;
  color:var(--text-primary); font-size:0.95rem; font-weight:600;
  font-family:'Inter',sans-serif; text-align:left;
}
.faq-question .icon { color:var(--gold); font-size:1.2rem; transition:transform 0.3s;
  flex-shrink:0; margin-left:16px; }
.faq-item.active .faq-question .icon { transform:rotate(45deg); }
.faq-answer {
  max-height:0; overflow:hidden; transition:max-height 0.4s ease;
}
.faq-answer-inner {
  padding:0 24px 20px; color:var(--text-secondary); font-size:0.9rem; line-height:1.7;
}
.faq-item.active .faq-answer { max-height:300px; }

/* ── Newsletter ── */
.newsletter {
  background:linear-gradient(135deg, rgba(212,175,55,0.05), rgba(124,58,237,0.05));
  border:1px solid var(--border); border-radius:var(--radius);
  padding:48px; text-align:center; max-width:700px; margin:0 auto;
}
.newsletter h3 { font-size:1.3rem; font-weight:700; color:var(--text-primary); margin-bottom:8px; }
.newsletter p { font-size:0.9rem; color:var(--text-secondary); margin-bottom:24px; }
.newsletter-form { display:flex; gap:12px; max-width:460px; margin:0 auto; }
.newsletter-form input {
  flex:1; padding:12px 16px; background:rgba(255,255,255,0.05);
  border:1px solid var(--border); border-radius:var(--radius-sm);
  color:var(--text-primary); font-family:'Inter',sans-serif; font-size:0.9rem;
  outline:none;
}
.newsletter-form input:focus { border-color:var(--gold); }
.newsletter-form button { flex-shrink:0; }

/* ── Footer ── */
.footer {
  background:var(--bg-secondary); border-top:1px solid var(--border);
  padding:60px 24px 30px;
}
.footer-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
  gap:40px; max-width:var(--max-w); margin:0 auto;
}
.footer-brand { }
.footer-brand .nav-brand { margin-bottom:16px; }
.footer-brand p { font-size:0.85rem; color:var(--text-muted); max-width:280px; line-height:1.6; }
.footer h4 {
  font-size:0.85rem; font-weight:700; color:var(--text-primary);
  margin-bottom:16px; letter-spacing:0.05em; text-transform:uppercase;
}
.footer ul li { margin-bottom:10px; }
.footer ul a { color:var(--text-muted); font-size:0.85rem; }
.footer ul a:hover { color:var(--gold); }
.footer-social { display:flex; gap:12px; margin-top:20px; }
.footer-social a {
  width:36px; height:36px; border-radius:50%;
  background:rgba(255,255,255,0.05); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-muted); font-size:0.9rem; transition:all 0.3s;
}
.footer-social a:hover { border-color:var(--gold); color:var(--gold); background:rgba(212,175,55,0.1); }
.footer-bottom {
  border-top:1px solid var(--border); padding-top:24px; margin-top:40px;
  text-align:center; color:var(--text-muted); font-size:0.8rem;
  max-width:var(--max-w); margin-left:auto; margin-right:auto;
}

/* ── WhatsApp Float ── */
.whatsapp-float {
  position:fixed; bottom:24px; right:24px; z-index:999;
  width:56px; height:56px; border-radius:50%;
  background:#25d366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:1.6rem; box-shadow:0 4px 20px rgba(37,211,102,0.4);
  transition:all 0.3s; text-decoration:none;
}
.whatsapp-float:hover { transform:scale(1.1); box-shadow:0 6px 30px rgba(37,211,102,0.5); color:#fff; }

/* ── Responsive ── */
@media(max-width:768px) {
  .hero h1 { font-size:2.2rem; }
  .hero-stats { gap:24px; flex-wrap:wrap; }
  .nav-links { display:none; flex-direction:column; position:absolute;
    top:72px; left:0; right:0; background:rgba(7,11,20,0.98);
    padding:20px; border-bottom:1px solid var(--border); }
  .nav-links.open { display:flex; }
  .nav-toggle { display:block; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .pricing-grid { grid-template-columns:1fr; }
  .instructors { grid-template-columns:1fr; }
  .news-grid { grid-template-columns:1fr; }
  .newsletter { padding:32px 20px; }
  .newsletter-form { flex-direction:column; }
  .hero-buttons { flex-wrap:wrap; justify-content:center; gap:10px; }
  .hero-buttons .btn { padding:12px 20px; font-size:0.88rem; }
  .timeline::before { left:18px; }
  .timeline-item { padding-left:52px; }
  .timeline-dot { left:8px; }
}
@media(max-width:480px) {
  .hero h1 { font-size:1.8rem; }
  .footer-grid { grid-template-columns:1fr; }
  .section { padding:60px 16px; }
}
