/* ===========================
   RESET & BASE
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Red Bull / dark SaaS palette */
  --bg-main: #0a0a0a;
  --bg-panel: #111111;
  --bg-elevated: #171717;
  --border-subtle: #2a2a2a;

  --blue-primary: #001f3f;
  --blue-secondary: #003f7f;
  --red-accent: #da291c;

  --text-primary: #ffffff;
  --text-secondary: #c7c7c7;
  --text-muted: #8a8a8a;

  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.75);
  --shadow-subtle: 0 10px 25px rgba(0, 0, 0, 0.55);
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #001f3f 0, #0a0a0a 40%, #000 100%);
  color: var(--text-primary);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===========================
   CONTAINERS
=========================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, .page-title {
  font-family: "Oswald", system-ui, sans-serif;
  letter-spacing: 0.03em;
}

.page-title {
  margin-bottom: 0.75rem;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

.text-center { text-align: center !important; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

/* ===========================
   UTILITIES
=========================== */
.stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ===========================
   CARDS
=========================== */
.card {
  background: var(--bg-panel);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-soft);
}

.card-sm { padding: 1.5rem 1.75rem; }
.card-lg { padding: 2.5rem 2.75rem; }

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.85);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.business-card-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.business-card-img {
  max-width: 300px;
  border-radius: 8px;
}



/* ===========================
   HEADER
=========================== */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(to right, rgba(0,0,0,0.95), rgba(0,31,63,0.9));
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  padding: 0.75rem 0 0.5rem;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left, .nav-right {
  display: flex;
  gap: 1rem;
}

.nav-left a, .nav-right a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.nav-left a:hover, .nav-right a:hover {
  color: #ffffff;
}

.header-logo {
  text-align: center;
  margin-top: 0.25rem;
}

.logo-medium {
  width: 175px;
  height: auto;
}

/* ===========================
   BUTTONS
=========================== */
.btn-primary {
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, var(--red-accent), #ff3b30);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: 0 10px 26px rgba(218,41,28,0.4);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(218,41,28,0.55);
}

.btn-secondary {
  padding: 0.6rem 1.4rem;
  background: var(--blue-secondary);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(0,31,63,0.3);
}

.btn-secondary:hover {
  background: var(--blue-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.22);
  color: #ffffff;
}

.btn-danger {
  padding: 0.6rem 1.4rem;
  background: #b00020;
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(176,0,32,0.35);
}

.btn-danger:hover {
  background: #d00028;
}

.btn-full { width: 100%; }

/* TAB BUTTONS */
.tab-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  background: #1e3a8a;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.tab-btn:hover {
  background: #d1d5db;
}

.tab-btn.active {
  background: #1e3a8a; /* deep navy */
  color: white;
}


/* ===========================
   MOBILE NAV
=========================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #ffffff;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(0,31,63,0.95);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}

.nav-mobile.open { display: flex; }

@media (max-width: 820px) {
  .nav-left, .nav-right { display: none; }
  .hamburger { display: flex; }
}

/* ===========================
   SECTIONS
=========================== */
.section { padding: 4rem 0; }
.section-alt {
  padding: 4rem 0;
  background: #001f3f;
  color: #fff !important;
}

/* ===========================
   FORMS
=========================== */
.form-group { margin-bottom: 1.25rem; }

.input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  font-size: 0.95rem;
  background: rgba(15,15,15,0.95);
  color: var(--text-primary);
}

.input:focus {
  border-color: var(--blue-secondary);
  box-shadow: 0 0 0 1px rgba(0,63,127,0.7);
  background: #111111;
}

.input-error {
  border-color: var(--red-accent) !important;
  box-shadow: 0 0 0 1px rgba(218,41,28,0.6);
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
}

/* ===========================
   FOOTER
=========================== */
.footer {
  text-align: center !important;
  padding: 2rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer a { text-decoration: underline; }

/* ===========================
   MOBILE POLISH
=========================== */
@media (max-width: 640px) {
  .section { padding: 3rem 0; }
  .card, .card-sm, .card-lg { padding: 1.5rem 1.25rem; }
  .logo-medium { width: 140px; }
}
