/* ═══════════════════════════════════════
   CASEFRAME AI — SHARED DESIGN SYSTEM
   v2: Burnt Orange + Deep Navy
═══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Backgrounds */
  --bg:          #f2f4f8;
  --bg-mid:      #ffffff;
  --bg-card:     #f7f8fb;
  --bg-hover:    #eaecf4;
  --border:      #dde2ee;
  --border-hi:   #c8cfdf;

  /* Text */
  --text:        #0f1c2e;
  --text-mid:    #2d3f58;
  --muted:       #7a8ba8;
  --muted-lt:    #5c6e8a;

  /* Burnt Orange — primary brand accent */
  --orange:      #c2410c;
  --orange-dk:   #9a3412;
  --orange-lt:   #fff1ec;
  --orange-mid:  #dc4a0e;
  --orange-glow: rgba(194,65,12,0.12);

  /* Deep Slate Blue-Grey — secondary accent */
  --blue:        #243447;
  --blue-dk:     #0e1c2b;
  --blue-lt:     #e6eaf0;
  --blue-mid:    #1b2a3d;
  --blue-glow:   rgba(14,28,43,0.12);

  /* Supporting */
  --teal:        #0d7a70;
  --teal-lt:     #effaf8;
  --teal-mid:    #0a6560;
  --green:       #166534;
  --green-lt:    #f0fdf4;
  --nav-h:       56px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ── NAV ── */
.nav {
  height: var(--nav-h);
  background: var(--blue-dk);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(15,39,68,0.25);
}
.nav-logo {
  display: flex;
  align-items: center;
  margin-right: 40px;
  text-decoration: none;
}
.nav-logo-img {
  height: 30px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-links a {
  padding: 6px 14px;
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.12); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  background: linear-gradient(135deg, var(--orange-mid) 0%, var(--orange-dk) 100%);
  color: white;
  padding: 8px 18px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(194,65,12,0.35);
  transition: all 0.15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(194,65,12,0.45); }
/* ── NAV AUTH BUTTONS ── */
.nav-signin {
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.18);
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-signin:hover { color: #fff; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }
.nav-signup {
  background: linear-gradient(135deg, var(--orange-mid) 0%, var(--orange-dk) 100%);
  color: white;
  padding: 7px 16px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(194,65,12,0.35);
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-signup:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(194,65,12,0.45); }


/* ── SHARED BUTTON STYLES ── */
.btn-primary {
  background: linear-gradient(135deg, var(--orange-mid) 0%, var(--orange-dk) 100%);
  color: white;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 14px var(--orange-glow);
  transition: all 0.18s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 5px 22px rgba(194,65,12,0.3); }

.btn-secondary {
  background: white;
  color: var(--text-mid);
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.18s;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); box-shadow: 0 3px 12px rgba(30,58,95,0.1); }

/* ── FOOTER ── */
.footer {
  background: var(--blue-dk);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 48px 40px 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  text-decoration: none;
}
.footer-logo-img {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 4px;
}
.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.45); line-height: 1.6; margin-bottom: 14px; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 5px;
}
.footer-col-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
  max-width: 1100px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.77rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 4px; }
