:root {
  --white: #ffffff;
  --cream: #faf8f5;
  --night: #0a1628;
  --night-mid: #132238;
  --night-light: #1e3a5f;
  --gold: #f59e0b;
  --gold-light: #fcd34d;
  --gold-soft: rgba(245, 158, 11, 0.15);
  --blue: #3b82f6;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --display: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.header.scrolled .logo {
  color: var(--white);
}

.logo-star {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.5));
}

.logo-star svg {
  display: block;
  width: 100%;
  height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 100px;
  background: linear-gradient(165deg, var(--night) 0%, var(--night-mid) 50%, #0f2847 100%);
  overflow: hidden;
}

.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold-light);
  animation: twinkle 3s ease-in-out infinite;
}

.star.s1 { top: 18%; left: 12%; animation-delay: 0s; }
.star.s2 { top: 35%; right: 18%; width: 3px; height: 3px; animation-delay: 0.8s; }
.star.s3 { top: 62%; left: 8%; animation-delay: 1.5s; }
.star.s4 { top: 78%; right: 25%; width: 5px; height: 5px; animation-delay: 2s; }
.star.s5 { top: 12%; right: 35%; animation-delay: 0.4s; }

@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title-main,
.hero-title-accent {
  display: block;
}

.hero-title-accent {
  background: linear-gradient(90deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-engines {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.engine-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 100px;
}

.engine-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--body);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--night);
  box-shadow: 0 4px 24px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.45);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.section {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-head {
  margin-bottom: 48px;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-head.light h2 {
  color: var(--white);
}

.about {
  background: var(--cream);
}

.about-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 48px;
  background: var(--white);
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(10, 22, 40, 0.06);
}

.about-card h2 {
  font-family: var(--display);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--night);
}

.about-lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 20px;
}

.about-lead em {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}

.about-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.about-card strong {
  color: var(--night);
  font-weight: 600;
}

.business {
  background: var(--white);
}

.business-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.biz-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 36px;
  border-radius: 4px;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.biz-block:hover {
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
}

.biz-block.trade {
  background: linear-gradient(135deg, #fffbeb 0%, var(--white) 100%);
  border-left: 4px solid var(--gold);
}

.biz-block.ads {
  background: linear-gradient(135deg, #eff6ff 0%, var(--white) 100%);
  border-left: 4px solid var(--blue);
}

.biz-num {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(10, 22, 40, 0.08);
}

.biz-body h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--night);
}

.biz-body > p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.biz-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.biz-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 16px;
  border-left: 2px solid var(--gold-soft);
}

.biz-block.ads .biz-list li {
  border-left-color: rgba(59, 130, 246, 0.3);
}

.biz-list strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--night);
  margin-bottom: 4px;
}

.advantages {
  background: var(--night);
  color: var(--white);
}

.adv-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.adv-card {
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 4px;
  transition: background 0.3s, border-color 0.3s;
}

.adv-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(245, 158, 11, 0.35);
}

.adv-icon {
  display: block;
  font-size: 1.375rem;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.adv-card h3 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.adv-card p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
}

.vision {
  padding: 100px 0;
  background: linear-gradient(160deg, #1a1208 0%, var(--night) 40%, var(--night-mid) 100%);
  text-align: center;
}

.vision-wrap {
  max-width: 720px;
}

.vision blockquote {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--white);
  margin: 16px 0 28px;
}

.vision-brand {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer {
  padding: 32px 0;
  background: var(--night);
  border-top: 1px solid rgba(245, 158, 11, 0.1);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.footer-star {
  color: var(--gold);
  font-size: 1rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 960px) {
  .adv-row {
    grid-template-columns: 1fr;
  }

  .biz-block {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .biz-num {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--night);
    border-bottom: 1px solid rgba(245, 158, 11, 0.15);
    padding: 16px 24px 24px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .about-card {
    padding: 36px 24px;
  }

  .section {
    padding: 72px 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
