/* ─── The Operator Collective — Apple Dark Design System ─── */

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

:root {
  --bg: #000000;
  --bg-elevated: #0a0a0a;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);

  --text: #f5f5f7;
  --text-muted: #86868b;
  --text-secondary: #a1a1a6;

  --accent: #f59e0b;
  --accent-hover: #fbbf24;
  --accent-glow: rgba(245, 158, 11, 0.15);

  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
  font-weight: 700;
}

a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ─── Navigation ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  height: 48px;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
}

.logo {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  opacity: 0.92;
  transition: opacity 0.3s;
}

.logo:hover { opacity: 1; color: var(--text); }

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 400;
  padding: 8px 12px;
  transition: color 0.3s;
  text-decoration: none;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  color: var(--accent) !important;
  font-weight: 500 !important;
}

.nav-cta:hover { color: var(--accent-hover) !important; }

.mobile-menu {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: -8s;
  opacity: 0.15;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(10px, -30px) scale(1.02); }
}

.hero-content { position: relative; z-index: 2; }

.hero-overline {
  font-size: 17px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hero h1 {
  font-size: 80px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #f5f5f7 0%, #86868b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 21px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 48px;
  font-weight: 400;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 980px;
  font-weight: 400;
  font-size: 17px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  font-weight: 500;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  padding: 12px 0;
  font-weight: 400;
}

.btn-secondary:hover { color: var(--accent-hover); }

.btn-secondary svg { transition: transform 0.3s; }
.btn-secondary:hover svg { transform: translateX(3px); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #000;
}

.btn-sm { padding: 8px 18px; font-size: 14px; }

/* ─── Sections ─── */
section {
  padding: 120px 0;
  position: relative;
}

.section-divider {
  height: 1px;
  background: var(--border);
  max-width: 1080px;
  margin: 0 auto;
}

.section-overline {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.section-title {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 8px;
}

.section-title em {
  font-style: normal;
  color: var(--accent);
}

.section-subtitle {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-body {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
}

.text-center { text-align: center; }
.text-center .section-body { margin: 0 auto; }

/* ─── Feature Cards ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.feature-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover { transform: translateY(-4px); }

.feature-card .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-card .icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Stats Row ─── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 64px;
}

.stat-item {
  background: var(--surface);
  padding: 40px 24px;
  text-align: center;
}

.stat-value {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.price-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.price-card:hover { transform: translateY(-4px); }

.price-card.featured {
  background: var(--surface-2);
  border: 1px solid var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 980px;
  letter-spacing: 0.02em;
}

.price-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.price {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 12px 0;
}

.price small {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-muted);
}

.price-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.price-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-features li svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* ─── Steps ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
  counter-reset: step;
}

.step {
  text-align: center;
  counter-increment: step;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
  position: relative;
  background: var(--surface);
}

.step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Blog Cards ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.blog-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 36px 28px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.blog-card:hover { transform: translateY(-4px); color: inherit; }

.blog-card .tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.blog-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── CTA Section ─── */
.cta-section {
  text-align: center;
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
}

.cta-section .container { position: relative; z-index: 2; }

.cta-section h2 {
  font-size: 48px;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 21px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ─── Footer ─── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  color: var(--text-muted);
  font-size: 12px;
}

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

.footer-brand { font-size: 12px; line-height: 1.7; }
.footer-brand .logo { font-size: 14px; margin-bottom: 8px; display: block; }

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  padding: 3px 0;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

/* ─── Scroll Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero h1 { font-size: 44px; }
  .hero p { font-size: 17px; }
  .section-title { font-size: 36px; }
  .section-subtitle { font-size: 21px; }
  .feature-grid, .pricing-grid, .blog-grid, .steps { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .nav-links { display: none; }
  .mobile-menu { display: block; }
  section { padding: 80px 0; }
  .hero { min-height: auto; padding: 140px 24px 80px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .stats-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}
