/* ==========================================================================
   EightyFive Design System (Mother Website: eightyfive.cloud)
   Clean White Canvas (#FFFFFF), Dark Slate (#171717), Signature Neon-Lime (#c7f802)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFAFA;
  --bg-dark: #000000;
  --bg-dark-card: #0A0A0A;
  
  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-active: #171717;
  --border-lime: #C7F802;

  --text-primary: #171717;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --text-white: #FFFFFF;
  --text-white-muted: #A1A1AA;

  /* EightyFive Signature Neon Lime */
  --accent-lime: #C7F802;
  --accent-lime-hover: #B8E602;
  --accent-lime-subtle: rgba(199, 248, 2, 0.18);
  --accent-emerald: #059669;
  --accent-blue: #2563EB;
  --status-danger: #EF4444;
  --status-success: #10B981;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px -4px rgba(0, 0, 0, 0.08);
  --shadow-lime: 0 8px 24px -4px rgba(199, 248, 2, 0.35);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: 3rem; letter-spacing: -0.035em; }
h2 { font-size: 2.25rem; letter-spacing: -0.025em; }
h3 { font-size: 1.45rem; }
p { color: var(--text-secondary); }

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover { color: #000000; }

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 2rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.nav-brand img {
  height: 26px;
  width: auto;
  display: block;
}

.nav-brand-badge {
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #E2E8F0;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #475569;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: #000000;
}

/* EightyFive Signature Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--font-sans);
}

/* Mother Site Signature Primary Button: Lime Pill with Inverted Hover */
.btn-primary {
  background-color: var(--accent-lime);
  color: #000000;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(199, 248, 2, 0.3);
}

.btn-primary:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #000000;
  transform: scale(1.04);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
}

.btn-primary:active {
  transform: scale(0.97);
}

/* Secondary Button: Premium Black Pill */
.btn-secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 1px solid #000000;
}

.btn-secondary:hover {
  background-color: #1F2937;
  border-color: #1F2937;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Outline Button: Crisp Light Pill */
.btn-outline {
  background-color: #FFFFFF;
  color: #171717;
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: #000000;
  color: #000000;
  background-color: var(--bg-secondary);
}

/* Layout Containers */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Clean Mother-Site Modern Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
}

.card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-lg);
}

/* Form Controls */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(199, 248, 2, 0.45);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-lime {
  background: rgba(199, 248, 2, 0.2);
  color: #171717;
  border: 1px solid var(--accent-lime);
}

.badge-emerald {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.badge-gold {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.badge-danger {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

/* Mother Site Black Footer */
.footer {
  margin-top: auto;
  background: #000000;
  color: #FFFFFF;
  padding: 5rem 0 3rem 0;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: #94A3B8;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #64748B;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #94A3B8;
}

.footer-bottom a:hover {
  color: var(--accent-lime);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.85rem; }
}
