/* ─────────────────────────────────────────
   SPONSORLY · style.css
   Aesthetic: Refined midnight editorial
   ───────────────────────────────────────── */

:root {
  --midnight: #0b0f1a;
  --deep: #111827;
  --surface: #151d2e;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.05);
  --teal: #00d4aa;
  --teal-dim: rgba(0, 212, 170, 0.15);
  --teal-glow: rgba(0, 212, 170, 0.3);
  --white: #ffffff;
  --off-white: #e8ecf4;
  --muted: #8892a4;
  --muted-light: #6b7585;
  --green: #10b981;
  --green-bg: rgba(16, 185, 129, 0.12);
  --amber: #f59e0b;
  --amber-bg: rgba(245, 158, 11, 0.10);
  --red: #ef4444;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Sora', -apple-system, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--midnight);
  color: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── UTILS ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.hide-mobile { display: inline; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 32px; height: 32px;
  background: var(--teal);
  color: var(--midnight);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text { color: var(--white); }

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

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}

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

.nav-cta {
  background: var(--teal) !important;
  color: var(--midnight) !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  transition: opacity var(--transition) !important;
}

.nav-cta:hover { opacity: 0.88 !important; }

/* ── HERO ── */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}

.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #00d4aa, transparent 70%);
  top: -200px; left: -100px;
  animation: floatShape 20s ease-in-out infinite;
}

.shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #3b82f6, transparent 70%);
  top: 100px; right: -100px;
  animation: floatShape 25s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  bottom: 0; left: 40%;
  animation: floatShape 18s ease-in-out infinite 5s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-dim);
  border: 1px solid var(--teal-glow);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease both;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-headline em {
  font-style: italic;
  color: var(--teal);
  font-family: var(--font-display);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--muted);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 44px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

/* ── SEARCH ── */
.search-wrap {
  max-width: 620px;
  margin: 0 auto 48px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 0 20px;
  gap: 12px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.search-box:focus-within {
  border-color: var(--teal);
  background: rgba(0, 212, 170, 0.04);
  box-shadow: 0 0 0 4px var(--teal-dim), 0 8px 32px rgba(0,0,0,0.3);
}

.search-icon {
  color: var(--muted);
  flex-shrink: 0;
  transition: color var(--transition);
}

.search-box:focus-within .search-icon { color: var(--teal); }

.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  padding: 18px 0;
  caret-color: var(--teal);
}

.search-input::placeholder { color: var(--muted-light); }

.clear-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
  flex-shrink: 0;
}

.clear-btn:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.clear-btn.visible { display: flex; }

.search-hint {
  font-size: 0.8rem;
  color: var(--muted-light);
  margin-top: 10px;
  letter-spacing: 0.01em;
}

/* ── STATS ── */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── RESULTS ── */
.results-section {
  padding: 0 0 60px;
  min-height: 0;
}

.results-section.has-results {
  padding: 20px 0 80px;
}

#results-container { width: 100%; }

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.results-count {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.results-count strong { color: var(--teal); }

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  animation: cardIn 0.3s ease both;
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), rgba(0,212,170,0));
  opacity: 0;
  transition: opacity var(--transition);
}

.result-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.result-card:hover::before { opacity: 1; }

@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.card-company {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  flex: 1;
}

.card-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--green-bg);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.card-badge svg { flex-shrink: 0; }

.card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--off-white);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
}

/* No results */
.no-results {
  text-align: center;
  padding: 56px 24px;
  animation: fadeInUp 0.4s ease both;
}

.no-results-icon {
  width: 60px; height: 60px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--red);
}

.no-results h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.no-results p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto 20px;
}

.no-results-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}

/* ── SECTION COMMON ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 32px;
}

/* ── HOW SECTION ── */
.how-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.how-section .section-title { text-align: center; }
.how-section .section-label { text-align: center; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  border-color: rgba(0, 212, 170, 0.25);
  box-shadow: var(--shadow);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--teal);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── ABOUT SECTION ── */
.about-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--midnight) 0%, var(--deep) 100%);
}

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

.about-text .section-title { margin-bottom: 16px; }

.about-text p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-text strong { color: var(--off-white); font-weight: 600; }

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.info-card {
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.info-green {
  background: var(--green-bg);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.info-amber {
  background: var(--amber-bg);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.info-card-title {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--white);
  margin-bottom: 10px;
}

.info-green .info-card-title { color: var(--green); }
.info-amber .info-card-title { color: var(--amber); }

.info-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-card li {
  font-size: 0.85rem;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.info-card li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: inherit;
  opacity: 0.5;
}

/* Visual Card */
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  width: 100%;
  max-width: 320px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.visual-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(0,212,170,0.3), transparent 60%);
  z-index: -1;
}

.vc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}

.vc-dot.green { background: var(--green); box-shadow: 0 0 8px var(--green); }

.vc-company {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.vc-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.vc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.vc-tag {
  background: var(--teal-dim);
  border: 1px solid rgba(0, 212, 170, 0.2);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
}

.vc-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── TRUST SECTION ── */
.trust-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  background: rgba(0, 212, 170, 0.02);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.trust-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.trust-icon {
  width: 44px; height: 44px;
  background: var(--teal-dim);
  border: 1px solid var(--teal-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.trust-item p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--midnight);
}

.footer-inner {
  text-align: center;
}

.footer .logo-mark {
  display: inline-flex;
  width: 28px; height: 28px;
  font-size: 0.85rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--muted-light);
  margin-bottom: 8px;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(107, 117, 133, 0.7);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── LOADING STATE ── */
.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .hide-mobile { display: none; }

  .nav-links a:not(.nav-cta) { display: none; }

  .hero { padding: 100px 0 60px; min-height: auto; }

  .stats-row {
    gap: 20px;
    flex-wrap: wrap;
  }

  .stat-divider { display: none; }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .about-visual { display: none; }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .search-box { border-radius: 16px; }
  .search-input { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 1.85rem; }
  .badge { font-size: 0.72rem; }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--midnight); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ── SELECTION ── */
::selection { background: var(--teal-dim); color: var(--teal); }
