@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Instrument+Serif:ital@0;1&display=swap');

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

:root {
  --bg: #0b0d12;
  --bg2: #12151c;
  --surface: #181b24;
  --surface2: #1f2330;
  --border: #2a2e3d;
  --accent: #6c63ff;
  --accent-glow: rgba(108, 99, 255, 0.15);
  --accent2: #00d4aa;
  --text: #eef0f6;
  --text2: #8890a8;
  --text3: #5a6178;
  --danger: #ff5370;
  --warm: #ffcb6b;
  --radius: 16px;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --max-w: 1200px;
  --section-pad: 120px;
}

html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #8a83ff; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ── Noise overlay ────────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ── Disclaimer banner ────────────────────────────────────────────────── */
.disclaimer-banner {
  background: var(--warm);
  color: #1a1d27;
  text-align: center;
  padding: 8px 32px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
}

.disclaimer-banner + .nav { top: 32px; }
.disclaimer-banner ~ * .hero,
.disclaimer-banner ~ .hero { padding-top: 210px; }

/* ── Navigation ───────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  background: rgba(11, 13, 18, 0.8);
  border-bottom: 1px solid rgba(42, 46, 61, 0.5);
}

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

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 18px; color: var(--text);
  letter-spacing: -0.02em;
}

.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: white;
  box-shadow: 0 0 20px var(--accent-glow);
}

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

.nav-links a {
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-cta {
  padding: 10px 24px;
  background: var(--accent);
  color: white !important;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px var(--accent-glow);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 30px rgba(108, 99, 255, 0.3);
  color: white !important;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  padding: 180px 0 var(--section-pad);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(108,99,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center; gap: 8px;
  padding: 6px 16px 6px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease both;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--accent2);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 19px;
  color: var(--text2);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex; gap: 16px; align-items: center;
  animation: fadeUp 0.8s ease 0.3s both;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(108, 99, 255, 0.35);
  color: white;
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-ghost:hover {
  border-color: var(--text3);
  color: var(--text);
}

/* ── Hero visual ──────────────────────────────────────────────────────── */
.hero-visual {
  margin-top: 80px;
  position: relative;
  animation: fadeUp 0.8s ease 0.4s both;
}

.hero-screen {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(108, 99, 255, 0.05),
    0 20px 80px rgba(0,0,0,0.5),
    0 0 120px rgba(108, 99, 255, 0.06);
}

.hero-screen-bar {
  padding: 14px 20px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  display: flex; gap: 8px;
}

.hero-screen-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface2);
}

.hero-screen-content {
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hero-kpi-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.hero-kpi-label {
  font-size: 12px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.hero-kpi-value {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text);
  margin-bottom: 6px;
}

.hero-kpi-change {
  font-size: 13px;
  font-weight: 600;
}
.hero-kpi-change.up { color: var(--accent2); }
.hero-kpi-change.down { color: var(--danger); }

.hero-kpi-bar {
  margin-top: 12px; height: 4px;
  background: var(--surface2);
  border-radius: 2px;
  overflow: hidden;
}

.hero-kpi-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
  transition: width 1.5s ease;
}

/* ── Sections ─────────────────────────────────────────────────────────── */
section { padding: var(--section-pad) 0; }

.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 17px;
  color: var(--text2);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Feature cards ────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  font-size: 22px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}

/* ── Stats row ────────────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat { text-align: center; }

.stat-value {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text2);
}

/* ── Pricing ──────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: transform 0.3s;
}

.price-card:hover { transform: translateY(-4px); }

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.price-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.price-desc {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 24px;
  line-height: 1.6;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  margin-bottom: 4px;
}

.price-period {
  font-size: 14px;
  color: var(--text3);
  margin-bottom: 32px;
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
}

.price-features li {
  font-size: 14px;
  color: var(--text2);
  padding: 8px 0;
  border-bottom: 1px solid rgba(42, 46, 61, 0.4);
  display: flex; align-items: center; gap: 10px;
}

.price-features li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent2);
  border-radius: 50%;
  flex-shrink: 0;
}

.price-btn {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  transition: all 0.2s;
}
.price-btn:hover { border-color: var(--accent); color: var(--accent); }

.price-card.featured .price-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 0 20px var(--accent-glow);
}
.price-card.featured .price-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 30px rgba(108, 99, 255, 0.3);
  color: white;
}

/* ── Brand page ───────────────────────────────────────────────────────── */
.brand-colors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.brand-swatch {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.brand-swatch-color {
  height: 100px;
}

.brand-swatch-info {
  padding: 14px 16px;
  background: var(--surface);
}

.brand-swatch-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.brand-swatch-hex {
  font-size: 12px;
  color: var(--text2);
  font-family: 'DM Mono', monospace;
}

.brand-type-sample {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 32px;
}

.brand-type-display {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.brand-type-body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 600px;
}

.brand-logo-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.brand-logo-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  display: flex; align-items: center; justify-content: center;
}

.brand-logo-card.dark { background: var(--bg); }
.brand-logo-card.light { background: #f5f6fa; }
.brand-logo-card.accent { background: var(--accent); }

.brand-logo-mark {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 24px;
}

.brand-logo-mark .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}

.brand-story-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  margin-top: 40px;
}

.brand-story-block h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 20px;
}

.brand-story-block p {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 16px;
}

.brand-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.brand-value {
  padding: 32px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.brand-value h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.brand-value p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

/* ── Contact ──────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 64px;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text2);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--accent-glow);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea { resize: vertical; min-height: 120px; }

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

/* ── Thanks ───────────────────────────────────────────────────────────── */
.thanks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 700px;
}

.thanks-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: var(--text);
}
.thanks-card:hover {
  transform: translateY(-3px);
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  color: var(--text);
}

.thanks-avatar {
  width: 64px; height: 64px;
  background: var(--accent-glow);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.thanks-info h3 {
  font-size: 18px; font-weight: 600;
  margin-bottom: 4px;
}

.thanks-role {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 12px;
}

.thanks-info p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 12px;
}

.thanks-link {
  font-size: 13px;
  color: var(--text3);
  transition: color 0.2s;
}
.thanks-card:hover .thanks-link { color: var(--accent); }

@media (max-width: 600px) {
  .thanks-card { flex-direction: column; align-items: center; text-align: center; }
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: var(--section-pad);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text2);
  font-size: 14px;
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.6;
}

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

.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text3);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text2);
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text3);
}

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

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Two-col section ──────────────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ── Mobile ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --section-pad: 80px; }
  .hero { padding-top: 130px; }
  .features-grid, .pricing-grid, .brand-values, .brand-logo-showcase { grid-template-columns: 1fr; }
  .hero-screen-content { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { gap: 40px; }
  .nav-links { display: none; }
  .brand-colors { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-screen-content { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
