/* ===================================================
   THE STUDY PERMIT EXPERT — SHARED STYLESHEET
   Bold dark brand: near-black bg, gold accent, white text
   =================================================== */

:root {
  --bg:        #080810;
  --surface:   #10101C;
  --surface2:  #181828;
  --surface3:  #1E1E32;
  --gold:      #F5C842;
  --gold2:     #E0A820;
  --gold-dim:  rgba(245,200,66,0.10);
  --gold-bdr:  rgba(245,200,66,0.20);
  --white:     #FFFFFF;
  --off-white: #E8E8F2;
  --muted:     #8888A8;
  --dimmer:    #55556A;
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(255,255,255,0.13);
  --green:     #3DDC84;
  --green-dim: rgba(61,220,132,0.10);
  --green-bdr: rgba(61,220,132,0.22);
  --red:       #FF5555;
  --red-dim:   rgba(255,85,85,0.08);
  --red-bdr:   rgba(255,85,85,0.20);
  --blue:      #4DA6FF;
  --purple:    #C084FC;
  --radius:    10px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,8,16,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900; color: #000; flex-shrink: 0;
}
.nav-logo-name { font-size: 14px; font-weight: 700; color: var(--white); letter-spacing: -0.01em; }
.nav-logo-name span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--muted);
  padding: 6px 12px; border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--gold) !important; color: #000 !important;
  font-weight: 700 !important; border-radius: 50px !important;
  padding: 7px 18px !important; font-size: 13px !important;
  transition: opacity 0.15s !important;
}
.nav-cta:hover { opacity: 0.88 !important; background: var(--gold) !important; }
.nav-mob { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-mob span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 56px 5vw;
  position: relative;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold2), var(--gold));
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; }
.page-hero-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gold); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.page-hero-label::before { content: ''; display: block; width: 20px; height: 2px; background: var(--gold); flex-shrink: 0; }
.page-hero h1 {
  font-size: clamp(28px, 4vw, 48px); font-weight: 900;
  color: var(--white); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 14px;
}
.page-hero p { font-size: 17px; color: var(--muted); max-width: 560px; line-height: 1.65; }

/* ── LAYOUT ── */
section { padding: 80px 5vw; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--gold); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.section-label::before { content: ''; display: block; width: 20px; height: 2px; background: var(--gold); flex-shrink: 0; }
.section-title {
  font-size: clamp(26px, 3.5vw, 42px); font-weight: 900;
  color: var(--white); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px;
}
.section-sub { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 580px; }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #000;
  font-weight: 700; font-size: 15px; padding: 13px 26px; border-radius: 50px;
  border: none; cursor: pointer; transition: opacity 0.15s, transform 0.15s;
}
.btn-gold:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--off-white);
  font-weight: 600; font-size: 15px; padding: 13px 24px; border-radius: 50px;
  border: 1.5px solid var(--border2); cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }

/* ── CARDS ── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--gold-bdr); transform: translateY(-2px); }
.card-gold-top { border-top: 2px solid var(--gold); }

/* ── CHECK LIST ── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--off-white); line-height: 1.5;
}
.check-list li::before {
  content: '✓'; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-dim); border: 1px solid var(--green-bdr);
  color: var(--green); font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-q {
  font-size: 15px; font-weight: 600; color: var(--white);
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: flex-start; gap: 16px; user-select: none;
}
.faq-toggle {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--border2); background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--gold); flex-shrink: 0; margin-top: 1px;
  transition: all 0.2s;
}
.faq-item.open .faq-toggle { background: var(--gold); color: #000; border-color: var(--gold); transform: rotate(45deg); }
.faq-a {
  font-size: 14px; color: var(--muted); line-height: 1.7;
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, margin-top 0.2s;
}
.faq-item.open .faq-a { max-height: 400px; margin-top: 12px; }

/* ── CICC STRIP ── */
.cicc-strip {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 10px 5vw; font-size: 12px; color: var(--dimmer);
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap; text-align: center;
}
.cicc-strip strong { color: var(--gold); }
.cicc-strip a { color: var(--muted); text-decoration: underline; }
.cicc-pill { background: var(--gold); color: #000; font-size: 9px; font-weight: 800; padding: 2px 7px; border-radius: 4px; letter-spacing: 0.06em; }

/* ── FOOTER ── */
footer { background: var(--surface); border-top: 1px solid var(--border); }
.footer-main { padding: 52px 5vw 36px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand p { font-size: 13px; color: var(--dimmer); line-height: 1.7; margin-top: 12px; max-width: 260px; }
.footer-brand-sub { font-size: 11px; color: var(--dimmer); margin-top: 8px; }
.footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dimmer); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 14px; color: var(--muted); transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 12px; color: var(--dimmer); }
.footer-rcic { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--dimmer); }

/* ── FRAUD ── */
.fraud-banner {
  background: var(--red-dim); border: 1px solid var(--red-bdr);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13px; color: rgba(255,180,180,0.85); line-height: 1.6;
}
.fraud-banner strong { color: #FF8888; }
.fraud-banner a { color: #FF8888; text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mob { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 5vw; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}
