/* FloorPlan Creator — marketing pages (landing). Light, airy, conversion-first. */

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

:root {
  --accent: #4f46e5;
  --accent-dark: #4338ca;
  --accent-soft: #eef2ff;
  --ink: #111527;
  --ink-2: #4b5365;
  --ink-3: #828b9e;
  --line: #e6e9ef;
  --bg-alt: #f7f8fb;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(17, 21, 39, 0.10);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14.5px; text-decoration: none; cursor: pointer;
  border-radius: 10px; border: 1px solid transparent;
  padding: 10px 20px; transition: all .15s;
  white-space: nowrap;
}
.btn.lg { padding: 14px 28px; font-size: 16px; border-radius: 12px; }
.btn.full { width: 100%; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(79,70,229,.35); }
.btn.primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn.ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #2a3046; transform: translateY(-1px); }
.btn.light { background: #fff; color: var(--accent); }
.btn.light:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(0,0,0,.18); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; height: 64px; gap: 32px; }
.logo { display: flex; align-items: center; gap: 9px; font-size: 16.5px; text-decoration: none; color: var(--ink); }
.logo b { color: var(--accent); }
.nav-links { display: flex; gap: 26px; flex: 1; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 90px; background:
  radial-gradient(1000px 460px at 78% -8%, #ede9ff 0%, transparent 60%),
  radial-gradient(700px 380px at 8% 8%, #f0f7ff 0%, transparent 55%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border: 1px solid #ddd9ff;
  border-radius: 99px; padding: 6px 14px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -.025em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: 18px; color: var(--ink-2); margin: 22px 0 30px; max-width: 34em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; margin-top: 26px; font-size: 13.5px; color: var(--ink-3); flex-wrap: wrap; }

.hero-visual { position: relative; }
.plan-svg { width: 100%; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 15px; font-size: 13.5px; font-weight: 600;
  box-shadow: 0 8px 26px rgba(17,21,39,.13);
}
.fc-1 { top: -16px; left: 26px; animation: floaty 5s ease-in-out infinite; }
.fc-2 { bottom: -14px; right: 30px; animation: floaty 5s 1.2s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- sections ---------- */
.section { padding: 92px 0; }
.section.alt { background: var(--bg-alt); }
.kicker {
  text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px;
  font-weight: 700; color: var(--accent); margin-bottom: 12px; text-align: center;
}
.section h2 {
  text-align: center; font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: -.02em; line-height: 1.18; margin-bottom: 52px; font-weight: 800;
}

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .15s, box-shadow .15s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.f-icon { font-size: 26px; margin-bottom: 14px; }
.feature h3 { font-size: 16.5px; margin-bottom: 8px; letter-spacing: -.01em; }
.feature p { font-size: 14.5px; color: var(--ink-2); }

/* exports */
.export-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.export-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.export-card b { display: block; font-size: 16px; margin-bottom: 7px; color: var(--accent); }
.export-card.more b { color: var(--ink); }
.export-card span { font-size: 14px; color: var(--ink-2); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { text-align: center; padding: 0 12px; }
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 800; font-size: 18px; margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- pricing ---------- */
.cycle-toggle {
  display: flex; justify-content: center; gap: 0; margin: -26px auto 40px;
  width: fit-content; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 4px;
}
.cycle-toggle button {
  border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 14px;
  color: var(--ink-2); padding: 8px 20px; border-radius: 9px; cursor: pointer;
}
.cycle-toggle button.active { background: var(--accent); color: #fff; }
.cycle-toggle button em { font-style: normal; font-size: 11.5px; opacity: .85; margin-left: 4px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 26px; position: relative;
}
.price-card.popular {
  border: 2px solid var(--accent); box-shadow: var(--shadow);
  transform: scale(1.03);
}
.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  border-radius: 99px; padding: 4px 14px; letter-spacing: .03em;
}
.price-card h3 { font-size: 19px; }
.tier-tag { font-size: 13.5px; color: var(--ink-3); margin: 2px 0 18px; }
.price b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.price span { color: var(--ink-3); font-size: 14.5px; margin-left: 4px; }
.billed-note { font-size: 12.5px; color: var(--ink-3); margin: 2px 0 18px; min-height: 18px; }
.price-card .btn { margin: 6px 0 22px; }
.price-card ul { list-style: none; }
.price-card li {
  font-size: 14px; color: var(--ink-2); padding: 7px 0 7px 26px; position: relative;
  border-top: 1px solid #f1f3f7;
}
.price-card li::before { content: '✓'; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }
.pricing-foot { text-align: center; color: var(--ink-3); font-size: 13px; margin-top: 34px; }

/* ---------- faq ---------- */
details {
  border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px;
  margin-bottom: 12px; background: #fff;
}
details summary {
  font-weight: 600; font-size: 15.5px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
details summary::after { content: '+'; font-size: 20px; color: var(--ink-3); transition: transform .15s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #4f46e5, #6d28d9);
  color: #fff; text-align: center; padding: 84px 0;
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.cta-band p { margin: 12px 0 30px; opacity: .9; font-size: 16.5px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 20px; flex: 1; }
.footer nav a { color: var(--ink-2); text-decoration: none; font-size: 13.5px; }
.footer nav a:hover { color: var(--ink); }
.copyright { color: var(--ink-3); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .feature-grid, .export-grid, .steps, .price-grid { grid-template-columns: 1fr 1fr; }
  .price-card.popular { transform: none; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .feature-grid, .export-grid, .steps, .price-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 64px 0; }
  .hero-trust { gap: 12px; }
}

/* ---------- legal pages ---------- */
.legal-page { padding: 56px 0 80px; }
.legal-updated { font-size: 13.5px; color: var(--ink-3); margin-bottom: 10px; }
.legal-page h1 {
  font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -.02em;
  line-height: 1.15; margin-bottom: 28px;
}
.legal-intro { font-size: 16.5px; color: var(--ink-2); margin-bottom: 36px; max-width: 42em; }
.legal-content h2 {
  font-size: 18px; font-weight: 700; margin: 32px 0 10px; letter-spacing: -.01em;
}
.legal-content p, .legal-content li {
  font-size: 15px; color: var(--ink-2); margin-bottom: 12px;
}
.legal-content ul, .legal-content ol {
  margin: 0 0 16px 1.25em;
}
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--accent); }
.legal-callout {
  background: var(--accent-soft); border: 1px solid #ddd9ff;
  border-radius: var(--radius); padding: 20px 22px; margin: 24px 0;
}
.legal-callout b { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 6px; }
.legal-callout p { margin-bottom: 0; }
.legal-nav { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal-nav a { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.legal-nav a:hover { text-decoration: underline; }
