@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #fff7ed;
  --card: #ffffff;
  --border: #ffe4c7;
  --text: #1f2937;
  --muted: #475569;
  --primary: #ff6b6b;
  --primary-hover: #ff5a4f;
  --accent: #2ec4b6;
  --accent-2: #ffd166;
  --success: #16a34a;
  --warning: #ca8a04;
  --error: #dc2626;
  --shadow: 0 12px 36px rgba(255, 107, 107, 0.2);
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --section: 72px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, rgba(255, 209, 102, 0.2), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(46, 196, 182, 0.18), transparent 34%), var(--bg);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout */
.container {
  width: min(1100px, 94vw);
  margin: 0 auto;
}

.section {
  padding: var(--section) 0;
}

.section.alt {
  background: #fff0da;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-md);
  position: sticky;
  top: 0;
  background: rgba(255, 247, 237, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.nav nav a {
  margin-left: var(--space-md);
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  color: var(--text);
  font-weight: 600;
}

.nav nav a:hover {
  background: rgba(255, 107, 107, 0.12);
  transform: translateY(-1px);
}

.brand {
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 1.1rem;
}

/* Hero */
.hero {
  padding: var(--section) 0 var(--space-lg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  margin: 12px 0;
  letter-spacing: 0.6px;
  text-shadow: 0 10px 32px rgba(255, 91, 79, 0.28);
}

.bubble-text {
  font-weight: 800;
  letter-spacing: 0.6px;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.12);
}

.lede {
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 var(--space-md) 0;
}

.cta-row {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.hero-visual {
  position: relative;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at 30% 20%, rgba(255, 209, 102, 0.25), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(46, 196, 182, 0.2), transparent 45%);
  filter: blur(30px);
  z-index: 0;
}

.blur-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.14), rgba(46, 196, 182, 0.2));
  border: 1px solid #ffd6a5;
  border-radius: 18px;
  padding: var(--space-lg);
  box-shadow: var(--shadow);
  display: grid;
  gap: var(--space-md);
  z-index: 1;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 107, 107, 0.16);
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.4px;
  width: fit-content;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border);
  margin: 4px 0 8px 0;
  text-transform: capitalize;
}

.badge-status.success {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
  border-color: rgba(22, 163, 74, 0.3);
}

.badge-status.warning {
  background: rgba(202, 138, 4, 0.12);
  color: #854d0e;
  border-color: rgba(202, 138, 4, 0.3);
}

.badge-status.error {
  background: rgba(220, 38, 38, 0.12);
  color: #991b1b;
  border-color: rgba(220, 38, 38, 0.3);
}

/* Buttons */
.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
  text-decoration: none;
}

.btn.primary,
button {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.btn.primary:hover,
button:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn.secondary {
  background: rgba(46, 196, 182, 0.15);
  color: #0f766e;
  border-color: rgba(46, 196, 182, 0.35);
}

.btn.ghost,
.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn.ghost:hover,
.ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-lg);
  box-shadow: var(--shadow);
}

/* Typography helpers */
.eyebrow {
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.message {
  margin-top: 8px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12px;
}

/* Grids */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.steps .card {
  text-align: left;
  background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 209, 102, 0.35);
  color: #b45309;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.template-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.template-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.14), rgba(255, 209, 102, 0.25));
  border-bottom: 1px solid var(--border);
  position: relative;
}

.template-thumb::after {
  content: '';
  position: absolute;
  inset: 20% 18%;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.template-body {
  padding: var(--space-md);
}

.template-body h3 {
  margin-top: 0;
  margin-bottom: 6px;
}

.template-body p {
  margin: 0 0 12px 0;
  color: var(--muted);
}

.template-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  border-top: 1px solid var(--border);
}

.chip {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 107, 107, 0.12);
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
}

/* Website-like previews */
.preview-window {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.preview-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}
.preview-dot.red {
  background: #f87171;
}
.preview-dot.yellow {
  background: #fbbf24;
}
.preview-dot.green {
  background: #34d399;
}

.preview-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  padding: 18px;
  gap: 14px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(255, 209, 102, 0.2));
}

.preview-text h3 {
  margin: 0 0 6px 0;
}
.preview-text p {
  margin: 0;
  color: var(--muted);
}

.preview-block {
  border-radius: 12px;
  background: rgba(46, 196, 182, 0.18);
  height: 100%;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  padding: 16px;
}

.preview-card {
  background: #f8fafc;
  border: 1px dashed var(--border);
  border-radius: 12px;
  height: 90px;
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 12px 2px;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 85%;
  display: block;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.carousel-card:hover {
  transform: translateY(-4px);
}

@media (min-width: 920px) {
  .carousel-card {
    flex-basis: 45%;
  }
}

/* Lists */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-sm);
}

.bullet-list li {
  padding-left: 12px;
  position: relative;
}

.bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.two-col {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.final-cta .final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Dashboard */
.dashboard {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 80px);
}

.sidebar {
  padding: 24px;
  border-right: 1px solid var(--border);
  background: #fff0da;
}

.sidebar .avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 107, 107, 0.18);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 12px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.sidebar li {
  margin-bottom: 10px;
}

.sidebar a {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--text);
}

.sidebar a:hover {
  border-color: var(--border);
  background: rgba(255, 107, 107, 0.12);
}

.workspace {
  padding: 32px 24px 80px 24px;
  background: var(--bg);
}

/* Forms */
.stack {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.stack.compact {
  gap: 8px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: var(--text);
}

input,
select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

textarea {
  font-family: inherit;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .hero-inner,
  .dashboard {
    grid-template-columns: 1fr;
  }

  .nav {
    position: static;
  }
}
