  /* Light theme (default) */
  :root {
    --bg: #f8fafb;
    --surface: #ffffff;
    --surface2: #f0f3f6;
    --border: rgba(0,0,0,0.08);
    --border-hover: rgba(0,0,0,0.15);
    --accent: #00966b;
    --accent-dim: rgba(0,150,107,0.08);
    --accent-glow: rgba(0,150,107,0.18);
    --text: #1a2332;
    --text-muted: #5a6a7e;
    --text-faint: #94a3b8;
    --pill-bg: #eef2f6;
    --gold: #b8860b;
    --gold-dim: rgba(184,134,11,0.1);
    --nav-bg: rgba(248,250,251,0.85);
    --heading: #0f1a2a;
    --noise-opacity: 0.3;
  }
  /* Dark theme */
  body.dark {
    --bg: #070D1B;
    --surface: #0D1628;
    --surface2: #131E32;
    --border: rgba(255,255,255,0.07);
    --border-hover: rgba(255,255,255,0.14);
    --accent: #00C882;
    --accent-dim: rgba(0,200,130,0.12);
    --accent-glow: rgba(0,200,130,0.25);
    --text: #DCE6F5;
    --text-muted: #6B7D95;
    --text-faint: #3A4A5E;
    --pill-bg: #0A1220;
    --gold: #F0C060;
    --gold-dim: rgba(240,192,96,0.12);
    --nav-bg: rgba(7,13,27,0.8);
    --heading: #F0F4FF;
    --noise-opacity: 0.6;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* NOISE TEXTURE */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: var(--noise-opacity);
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 64px;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    background: var(--nav-bg);
  }
  .nav-logo {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--text);
    text-decoration: none;
  }
  .nav-logo span { color: var(--accent); }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
  }
  .nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--text); }
  .nav-actions { display: flex; gap: 10px; align-items: center; }
  .btn-ghost {
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid var(--border-hover);
    background: transparent;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
  }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
  .btn-primary {
    padding: 8px 18px;
    border-radius: 8px;
    border: none;
    background: var(--accent);
    color: #030A12;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .btn-primary:hover { background: #00E090; transform: translateY(-1px); box-shadow: 0 4px 20px var(--accent-glow); }

  /* HERO */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    overflow: hidden;
  }
  .hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(0,200,130,0.07) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-left {}
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid rgba(240,192,96,0.25);
    background: var(--gold-dim);
    font-size: 12px;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 28px;
    letter-spacing: 0.02em;
  }
  .badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
  }
  .hero-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--heading);
    margin-bottom: 24px;
  }
  .hero-title .italic { font-style: italic; font-weight: 300; color: var(--accent); }
  .hero-sub {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 460px;
    margin-bottom: 40px;
  }
  .hero-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .btn-hero {
    padding: 14px 28px;
    border-radius: 10px;
    border: none;
    background: var(--accent);
    color: #030A12;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.2px;
  }
  .btn-hero:hover { background: #00E090; transform: translateY(-2px); box-shadow: 0 8px 32px var(--accent-glow); }
  .btn-hero-ghost {
    padding: 14px 28px;
    border-radius: 10px;
    border: 1px solid var(--border-hover);
    background: transparent;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .btn-hero-ghost:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }
  .hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 52px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
  }
  .stat-item { }
  .stat-num {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -1px;
    line-height: 1;
  }
  .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.02em;
  }

  /* ENTRY CARD PREVIEW */
  .hero-right { position: relative; }
  .entry-stack {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .entry-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 24px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }
  .entry-card:not(:last-child) { margin-bottom: 10px; }
  .entry-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.2s;
  }
  .entry-card:hover { border-color: var(--border-hover); transform: translateX(4px); }
  .entry-card:hover::before { opacity: 1; }
  .entry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  .entry-title {
    font-family: 'Fraunces', serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: -0.3px;
  }
  .entry-meta {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .role-badge {
    font-size: 10px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 100px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .role-eczaci {
    background: rgba(0,200,130,0.12);
    color: var(--accent);
    border: 1px solid rgba(0,200,130,0.2);
  }
  .role-stajyer {
    background: rgba(96,160,240,0.12);
    color: #60A0F0;
    border: 1px solid rgba(96,160,240,0.2);
  }
  .role-ogrenci {
    background: rgba(200,150,240,0.12);
    color: #C896F0;
    border: 1px solid rgba(200,150,240,0.2);
  }
  .entry-text {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .entry-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-faint);
  }
  .entry-vote {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color 0.2s;
  }
  .entry-vote:hover { color: var(--accent); }

  /* SECTION COMMONS */
  section { position: relative; z-index: 1; }
  .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
  }
  .section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--accent);
  }
  .section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: var(--heading);
    max-width: 640px;
    margin-bottom: 20px;
  }
  .section-title .accent { color: var(--accent); font-style: italic; font-weight: 300; }
  .section-sub {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 60px;
  }

  /* FEATURES */
  .features-section { background: var(--surface); }
  .features-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
  }
  .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
  }
  .feature-card {
    background: var(--surface);
    padding: 36px 32px;
    transition: background 0.2s;
    position: relative;
    overflow: hidden;
  }
  .feature-card:hover { background: var(--surface2); }
  .feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-dim);
    border: 1px solid rgba(0,200,130,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
  }
  .feature-title {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--heading);
    letter-spacing: -0.5px;
    margin-bottom: 10px;
  }
  .feature-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
  }
  .feature-card.featured .feature-icon {
    background: var(--gold-dim);
    border-color: rgba(240,192,96,0.2);
  }

  /* HOW IT WORKS */
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
  }
  .steps-grid::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 16.67%;
    right: 16.67%;
    height: 1px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--border) 100%);
    z-index: 0;
  }
  .step-card {
    position: relative;
    z-index: 1;
  }
  .step-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--surface2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 24px;
    transition: all 0.25s;
  }
  .step-card:hover .step-num {
    background: var(--accent-dim);
    border-color: rgba(0,200,130,0.3);
    box-shadow: 0 0 32px var(--accent-glow);
  }
  .step-title {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--heading);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
  }
  .step-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
  }
  .step-detail {
    margin-top: 14px;
    padding: 12px 16px;
    background: var(--surface2);
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--text-faint);
    line-height: 1.6;
  }
  .step-detail strong { color: var(--text-muted); font-weight: 500; }

  /* ROLES SECTION */
  .roles-section {}
  .roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 0;
  }
  .role-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 32px;
    background: var(--surface);
    position: relative;
    overflow: hidden;
    transition: all 0.25s;
  }
  .role-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
  .role-card .top-line {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
  }
  .role-card.eczaci .top-line { background: linear-gradient(90deg, var(--accent), transparent); }
  .role-card.stajyer .top-line { background: linear-gradient(90deg, #60A0F0, transparent); }
  .role-card.ogrenci .top-line { background: linear-gradient(90deg, #C896F0, transparent); }
  .role-card-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .eczaci .role-card-label { color: var(--accent); }
  .stajyer .role-card-label { color: #60A0F0; }
  .ogrenci .role-card-label { color: #C896F0; }
  .role-card-title {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--heading);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
  }
  .role-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
  }
  .role-doc {
    padding: 10px 14px;
    background: var(--surface2);
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--text-faint);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .doc-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
  }

  /* CTA */
  .cta-section {
    background: var(--surface);
  }
  .cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
    text-align: center;
  }
  .cta-box {
    background: linear-gradient(135deg, rgba(0,200,130,0.06) 0%, rgba(7,13,27,0) 60%);
    border: 1px solid rgba(0,200,130,0.15);
    border-radius: 24px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
  }
  .cta-box::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,200,130,0.06) 0%, transparent 70%);
    pointer-events: none;
  }
  .cta-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    color: var(--heading);
    margin-bottom: 20px;
  }
  .cta-sub {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

  /* FOOTER */
  footer {
    border-top: 1px solid var(--border);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-logo {
    font-family: 'Fraunces', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
  }
  .footer-logo span { color: var(--accent); }
  .footer-copy { font-size: 12px; color: var(--text-faint); }
  .footer-links { display: flex; gap: 20px; }
  .footer-links a { font-size: 12px; color: var(--text-faint); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: var(--text-muted); }

  /* ANIMATIONS */
  @keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
  .fade-up { animation: fadeUp 0.7s ease forwards; }
  .fade-up-1 { animation-delay: 0.1s; opacity: 0; }
  .fade-up-2 { animation-delay: 0.2s; opacity: 0; }
  .fade-up-3 { animation-delay: 0.35s; opacity: 0; }
  .fade-up-4 { animation-delay: 0.5s; opacity: 0; }
  .live-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
  }

  /* THEME TOGGLE */
  .theme-toggle {
    width: 36px; height: 36px; border-radius: 8px;
    border: 1px solid var(--border-hover); background: transparent;
    color: var(--text-muted); font-size: 16px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
  }
  .theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
  .theme-toggle .icon-sun { display: none; }
  body.dark .theme-toggle .icon-moon { display: none; }
  body.dark .theme-toggle .icon-sun { display: inline; }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid::before { display: none; }
    .roles-grid { grid-template-columns: 1fr; }
    nav { padding: 0 20px; }
    .nav-links { display: none; }
    .hero { padding: 100px 20px 60px; }
    .section-inner { padding: 70px 20px; }
    footer { flex-direction: column; gap: 16px; text-align: center; }
  }
