/* TOKENS & RESET */
:root {
  --brand:        #0d1117;
  --brand-hover:  #1e293b;
  --accent:       #0f172a;
  --accent-dim:   rgba(15, 23, 42, 0.1);
  --green:        #10b981;
  --ink:          #0f172a;
  --ink-muted:    #475569;
  --surface:      #ffffff;
  --surface-2:    #f8fafc;
  --border:       #e2e8f0;
  --shadow-sm:    0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-xl:    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --max-w:        1140px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.wrap { width: min(var(--max-w), 100% - 40px); margin: auto; }

/* HEADER */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo {
  font-size: 1.25rem; font-weight: 800; letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px; color: var(--ink);
}
.logo svg { height: 28px; width: auto; flex-shrink: 0; }
.nav-links { display: flex; gap: 32px; font-weight: 600; font-size: 0.9rem; color: var(--ink-muted); }
.nav-links a:hover { color: var(--brand); }
.nav-links a.active { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
  transition: all 0.2s; cursor: pointer; border: 1px solid transparent;
  font-family: inherit;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--ink-muted); }
.btn-full { width: 100%; padding: 14px; font-size: 1rem; }
.hamburger {
  background: none; border: none; cursor: pointer; color: var(--ink);
  padding: 4px; display: flex; align-items: center; justify-content: center;
}
.mobile-nav {
  display: none; flex-direction: column;
  background: var(--surface); border-top: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 16px 20px; font-weight: 600; font-size: 1rem;
  color: var(--ink); border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { background: var(--surface-2); }
.mobile-nav-cta { padding: 16px 20px; }
@media (min-width: 768px) {
  .hamburger { display: none; }
  .mobile-nav { display: none !important; }
}
@media (max-width: 767px) {
  .nav-links, .nav-actions .btn-outline { display: none; }
  .nav-actions .btn-primary { display: none; }
}

/* CENTERED HERO */
.hero {
  padding: 160px 0 140px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(15,23,42,0.04) 0%, rgba(255,255,255,0) 70%);
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.04em;
  max-width: 900px; margin: 0 auto 24px;
}
.hero-title { margin: 0 auto 24px; line-height: 1.1; max-width: 900px; }
.hero-title .brand { display: block; font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 800; letter-spacing: -0.04em; }
.hero-title .tagline { display: block; font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 600; color: var(--brand); margin-top: 8px; letter-spacing: -0.02em; }
.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--ink-muted); max-width: 600px; margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex; flex-direction: column; align-items: center; gap: 16px; justify-content: center;
}
@media (min-width: 480px) {
  .hero-ctas { flex-direction: row; }
}
.hero-ctas .btn { padding: 14px 28px; font-size: 1rem; }
.page-hero { padding: 160px 0 60px; text-align: center; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px;
}
.page-hero p { font-size: 1.1rem; color: var(--ink-muted); max-width: 600px; margin: 0 auto; }

/* FLOATING CARDS GRID */
.floating-showcase {
  margin: -100px auto 0;
  padding-bottom: 40px;
  position: relative;
  z-index: 10;
  max-width: 1100px;
}
.cards-masonry {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  position: relative;
}
@media (min-width: 768px) {
  .cards-masonry { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .cards-masonry > div:nth-child(2) { transform: translateY(16px); }
}
.float-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeUp 0.8s ease-out forwards;
  opacity: 0;
}
.float-card:hover { transform: translateY(-5px) !important; box-shadow: var(--shadow-xl); }
.fc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.fc-title { font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.fc-body { font-size: 0.95rem; color: var(--ink-muted); line-height: 1.6; margin-top: 8px;}
.d-1 { animation-delay: 0.1s; } .d-2 { animation-delay: 0.3s; } .d-3 { animation-delay: 0.5s; }
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* SCROLLING LOGO MARQUEE */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 35px 0;
  background: var(--surface-2);
  position: relative;
}
.marquee-wrapper::before, .marquee-wrapper::after {
  content: ''; position: absolute; top: 0; width: 120px; height: 100%; z-index: 2;
}
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--surface-2) 0%, transparent 100%); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--surface-2) 0%, transparent 100%); }
.marquee-content {
  display: inline-block;
  animation: scroll 65s linear infinite;
}
.marquee-content:hover { animation-play-state: paused; }
.marquee-content img {
  height: 36px; margin: 0 45px; vertical-align: middle;
  filter: grayscale(100%) opacity(0.5); transition: all 0.3s ease; cursor: pointer;
}
.marquee-content img:hover { filter: grayscale(0%) opacity(1); transform: scale(1.1); }
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* SECTION STYLES */
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.section-head p { font-size: 1.1rem; color: var(--ink-muted); }

/* FEATURES GRID */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  padding: 32px; border: 1px solid var(--border); border-radius: 16px;
  background: var(--surface-2);
}
.feature-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; color: var(--ink); }
.feature-card p { font-size: 0.95rem; color: var(--ink-muted); line-height: 1.6; }
.feature-card p strong { color: var(--ink); display: block; margin-bottom: 4px; }

/* PRICING */
.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 48px; max-width: 700px; margin: 0 auto;
  box-shadow: var(--shadow-xl);
}
.pricing-header { text-align: center; margin-bottom: 32px; border-bottom: 1px solid var(--border); padding-bottom: 32px; }
.price-amount { font-size: 4rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; margin-bottom: 8px; }
.price-label { font-size: 1rem; color: var(--ink-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.pricing-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.pricing-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; color: var(--ink); }
.pricing-list li::before { content: '✓'; color: var(--green); font-weight: 800; }
.pricing-list li span { color: var(--ink-muted); display: block; font-size: 0.85rem; margin-top: 4px; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1100px; margin: 0 auto; align-items: stretch; }
.pricing-grid .pricing-card { max-width: none; margin: 0; height: 100%; display: flex; flex-direction: column; }
.pricing-grid .pricing-list { flex-grow: 1; }
.pricing-card-secondary { background: var(--surface-2); }
@media (max-width: 820px) { .pricing-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
details { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; transition: all 0.2s; }
summary {
  padding: 20px 24px; font-weight: 600; font-size: 0.95rem; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.2rem; color: var(--ink-muted); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 24px 24px; color: var(--ink-muted); font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* CONTACT FORM */
.contact-wrapper {
  max-width: 600px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 40px; box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.form-control {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: 8px; font-family: inherit; font-size: 0.95rem;
  color: var(--ink); transition: border-color 0.2s; background: var(--surface-2);
  -webkit-appearance: none;
}
.form-control:focus { outline: none; border-color: var(--brand); background: var(--surface); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.8rem; color: var(--ink-muted); text-align: center; margin-top: 16px; line-height: 1.5; }

/* LEGAL / TEXT PAGES */
.legal-content { max-width: 700px; margin: 0 auto; }
.legal-content .date { font-style: italic; color: var(--ink-muted); margin-bottom: 24px; display: block; font-size: 0.9rem; }
.legal-content h2 { font-size: 1.3rem; font-weight: 800; margin: 28px 0 12px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { color: var(--ink-muted); font-size: 1rem; margin-bottom: 16px; line-height: 1.6; }
.legal-content strong { color: var(--ink); }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 40px 0 60px; background: var(--surface-2); }
.footer-content { display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
@media (min-width: 768px) { .footer-content { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.footer-links a { color: var(--ink-muted); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--brand); }
.footer-bottom { text-align: center; margin-top: 40px; font-size: 0.8rem; color: var(--ink-muted); }
/* ONBOARDING QUESTIONNAIRE */
.draft-banner { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 24px; }
.ob-progress-wrap { width: 100%; height: 6px; background: var(--surface-2); border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.ob-progress-bar { height: 100%; background: var(--brand); border-radius: 4px; transition: width 0.3s ease; width: 10%; }
.ob-progress-label { font-size: 0.85rem; color: var(--ink-muted); margin-bottom: 28px; }
.ob-step { display: none; border: none; padding: 0; margin: 0; }
.ob-step.active { display: block; }
.ob-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.ob-nav .btn-full { width: 100%; }
.radio-row { display: flex; gap: 20px; flex-wrap: wrap; }
.radio-row label { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: 0.95rem; color: var(--ink); }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
@media (min-width: 480px) { .checkbox-grid { grid-template-columns: repeat(3, 1fr); } }
.checkbox-grid label { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.95rem; color: var(--ink); }
.conditional-block { border-left: 3px solid var(--border); padding-left: 20px; margin-top: 16px; }
.product-block, .team-block { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 16px; position: relative; }
.remove-block-btn { margin-top: 8px; }
.ob-review dl { margin: 0; }
.ob-review dt { font-weight: 700; font-size: 0.85rem; color: var(--ink-muted); margin-top: 16px; text-transform: uppercase; letter-spacing: 0.02em; }
.ob-review dt:first-child { margin-top: 0; }
.ob-review dd { margin: 4px 0 0; color: var(--ink); font-size: 0.95rem; white-space: pre-wrap; }
.ob-review .ob-review-section-title { font-weight: 800; font-size: 1.05rem; margin: 24px 0 4px; color: var(--ink); }
.ob-review .ob-review-section-title:first-child { margin-top: 0; }

/* MOBILE: reduce excess vertical space so pages need less scrolling */
@media (max-width: 767px) {
  section { padding: 48px 0; }
  .page-hero { padding: 110px 0 36px; }
  .section-head { margin-bottom: 32px; }
  .feature-grid { gap: 16px; }
  .pricing-card { padding: 28px 22px; }
  .pricing-header { margin-bottom: 20px; padding-bottom: 20px; }
  .price-amount { font-size: 2.75rem; }
  .pricing-list { gap: 12px; margin-bottom: 24px; }
  .pricing-grid { gap: 20px; }
}
