  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --emerald:   #1a6b4a;
    --emerald-d: #134e37;
    --emerald-l: #22875e;
    --gold:      #c89b3c;
    --gold-l:    #e2b85a;
    --cream:     #fdf8f0;
    --ink:       #1c1c2e;
    --muted:     #6b7280;
    --white:     #ffffff;
    --shadow:    0 4px 24px rgba(0,0,0,.12);
    --radius:    10px;
  }

  body {
    font-family: 'Nunito', sans-serif;
    background: #f0ece4;
    min-height: 100vh;
  }

  /* ── TOP BAR ── */
  .top-bar {
    background: var(--emerald-d);
    color: rgba(255,255,255,.75);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .04em;
    padding: 6px 0;
  }
  .top-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .top-bar-left a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: color .2s;
  }
  .top-bar-left a:hover { color:#e2b85a; }
  .top-bar-right {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .top-bar-right a {
    color: rgba(255,255,255,.65);
    text-decoration: none;
    font-size: 13px;
    transition: color .2s;
  }
  .top-bar-right a:hover { color: var(--gold-l); }
  .bismillah {
    font-family: 'Amiri', serif;
    font-size: 15px;
    color: var(--gold-l);
    letter-spacing: .02em;
  }

  /* ── MAIN HEADER ── */
  .site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    gap: 32px;
  }

  /* Logo */
  .site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
  }
  .logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-d) 100%);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .logo-icon::after {
    content: '☽';
    font-size: 18px;
    color: var(--gold-l);
    line-height: 1;
  }
  .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }
  .logo-text .blog-word {
    font-family: 'Amiri', serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .logo-text .brand-name {
    font-family: 'Amiri', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--emerald-d);
    line-height: 1;
  }
  .logo-text .brand-name span {
    color: var(--gold);
  }

  /* Nav */
  .site-nav {
    flex: 1;
    display: flex;
    align-items: center;
  }
  .nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2px;
    height: 70px;
  }
  .nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
  }
  .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 14px;
    height: 100%;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: .01em;
    transition: color .2s;
    white-space: nowrap;
    position: relative;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 14px; right: 14px;
    height: 3px;
    background: var(--emerald);
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform .25s cubic-bezier(.4,0,.2,1);
    transform-origin: left;
  }
  .nav-item:hover > .nav-link,
  .nav-item.active > .nav-link { color: var(--emerald); }
  .nav-item:hover > .nav-link::after,
  .nav-item.active > .nav-link::after { transform: scaleX(1); }

  .nav-arrow {
    font-size: 9px;
    opacity: .5;
    transition: transform .2s;
    margin-top: 1px;
  }
  .nav-item:hover .nav-arrow { transform: rotate(180deg); opacity: .8; }

  /* Dropdowns */
  .dropdown {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0,0,0,.15), 0 0 0 1px rgba(0,0,0,.06);
    min-width: 220px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .22s cubic-bezier(.4,0,.2,1);
    z-index: 100;
  }
  .nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: background .15s, color .15s;
  }
  .dropdown-item:hover {
    background: #f0faf5;
    color: var(--emerald);
  }
  .dropdown-item .di-icon {
    width: 28px; height: 28px;
    background: linear-gradient(135deg, #e8f5ee, #d1ebe0);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
  }
  .dropdown-item:hover .di-icon {
    background: linear-gradient(135deg, var(--emerald-l), var(--emerald));
  }
  .dropdown-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 6px 0;
  }
  .dropdown-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 6px 18px 4px;
  }

  /* Mega-dropdown for Duas */
  .mega-dropdown {
    position: absolute;
    top: calc(100% + 2px);
    left: -60px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0,0,0,.15), 0 0 0 1px rgba(0,0,0,.06);
    width: 580px;
    padding: 22px 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .22s cubic-bezier(.4,0,.2,1);
    z-index: 100;
  }
  .nav-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
  }
  .mega-col-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 8px;
    padding-left: 4px;
    border-left: 2px solid var(--gold);
    padding-left: 8px;
  }
  .mega-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: background .15s, color .15s;
  }
  .mega-item:hover {
    background: #f0faf5;
    color: var(--emerald);
  }
  .mega-item .mi-icon {
    font-size: 15px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
  }
  .mega-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
  }
  .mega-header-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--emerald-l), var(--emerald-d));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    color: var(--gold-l);
    font-family: 'Amiri', serif;
  }
  .mega-header-text h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
  }
  .mega-header-text p {
    font-size: 11px;
    color: var(--muted);
    margin-top: 1px;
  }

  /* Header Actions */
  .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }
  .search-btn {
    width: 36px; height: 36px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    background: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted);
    font-size: 15px;
    transition: all .2s;
  }
  .search-btn:hover {
    border-color: var(--emerald);
    color: var(--emerald);
    background: #f0faf5;
  }
  .btn-subscribe {
    background: linear-gradient(135deg, var(--emerald-l), var(--emerald-d));
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    letter-spacing: .02em;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(26,107,74,.3);
  }
  .btn-subscribe:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(26,107,74,.4);
  }

  /* Mobile hamburger */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    border: none;
    background: none;
  }
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all .3s;
  }

  /* ── SEARCH BAR ── */
  .search-bar {
    background: var(--cream);
    border-top: 1px solid #e8dfc8;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
  }
  .search-bar.open {
    max-height: 80px;
    padding: 14px 0;
  }
  .search-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .search-input {
    flex: 1;
    height: 42px;
    border: 1.5px solid #d4c9b0;
    border-radius: 9px;
    padding: 0 16px;
    font-size: 14px;
    font-family: 'Nunito', sans-serif;
    background: var(--white);
    color: var(--ink);
    outline: none;
    transition: border-color .2s;
  }
  .search-input::placeholder { color: #a8a09a; }
  .search-input:focus { border-color: var(--emerald); }
  .search-submit {
    height: 42px;
    padding: 0 20px;
    background: var(--emerald);
    color: var(--white);
    border: none;
    border-radius: 9px;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
  }
  .search-submit:hover { background: var(--emerald-d); }

  /* ── DEMO PAGE CONTENT ── */
  .demo-hero {
    background: linear-gradient(160deg, var(--emerald-d) 0%, var(--emerald) 60%, #2d9e6e 100%);
    padding: 80px 24px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
  }
  .demo-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  }
  .demo-hero h1 {
    font-family: 'Amiri', serif;
    font-size: 42px;
    margin-bottom: 12px;
    position: relative;
  }
  .demo-hero p {
    font-size: 15px;
    opacity: .8;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
  }
  .demo-info {
    max-width: 820px;
    margin: 48px auto;
    padding: 0 24px;
  }
  .info-card {
    background: var(--white);
    border-radius: 14px;
    padding: 28px 32px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
  }
  .info-card h2 {
    font-family: 'Amiri', serif;
    font-size: 22px;
    color: var(--emerald-d);
    margin-bottom: 16px;
  }
  .info-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 12px;
  }
  .code-block {
    background: #1e1e2e;
    color: #a6e3a1;
    padding: 20px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.7;
    margin-top: 16px;
    overflow-x: auto;
    white-space: pre;
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .top-bar { display: none; }
    .site-nav { display: none; }
    .hamburger { display: flex; }
    .header-inner { gap: 16px; }
  }