/*
<style>
  :root {
    --bg: #05090f;
    --surface: #0c1220;
    --surface2: #111827;
    --border: rgba(99,179,237,0.12);
    --accent: #63b3ed;
    --accent2: #f6ad55;
    --accent3: #68d391;
    --text: #e2e8f0;
    --muted: #718096;
    --heading: #f7fafc;
    --glow: rgba(99,179,237,0.15);
  }

  *, *::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', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ── STARS BACKGROUND ── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      radial-gradient(1px 1px at 15% 20%, rgba(255,255,255,0.6) 0%, transparent 100%),
      radial-gradient(1px 1px at 35% 65%, rgba(255,255,255,0.4) 0%, transparent 100%),
      radial-gradient(1.5px 1.5px at 55% 10%, rgba(255,255,255,0.5) 0%, transparent 100%),
      radial-gradient(1px 1px at 75% 45%, rgba(255,255,255,0.3) 0%, transparent 100%),
      radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.5) 0%, transparent 100%),
      radial-gradient(1px 1px at 25% 90%, rgba(255,255,255,0.3) 0%, transparent 100%),
      radial-gradient(1px 1px at 68% 30%, rgba(255,255,255,0.4) 0%, transparent 100%),
      radial-gradient(1px 1px at 45% 50%, rgba(255,255,255,0.2) 0%, transparent 100%),
      radial-gradient(1px 1px at 5% 55%, rgba(255,255,255,0.35) 0%, transparent 100%),
      radial-gradient(1px 1px at 80% 15%, rgba(255,255,255,0.4) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; } to { opacity: 1; }
  }
  @keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(99,179,237,0.2); }
    50%       { box-shadow: 0 0 40px rgba(99,179,237,0.5); }
  }
  @keyframes orbit {
    from { transform: rotate(0deg) translateX(60px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(60px) rotate(-360deg); }
  }
  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
  }
  @keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
  }
  @keyframes wave-anim {
    0%   { d: path("M0,80 C150,40 300,120 450,80 C600,40 750,100 900,80 L900,160 L0,160 Z"); }
    50%  { d: path("M0,100 C150,60 300,140 450,100 C600,60 750,120 900,100 L900,160 L0,160 Z"); }
    100% { d: path("M0,80 C150,40 300,120 450,80 C600,40 750,100 900,80 L900,160 L0,160 Z"); }
  }
  @keyframes counter-up {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }

  .animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ── LAYOUT ── */
  .container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
  section { position: relative; z-index: 1; }

  /* ── NAVBAR ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 24px;
    background: rgba(5,9,15,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
  }
  .nav-inner {
    max-width: 1160px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }
  .nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem; font-weight: 700;
    color: var(--heading);
    text-decoration: none;
    letter-spacing: -0.02em;
  }
  .nav-logo span { color: var(--accent); }
  .nav-links {
    display: flex; gap: 32px; list-style: none;
  }
  .nav-links a {
    color: var(--muted); text-decoration: none;
    font-size: 0.9rem; font-weight: 500;
    transition: color 0.2s;
    letter-spacing: 0.01em;
  }
  .nav-links a:hover { color: var(--text); }
  .nav-cta {
    background: var(--accent);
    color: #05090f !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    transition: background 0.2s, transform 0.2s !important;
  }
  .nav-cta:hover { background: #90cdf4 !important; transform: translateY(-1px); }
  .nav-banner {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #05090f;
    padding: 7px;
    letter-spacing: 0.03em;
  }
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
  .hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 140px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
  }
  .hero-orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(99,179,237,0.12) 0%, transparent 70%);
    top: -100px; left: 50%; transform: translateX(-50%);
    animation: float 8s ease-in-out infinite;
  }
  .hero-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(246,173,85,0.08) 0%, transparent 70%);
    top: 30%; right: 5%;
    animation: float 10s ease-in-out infinite reverse;
  }
  .hero-orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(104,211,145,0.08) 0%, transparent 70%);
    bottom: 10%; left: 5%;
    animation: float 12s ease-in-out infinite;
  }

  /* Atom SVG animation */
  .hero-atom {
    width: 160px; height: 160px;
    margin: 0 auto 32px;
    position: relative;
    animation: fadeIn 1s ease 0.2s both;
  }
  .hero-atom svg { width: 100%; height: 100%; }

  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(99,179,237,0.1);
    border: 1px solid rgba(99,179,237,0.25);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.8rem; color: var(--accent);
    font-weight: 500; letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: fadeUp 0.8s ease 0.3s both;
  }
  .hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-glow 2s infinite, blink 1.5s infinite;
  }

  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    color: var(--heading);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeUp 0.8s ease 0.5s both;
  }
  .hero h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .hero-desc {
    max-width: 640px; margin: 0 auto 40px;
    font-size: 1.125rem; color: var(--muted);
    line-height: 1.75;
    animation: fadeUp 0.8s ease 0.7s both;
  }
  .hero-desc a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(99,179,237,0.3); }
  .hero-desc a:hover { border-color: var(--accent); }

  .hero-btns {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    animation: fadeUp 0.8s ease 0.9s both;
    margin-bottom: 56px;
  }
  .btn-primary {
    background: var(--accent);
    color: #05090f;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700; font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: pulse-glow 3s ease infinite;
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99,179,237,0.4); }
  .btn-secondary {
    background: transparent;
    color: var(--text);
    padding: 14px 32px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-weight: 500; font-size: 0.95rem;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
  }
  .btn-secondary:hover { border-color: var(--accent); background: rgba(99,179,237,0.05); }

  .hero-trust {
    color: var(--muted); font-size: 0.875rem;
    animation: fadeIn 1s ease 1.2s both;
  }
  .hero-trust strong { color: var(--accent2); }

  /* Animated wave divider */
  .wave-divider { display: block; width: 100%; margin-top: -2px; }

  /* ── STATS BAR ── */
  .stats-bar {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 32px 24px;
  }
  .stats-inner {
    max-width: 1160px; margin: 0 auto;
    display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px;
    text-align: center;
  }
  .stat-item {}
  .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem; font-weight: 700;
    color: var(--accent);
    display: block;
  }
  .stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

  /* ── SECTION HEADER ── */
  .section-label {
    display: inline-block;
    font-size: 0.75rem; font-weight: 600;
    color: var(--accent); letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-family: 'DM Mono', monospace;
  }
  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700; color: var(--heading);
    line-height: 1.2; letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
  .section-sub {
    font-size: 1rem; color: var(--muted);
    max-width: 560px; line-height: 1.7;
  }
  .section-header { margin-bottom: 56px; }

  /* ── CORE CONCEPTS ── */
  .concepts-section { padding: 96px 0; }
  .concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
  }
  .concept-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
  }
  .concept-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(99,179,237,0.05) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.3s;
  }
  .concept-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 12px 40px rgba(99,179,237,0.12); }
  .concept-card:hover::before { opacity: 1; }

  .concept-formula {
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent);
    background: rgba(99,179,237,0.08);
    border: 1px solid rgba(99,179,237,0.15);
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 16px;
    display: inline-block;
  }
  .concept-tag {
    font-size: 0.72rem; font-weight: 600;
    color: var(--accent2);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 8px;
    display: block;
  }
  .concept-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem; font-weight: 700;
    color: var(--heading); margin-bottom: 10px;
    line-height: 1.3;
  }
  .concept-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
  .concept-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px;
    font-size: 0.85rem; font-weight: 600;
    color: var(--accent);
    transition: gap 0.2s;
  }
  .concept-card:hover .concept-link { gap: 10px; }

  .browse-all {
    text-align: center; margin-top: 48px;
  }

  /* ── WHY SECTION ── */
  .why-section {
    padding: 96px 0;
    background: linear-gradient(180deg, transparent 0%, var(--surface) 50%, transparent 100%);
  }
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 16px;
  }
  .feature-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    transition: transform 0.3s, border-color 0.3s;
  }
  .feature-card:hover { transform: translateY(-3px); border-color: rgba(99,179,237,0.3); }
  .feature-icon {
    font-size: 2rem; margin-bottom: 16px; display: block;
    filter: drop-shadow(0 0 8px rgba(99,179,237,0.3));
  }
  .feature-card h3 {
    font-size: 1rem; font-weight: 600; color: var(--heading);
    margin-bottom: 10px;
  }
  .feature-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

  /* ── CURRICULUM ── */
  .curriculum-section { padding: 96px 0; }
  .curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
  }
  .curriculum-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    text-decoration: none; color: inherit;
    display: flex; justify-content: space-between; align-items: flex-start;
    transition: border-color 0.3s, background 0.3s;
    position: relative;
  }
  .curriculum-card:hover { border-color: var(--accent); background: var(--surface2); }
  .curriculum-card h3 { font-size: 1rem; font-weight: 600; color: var(--heading); margin-bottom: 6px; }
  .curriculum-card p { font-size: 0.82rem; color: var(--muted); }
  .badge-live {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(104,211,145,0.15); color: var(--accent3);
    border: 1px solid rgba(104,211,145,0.3);
    border-radius: 100px; padding: 3px 10px;
    white-space: nowrap;
  }
  .badge-planned {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(246,173,85,0.12); color: var(--accent2);
    border: 1px solid rgba(246,173,85,0.25);
    border-radius: 100px; padding: 3px 10px;
    white-space: nowrap;
  }

  /* ── COMING SOON ── */
  .coming-section {
    padding: 96px 0;
    background: linear-gradient(135deg, rgba(99,179,237,0.03) 0%, rgba(104,211,145,0.03) 100%);
  }
  .coming-inner {
    max-width: 700px; margin: 0 auto; text-align: center;
  }
  .coming-list {
    list-style: none;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px; margin: 40px 0;
    text-align: left;
  }
  .coming-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.95rem; color: var(--text);
  }
  .coming-list li::before {
    content: '✓';
    width: 20px; height: 20px;
    background: rgba(104,211,145,0.15);
    color: var(--accent3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 700;
    flex-shrink: 0;
  }

  /* ── ARTICLES ── */
  .articles-section { padding: 96px 0; }
  .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
  }
  .article-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none; color: inherit;
    display: flex; flex-direction: column;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  }
  .article-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 12px 40px rgba(99,179,237,0.1); }
  .article-thumb {
    height: 160px;
    display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--surface2) 0%, rgba(99,179,237,0.08) 100%);
    border-bottom: 1px solid var(--border);
    position: relative; overflow: hidden;
  }
  .article-thumb::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99,179,237,0.08) 0%, transparent 70%);
  }
  .article-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
  .article-meta {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 10px;
  }
  .article-cat {
    font-size: 0.72rem; font-weight: 600;
    color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em;
  }
  .article-date { font-size: 0.75rem; color: var(--muted); }
  .article-card h3 {
    font-size: 1rem; font-weight: 600; color: var(--heading);
    line-height: 1.4; margin-bottom: 12px; flex: 1;
  }
  .article-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: auto; padding-top: 12px;
    border-top: 1px solid var(--border);
  }
  .article-author {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.8rem; color: var(--muted);
  }
  .author-avatar {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; font-weight: 700; color: #05090f;
  }
  .article-read {
    font-size: 0.8rem; color: var(--accent); font-weight: 500;
  }

  /* ── EXPLAINER ── */
  .explainer-section { padding: 96px 0; background: var(--surface); }
  .explainer-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    margin-top: 56px;
  }
  .explainer-topic h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem; font-weight: 700; color: var(--heading);
    margin-bottom: 14px; padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
  }
  .explainer-topic p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
  .explainer-topic a {
    font-size: 0.85rem; color: var(--accent); font-weight: 500;
    text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
  }
  .explainer-topic a:hover { text-decoration: underline; }

  /* ── EARLY ACCESS / EMAIL ── */
  .email-section {
    padding: 96px 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(99,179,237,0.05) 0%, rgba(104,211,145,0.05) 100%);
  }
  .email-box {
    max-width: 520px; margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px 40px;
    position: relative; overflow: hidden;
  }
  .email-box::before {
    content: '';
    position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(99,179,237,0.15) 0%, transparent 70%);
    pointer-events: none;
  }
  .email-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem; font-weight: 700; color: var(--heading);
    margin-bottom: 12px; line-height: 1.2;
  }
  .email-box p { font-size: 0.9rem; color: var(--muted); margin-bottom: 28px; }
  .email-form {
    display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  }
  .email-form input {
    flex: 1; min-width: 200px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text); font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    outline: none; transition: border-color 0.2s;
  }
  .email-form input::placeholder { color: var(--muted); }
  .email-form input:focus { border-color: var(--accent); }
  .email-form button {
    background: var(--accent);
    color: #05090f;
    border: none; border-radius: 8px;
    padding: 12px 24px;
    font-weight: 700; font-size: 0.9rem;
    cursor: pointer; font-family: 'DM Sans', sans-serif;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
  }
  .email-form button:hover { background: #90cdf4; transform: translateY(-1px); }
  .email-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }

  /* ── EXPLORE / SITEMAP ── */
  .explore-section { padding: 80px 0; }
  .explore-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 40px; margin-top: 48px;
  }
  .explore-col h3 {
    font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--accent); margin-bottom: 16px;
    font-family: 'DM Mono', monospace;
  }
  .explore-col ul { list-style: none; }
  .explore-col li { margin-bottom: 10px; }
  .explore-col a {
    font-size: 0.9rem; color: var(--muted);
    text-decoration: none; transition: color 0.2s;
  }
  .explore-col a:hover { color: var(--text); }

  /* ── FAQ ── */
  .faq-section { padding: 96px 0; background: var(--surface); }
  .faq-list { max-width: 760px; margin: 0 auto; }
  .faq-item {
    border-bottom: 1px solid var(--border);
    overflow: hidden;
  }
  .faq-q {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 0; cursor: pointer;
    font-weight: 500; color: var(--text);
    font-size: 0.95rem;
    transition: color 0.2s;
    user-select: none;
  }
  .faq-q:hover { color: var(--heading); }
  .faq-q .faq-icon {
    width: 20px; height: 20px;
    border: 1px solid var(--border); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; color: var(--accent);
    flex-shrink: 0; transition: transform 0.3s;
  }
  .faq-item.open .faq-icon { transform: rotate(45deg); }
  .faq-a {
    max-height: 0; overflow: hidden;
    font-size: 0.9rem; color: var(--muted); line-height: 1.7;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0;
  }
  .faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }

  /* ── NEWSLETTER ── */
  .newsletter-section {
    padding: 80px 24px;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
    text-align: center;
  }
  .newsletter-inner { max-width: 480px; margin: 0 auto; }
  .newsletter-inner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem; font-weight: 700; color: var(--heading);
    margin-bottom: 8px;
  }
  .newsletter-inner p { font-size: 0.9rem; color: var(--muted); margin-bottom: 24px; }
  .newsletter-note { font-size: 0.78rem; color: var(--muted); margin-top: 12px; }

  /* ── FOOTER ── */
  footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 60px 24px 32px;
  }
  .footer-inner {
    max-width: 1160px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
    margin-bottom: 48px;
  }
  .footer-brand {}
  .footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem; font-weight: 700; color: var(--heading);
    text-decoration: none; display: block; margin-bottom: 14px;
  }
  .footer-logo span { color: var(--accent); }
  .footer-brand p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }
  .footer-col h4 {
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--muted); margin-bottom: 16px;
    font-family: 'DM Mono', monospace;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a {
    font-size: 0.88rem; color: var(--muted); text-decoration: none;
    transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--text); }
  .footer-bottom {
    max-width: 1160px; margin: 0 auto;
    border-top: 1px solid var(--border);
    padding-top: 28px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
  }
  .footer-bottom p { font-size: 0.82rem; color: var(--muted); }
  .footer-links { display: flex; gap: 24px; }
  .footer-links a { font-size: 0.82rem; color: var(--muted); text-decoration: none; }
  .footer-links a:hover { color: var(--text); }

  /* ── SCROLL TO TOP ── */
  #scroll-top {
    position: fixed; bottom: 28px; right: 28px;
    width: 44px; height: 44px;
    background: var(--accent);
    color: #05090f;
    border: none; border-radius: 50%;
    font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 999;
    font-family: 'DM Sans', sans-serif;
  }
  #scroll-top.visible { opacity: 1; transform: translateY(0); }
  #scroll-top:hover { background: #90cdf4; }

  /* ── MOBILE ── */
  @media(max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
      display: flex; flex-direction: column;
      position: absolute; top: 64px; left: 0; right: 0;
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      padding: 20px 24px; gap: 16px;
    }
    .hamburger { display: flex; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .explainer-grid { grid-template-columns: 1fr; }
    .coming-list { grid-template-columns: 1fr; }
    .hero { padding: 120px 16px 60px; }
    .container { padding: 0 16px; }
  }

  /* ── PROGRESS BAR ── */
  #progress-bar {
    position: fixed; top: 0; left: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    z-index: 2000; width: 0%; transition: width 0.1s;
  }

  /* ── NOTIFICATION TOAST ── */
  #toast {
    position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px);
    background: var(--surface);
    border: 1px solid var(--accent);
    color: var(--text);
    padding: 12px 24px; border-radius: 8px;
    font-size: 0.9rem;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
  }
  #toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
</style>
Theme Name: Physical Fundamentals
Theme URI: https://physicsfundamentalsz.com
Author: Dilawar Mughal
Description: Custom Physics Education Website
Version: 1.0
*/