/* ============================================================
   PAKISTAN BLOCKCHAIN NETWORK — Global Stylesheet
   Palette: White + Teal, clean institutional
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;1,9..144,300;1,9..144,400&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:        #0D9488;
  --teal-dark:   #0F766E;
  --teal-deep:   #134E4A;
  --teal-tint:   #F0FDFA;
  --teal-light:  #CCFBF1;
  --teal-mid:    #5EEAD4;
  --slate:       #0F172A;
  --slate-mid:   #475569;
  --slate-light: #94A3B8;
  --white:       #FFFFFF;
  --off:         #F8FAFC;
  --border:      #E2E8F0;
  --radius:      10px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--slate); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Fraunces', serif; font-weight: 300; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 46px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
em { font-style: italic; color: var(--teal); }
p { line-height: 1.75; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-mark {
  width: 34px; height: 34px; background: var(--teal); border-radius: 7px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-logo-mark svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-logo-text { font-family: 'Fraunces', serif; font-size: 15px; font-weight: 400; color: var(--slate); }
.nav-logo-text span { color: var(--teal); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin-right: 12px; }
.nav-links a {
  text-decoration: none; font-size: 14px; font-weight: 500; color: var(--slate-mid);
  padding: 6px 12px; border-radius: 6px; transition: all 0.18s;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); background: var(--teal-tint); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; padding-top: 8px;
  opacity: 0; pointer-events: none; transform: translateY(-6px); transition: all 0.2s;
}
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav-dropdown-menu-inner {
  min-width: 200px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1); padding: 6px;
}
.nav-dropdown-menu a {
  display: block; padding: 8px 12px; font-size: 13px; font-weight: 500;
  color: var(--slate-mid); text-decoration: none; border-radius: 6px; transition: all 0.15s;
}
@media (hover: hover) {
  .nav-dropdown-menu a:hover { background: var(--teal-tint); color: var(--teal); }
}
.nav-cta {
  background: var(--teal); color: #fff !important; padding: 9px 20px !important;
  border-radius: 7px; font-size: 14px; font-weight: 500; transition: background 0.2s;
}
.nav-cta:hover { background: var(--teal-dark) !important; }
.hamburger { display: none; background: none; border: 1px solid var(--border); border-radius: 6px; padding: 6px 10px; cursor: pointer; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--teal); color: #fff;
  padding: 13px 28px; border-radius: 8px; font-size: 15px; font-weight: 500;
  text-decoration: none; transition: background 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost {
  display: inline-block; background: transparent; color: var(--teal);
  padding: 13px 28px; border-radius: 8px; font-size: 15px; font-weight: 500;
  text-decoration: none; border: 1.5px solid var(--teal-light); transition: all 0.2s; cursor: pointer;
}
.btn-ghost:hover { background: var(--teal-tint); border-color: var(--teal); }
.btn-white {
  display: inline-block; background: #fff; color: var(--teal-deep);
  padding: 13px 28px; border-radius: 8px; font-size: 15px; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
}
.btn-white:hover { background: var(--teal-tint); }
.btn-outline-white {
  display: inline-block; background: transparent; color: #fff;
  padding: 13px 28px; border-radius: 8px; font-size: 15px; font-weight: 500;
  text-decoration: none; border: 1.5px solid rgba(255,255,255,0.4); transition: all 0.2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

/* ── SECTION SHARED ── */
.section { padding: 96px 32px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 16px;
}
.section-eyebrow::before { content: ''; width: 20px; height: 1.5px; background: var(--teal); display: inline-block; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 140px 32px 80px; background: var(--off);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero p { font-size: 18px; color: var(--slate-mid); max-width: 640px; line-height: 1.7; }

/* ── CARDS ── */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px; transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--teal-mid); box-shadow: 0 4px 24px rgba(13,148,136,0.08); }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--teal-tint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--teal);
}

/* ── TAG / BADGE ── */
.tag {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--teal-dark); background: var(--teal-tint);
  padding: 3px 10px; border-radius: 100px; border: 1px solid var(--teal-light);
}

/* ── FOOTER ── */
footer {
  background: var(--slate); color: rgba(255,255,255,0.6);
  padding: 64px 32px 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-name { font-family: 'Fraunces', serif; font-size: 17px; color: #fff; font-weight: 400; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 260px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 7px; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5);
  text-decoration: none; font-size: 13px; font-weight: 600; transition: all 0.2s;
}
@media (hover: hover) {
  .footer-social a:hover { background: var(--teal); color: #fff; }
}
.footer-col h4 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 16px; font-family: 'Inter', sans-serif;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; font-size: 13px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }

/* ── FORMS ── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--slate-mid); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 7px;
  font-size: 14px; font-family: 'Inter', sans-serif; color: var(--slate); background: var(--white);
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; align-items: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 20px; }
  .page-hero { padding: 120px 20px 60px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 0 20px; }
}
