/* ═══ SPARKED CORPORATE SITE — GLOBAL STYLES ═══ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&display=swap');

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

:root {
  --bg-primary: #0A0A0A;
  --bg-secondary: #111111;
  --bg-tertiary: #1A1A1A;
  --bg-card: #151515;
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0B0;
  --text-muted: #707070;
  --accent: #E74C3C;
  --accent-hover: #FF5A4A;
  --gold: #D4A843;
  --gold-dim: rgba(212, 168, 67, 0.15);
  --navy: #2C3E50;
  --success: #27AE60;
  --border: rgba(255,255,255,0.06);
  --glow: rgba(231, 76, 60, 0.3);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ═══ NAV ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 40px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
nav.scrolled { background: rgba(10, 10, 10, 0.95); box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.nav-logo { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.5px; color: var(--text-primary); text-decoration: none; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none; font-size: 0.9rem;
  font-weight: 400; letter-spacing: 0.3px; transition: color 0.3s ease; position: relative;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--text-primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--gold); transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--accent) !important; color: var(--text-primary) !important;
  padding: 10px 24px !important; border-radius: 6px; font-weight: 500 !important;
  transition: all 0.3s ease !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; transform: translateY(-1px); box-shadow: 0 4px 20px var(--glow); }
.nav-cta::after { display: none !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--text-primary); transition: all 0.3s ease; }

/* ═══ SECTIONS ═══ */
section { padding: 120px 40px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block;
}
.section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 800;
  line-height: 1.15; margin-bottom: 24px; letter-spacing: -1px;
}
.section-subtitle { font-size: 1.15rem; color: var(--text-secondary); max-width: 640px; line-height: 1.8; }

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; padding-top: 72px; overflow: hidden;
}
.hero-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(231, 76, 60, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(212, 168, 67, 0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; background: var(--gold-dim);
  border: 1px solid rgba(212, 168, 67, 0.25); border-radius: 100px;
  font-size: 0.8rem; font-weight: 500; color: var(--gold);
  margin-bottom: 32px; letter-spacing: 0.5px;
}
.hero-tag::before {
  content: ''; width: 6px; height: 6px; background: var(--gold);
  border-radius: 50%; animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem); font-weight: 800;
  line-height: 1.08; letter-spacing: -2px; margin-bottom: 28px;
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-subtitle {
  font-family: 'Source Serif 4', Georgia, serif; font-size: 1.25rem;
  color: var(--text-secondary); line-height: 1.8; margin-bottom: 44px; max-width: 580px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px; background: var(--accent); color: var(--text-primary);
  border: none; border-radius: 8px; font-family: 'Outfit', sans-serif;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: all 0.3s ease; text-decoration: none;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 30px var(--glow); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px; background: transparent; color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 8px;
  font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 500;
  cursor: pointer; transition: all 0.3s ease; text-decoration: none;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.04); }

/* ═══ CREDIBILITY ═══ */
.credibility {
  padding: 40px; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); background: var(--bg-secondary);
}
.credibility-inner {
  max-width: 1200px; margin: 0 auto; display: flex;
  justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap;
}
.credibility-item {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-muted); white-space: nowrap;
}

/* ═══ CARDS ═══ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 60px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.card {
  padding: 36px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; transition: all 0.4s ease;
}
.card:hover { border-color: rgba(212, 168, 67, 0.2); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.card-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: var(--gold-dim); border-radius: 10px; margin-bottom: 20px; font-size: 1.4rem;
}
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.3px; }
.card p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }
.card-gold { border-top: 3px solid var(--gold); }

/* ═══ SERVE CARDS ═══ */
.serve-card {
  text-align: center; padding: 40px 24px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 12px; transition: all 0.3s ease;
}
.serve-card:hover { border-color: rgba(212, 168, 67, 0.15); }
.serve-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.serve-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.serve-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ═══ WORKFLOW ═══ */
.workflow-step {
  display: flex; gap: 20px; padding: 28px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 12px; transition: all 0.3s ease;
}
.workflow-step:hover { border-color: rgba(212, 168, 67, 0.2); }
.step-number {
  flex-shrink: 0; width: 40px; height: 40px; display: flex;
  align-items: center; justify-content: center; background: var(--gold-dim);
  color: var(--gold); font-weight: 700; font-size: 0.9rem; border-radius: 8px;
}
.step-content h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.step-content p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

/* ═══ MIMIC DEMO ═══ */
.demo-container {
  margin-top: 60px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; position: relative;
}
.demo-header {
  padding: 20px 24px; display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border); background: rgba(0,0,0,0.3);
}
.demo-avatar {
  width: 40px; height: 40px; display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; background: var(--gold-dim);
  border-radius: 10px;
}
.demo-info h3 { font-size: 1rem; font-weight: 600; }
.demo-info h3 .badge {
  font-size: 0.65rem; padding: 2px 8px; background: var(--gold-dim);
  color: var(--gold); border-radius: 4px; margin-left: 8px; letter-spacing: 0.5px;
  font-weight: 600; vertical-align: middle;
}
.demo-info p { font-size: 0.75rem; color: var(--text-muted); }
.status-dot {
  width: 8px; height: 8px; background: var(--success); border-radius: 50%;
  margin-left: auto; animation: pulse-dot 2s ease infinite;
}
.demo-messages { padding: 24px; min-height: 350px; max-height: 450px; overflow-y: auto; }
.demo-messages::-webkit-scrollbar { width: 4px; }
.demo-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.msg {
  display: flex; gap: 12px; margin-bottom: 16px; max-width: 85%;
  animation: msgFadeIn 0.3s ease;
}
@keyframes msgFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.msg.user { margin-left: auto; flex-direction: row-reverse; }
.msg-avatar {
  flex-shrink: 0; width: 32px; height: 32px; display: flex;
  align-items: center; justify-content: center; font-size: 0.9rem;
  background: var(--bg-tertiary); border-radius: 8px;
}
.msg.mimic .msg-avatar { background: var(--gold-dim); }
.msg-bubble {
  padding: 14px 18px; border-radius: 12px; font-size: 0.9rem; line-height: 1.6;
}
.msg.user .msg-bubble { background: var(--navy); border-bottom-right-radius: 4px; }
.msg.mimic .msg-bubble { background: var(--bg-tertiary); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg.system .msg-bubble {
  background: rgba(39, 174, 96, 0.1); border: 1px solid rgba(39, 174, 96, 0.2);
  color: var(--success); font-size: 0.85rem; margin: 0 auto; max-width: fit-content;
}
.msg.system { max-width: 100%; }
.msg-bubble .highlight { color: var(--gold); font-weight: 600; }
.msg-bubble .context-tag {
  display: inline-block; padding: 2px 10px; background: rgba(231, 76, 60, 0.15);
  color: var(--accent); border-radius: 100px; font-size: 0.8rem; font-weight: 500;
  margin: 0 2px;
}
.typing-indicator { display: flex; gap: 4px; padding: 4px 0; }
.typing-indicator span {
  width: 6px; height: 6px; background: var(--text-muted);
  border-radius: 50%; animation: typingBounce 1.4s ease infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }
.demo-input {
  padding: 16px 24px; border-top: 1px solid var(--border);
  display: flex; gap: 12px; background: rgba(0,0,0,0.2);
}
.demo-input input {
  flex: 1; padding: 12px 16px; background: var(--bg-tertiary);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text-muted); font-family: 'Outfit', sans-serif; font-size: 0.9rem;
}
.demo-input button {
  padding: 12px 20px; background: var(--accent); color: white;
  border: none; border-radius: 8px; font-size: 1.1rem; cursor: pointer;
  transition: all 0.3s ease;
}
.demo-controls {
  padding: 16px 24px; display: flex; gap: 12px; justify-content: center;
  border-top: 1px solid var(--border);
}
.control-btn {
  padding: 10px 24px; background: var(--bg-tertiary); color: var(--text-secondary);
  border: 1px solid var(--border); border-radius: 8px; font-family: 'Outfit', sans-serif;
  font-size: 0.85rem; cursor: pointer; transition: all 0.3s ease;
}
.control-btn:hover { border-color: var(--gold); color: var(--text-primary); }

/* ═══ FORGE DEMO ═══ */
.forge-container {
  margin-top: 40px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.forge-header {
  padding: 20px 24px; display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border); background: rgba(0,0,0,0.3);
}
.forge-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; }
.forge-panel {
  padding: 24px; border-right: 1px solid var(--border);
}
.forge-panel:last-child { border-right: none; }
.forge-panel-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.forge-panel-header h3 { font-size: 0.9rem; font-weight: 600; }
.forge-panel-header .icon { font-size: 1.1rem; }
.blueprint-piece {
  padding: 14px 16px; background: var(--bg-tertiary); border: 1px solid var(--border);
  border-radius: 8px; margin-bottom: 10px; transition: all 0.4s ease;
  opacity: 0; transform: translateX(-20px);
}
.blueprint-piece.visible { opacity: 1; transform: translateX(0); }
.blueprint-piece h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.blueprint-piece p { font-size: 0.75rem; color: var(--text-muted); }
.code-line {
  font-family: 'Courier New', monospace; font-size: 0.8rem; color: var(--text-muted);
  padding: 3px 0; opacity: 0; transform: translateX(10px);
  transition: all 0.3s ease; white-space: nowrap; overflow: hidden;
}
.code-line.visible { opacity: 1; transform: translateX(0); }
.code-line .keyword { color: #c792ea; }
.code-line .string { color: #c3e88d; }
.code-line .comment { color: #546e7a; }
.code-line .function { color: #82aaff; }
.code-line .number { color: #f78c6c; }

/* ═══ TEMPLATES ═══ */
.template-chip {
  padding: 20px; text-align: center; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 10px;
  font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
  transition: all 0.3s ease;
}
.template-chip:hover { border-color: rgba(212, 168, 67, 0.2); color: var(--text-primary); }
.template-chip .t-icon { display: block; font-size: 1.5rem; margin-bottom: 8px; }

/* ═══ ROADMAP ═══ */
.roadmap-items { margin-top: 60px; display: flex; flex-direction: column; position: relative; }
.roadmap-items::before {
  content: ''; position: absolute; left: 19px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.roadmap-item { display: flex; gap: 32px; padding: 32px 0; position: relative; }
.roadmap-dot {
  flex-shrink: 0; width: 40px; height: 40px; display: flex;
  align-items: center; justify-content: center; background: var(--bg-primary);
  border: 2px solid var(--gold); border-radius: 50%; z-index: 1;
  font-size: 0.75rem; font-weight: 700; color: var(--gold);
}
.roadmap-item.active .roadmap-dot { background: var(--gold); color: var(--bg-primary); }
.roadmap-text h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.roadmap-text p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }

/* ═══ FOUNDERS ═══ */
.founder-card { padding: 40px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; }
.founder-photo {
  width: 120px; height: 120px; background: var(--bg-tertiary);
  border: 2px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; font-size: 0.7rem; color: var(--text-muted);
  letter-spacing: 1px; text-transform: uppercase;
}
.founder-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.founder-role {
  color: var(--gold); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.5px; margin-bottom: 16px; display: block;
}
.founder-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ═══ SDVOSB ═══ */
.highlight-box {
  padding: 60px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; border-left: 4px solid var(--gold); margin-bottom: 80px;
}
.highlight-box h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; }
.highlight-box p { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; max-width: 800px; }

/* ═══ MILESTONES ═══ */
.milestone {
  padding: 24px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 10px;
}
.milestone-year { font-size: 0.75rem; font-weight: 600; color: var(--gold); letter-spacing: 1px; margin-bottom: 8px; }
.milestone h4 { font-size: 0.95rem; font-weight: 600; }

/* ═══ ECO CARDS ═══ */
.eco-card h3 { color: var(--gold); }

/* ═══ CONTACT ═══ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 60px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 8px; color: var(--text-secondary); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 8px; color: var(--text-primary);
  font-family: 'Outfit', sans-serif; font-size: 0.95rem; transition: border-color 0.3s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select { appearance: none; cursor: pointer; }
.contact-info h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-detail .c-icon {
  flex-shrink: 0; width: 40px; height: 40px; display: flex;
  align-items: center; justify-content: center; background: var(--gold-dim);
  border-radius: 8px; font-size: 1.1rem;
}
.contact-detail .c-text { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }
.contact-detail .c-text strong { display: block; color: var(--text-primary); margin-bottom: 2px; }

/* ═══ CTA BANNER ═══ */
.cta-banner {
  padding: 100px 40px; text-align: center; background: var(--bg-primary);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(231, 76, 60, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; position: relative; }
.cta-banner .cta-quote { font-family: 'Source Serif 4', Georgia, serif; font-style: italic; font-size: 1.1rem; color: var(--text-muted); margin-bottom: 40px; position: relative; }

/* ═══ FOOTER ═══ */
footer { padding: 60px 40px; border-top: 1px solid var(--border); background: var(--bg-primary); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-brand { font-size: 1.2rem; font-weight: 700; }
.footer-brand span { color: var(--gold); }
.footer-tagline { font-family: 'Source Serif 4', Georgia, serif; font-style: italic; color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--text-primary); }
.footer-copy { width: 100%; text-align: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-muted); }

/* ═══ COMING SOON TAG ═══ */
.coming-soon-tag {
  display: inline-flex; padding: 6px 16px; background: var(--gold-dim);
  color: var(--gold); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; border-radius: 4px; margin-top: 8px;
}

/* ═══ PROSE ═══ */
.prose { font-family: 'Source Serif 4', Georgia, serif; font-size: 1.1rem; color: var(--text-secondary); line-height: 1.9; max-width: 800px; }
.prose p { margin-bottom: 20px; }
.vision-statement { font-family: 'Source Serif 4', Georgia, serif; font-size: 1.3rem; line-height: 1.9; color: var(--text-secondary); max-width: 800px; margin: 40px 0 60px 0; }

/* ═══ ANIMATIONS ═══ */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2, .contact-layout, .forge-body { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  section { padding: 80px 24px; }
  nav { padding: 0 24px; }
  .nav-links {
    display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: #0A0A0A; flex-direction: column;
    align-items: center; justify-content: center; gap: 32px;
    z-index: 9999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; }
  .nav-links a::after { display: none; }
  .hamburger { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .credibility-inner { gap: 24px; }
  .hero-title { letter-spacing: -1px; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
}
