/*
Theme Name:  Uncharted Vision
Theme URI:   https://unchartedvision.com
Author:      Uncharted Vision
Description: Custom WordPress theme for Uncharted Vision — AI-powered web development agency.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: unchartedvision
*/

/* ─── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ─── Design Tokens ────────────────────────────────────────── */
:root {
  --bg-base:      #0A0A0F;
  --bg-elevated:  #13131A;
  --bg-subtle:    #1C1C26;
  --text-primary: #F5F5F7;
  --text-muted:   #9B9BA6;
  --accent:       #5B7CFF;
  --accent-alt:   #00D4A0;
  --border:       rgba(255,255,255,0.08);
  --radius:       12px;
  --section-py:   140px;
  --max-w:        1200px;
}

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::-webkit-scrollbar { width: 0; background: transparent; }

/* ─── Focus rings ──────────────────────────────────────────── */
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ─── Animations ───────────────────────────────────────────── */
@keyframes aurora {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91,124,255,0); }
  50%       { box-shadow: 0 0 40px 8px rgba(91,124,255,0.25); }
}

@keyframes dash {
  to { stroke-dashoffset: 0; }
}

@keyframes node-pulse {
  0%, 100% { opacity: 0.9; r: 4; }
  50%       { opacity: 0.4; r: 6; }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

@keyframes stagger-in {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: none; }
}

/* ─── Reveal utility ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

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

.section {
  padding: var(--section-py) 24px;
  position: relative;
  overflow: hidden;
}

/* ─── Typography ───────────────────────────────────────────── */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow-alt { color: var(--accent-alt); }

h1, .h1 {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text-primary);
  margin-top: 16px;
}

h2, .h2 {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-top: 16px;
}

h3, .h3 {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary);
  margin-top: 12px;
}

.body-lg {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 20px;
}

.body-md {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 16px;
}

.body-sm {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 12px;
}

.text-accent  { color: var(--accent); }
.text-alt     { color: var(--accent-alt); }
.text-primary { color: var(--text-primary); }
.text-muted   { color: var(--text-muted); }

/* ─── Shimmer text ─────────────────────────────────────────── */
.shimmer-text {
  background: linear-gradient(90deg, var(--accent), #a0b4ff, var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(91,124,255,0.35);
}

.btn-primary-alt {
  background: var(--accent-alt);
  color: #0A0A0F;
}
.btn-primary-alt:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,212,160,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.18);
}

.btn-pulse {
  animation: pulse-glow 2.4s ease-in-out infinite;
}

/* ─── Text link ────────────────────────────────────────────── */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  margin-top: 28px;
  transition: gap 0.15s, opacity 0.15s;
}
.text-link:hover { gap: 10px; opacity: 0.8; }
.text-link-alt   { color: var(--accent-alt); }

/* ─── Glow utility ─────────────────────────────────────────── */
.accent-glow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--accent) 0%, transparent 70%);
  opacity: 0.12;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.accent-glow-alt {
  background: radial-gradient(circle at center, var(--accent-alt) 0%, transparent 70%);
}

/* ─── Dot grid ─────────────────────────────────────────────── */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* ─────────────────────────────────────────────────────────── */
/*  NAVIGATION                                                 */
/* ─────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.site-nav.scrolled {
  background: rgba(10,10,15,0.88);
  border-bottom-color: var(--border);
}
/* Gradient top line */
.site-nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-wordmark {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  padding: 9px 20px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  transition: border-color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.nav-cta:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(10,10,15,0.96);
  border-top: 1px solid var(--border);
  padding: 8px 24px 24px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 14px 0;
  font-size: 16px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.nav-mobile a:hover { color: var(--text-primary); }
.nav-mobile a:last-child { border-bottom: none; }

/* ─────────────────────────────────────────────────────────── */
/*  SECTION 1 — HERO                                          */
/* ─────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-base);
  padding-top: 64px; /* nav height */
  position: relative;
  overflow: hidden;
}

/* Aurora animated background */
.hero::after {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(91,124,255,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(123,79,255,0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 60% 80%, rgba(0,212,160,0.04) 0%, transparent 40%);
  background-size: 200% 200%;
  animation: aurora 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content { max-width: 640px; flex: 1; }

.hero-content .body-lg { max-width: 520px; }

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* Floating stat cards */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.stat-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 28px;
  min-width: 210px;
  animation: float-card 5s ease-in-out infinite;
}
.stat-card:nth-child(2) { animation-delay: 1.2s; }
.stat-card:nth-child(3) { animation-delay: 2.4s; }

.stat-value {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ─────────────────────────────────────────────────────────── */
/*  SECTION 2 — APPROACH                                      */
/* ─────────────────────────────────────────────────────────── */
.approach { background: var(--bg-base); }
.approach-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.approach-inner .body-md + .body-md { margin-top: 4px; }

/* ─────────────────────────────────────────────────────────── */
/*  SECTION 3 — THE TWO OFFERS                               */
/* ─────────────────────────────────────────────────────────── */
.offers { background: var(--bg-base); padding-top: 0; }

.offers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}

/* Gradient-border card wrapper */
.offer-card-wrap {
  border-radius: 22px;
  padding: 1px;
  background: var(--border);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.offer-card-wrap:hover {
  transform: translateY(-4px);
}
.offer-card-wrap.launchos:hover {
  background: linear-gradient(135deg, var(--accent), rgba(91,124,255,0.2));
  box-shadow: 0 24px 64px rgba(91,124,255,0.15);
}
.offer-card-wrap.incomeos:hover {
  background: linear-gradient(135deg, var(--accent-alt), rgba(0,212,160,0.2));
  box-shadow: 0 24px 64px rgba(0,212,160,0.12);
}

.offer-card {
  background: var(--bg-elevated);
  border-radius: 21px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Inner top highlight edge */
.offer-card::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  margin: -40px -40px 40px;
  border-radius: 21px 21px 0 0;
}

.checklist { margin-top: 28px; flex: 1; }

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.check-row:last-child { border-bottom: none; }

.check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.check-icon.blue { background: rgba(91,124,255,0.15); }
.check-icon.teal { background: rgba(0,212,160,0.15); }

.check-row span {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.5;
}

.offer-card .btn { margin-top: 32px; }

/* ─────────────────────────────────────────────────────────── */
/*  SECTION 4 — WHY AI                                        */
/* ─────────────────────────────────────────────────────────── */
.why-ai { background: var(--bg-base); }

.why-ai-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.why-ai-text { flex: 1; min-width: 280px; }
.why-ai-visual { flex-shrink: 0; }

/* Constellation SVG animations */
.constellation-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: dash 3s linear forwards;
}
.constellation-node {
  animation: node-pulse 3s ease-in-out infinite;
}
.constellation-node:nth-child(odd)  { animation-delay: 0.5s; }
.constellation-node:nth-child(even) { animation-delay: 1.2s; }

/* ─────────────────────────────────────────────────────────── */
/*  SECTION 5 — BUILT FOR GROWTH                             */
/* ─────────────────────────────────────────────────────────── */
.growth { background: var(--bg-elevated); }
.growth-inner { text-align: center; }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}
.pill-row:first-of-type { margin-top: 40px; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.18s;
  cursor: default;
}
.pill.blue:hover {
  background: rgba(91,124,255,0.1);
  border-color: var(--accent);
  color: var(--accent);
}
.pill.teal:hover {
  background: rgba(0,212,160,0.1);
  border-color: var(--accent-alt);
  color: var(--accent-alt);
}

.growth-btns {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────────────── */
/*  SECTION 6 — PHILOSOPHY                                    */
/* ─────────────────────────────────────────────────────────── */
.philosophy { background: var(--bg-base); }
.philosophy-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-lines { margin-top: 40px; }
.philosophy-line {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 2.4;
}
.philosophy-line.strong {
  color: var(--text-primary);
  font-weight: 500;
}
.philosophy-emphasis {
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 24px;
}

/* ─────────────────────────────────────────────────────────── */
/*  SECTION 7 — QUOTE                                         */
/* ─────────────────────────────────────────────────────────── */
.quote-section {
  background: var(--bg-elevated);
  padding: clamp(80px, 10vw, 120px) 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.quote-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-family: 'Inter Tight', serif;
  font-size: 280px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.quote-text {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* ─────────────────────────────────────────────────────────── */
/*  SECTION 8 — FINAL CTA                                     */
/* ─────────────────────────────────────────────────────────── */
.final-cta {
  background: var(--bg-base);
  text-align: center;
}

/* ─────────────────────────────────────────────────────────── */
/*  FOOTER                                                    */
/* ─────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 64px 24px 40px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-brand { max-width: 280px; }

.footer-wordmark {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--accent), #a0b4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  transition: border-color 0.15s, color 0.15s;
}
.social-icon:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text-primary);
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────────────────── */
/*  RESPONSIVE — TABLET & MOBILE                             */
/* ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --section-py: 100px; }

  .offers-grid { grid-template-columns: 1fr; }
  .why-ai-inner { flex-direction: column; gap: 48px; }
  .why-ai-visual { order: -1; }
  .why-ai-visual svg { width: 100%; max-width: 440px; height: auto; }
}

@media (max-width: 768px) {
  :root { --section-py: 80px; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero-inner { flex-direction: column; padding: 60px 24px 80px; }
  .hero-stats  { flex-direction: row; flex-wrap: wrap; }
  .stat-card   { min-width: 140px; flex: 1; }
  .stat-value  { font-size: 24px; }

  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

  .footer-inner { flex-direction: column; gap: 48px; }
  .footer-cols  { gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; }
  .stat-card  { width: 100%; }
  .quote-mark { font-size: 160px; }
}
