/* ============================================================
   OPERATOR LABS — Agency Website Styles
   Color palette: Deep navy + electric orange + clean white
   ============================================================ */

:root {
  --navy:       #0a1628;
  --navy-light: #112240;
  --navy-mid:   #1a3a5c;
  --orange:     #f97316;
  --orange-dark:#ea6c0a;
  --white:      #ffffff;
  --off-white:  #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-300:   #cbd5e1;
  --gray-500:   #64748b;
  --gray-700:   #334155;
  --text:       #1e293b;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.18);
  --max-w:      1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ── Utilities ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 660px;
  margin: 16px 0 48px;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(249,115,22,0.35); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover { background: var(--gray-100); }

.btn-sm  { font-size: 14px; padding: 10px 20px; }
.btn-lg  { font-size: 16px; padding: 16px 32px; }
.btn-xl  { font-size: 18px; padding: 20px 48px; }
.btn-full { width: 100%; }


/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.2s;
}
.header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.3); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 36px; height: 36px;
  background: var(--orange);
  color: var(--white);
  font-weight: 900;
  font-size: 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.3px;
}

.header-nav {
  display: flex;
  gap: 32px;
}
.header-nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.header-nav a:hover { color: var(--white); }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 69px;
  left: 0; right: 0;
  background: var(--navy-light);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px 28px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav-link {
  display: block;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.15s;
}
.mobile-nav-link:hover { color: var(--white); }

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.2s;
}
.mobile-nav-overlay.open { opacity: 1; }

/* Active nav link */
.header-nav a.active { color: var(--orange); }

@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .mobile-nav-overlay { display: block; }
}

/* Mobile floating CTA */
.mobile-cta-fab {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  z-index: 97;
  box-shadow: 0 8px 32px rgba(249,115,22,0.45);
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}
.mobile-cta-fab:hover { background: var(--orange-dark); transform: translateX(-50%) translateY(-2px); }

@media (max-width: 768px) {
  .mobile-cta-fab { display: block; }
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--navy);
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(249,115,22,0.15);
  color: var(--orange);
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.hero-headline {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.highlight { color: var(--orange); }

.hero-sub {
  font-size: 20px;
  color: rgba(255,255,255,0.65);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero .btn-ghost {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.25);
}
.hero .btn-ghost:hover { background: rgba(255,255,255,0.1); color: white; border-color: rgba(255,255,255,0.5); }

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 32px 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  max-width: 740px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
}

.trust-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -1px;
  line-height: 1;
}

.trust-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
  text-align: center;
}

.trust-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
}

@media (max-width: 600px) {
  .trust-divider { display: none; }
  .trust-item { padding: 16px 20px; }
  .hero-trust { gap: 0; }
}


/* ============================================================
   PROBLEM
   ============================================================ */
.problem {
  padding: 100px 0;
  background: var(--off-white);
}

.problem h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.8px;
  max-width: 620px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.problem-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.problem-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.problem-card p {
  color: var(--gray-500);
  line-height: 1.65;
}


/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 100px 0;
  background: var(--white);
}

.services h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.8px;
  max-width: 620px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover { box-shadow: var(--shadow-lg); border-color: var(--orange); }

.service-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.service-card p {
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 14px;
  color: var(--gray-700);
  padding-left: 20px;
  position: relative;
}
.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 100px 0;
  background: var(--navy);
}

.how-it-works .section-label { color: rgba(249,115,22,0.9); }

.how-it-works h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.8px;
  margin-bottom: 60px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
}

.step {
  display: flex;
  gap: 32px;
  padding-bottom: 48px;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: rgba(249,115,22,0.25);
}

.step-num {
  width: 42px; height: 42px;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  margin-top: 8px;
}

.step-content p {
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}


/* ============================================================
   PROOF
   ============================================================ */
.proof {
  padding: 100px 0;
  background: var(--off-white);
}

.proof h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.8px;
  margin-bottom: 48px;
}

.case-study {
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 2fr;
}

@media (max-width: 768px) {
  .case-study { grid-template-columns: 1fr; }
}

.case-study-stat-block {
  background: var(--orange);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.big-stat { display: flex; flex-direction: column; }

.stat-num {
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -2px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  margin-top: 4px;
}

.case-study-detail {
  padding: 48px 48px;
}

.case-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.case-study-detail h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.case-study-detail p {
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 16px;
}

.case-metrics {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.case-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-metric strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-metric span {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
}


/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 100px 0;
  background: var(--white);
}

.pricing h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.8px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .pricing-cards { grid-template-columns: 1fr; }
}

.pricing-card {
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
}

.pricing-card-featured {
  background: var(--navy);
  border-color: var(--navy);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.pricing-card-featured .pricing-tier { color: rgba(255,255,255,0.55); }

.pricing-price {
  font-size: 48px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -2px;
  margin-bottom: 16px;
  line-height: 1;
}

.pricing-price span {
  font-size: 20px;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0;
}

.pricing-card-featured .pricing-price { color: var(--white); }
.pricing-card-featured .pricing-price span { color: rgba(255,255,255,0.5); }

.pricing-desc {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 28px;
  line-height: 1.6;
}

.pricing-card-featured .pricing-desc { color: rgba(255,255,255,0.6); }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 15px;
  color: var(--gray-700);
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.pricing-card-featured .pricing-features li { color: rgba(255,255,255,0.8); }

.pricing-note {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
  text-align: center;
  line-height: 1.5;
}

.pricing-guarantee {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  margin-top: 32px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.guarantee-icon { font-size: 32px; flex-shrink: 0; }

.guarantee-text {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.6;
}

.guarantee-text strong { color: var(--navy); }


/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 100px 0;
  background: var(--off-white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
}

.about-text h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-300);
}

.about-detail {
  display: flex;
  gap: 16px;
  font-size: 15px;
}

.about-detail strong {
  color: var(--navy);
  font-weight: 700;
  min-width: 110px;
}

.about-detail span { color: var(--gray-500); }

.about-cta-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.about-cta-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.about-cta-box p {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.about-cta-box .btn-ghost {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.2);
}

.about-cta-box .btn-ghost:hover { background: rgba(255,255,255,0.08); color: white; }

.about-cta-note {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}


/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 100px 0;
  background: var(--white);
}

.faq h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.8px;
  margin-bottom: 48px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 32px 48px;
}

@media (max-width: 500px) {
  .faq-grid { grid-template-columns: 1fr; }
}

.faq-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.faq-item p {
  color: var(--gray-500);
  line-height: 1.7;
  font-size: 15px;
}


/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  padding: 100px 0;
  background: var(--navy);
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.final-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.final-sub {
  margin-top: 20px !important;
  font-size: 15px !important;
  color: rgba(255,255,255,0.45) !important;
}

.final-sub a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}
.final-sub a:hover { color: var(--orange); }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #060e1a;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer .logo-text { font-size: 16px; }

.footer-info {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
}

.footer-info a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.footer-info a:hover { color: var(--orange); }

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.2);
}

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; text-align: center; }
}


/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
