/* =====================================================
   CSS VARIABLES (THEME)
   ===================================================== */
:root{
  --bg: #ffffff;
  --text: #1f2937;          /* gray-800 */
  --muted: #6b7280;         /* gray-500 */
  --primary: #2563eb;       /* blue-600 */
  --primary-600:#1d4ed8;    /* blue-700 */
  --accent: #10b981;        /* emerald-500 (kept for badges etc., not borders) */
  --border: #e5e7eb;        /* gray-200 */
  --shell: #f8fafc;         /* slate-50 */
  --maxw: 1120px;
}

/* Prefer dark if user opts in */
@media (prefers-color-scheme: dark){
  :root{
    --bg:#0b0f14;
    --text:#e5e7eb;
    --muted:#9ca3af;
    --border:#1f2937;
    --shell:#0b1117;
  }
}

/* =====================================================
   BASE / RESET
   ===================================================== */
*,
*::before,
*::after{ box-sizing: border-box; }

html, body{
  height: 100%;
}

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video{ max-width:100%; height:auto; display:block; }

a{ color: var(--primary); text-decoration: none; }
a:hover{ text-decoration: underline; }

/* =====================================================
   LAYOUT HELPERS
   ===================================================== */
.container{
  width: 100%;
  max-width: var(--maxw);
  padding-inline: 20px;
  margin-inline: auto;
}

.section{
  padding: 64px 0;
}
.section--alt{
  background: var(--shell);
}

.section__heading{
  margin: 0 0 10px;
  font-size: clamp(24px, 3.2vw, 36px);
  letter-spacing: -.01em;
}
.section__sub{
  color: var(--muted);
  margin: 0;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: 10px;
  border:1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform .04s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  will-change: transform;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2,6,23,.06);
}
.btn:active{
  transform: translateY(0);
}
.btn--primary{
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn--primary:hover{
  background: var(--primary-600);
  border-color: var(--primary-600);
}

/* =====================================================
   HEADER / NAV
   ===================================================== */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
@media (prefers-color-scheme: dark){
  .header{ background: rgba(11,15,20,.6); }
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.nav__brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .2px;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--text);
}
.nav__links{
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav__link{
  color: var(--muted);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
}
.nav__link:hover{
  color: var(--text);
  text-decoration: none;
  background: var(--shell);
}
.nav__cta .btn{
  padding:.7rem 1rem;
  border-radius:10px;
  font-weight:600;
}
.nav__cta .btn:hover{
  background: var(--primary-600);
  border-color: var(--primary-600);
}

/* Mobile collapse (simple) */
@media (max-width: 720px){
  .nav{ flex-wrap: wrap; }
  .nav__links{ width:100%; justify-content:space-between; }
}

/* =====================================================
   HERO
   ===================================================== */
.hero{
  background: linear-gradient(180deg, var(--shell), transparent 80%);
  padding: 96px 0 72px;
}
.hero__inner{
  text-align:center;
  max-width: 960px;
  margin-inline:auto;
}
.hero__eyebrow{
  display:inline-block;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero__title{
  margin: 0 0 10px;
  font-size: clamp(28px, 5.8vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.hero__subtitle{
  margin: 0 auto 22px;
  color: var(--muted);
  max-width: 760px;
  font-size: clamp(16px, 2.6vw, 18px);
}
.hero__actions{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap: wrap;
}

/* =====================================================
   CARDS / GRIDS
   ===================================================== */
.grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.card{
  grid-column: span 4;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .05s ease;
}
.card:hover{
  border-color: #d1d5db; /* gray-300 */
  box-shadow: 0 6px 24px rgba(2,6,23,.06);
  transform: translateY(-1px);
}
.card__title{
  margin: 0 0 6px;
  font-size: 18px;
}
.card__body{
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 1024px){
  .card{ grid-column: span 6; }
}
@media (max-width: 640px){
  .card{ grid-column: 1 / -1; }
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer{
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
  font-size: 14px;
  background: #fff;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  flex-wrap:wrap;
}
.footer a{ color: var(--muted); }
.footer a:hover{ color: var(--text); }

/* =====================================================
   FORMS (Contact)
   ===================================================== */
.form{
  max-width:720px;
  margin-inline:auto;
  display:grid;
  gap:14px;
}

label{ font-weight:600; display:block; margin-bottom:6px; }

.input, select, textarea{
  width:100%;
  font: inherit;
  color: inherit;
  border:1px solid var(--border);      /* neutral border */
  border-radius:10px;
  padding:.75rem .9rem;
  background:#fff;
}

input:focus, textarea:focus, select:focus{
  outline: none;                        /* remove green outline */
  border-color: var(--primary);         /* blue focus border */
  box-shadow: 0 0 0 3px rgba(37,99,235,.15); /* subtle blue ring */
}

.help{ color: var(--muted); font-size: 13px; }

/* =====================================================
   NOTICES / FEEDBACK
   ===================================================== */
.notice{
  background: #ecfdf5;          /* emerald-50 */
  color: #065f46;               /* emerald-800 */
  border: 1px solid #a7f3d0;    /* emerald-200 */
  padding: 12px 14px;
  border-radius: 10px;
  margin: 12px 0 18px;
}
@media (prefers-color-scheme: dark){
  .notice{
    background: rgba(16,185,129,.12);
    color: #a7f3d0;
    border-color: rgba(16,185,129,.35);
  }
}

/* =====================================================
   ERROR PAGES
   ===================================================== */
.error-page{
  text-align: center;
  padding: 96px 0;
}
.error-page h2{
  margin: 0 0 12px;
  font-size: 32px;
  letter-spacing: -.01em;
}
.error-page p{
  margin: 8px 0;
  color: var(--muted);
}
.error-page .btn{ margin-top: 12px; }

/* Accent box + icon for error pages */
.error-box{
  display: inline-block;
  text-align: center;
  background: #fff;
  border: 1px solid #fee2e2;    /* red-200 */
  border-left: 4px solid #ef4444;/* red-500 */
  border-radius: 12px;
  padding: 24px 22px;
  max-width: 720px;
}
.error-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 999px;
  background: #fef2f2;          /* red-50 */
  color: #b91c1c;               /* red-700 */
  border: 1px solid #fecaca;    /* red-200 */
  margin-bottom: 12px;
  font-weight: 800;
}
@media (prefers-color-scheme: dark){
  .error-box{
    background: #0b0f14;
    border-color: rgba(239,68,68,.35);
  }
  .error-icon{
    background: rgba(239,68,68,.12);
    color: #fecaca;
    border-color: rgba(239,68,68,.35);
  }
}

/* =====================================================
   RESPONSIVE TWEAKS
   ===================================================== */
@media (max-width: 1200px){
  .hero{ padding: 84px 0 64px; }
}
@media (max-width: 768px){
  .hero{ padding: 64px 0 48px; }
  .nav__cta .btn{ padding:.65rem .9rem; }
}

/* =====================================================
   PRINT (nice-looking printouts)
   ===================================================== */
@media print{
  .header, .nav, .hero__actions, .footer{ display:none !important; }
  .hero{ padding: 0; }
  body{ color: #000; background: #fff; }
}

/* =====================================================
   DEBUG OVERRIDES (kept safe)
   ===================================================== */
/* If any element still has the debug-outline class, kill its outlines/borders */
.debug-outline, .debug-outline * {
  outline: none !important;
  border-color: transparent !important;
}

/* As an extra safety net, remove outlines from everything except form fields. */
*:not(input):not(textarea):not(select) {
  outline: none !important;
}


.vip-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
