/* Landing-specific styles */

/* Hero */
.hero {
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 600px;
  background: radial-gradient(ellipse at top, color-mix(in oklch, var(--accent) 10%, transparent) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}
[data-theme="dark"] .hero::before {
  background: radial-gradient(ellipse at top, color-mix(in oklch, var(--accent) 18%, transparent) 0%, transparent 55%);
}

.hero-inner {
  text-align: center;
  padding-top: 32px;
  padding-bottom: 40px;
}
.hero-copy {
  max-width: 780px;
  margin: 0 auto;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.hero h1 {
  margin: 22px 0 20px;
  text-wrap: balance;
}
.hero-accent {
  color: var(--accent-text);
}
[data-theme="dark"] .hero-accent { color: var(--accent); }

.hero-sub {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
  text-wrap: pretty;
}
.hero-ctas {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-strong);
}

.hero-visual-wrap {
  margin-top: 40px;
}
.hero-visual {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 60px 120px -40px color-mix(in oklch, var(--accent) 40%, transparent);
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 640px) {
  .hero-sub { font-size: 17px; }
  .hero { padding-top: 32px; }
}

/* How it works strip */
.how-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.how-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.how-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.how-illo {
  width: 100%;
  height: 120px;
  margin-bottom: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.how-illo svg { width: 100%; max-width: 160px; height: auto; }
.how-num {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  font-weight: 600;
}
.how-card h3 { margin-bottom: 8px; font-size: 18px; }
.how-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.55; }

@media (max-width: 860px) {
  .how-strip { grid-template-columns: 1fr; }
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 32px 28px;
  transition: background 0.2s var(--ease);
}
.feature-card:hover { background: var(--bg-alt); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
[data-theme="dark"] .feature-icon { color: var(--accent); }
.feature-card h3 { margin-bottom: 8px; font-size: 17px; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.55; }

@media (max-width: 860px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* Use cases */
.usecases {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.usecases-tabs { display: flex; flex-direction: column; gap: 4px; }
.usecases-tab {
  padding: 14px 16px;
  text-align: left;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s var(--ease);
  font-family: var(--font-sans);
  border: 1px solid transparent;
}
.usecases-tab:hover { background: var(--surface); color: var(--text); }
.usecases-tab.active {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.usecases-prompt {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  animation: fade-in 0.4s var(--ease);
}
.usecases-prompt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.usecases-prompt p {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  text-wrap: pretty;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  animation: fade-in 0.4s var(--ease);
}
.usecases-stats {
  display: flex;
  gap: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .usecases { grid-template-columns: 1fr; }
  .usecases-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .usecases-tab { white-space: nowrap; flex-shrink: 0; }
  .usecases-prompt { padding: 24px; }
  .usecases-prompt p { font-size: 17px; }
}

/* Pricing teaser */
.pricing-teaser {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.pricing-teaser-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pricing-teaser-price {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--text);
}
.pricing-teaser-price span::before { content: ""; }

@media (max-width: 860px) {
  .pricing-teaser { grid-template-columns: 1fr; gap: 32px; }
}

/* Trust row */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.trust-check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-theme="dark"] .trust-check { color: var(--accent); }

@media (max-width: 760px) { .trust { grid-template-columns: repeat(2, 1fr); } }

/* FAQ */
.faq-container { max-width: 760px; }
.faq { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.015em;
}
.faq-plus {
  flex: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform 0.25s var(--ease), color 0.2s var(--ease);
}
.faq-item.open .faq-plus {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.faq-a > div {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  padding: 0;
  max-width: 680px;
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
.faq-item.open .faq-a > div {
  padding: 0 0 24px;
}

/* Final CTA */
.cta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, color-mix(in oklch, var(--accent) 8%, transparent) 0%, transparent 60%);
  pointer-events: none;
}
[data-theme="dark"] .cta-card::before {
  background: radial-gradient(ellipse at center, color-mix(in oklch, var(--accent) 15%, transparent) 0%, transparent 55%);
}
.cta-card h2 { margin-bottom: 12px; position: relative; }
.cta-card p { color: var(--text-muted); font-size: 17px; margin-bottom: 28px; position: relative; }
.cta-card .btn { position: relative; }

@media (max-width: 560px) {
  .cta-card { padding: 40px 28px; }
}
