/* ============================================
   Horizon Capital Solutions — Dawn Theme
   ============================================ */

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

:root {
  --bg: #0b0d14;
  --bg-elevated: #131722;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --accent: #fdba74;
  --accent-light: #fef3c7;
  --accent-cyan: #fb923c;
  --accent-gradient: linear-gradient(135deg, #fef3c7 0%, #fdba74 100%);
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --radius: 10px;
  --radius-lg: 20px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1240px;
  --mono: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;
  --display: 'Sora', -apple-system, sans-serif;
  --body: 'DM Sans', -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Subtle grid background pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--accent-cyan); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.6rem, 6.5vw, 5.5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mono-label {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  display: inline-block;
}

.mono-label::before { content: '[ '; color: var(--text-muted); }
.mono-label::after { content: ' ]'; color: var(--text-muted); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.92rem;
  font-weight: 500;
  font-family: var(--body);
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg);
  border-color: var(--text-primary);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 24px rgba(253, 186, 116, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: rgba(253, 186, 116, 0.05);
}

.btn-arrow::after {
  content: '\2192';
  transition: transform var(--transition);
}

.btn-arrow:hover::after { transform: translateX(3px); }

/* ============================================
   Top Bar + Nav
   ============================================ */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 0.75rem;
  font-family: var(--mono);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-link {
  color: var(--text-secondary) !important;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.top-bar-link:hover { color: var(--accent-cyan) !important; }

.navbar {
  position: fixed;
  top: 32px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent-gradient);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bg);
}

.logo span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a.active::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-gradient);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   Hero
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 160px 0 100px;
}

/* Animated glow orb */
.hero::before {
  content: '';
  position: absolute;
  top: 92%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(253, 186, 116, 0.18) 0%, rgba(254, 243, 199, 0.08) 35%, transparent 70%);
  filter: blur(60px);
  border-radius: 50%;
  pointer-events: none;
  animation: orb-float 12s ease-in-out infinite;
}

@keyframes orb-float {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-48%, -52%) scale(1.08); }
}

.hero-content {
  max-width: 920px;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 28px;
  letter-spacing: -0.035em;
}

.hero .lead {
  font-size: 1.18rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 600px;
  margin: 0 auto;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================================
   Services — Bento Grid
   ============================================ */
.services {
  padding: 120px 0;
  position: relative;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 18px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}

.bento-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
  display: flex;
  flex-direction: column;
}

.bento-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.bento-item:hover .bento-glow {
  opacity: 1;
}

.bento-glow {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(253, 186, 116, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.bento-wide { grid-column: span 2; }

.bento-number {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 0.08em;
}

.bento-number .arrow { color: var(--accent-cyan); margin: 0 4px; }

.bento-item h3 {
  margin-bottom: 12px;
  color: var(--text-primary);
}

.bento-item p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-top: auto;
}

.bento-wide h3 {
  font-size: 1.6rem;
}

.bento-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.bento-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 3px 8px;
  background: rgba(253, 186, 116, 0.1);
  border: 1px solid rgba(253, 186, 116, 0.25);
  color: var(--accent-light);
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* ============================================
   Stats Strip
   ============================================ */
.stats-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, transparent 0%, rgba(253, 186, 116, 0.02) 50%, transparent 100%);
}

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

.stat-tile {
  text-align: left;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.stat-num {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ============================================
   About Section
   ============================================ */
.about {
  padding: 120px 0;
  position: relative;
}

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

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  font-size: 1.02rem;
  line-height: 1.75;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: all var(--transition);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}

.feature-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
  padding-top: 4px;
}

.feature-body h4 {
  margin-bottom: 6px;
}

.feature-body p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ============================================
   CTA / Form Section
   ============================================ */
.cta-section {
  padding: 120px 0;
  position: relative;
}

.cta-wrapper {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(253, 186, 116, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  margin-bottom: 18px;
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* --- Form --- */
.form-wrapper { position: relative; z-index: 1; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--text-primary);
  font-family: var(--body);
  font-size: 0.94rem;
  transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(253, 186, 116, 0.03);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
  font-family: var(--body);
}

.consent-group {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.consent-label a {
  color: var(--accent-light);
  text-decoration: underline;
}

.form-submit {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.form-submit .btn {
  width: 100%;
  padding: 16px;
  font-size: 0.95rem;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
  padding: 180px 0 120px;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-info-card h2 { margin-bottom: 16px; }
.contact-info-card > p {
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.contact-detail:last-of-type { border-bottom: 1px solid var(--border); }

.contact-detail-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  min-width: 90px;
  padding-top: 4px;
}

.contact-detail-value a,
.contact-detail-value span {
  color: var(--text-primary);
  font-size: 0.98rem;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-card h3 {
  margin-bottom: 28px;
  font-size: 1.4rem;
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-page {
  padding: 180px 0 120px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
}

.legal-content h1 {
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.85rem;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 0.97rem;
  line-height: 1.75;
}

.legal-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.legal-content ul li {
  color: var(--text-secondary);
  font-size: 0.97rem;
  padding: 5px 0 5px 22px;
  position: relative;
}

.legal-content ul li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  position: relative;
}

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

.footer-brand .logo {
  margin-bottom: 20px;
  display: inline-flex;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 340px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 500;
}

.footer-col ul { list-style: none; }

.footer-col ul li {
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-col ul a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: var(--mono);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .cta-wrapper { padding: 48px; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .top-bar { font-size: 0.68rem; padding: 6px 0; }
  .navbar { top: 28px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.3rem; }
  .nav-toggle { display: flex; z-index: 1001; }

  .hero { padding: 130px 0 80px; min-height: auto; }
  .hero-buttons { margin-bottom: 56px; }
  .hero-meta { gap: 20px; font-size: 0.7rem; }

  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-wide { grid-column: span 1; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 2.2rem; }

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

  .cta-wrapper {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 36px;
  }
  .form-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-detail { flex-direction: column; gap: 6px; }

  .legal-content { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 320px; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-message {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  margin-top: 16px;
  display: none;
  font-family: var(--mono);
}

.form-message.success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  display: block;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  display: block;
}

/* ============================================
   Horizon Capital Solutions — First Light theme
   (sunrise over the curve of the planet, seen from orbit)
   ============================================ */
:root {
  --bg: #04060d;
  --bg-elevated: #0a0f1f;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.055);
  --text-secondary: #b4b8c7;
  --text-muted: #7d8296;
  --limb: 0 0 0 1.5px rgba(254, 243, 199, 0.85), 0 -4px 18px 2px rgba(253, 186, 116, 0.75), 0 -20px 70px 10px rgba(251, 146, 60, 0.38), 0 -70px 200px 40px rgba(96, 120, 255, 0.16);
}

body { background: var(--bg); }

h1 { font-weight: 600; letter-spacing: -0.045em; }
.gradient-text { background: linear-gradient(100deg, #fef3c7 0%, #fdba74 45%, #fb923c 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.navbar.scrolled { background: rgba(4, 6, 13, 0.82); border-bottom-color: rgba(253, 186, 116, 0.18); }

.btn-primary, .nav-links a.btn-primary {
  background: linear-gradient(135deg, #fef3c7 0%, #fdba74 55%, #fb923c 100%);
  color: #1b1205;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 10px 34px -10px rgba(251, 146, 60, 0.7);
}
.btn-primary:hover, .nav-links a.btn-primary:hover { background: linear-gradient(135deg, #fff 0%, #fef3c7 50%, #fdba74 100%); color: #1b1205; border-color: transparent; box-shadow: 0 14px 44px -8px rgba(251, 146, 60, 0.85); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(253, 186, 116, 0.35); color: #fef3c7; background: rgba(253, 186, 116, 0.04); }
.btn-ghost:hover { border-color: #fdba74; background: rgba(253, 186, 116, 0.1); color: #fff; }

/* --- Hero: the sun breaking over the planet's edge --- */
.hero {
  min-height: 100vh;
  align-items: flex-start;
  padding: 150px 0 310px;
  background: linear-gradient(180deg, #02030a 0%, #060a18 55%, #0b1228 100%);
}
.hero::before, .hero::after { display: none; }
.hero-content { position: relative; z-index: 2; text-align: left; margin: 0; }
.hero-buttons, .hero-meta { justify-content: flex-start; }
.hero .lead { color: #c3c7d6; margin-left: 0; margin-right: 0; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.9rem); }
.hero-meta { margin-left: 0; margin-right: 0; max-width: none; flex-wrap: wrap; }

.dawn-scene { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; --edge: 230px; }
.dawn-stars {
  position: absolute; inset: 0 0 22% 0;
  background-image:
    radial-gradient(1.3px 1.3px at 8% 22%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 17% 61%, #cfd8ff 50%, transparent 52%),
    radial-gradient(1.6px 1.6px at 29% 12%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 38% 44%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 51% 9%, #ffe9c7 50%, transparent 52%),
    radial-gradient(1px 1px at 58% 33%, #fff 50%, transparent 52%),
    radial-gradient(1.7px 1.7px at 67% 18%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 74% 52%, #cfd8ff 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 83% 27%, #fff 50%, transparent 52%),
    radial-gradient(1px 1px at 91% 58%, #fff 50%, transparent 52%),
    radial-gradient(1.2px 1.2px at 96% 14%, #ffe9c7 50%, transparent 52%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  animation: twinkle 5s ease-in-out infinite alternate;
}
.dawn-stars-b { transform: scaleX(-1) translateY(9%); opacity: 0.6; animation-delay: -2.5s; animation-duration: 7s; }
@keyframes twinkle { from { opacity: 0.35; } to { opacity: 1; } }

.dawn-planet {
  position: absolute; left: 50%; top: calc(100% - var(--edge));
  width: 260vw; height: 260vw; min-width: 2600px; min-height: 2600px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, #18244a 0%, #0a1024 9%, #04060d 26%);
  box-shadow: var(--limb), inset 0 26px 70px rgba(253, 186, 116, 0.2), inset 0 2px 6px rgba(254, 243, 199, 0.5);
  animation: limb-in 2.8s ease-out both;
}
@keyframes limb-in { from { opacity: 0.25; } to { opacity: 1; } }

.dawn-sun {
  position: absolute; left: 50%; top: calc(100% - var(--edge));
  width: 720px; height: 720px;
  margin: -360px 0 0 -360px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #fff7dc 4%, rgba(253, 200, 130, 0.85) 9%, rgba(251, 146, 60, 0.36) 24%, rgba(251, 146, 60, 0.1) 44%, transparent 64%);
  animation: sun-rise 3s cubic-bezier(0.2, 0.8, 0.2, 1) both, sun-pulse 8s ease-in-out 3s infinite alternate;
}
@keyframes sun-rise { from { transform: translateY(150px) scale(0.6); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes sun-pulse { from { transform: scale(1); } to { transform: scale(1.09); } }

.dawn-streak {
  position: absolute; left: 50%; top: calc(100% - var(--edge));
  width: min(1100px, 92vw); height: 10px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #fff 0%, rgba(254, 243, 199, 0.9) 12%, rgba(253, 186, 116, 0.5) 38%, transparent 72%);
  filter: blur(1.5px);
  animation: streak 3.2s ease-out both, streak-breathe 8s ease-in-out 3.2s infinite alternate;
}
@keyframes streak { from { opacity: 0; width: 80px; } to { opacity: 1; } }
@keyframes streak-breathe { from { opacity: 0.75; } to { opacity: 1; } }

/* --- Service cards: a small horizon rises inside each on hover --- */
.bento-item {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}
.bento-item::after {
  content: '';
  position: absolute; left: -30%; right: -30%; top: calc(100% - 16px);
  height: 420px;
  border-radius: 50%;
  background: #060914;
  box-shadow: 0 0 0 1px rgba(254, 243, 199, 0.7), 0 -4px 16px rgba(253, 186, 116, 0.6), 0 -18px 60px rgba(251, 146, 60, 0.35);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.bento-item:hover { transform: translateY(-4px); border-color: rgba(253, 186, 116, 0.35); }
.bento-item:hover::after { opacity: 1; transform: translateY(0); }
.bento-number { color: #fdba74; }
.bento-tag { border-color: rgba(253, 186, 116, 0.22); color: #f3d9b4; background: rgba(253, 186, 116, 0.05); }

/* --- Process strip: four points along the path of the sun --- */
.stats-section { background: linear-gradient(180deg, transparent 0%, rgba(253, 186, 116, 0.035) 50%, transparent 100%); border-color: rgba(255, 255, 255, 0.06); }
.stat-tile { position: relative; border-left: none; padding: 38px 0 0; }
.stat-tile::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fdba74;
  box-shadow: 0 0 0 5px rgba(253, 186, 116, 0.14), 0 0 22px 4px rgba(251, 146, 60, 0.55);
  opacity: var(--lit, 1);
}
.stat-tile::after {
  content: '';
  position: absolute; top: 6px; left: 26px; right: -20px;
  height: 2px;
  background: linear-gradient(90deg, rgba(253, 186, 116, 0.55), rgba(253, 186, 116, 0.08));
}
.stat-tile:last-child::after { background: linear-gradient(90deg, rgba(253, 186, 116, 0.55), transparent); right: 30%; }
.stat-tile:nth-child(1) { --lit: 0.4; }
.stat-tile:nth-child(2) { --lit: 0.6; }
.stat-tile:nth-child(3) { --lit: 0.8; }
.stat-tile:nth-child(4) { --lit: 1; }
.stat-num { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.stat-meta { color: var(--text-muted); }

/* --- Approach cards --- */
.feature-item { border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.025); transition: border-color 0.3s ease, transform 0.3s ease; }
.feature-item:hover { border-color: rgba(253, 186, 116, 0.35); transform: translateX(6px); }
.feature-num { color: #fdba74; }

/* --- Contact panel: the same planet edge glowing along the bottom --- */
.cta-wrapper {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1022 0%, #060915 100%);
  border: 1px solid rgba(253, 186, 116, 0.16);
  padding-bottom: 130px;
}
.cta-wrapper::before {
  content: '';
  position: absolute; left: 50%; top: calc(100% - 64px);
  width: 2400px; height: 2400px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, #18244a 0%, #070b18 8%, #04060d 22%);
  box-shadow: var(--limb);
  filter: none;
  opacity: 1;
  animation: none;
  pointer-events: none;
}
.cta-wrapper::after { display: none; }
.cta-wrapper > * { position: relative; z-index: 1; }
.form-group input, .form-group textarea, .form-group select { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); }
.form-group input:focus, .form-group textarea:focus { border-color: #fdba74; box-shadow: 0 0 0 3px rgba(253, 186, 116, 0.16); }
.consent-label { display: block; }
.consent-label input[type="checkbox"] { float: left; margin: 3px 10px 0 0; accent-color: #fb923c; }
.consent-label a { color: #fdba74; }

.contact-info-card, .contact-form-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); }

/* --- Footer --- */
.footer { position: relative; border-top: none; background: #03040a; }
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(253, 186, 116, 0.6) 50%, transparent);
  box-shadow: 0 0 40px 4px rgba(251, 146, 60, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .dawn-stars, .dawn-planet, .dawn-sun, .dawn-streak { animation: none; }
}
@media (max-width: 900px) {
  .hero { padding: 150px 0 250px; }
  .dawn-scene { --edge: 170px; }
  .dawn-sun { width: 520px; height: 520px; margin: -260px 0 0 -260px; }
  .stat-tile::after { display: none; }
  .cta-wrapper { padding-bottom: 100px; }
  .nav-links { background: rgba(4, 6, 13, 0.98) !important; }
}

/* Brand icon in the header and footer */
.logo-img { width: 40px; height: 40px; object-fit: contain; display: block; flex: none; }
