/* ================================================================
   Ox Media LLC — Stylesheet v3
   Theme: Dark glass, editorial, premium. Space Grotesk + Inter.
   ================================================================ */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --bg:             #0d0d0d;
  --bg-surface:     #161616;
  --bg-elevated:    #1f1f1f;
  --bg-glass:       rgba(255,255,255,0.035);
  --bg-glass-hover: rgba(255,255,255,0.065);
  --red:            #dc2626;
  --red-dark:       #991b1b;
  --red-muted:      rgba(220,38,38,0.12);
  --red-glow:       rgba(220,38,38,0.22);
  --white:          #ffffff;
  --text-primary:   #f5f5f5;
  --text-secondary: #ffffff;
  --text-muted:     #ffffff;
  --border:         rgba(255,255,255,0.08);
  --border-hover:   rgba(255,255,255,0.15);
  --border-red:     rgba(220,38,38,0.38);
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.4);
  --shadow:         0 4px 24px rgba(0,0,0,0.55);
  --shadow-red:     0 0 40px rgba(220,38,38,0.14), 0 8px 32px rgba(0,0,0,0.55);
  --shadow-red-lg:  0 0 70px rgba(220,38,38,0.18), 0 16px 48px rgba(0,0,0,0.6);
  --gradient-rw:    linear-gradient(110deg, #dc2626 0%, #f87171 45%, #ffffff 100%);
  --gradient-rd:    linear-gradient(135deg, #dc2626 0%, #7f1d1d 100%);
  --radius:         8px;
  --radius-lg:      12px;
  --radius-xl:      18px;
  --font-head:      'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition:     0.22s ease;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html   { scroll-behavior: smooth; }
body   {
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  background-color: #0d0d0d;
  background-image:
    url('circuit.svg'),
    radial-gradient(ellipse at 50% 0%, #6b1010 0%, #2a0808 30%, #0d0d0d 65%);
  background-size: 160px 160px, cover;
  background-attachment: fixed;
}
img    { max-width: 100%; display: block; }
a      { text-decoration: none; color: inherit; }
ul     { list-style: none; }
button { font-family: var(--font-head); }

/* ── Container ──────────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 28px); }

/* ── Gradient Text ──────────────────────────────────────────────── */
.gradient-text {
  background: var(--gradient-rw);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Eyebrow Labels ─────────────────────────────────────────────── */
.eyebrow-label {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f43f3f;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Scroll Reveal ──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   Buttons
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #0d0d0d 0%, #4a0808 45%, #8b1414 100%);
  color: #fff;
  border: 1px solid rgba(220,38,38,0.35);
  box-shadow: 0 2px 14px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1a0505 0%, #6b0e0e 45%, #b91c1c 100%);
  border-color: rgba(220,38,38,0.6);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(139,20,20,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: linear-gradient(135deg, #0d0d0d 0%, #4a0808 45%, #8b1414 100%);
  color: #ffffff;
  border: 1px solid rgba(220,38,38,0.35);
  box-shadow: 0 2px 14px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
}
.btn-outline:hover {
  background: linear-gradient(135deg, #1a0505 0%, #6b0e0e 45%, #b91c1c 100%);
  border-color: rgba(220,38,38,0.6);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(139,20,20,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
}

.btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--white);
  background: rgba(255,255,255,0.04);
}

.btn-lg   { padding: 14px 30px; font-size: 15px; }
.btn-sm   { padding: 8px 16px; font-size: 12px; }
.btn-full { width: 100%; }

/* ================================================================
   Navigation
   ================================================================ */
.nav-wrapper {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.28s, padding 0.28s, border-color 0.28s, backdrop-filter 0.28s;
  border-bottom: 1px solid transparent;
}
.nav-wrapper.scrolled {
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  padding: 13px 0;
}

.nav-container {
  max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 28px);
  display: flex; align-items: center; gap: 40px;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-gif {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #000;
  border-radius: 50%;
  border: 1.5px solid rgba(220,38,38,0.45);
  box-shadow: 0 0 12px rgba(220,38,38,0.25);
  image-rendering: auto;
  -webkit-image-rendering: auto;
}
.nav-brand {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.logo-ox    { color: var(--white); }
.logo-rest  { color: #ffffff; font-weight: 400; }

.nav-links { display: flex; gap: 34px; margin-left: auto; }
.nav-links a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #ffffff;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  margin-left: auto; padding: 4px;
}
.nav-toggle span {
  display: block; width: 20px; height: 1.5px;
  background: #888888; border-radius: 1px; transition: 0.2s;
}

/* ================================================================
   Hero
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 88px;
}

/* Grid background */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 0%, transparent 100%);
  pointer-events: none;
}

/* Glow orbs */
.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero-glow-1 {
  width: 500px; height: 500px;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(220,38,38,0.28) 0%, transparent 70%);
}
.hero-glow-2 {
  width: 300px; height: 300px;
  top: 40%; right: 10%;
  background: radial-gradient(circle, rgba(220,38,38,0.1) 0%, transparent 70%);
}

/* Hero centered content */
.hero-content-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-inner {
  text-align: center;
  max-width: 760px;
  padding: 40px 0 60px;
}

/* Animated ox logo */
.hero-logo-wrap {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  border: 2px solid rgba(220,38,38,0.35);
  box-shadow:
    0 0 0 6px rgba(220,38,38,0.08),
    0 0 50px rgba(220,38,38,0.35),
    0 0 100px rgba(220,38,38,0.15);
  margin: 0 auto 28px;
  animation: heroFloat 5s ease-in-out infinite;
  flex-shrink: 0;
}
.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.45);
  transform-origin: center center;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* Eyebrow pill */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 6px var(--red);
  flex-shrink: 0;
}

.hero-inner h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 5.5vw, 70px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--white);
}

.hero-sub {
  font-size: 17px;
  color: #ffffff;
  line-height: 1.8;
  max-width: 540px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Capabilities Strip ─────────────────────────────────────────── */
.capabilities-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: rgba(6,6,6,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.capabilities-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.capabilities-inner::-webkit-scrollbar { display: none; }

.cap-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  flex-shrink: 0;
}
.cap-num {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.08em;
}
.cap-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
}
.cap-tag {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--red);
  background: var(--red-muted);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.cap-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}
.cap-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 0 28px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  color: #4ade80;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,0.7);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ================================================================
   Section Headers
   ================================================================ */
.section-header {
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 10px;
  color: var(--white);
}
.section-sub {
  font-size: 16px;
  color: #ffffff;
  margin-top: 8px;
}

/* ================================================================
   Glass Cards
   ================================================================ */
.glass-card {
  position: relative;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.glass-card:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-red);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}

/* Featured card */
.glass-card.featured {
  border-left: 2px solid var(--red);
  background: rgba(220,38,38,0.04);
}
.glass-card.featured:hover {
  box-shadow: var(--shadow-red-lg);
  background: rgba(220,38,38,0.07);
}

/* Card inner padding */
.card-inner {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

/* Card glow (featured only) */
.card-glow {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-rw);
  opacity: 0.7;
}

/* Card top row */
.card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.svc-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.card-top h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
}

.glass-card p {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.75;
  flex: 1;
}

/* Service list */
.svc-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 2px 0;
}
.svc-list li {
  font-size: 13px;
  color: #ffffff;
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.svc-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 12px;
  top: 0;
}

/* ================================================================
   Services Section
   ================================================================ */
.services {
  padding: clamp(64px, 10vw, 120px) 0;
  border-top: 1px solid var(--border);
}

.service-pillar {
  margin-bottom: 72px;
}
.service-pillar:last-child { margin-bottom: 0; }

.pillar-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.pillar-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pillar-header h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
}
.pillar-header > p {
  font-size: 14px;
  color: #ffffff;
  margin-left: auto;
}

/* Badge */
.badge {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.badge-new {
  background: var(--red);
  color: #fff;
}

/* Card grids */
.cards-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.cards-grid.two-col  { grid-template-columns: 1fr 1fr; }
.cards-grid.four-col { grid-template-columns: repeat(4, 1fr); }

.cards-grid .glass-card {
  border-radius: 0;
  border: none;
}
.cards-grid .glass-card:hover {
  transform: none;
  z-index: 1;
}

/* ================================================================
   About Section
   ================================================================ */
.about {
  padding: clamp(64px, 10vw, 120px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about-content h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--white);
}
.about-lead {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
}
.about-content p {
  font-size: 15px;
  color: #ffffff;
  line-height: 1.85;
}

/* Stats */
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.stat-card {
  border-radius: 0;
  border: none;
}
.stat-card .card-inner {
  gap: 6px;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
  display: block;
}
.stat-label {
  font-size: 13px;
  color: #ffffff;
  line-height: 1.4;
}

/* ================================================================
   FAQ Section
   ================================================================ */
.faq {
  padding: clamp(64px, 10vw, 120px) 0;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.faq-item:last-child { border-bottom: none; }
.faq-item.open { background: rgba(255,255,255,0.02); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--white);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--white); }
.faq-question > span:first-child {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

/* + / × icon */
.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.2s;
}
.faq-icon::before {
  width: 14px; height: 1.5px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 1.5px; height: 14px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item.open .faq-icon::before { background: var(--red); }
.faq-item.open .faq-icon::after  { background: var(--red); transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer p {
  padding: 0 28px 22px;
  font-size: 14px;
  color: #ffffff;
  line-height: 1.8;
}

/* ================================================================
   Contact Section
   ================================================================ */
.contact {
  padding: clamp(64px, 10vw, 120px) 0;
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: start;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-content h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--white);
}
.contact-content p {
  font-size: 15px;
  color: #ffffff;
  line-height: 1.85;
}
.contact-email {
  color: #ffffff !important;
  font-size: 14px !important;
  margin-top: 8px;
}
.contact-email a {
  color: #ffffff;
  border-bottom: 1px solid var(--border-hover);
  padding-bottom: 1px;
  transition: color var(--transition), border-color var(--transition);
}
.contact-email a:hover { color: var(--white); border-color: var(--white); }

/* Contact form */
.contact-form.glass-card .card-inner {
  gap: 18px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(220,38,38,0.5);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
  background: rgba(255,255,255,0.07);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #666666; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath stroke='%23555' stroke-width='1.5' fill='none' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.form-group select option { background: #1a1a1a; color: #ffffff; }
.form-group select optgroup { background: #111111; color: #f43f3f; font-style: normal; }
.form-group textarea { resize: vertical; min-height: 110px; }

/* Form feedback states */
.form-feedback {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.6;
}
.form-feedback[hidden] { display: none; }
.form-feedback strong { display: block; margin-bottom: 2px; font-family: var(--font-head); }
.form-feedback p { margin: 0; }
.feedback-icon {
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.form-success {
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: #4ade80;
}
.form-success p { color: #a3e4bc; }
.form-success a { color: #4ade80; }
.form-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #f87171;
}
.form-error p { color: #fca5a5; }
.form-error a { color: #f87171; }

/* ================================================================
   Footer
   ================================================================ */
.footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo-link { width: fit-content; }
.footer-brand p { font-size: 13px; color: #ffffff; line-height: 1.8; max-width: 230px; }

.footer-col h5 {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a  { font-size: 13px; color: #ffffff; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-col p  { font-size: 13px; color: #ffffff; line-height: 1.75; margin-bottom: 14px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: #ffffff; letter-spacing: 0.02em; }

/* ================================================================
   Ox Bot Army Section
   ================================================================ */
.bots {
  padding: clamp(64px, 10vw, 120px) 0;
  border-top: 1px solid var(--border);
}

.bot-product {
  margin-bottom: 80px;
}

.bot-product-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.bot-product-head h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
}

.bot-product-desc {
  font-size: 15px;
  color: #ffffff;
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 14px;
}

.bot-feature-list {
  margin-bottom: 32px;
}

/* Live badge (green — product is active) */
.badge-live {
  background: #16a34a;
  color: #dcfce7;
}

/* Pricing grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pricing-grid.four-tier {
  grid-template-columns: repeat(4, 1fr);
}

.tier-card {
  position: relative;
}

.tier-card .card-inner {
  gap: 14px;
}

.tier-card .svc-list {
  flex: 1;
}

.tier-label {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 3px;
  line-height: 1;
  margin: 2px 0;
}

.price-amount {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--white);
}

.price-period {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  opacity: 0.55;
}

.tier-limit {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f43f3f;
  flex: none !important;
}

.tier-popular-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 4px 9px;
  border-radius: 4px;
}

/* Analyzer app CTA */
.bot-app-cta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.bot-app-cta p {
  font-size: 13px;
  color: #ffffff;
  margin: 0;
}

/* Custom services row */
.bot-custom {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}

.bot-custom-header {
  margin-bottom: 28px;
}

.bot-custom-header h3 {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 8px;
}

.bot-custom-header p {
  font-size: 15px;
  color: #ffffff;
  line-height: 1.75;
  max-width: 580px;
}

.cards-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

/* ================================================================
   Responsive — Tablet (≤ 1024px)
   ================================================================ */
@media (max-width: 1024px) {
  .cards-grid.four-col { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 56px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid.four-tier { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   Responsive — Mobile (≤ 768px)
   ================================================================ */
@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(8,8,8,0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 20px 28px; gap: 18px;
  }
  .nav-links.open { display: flex; }
  .nav-cta    { display: none; }
  .nav-toggle { display: flex; }
  .nav-wrapper { position: relative; }
  .nav-wrapper.scrolled { position: fixed; }

  /* Hero */
  .hero-logo-wrap { width: 145px; height: 145px; }
  .hero-inner h1 { font-size: 38px; }
  .capabilities-inner { gap: 0; }
  .cap-item { padding: 0 18px; }
  .cap-status { display: none; }

  /* Services */
  .cards-grid.two-col  { grid-template-columns: 1fr; }
  .cards-grid.four-col { grid-template-columns: 1fr; }
  .cards-grid.three-col { grid-template-columns: 1fr; }
  .pillar-header { flex-wrap: wrap; }
  .pillar-header > p { margin-left: 0; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 48px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row     { grid-template-columns: 1fr; }
}

/* ================================================================
   Responsive — Small Tablet (≤ 580px)
   ================================================================ */
@media (max-width: 580px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid.four-tier { grid-template-columns: 1fr; }
  .card-inner { padding: 22px; }
  .bot-product-head { flex-wrap: wrap; }
}

/* ================================================================
   Responsive — Small Mobile (≤ 480px)
   ================================================================ */
@media (max-width: 480px) {
  .hero { padding-top: 80px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form.glass-card .card-inner { padding: 22px; }
  .cap-name { display: none; }
}
