/* =====================================================================
   InfinitiCanvas marketing site — styles
   ===================================================================== */

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

:root {
  --bg:        #0c0c14;
  --bg-2:      #11111b;
  --bg-card:   #181825;
  --surface:   #1e1e2e;
  --border:    #313244;
  --text:      #e2e8f0;
  --text-dim:  #a6adc8;
  --text-faint:#6c7086;
  --accent:    #89b4fa;
  --accent-2:  #cba6f7;
  --success:   #a6e3a1;
  --warm:      #f9a826;
  --pink:      #f38ba8;
  --radius:    14px;
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
code, .mono { font-family: 'JetBrains Mono', 'Consolas', monospace; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0c0c14;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(137, 180, 250, 0.18);
}
.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(137, 180, 250, 0.32);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--accent); }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 12, 20, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 17px; color: var(--text);
  letter-spacing: -0.2px;
}
.brand svg { color: var(--accent); }
.brand-logo { display: block; border-radius: 8px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--text-dim); font-size: 14px; font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

/* ===== HERO ===== */
.hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(900px 500px at 88% 8%, rgba(203, 166, 247, 0.18), transparent 70%),
    radial-gradient(700px 400px at 8% 30%, rgba(137, 180, 250, 0.18), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 60px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1.6px;
  margin-bottom: 22px;
  color: #fff;
}
.lead {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px;
}
.hero-bullets {
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px;
  color: var(--text-dim);
}
.hero-bullets li { display: flex; align-items: center; gap: 8px; }
.check {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(166, 227, 161, 0.15);
  color: var(--success);
  font-size: 11px;
  font-weight: 700;
}

/* Hero visual / canvas mock */
.canvas-mock {
  background: var(--bg-2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(0.6deg);
  transition: transform 0.3s;
}
.canvas-mock:hover { transform: rotate(0deg); }
.canvas-mock-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  background: #0c0c14;
  border-bottom: 1px solid var(--border);
}
.canvas-mock-title {
  margin-left: 10px;
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
}
.canvas-mock-toolbar-svg {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border);
}
.canvas-mock-toolbar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.dot-r { background: #f38ba8; }
.dot-y { background: #f9e2af; }
.dot-g { background: #a6e3a1; }
.mock-tools {
  display: flex; align-items: center; gap: 6px;
  margin-left: 14px;
}
.mock-tool {
  width: 22px; height: 22px;
  background: #313244;
  border-radius: 4px;
  border: 1.5px solid transparent;
}
.mock-tool.active { border-color: var(--accent); background: #45475a; }
.mock-spacer {
  width: 1px; height: 18px;
  background: var(--border);
  margin: 0 8px;
}
.mock-color {
  width: 18px; height: 18px;
  border-radius: 50%;
}
.canvas-mock-art {
  width: 100%; height: auto;
  background: #1a1a2e;
  display: block;
}
.canvas-mock-tabs {
  display: flex; gap: 6px;
  padding: 8px 14px;
  background: #11111b;
  border-bottom: 1px solid var(--border);
  font-size: 12px; color: var(--text-dim); font-weight: 600;
}
.mock-tab {
  padding: 4px 10px; border-radius: 6px;
}
.mock-tab.active { background: var(--surface); color: var(--accent); }
.mock-tab-add {
  padding: 4px 10px; color: var(--text-faint); font-weight: 700;
}

/* ===== TRUST STRIP ===== */
.trust {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  text-align: center;
}
.trust p { font-size: 14px; color: var(--text-dim); }
.trust strong { color: var(--text); font-weight: 700; }

/* ===== Section header ===== */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-header h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--text-dim); }

/* ===== FEATURES ===== */
.features { padding: 100px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--c, var(--accent));
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c) 18%, transparent);
  color: var(--c);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.feature p { color: var(--text-dim); font-size: 14.5px; }
.feature code {
  background: var(--surface);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--accent);
}

/* ===== DEMO ===== */
.demo {
  padding: 100px 0;
  background: var(--bg-2);
}
.demo-frame {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.demo-frame-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.demo-title {
  margin-left: 12px;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}
.demo-art { width: 100%; height: auto; display: block; }

/* ===== HOW IT WORKS ===== */
.how { padding: 100px 0; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.how-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.how-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0c0c14;
  font-weight: 800;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.how-step h3 { font-size: 19px; color: #fff; margin-bottom: 8px; }
.how-step p { color: var(--text-dim); font-size: 14.5px; }

/* ===== PRICING ===== */
.pricing {
  padding: 100px 0;
  background: var(--bg-2);
}
.price-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 38px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.price-card-top { padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.price-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(137, 180, 250, 0.15);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.price {
  display: flex; align-items: baseline; justify-content: center; gap: 4px;
  margin-bottom: 8px;
  color: #fff;
}
.price-currency { font-size: 28px; font-weight: 700; }
.price-amount { font-size: 72px; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.price-period { font-size: 14px; color: var(--text-dim); margin-left: 8px; font-weight: 500; }
.price-sub { font-size: 14px; color: var(--text-dim); }

.price-features {
  list-style: none;
  padding: 26px 0;
  display: flex; flex-direction: column; gap: 12px;
  text-align: left;
}
.price-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--text);
}
.price-fineprint {
  font-size: 12px; color: var(--text-faint);
  margin-top: 14px;
  line-height: 1.5;
}
.price-trial { margin-top: 18px; }
.bulk-note {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-dim);
}
.bulk-note a { color: var(--accent); text-decoration: underline; }

/* ===== TRIAL CTA ===== */
.trial-cta {
  padding: 90px 0;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 100%, rgba(166, 227, 161, 0.18), transparent 70%);
}
.trial-cta h2 {
  font-size: 38px; font-weight: 800; letter-spacing: -0.8px;
  color: #fff; margin-bottom: 14px;
}
.trial-cta p {
  font-size: 17px; color: var(--text-dim);
  max-width: 580px; margin: 0 auto 28px;
}
.trial-fineprint {
  font-size: 13px; color: var(--text-faint);
  margin-top: 14px;
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  background: var(--bg-2);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px;
}
.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  transition: border-color 0.2s;
}
.faq-list details[open] { border-color: var(--accent); }
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 20px; color: var(--accent);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.65;
}
.faq-list details a { color: var(--accent); text-decoration: underline; }

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 90px 0;
  text-align: center;
}
.final-cta h2 {
  font-size: 36px; font-weight: 800; letter-spacing: -0.8px;
  color: #fff; margin-bottom: 28px;
}
.final-cta-row {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.footer-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px;
}
.footer-brand {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.brand-mark {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent);
  font-weight: 800;
}
.brand-mark span { color: var(--text); }
.brand-mark img { display: block; border-radius: 6px; }
.footer-tag {
  font-size: 13px; color: var(--text-faint);
}
.footer-links { display: flex; gap: 22px; }
.footer-links a {
  color: var(--text-dim); font-size: 14px;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }

/* ===== RESPONSIVE ===== */
@media (max-width: 940px) {
  .hero { padding: 56px 0 60px; }
  .hero h1 { font-size: 42px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section-header h2 { font-size: 32px; }
  .trial-cta h2, .final-cta h2 { font-size: 28px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 34px; }
  .lead { font-size: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .features, .demo, .how, .pricing, .faq { padding: 64px 0; }
  .price-amount { font-size: 56px; }
  .price-card { padding: 28px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
