/* AutoPodGen landing - mirrors website theme tokens */

:root {
  --background: 204 27% 7%;
  --foreground: 198 11% 92%;
  --card: 199 21% 11%;
  --card-foreground: 198 11% 92%;
  --primary: 191 56% 28%;
  --primary-foreground: 0 0% 100%;
  --primary-dark: 192 60% 20%;
  --secondary: 199 16% 15%;
  --secondary-foreground: 198 11% 92%;
  --muted: 199 16% 13%;
  --muted-foreground: 198 9% 61%;
  --accent: 185 36% 48%;
  --accent-foreground: 204 27% 7%;
  --border: 200 12% 18%;
  --input: 200 12% 22%;
  --ring: 185 36% 48%;
  --radius: 0.875rem;
  --surface: 199 16% 15%;
  --tint-coral: 4 63% 59%;
  --tint-gold: 38 73% 63%;
  --tint-teal: 187 33% 56%;
  --tint-slate: 223 24% 65%;
}

* {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "rlig" 1, "calt" 1;
}

body {
  min-height: 100vh;
  background-image: radial-gradient(
      circle at 0% 0%,
      hsl(var(--primary) / 0.18),
      transparent 50%
    ),
    radial-gradient(circle at 100% 0%, hsl(var(--accent) / 0.1), transparent 45%),
    radial-gradient(circle at 50% 100%, hsl(var(--primary) / 0.08), transparent 55%);
  background-attachment: fixed;
}

code,
pre,
kbd,
samp,
.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

a {
  color: hsl(var(--accent));
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

img,
svg {
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: hsl(var(--background) / 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 hsl(0 0% 100% / 0.04), 0 6px 20px hsl(0 0% 0% / 0.35);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: hsl(var(--foreground));
}
.brand:hover {
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(
    135deg,
    hsl(var(--primary)) 0%,
    hsl(var(--accent)) 100%
  );
  color: hsl(var(--primary-foreground));
  box-shadow: 0 10px 30px -10px hsl(var(--primary) / 0.45);
}
.brand-mark svg {
  width: 1.5rem;
  height: 1.5rem;
}
.brand-mark.small {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
}

.brand-text {
  background: linear-gradient(
    135deg,
    hsl(var(--accent)) 0%,
    hsl(var(--tint-coral)) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: none;
  gap: 1.5rem;
  font-size: 0.95rem;
}
.nav a {
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}
.nav a:hover {
  color: hsl(var(--foreground));
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  height: 2.5rem;
  padding: 0 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, filter 150ms ease,
    box-shadow 150ms ease, transform 150ms ease;
  text-decoration: none;
  line-height: 1;
}
.btn:hover {
  text-decoration: none;
}
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--ring));
}

.btn-sm {
  height: 2.25rem;
  padding: 0 0.875rem;
  font-size: 0.8125rem;
}
.btn-lg {
  height: 2.75rem;
  padding: 0 1.5rem;
  font-size: 1rem;
  border-radius: 0.5rem;
}
.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
}
.btn-block {
  width: 100%;
}

.btn-gradient {
  color: hsl(var(--primary-foreground));
  background: linear-gradient(
    135deg,
    hsl(var(--primary)) 0%,
    hsl(var(--accent)) 100%
  );
  box-shadow: 0 10px 30px -10px hsl(var(--primary) / 0.45);
}
.btn-gradient:hover {
  filter: brightness(1.1);
}

.btn-outline {
  border: 1px solid hsl(var(--input));
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  box-shadow: 0 1px 2px hsl(0 0% 0% / 0.15);
}
.btn-outline:hover {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.btn-ghost {
  background-color: transparent;
  color: hsl(var(--foreground));
}
.btn-ghost:hover {
  background-color: hsl(var(--accent) / 0.15);
  color: hsl(var(--foreground));
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
}
.hero-inner {
  max-width: 880px;
  text-align: center;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  padding: 0.375rem 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  background-color: hsl(var(--surface));
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 1.25rem;
}
.text-gradient-accent {
  background: linear-gradient(
    135deg,
    hsl(var(--accent)) 0%,
    hsl(var(--tint-coral)) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  margin: 0 auto 2rem;
  max-width: 640px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.trust-item svg {
  color: hsl(var(--accent));
}

/* Sections */
.section {
  padding: 4rem 0;
}
.section-alt {
  background-color: hsl(var(--surface) / 0.4);
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
}
.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  text-align: center;
}
.section-sub {
  color: hsl(var(--muted-foreground));
  text-align: center;
  font-size: 1.0625rem;
  margin: 0 auto 3rem;
  max-width: 640px;
}

/* Grids */
.grid-2,
.grid-3 {
  display: grid;
  gap: 1.25rem;
}
.grid-2 {
  grid-template-columns: 1fr;
}
.grid-3 {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cards */
.card {
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 20px 60px hsl(0 0% 0% / 0.2);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px hsl(var(--primary) / 0.35),
    inset 0 1px 0 hsl(0 0% 100% / 0.06);
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.card p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: linear-gradient(
    135deg,
    hsl(var(--primary)) 0%,
    hsl(var(--accent)) 100%
  );
  color: hsl(var(--primary-foreground));
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 600;
  margin-bottom: 1rem;
  box-shadow: 0 10px 30px -10px hsl(var(--primary) / 0.45);
}

/* Feature list */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.875rem;
}
.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.875rem 1rem;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.625rem;
}
.feature-list svg {
  color: hsl(var(--accent));
  margin-top: 0.125rem;
  flex-shrink: 0;
}

/* Demo */
.demo-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 20px 60px hsl(0 0% 0% / 0.2);
}
@media (min-width: 768px) {
  .demo-card {
    grid-template-columns: 160px 1fr;
    align-items: center;
    padding: 2rem;
  }
}
.demo-art {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 200px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px hsl(var(--primary) / 0.45);
}
.demo-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.demo-content h3 {
  margin: 0.5rem 0;
  font-size: 1.375rem;
  font-weight: 700;
}
.demo-content p {
  margin: 0 0 1.25rem;
  color: hsl(var(--muted-foreground));
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.demo-player {
  display: block;
  width: 100%;
  margin: 0 0 1.25rem;
  border-radius: 0.625rem;
  background-color: hsl(var(--surface));
  outline: none;
  color-scheme: dark;
}
.demo-player::-webkit-media-controls-panel {
  background-color: hsl(var(--surface));
}
.demo-player:focus-visible {
  box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--ring));
}

.badge {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background-color: hsl(var(--accent) / 0.15);
  color: hsl(var(--accent));
  border: 1px solid hsl(var(--accent) / 0.35);
}

/* Pricing */
.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 20px 60px hsl(0 0% 0% / 0.25);
  position: relative;
}
.pricing-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(
    135deg,
    hsl(var(--accent) / 0.4) 0%,
    hsl(var(--primary) / 0.2) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.pricing-head {
  text-align: center;
  margin-bottom: 1.5rem;
}
.pricing-head .badge {
  margin-bottom: 1rem;
}
.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
}
.price-amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(
    135deg,
    hsl(var(--accent)) 0%,
    hsl(var(--foreground)) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-period {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  font-weight: 500;
}
.pricing-sub {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.9375rem;
}
.pricing-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.625rem;
}
.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: hsl(var(--foreground));
  font-size: 0.9375rem;
  line-height: 1.5;
}
.pricing-list svg {
  color: hsl(var(--accent));
  margin-top: 0.1875rem;
  flex-shrink: 0;
}
.pricing-fine {
  margin: 0.75rem 0 0;
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.8125rem;
}

/* FAQ */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}
.faq details {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  transition: border-color 150ms ease;
}
.faq details[open] {
  border-color: hsl(var(--accent) / 0.4);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: hsl(var(--foreground));
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: "JetBrains Mono", ui-monospace, monospace;
  color: hsl(var(--accent));
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform 200ms ease;
  flex-shrink: 0;
}
.faq details[open] summary::after {
  content: "−";
}
.faq p {
  margin: 0.75rem 0 0;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* CTA banner */
.cta-banner {
  text-align: center;
  background: linear-gradient(
    135deg,
    hsl(var(--primary) / 0.18) 0%,
    hsl(var(--accent) / 0.12) 100%
  );
  border: 1px solid hsl(var(--border));
  border-radius: 1.25rem;
  padding: 3rem 1.5rem;
}
.cta-banner h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cta-banner p {
  margin: 0 auto 1.5rem;
  max-width: 540px;
  color: hsl(var(--muted-foreground));
}

/* Footer */
.site-footer {
  border-top: 1px solid hsl(var(--border));
  padding: 2rem 0;
  margin-top: 2rem;
}
.footer-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  align-items: center;
}
@media (min-width: 640px) {
  .footer-row {
    flex-direction: row;
  }
}

/* Contact form */
.contact-banner {
  text-align: left;
}
.contact-banner h2,
.contact-banner > p {
  text-align: center;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
  margin: 1.5rem auto 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
.form-field span {
  font-weight: 500;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background) / 0.6);
  border: 1px solid hsl(var(--input));
  border-radius: 0.625rem;
  padding: 0.65rem 0.85rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field textarea {
  resize: vertical;
  min-height: 6.5rem;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 3px hsl(var(--ring) / 0.25);
}
.form-field input:invalid:not(:placeholder-shown),
.form-field textarea:invalid:not(:placeholder-shown) {
  border-color: hsl(var(--tint-coral) / 0.7);
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.contact-status {
  margin: 0;
  min-height: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
}
.contact-status.is-success {
  color: hsl(var(--accent));
}
.contact-status.is-error {
  color: hsl(var(--tint-coral));
}
.contact-fine {
  margin: 0;
  text-align: center;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}
.contact-fine a {
  color: hsl(var(--accent));
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
