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

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(0.938rem, 0.9rem + 0.2vw, 1.063rem);
  line-height: 1.7;
  color: #334155;
  background-color: #fafafe;
  overflow-x: hidden;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  color: #1e293b;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 1.8rem + 3.5vw, 4.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.85rem, 1.4rem + 2.2vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.65rem);
  font-weight: 600;
}

p {
  max-width: 65ch;
}

/* ── Layout ── */
.cf-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.cf-page-body {
  flex: 1;
}

.cf-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 3rem);
}

/* ── Two-Row Header ── */
.cf-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 254, 0.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(107, 33, 168, 0.08);
}

.cf-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cf-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  color: #1e293b;
  letter-spacing: -0.03em;
}

.cf-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cf-brand-icon svg {
  width: 22px;
  height: 22px;
}

.cf-header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cf-header-tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: #7c3aed;
  background: #f3e8ff;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.cf-header-bottom {
  padding: 0 0 0.65rem 0;
}

.cf-nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.cf-nav-link {
  display: inline-block;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.cf-nav-link:hover,
.cf-nav-link--active {
  color: #7c3aed;
  background: #f3e8ff;
}

.cf-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.cf-hamburger:hover {
  background: #f3e8ff;
}

.cf-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #475569;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Buttons ── */
.cf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
  text-align: center;
}

.cf-btn:active {
  transform: scale(0.97);
}

.cf-btn--primary {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #06b6d4 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3), 0 1px 3px rgba(124, 58, 237, 0.15);
}

.cf-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35), 0 2px 6px rgba(124, 58, 237, 0.2);
}

.cf-btn--secondary {
  background: #ffffff;
  color: #7c3aed;
  border: 1.5px solid #e9d5ff;
  box-shadow: 0 1px 4px rgba(124, 58, 237, 0.06);
}

.cf-btn--secondary:hover {
  background: #faf5ff;
  border-color: #d8b4fe;
  transform: translateY(-1px);
}

.cf-btn--ghost {
  background: transparent;
  color: #7c3aed;
  padding: 0.5rem 1rem;
}

.cf-btn--ghost:hover {
  background: #f3e8ff;
}

.cf-btn--large {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  border-radius: 14px;
}

/* ── Hero ── */
.cf-hero {
  position: relative;
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(3rem, 6vw, 5.5rem) 0;
  overflow: hidden;
}

.cf-hero__blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.cf-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.cf-hero__blob--1 {
  width: 500px;
  height: 500px;
  background: #d8b4fe;
  top: -15%;
  right: -8%;
  animation: cf-float 18s ease-in-out infinite;
}

.cf-hero__blob--2 {
  width: 350px;
  height: 350px;
  background: #a5f3fc;
  bottom: -10%;
  left: -5%;
  animation: cf-float 22s ease-in-out infinite reverse;
}

.cf-hero__blob--3 {
  width: 250px;
  height: 250px;
  background: #fecdd3;
  top: 30%;
  left: 40%;
  animation: cf-float 15s ease-in-out infinite 3s;
}

@keyframes cf-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.97); }
}

.cf-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.cf-hero__text {
  max-width: 560px;
}

.cf-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7c3aed;
  margin-bottom: 1.25rem;
}

.cf-hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
}

.cf-hero__title {
  margin-bottom: 1.25rem;
}

.cf-hero__title span {
  background: linear-gradient(135deg, #7c3aed 0%, #06b6d4 60%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cf-hero__subtitle {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cf-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.cf-hero__gradient-strip {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cf-hero__gradient-chip {
  width: 48px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.25s;
}

.cf-hero__gradient-chip:hover {
  transform: scale(1.15) rotate(-2deg);
}

.cf-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-hero__preview {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(124, 58, 237, 0.15), 0 8px 20px rgba(0,0,0,0.06);
  position: relative;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.cf-hero__preview-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1rem;
}

.cf-hero__preview-bar {
  display: flex;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cf-hero__preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.cf-hero__preview-dot--1 { background: #f87171; }
.cf-hero__preview-dot--2 { background: #fbbf24; }
.cf-hero__preview-dot--3 { background: #34d399; }

.cf-hero__preview-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  flex: 1;
  align-content: flex-start;
}

.cf-hero__preview-swatch {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  transition: transform 0.3s;
}

.cf-hero__preview-swatch:hover {
  transform: scale(1.1);
}

/* ── Sections ── */
.cf-section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
}

.cf-section--alt {
  background: linear-gradient(180deg, #f8f7ff 0%, #fafafe 100%);
}

.cf-section--gradient {
  background: linear-gradient(135deg, #1e293b 0%, #312e81 50%, #1e1b4b 100%);
  color: #e2e8f0;
}

.cf-section--gradient h2,
.cf-section--gradient h3 {
  color: #ffffff;
}

.cf-section--gradient p {
  color: #cbd5e1;
}

.cf-section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2.5rem, 4vw, 3.5rem) auto;
}

.cf-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7c3aed;
  margin-bottom: 0.85rem;
}

.cf-section--gradient .cf-section__eyebrow {
  color: #a5f3fc;
}

.cf-section__eyebrow-line {
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, #7c3aed, #06b6d4);
  border-radius: 2px;
}

.cf-section__heading {
  margin-bottom: 1rem;
}

.cf-section__lead {
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.15rem);
  color: #64748b;
  line-height: 1.75;
}

.cf-section--gradient .cf-section__lead {
  color: #94a3b8;
}

/* ── Cards ── */
.cf-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
}

.cf-card {
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border: 1px solid #f1f0f9;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.cf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.1), 0 4px 12px rgba(0,0,0,0.04);
  border-color: #e9d5ff;
}

.cf-card--dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
}

.cf-card--dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.cf-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.cf-card__icon--purple {
  background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
  color: #7c3aed;
}

.cf-card__icon--cyan {
  background: linear-gradient(135deg, #cffafe, #a5f3fc);
  color: #0891b2;
}

.cf-card__icon--pink {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
  color: #db2777;
}

.cf-card__icon svg {
  width: 24px;
  height: 24px;
}

.cf-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #1e293b;
}

.cf-card--dark .cf-card__title {
  color: #f1f5f9;
}

.cf-card__text {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.7;
}

.cf-card--dark .cf-card__text {
  color: #94a3b8;
}

.cf-card__gradient-bar {
  height: 8px;
  border-radius: 4px;
  margin-top: auto;
  padding-top: 1.25rem;
}

/* ── Feature Blocks ── */
.cf-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.cf-feature-row--reverse {
  direction: rtl;
}

.cf-feature-row--reverse > * {
  direction: ltr;
}

.cf-feature__visual {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.12);
}

.cf-feature__visual-gradient {
  width: 100%;
  height: 100%;
}

.cf-feature__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7c3aed;
  margin-bottom: 0.65rem;
}

.cf-feature__heading {
  margin-bottom: 0.85rem;
}

.cf-feature__text {
  color: #64748b;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.cf-feature__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cf-feature__list-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: #475569;
}

.cf-feature__list-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #f3e8ff;
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ── Pricing ── */
.cf-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
  align-items: start;
}

.cf-pricing-card {
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1.5px solid #f1f0f9;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cf-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 45px rgba(124, 58, 237, 0.1);
}

.cf-pricing-card--featured {
  border-color: #7c3aed;
  position: relative;
  box-shadow: 0 15px 45px rgba(124, 58, 237, 0.15);
}

.cf-pricing-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.cf-pricing__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.5rem;
}

.cf-pricing__price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.cf-pricing__price span {
  font-size: 1rem;
  font-weight: 500;
  color: #94a3b8;
}

.cf-pricing__desc {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cf-pricing__features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  flex: 1;
}

.cf-pricing__feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #475569;
}

.cf-pricing__feature-check {
  color: #7c3aed;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ── Docs ── */
.cf-docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  padding-top: 2rem;
}

.cf-docs-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.cf-docs-sidebar-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.cf-docs-nav-item {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  color: #64748b;
  border-radius: 8px;
  margin-bottom: 0.2rem;
  transition: color 0.2s, background 0.2s;
}

.cf-docs-nav-item:hover {
  color: #7c3aed;
  background: #f3e8ff;
}

.cf-docs-nav-item--active {
  color: #7c3aed;
  background: #f3e8ff;
  font-weight: 600;
}

.cf-docs-content h1 {
  margin-bottom: 0.5rem;
}

.cf-docs-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 1.2rem + 0.8vw, 1.75rem);
}

.cf-docs-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.cf-docs-content p {
  margin-bottom: 1.25rem;
  color: #475569;
}

.cf-docs-code {
  background: #1e293b;
  color: #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.85rem;
  line-height: 1.8;
}

.cf-docs-code .cf-code-keyword {
  color: #c084fc;
}

.cf-docs-code .cf-code-string {
  color: #34d399;
}

.cf-docs-code .cf-code-prop {
  color: #67e8f9;
}

.cf-docs-code .cf-code-comment {
  color: #64748b;
}

/* ── Use Cases ── */
.cf-usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

.cf-usecase-card {
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #f1f0f9;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cf-usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(124, 58, 237, 0.1);
}

.cf-usecase-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.cf-usecase-card__body {
  padding: 1.5rem;
}

.cf-usecase-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7c3aed;
  background: #f3e8ff;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.cf-usecase-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cf-usecase-card__text {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.65;
}

/* ── Generator Page ── */
.cf-generator-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  padding-top: 2rem;
}

.cf-generator-preview {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.15);
}

.cf-generator-controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cf-generator-control-group {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid #f1f0f9;
}

.cf-generator-control-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.cf-generator-color-row {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.cf-generator-color-input {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

.cf-generator-color-input::-webkit-color-swatch-wrapper {
  padding: 2px;
}

.cf-generator-color-input::-webkit-color-swatch {
  border: none;
  border-radius: 8px;
}

.cf-generator-color-hex {
  font-family: 'SF Mono', monospace;
  font-size: 0.85rem;
  color: #475569;
  padding: 0.5rem 0.75rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  width: 100%;
  background: #fafafe;
}

.cf-generator-slider {
  width: 100%;
  margin-top: 0.5rem;
  accent-color: #7c3aed;
}

.cf-generator-code-output {
  background: #1e293b;
  color: #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.82rem;
  line-height: 1.8;
  overflow-x: auto;
  white-space: pre;
  word-break: break-all;
}

/* ── Footer ── */
.cf-footer {
  background: #1e293b;
  color: #94a3b8;
  padding: clamp(3rem, 5vw, 5rem) 0 2rem 0;
  margin-top: auto;
}

.cf-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3rem;
}

.cf-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #f1f5f9;
  margin-bottom: 1rem;
}

.cf-footer__brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-footer__brand-icon svg {
  width: 18px;
  height: 18px;
}

.cf-footer__desc {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
  color: #64748b;
}

.cf-footer__heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e2e8f0;
  margin-bottom: 1.1rem;
}

.cf-footer__link {
  display: block;
  font-size: 0.88rem;
  color: #64748b;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.cf-footer__link:hover {
  color: #a5f3fc;
}

.cf-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cf-footer__copy {
  font-size: 0.82rem;
  color: #475569;
}

.cf-footer__socials {
  display: flex;
  gap: 0.75rem;
}

.cf-footer__social {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: background 0.2s, color 0.2s;
}

.cf-footer__social:hover {
  background: rgba(124, 58, 237, 0.2);
  color: #c4b5fd;
}

.cf-footer__social svg {
  width: 16px;
  height: 16px;
}

/* ── Utility ── */
.cf-text-center {
  text-align: center;
}

.cf-mb-1 { margin-bottom: 0.5rem; }
.cf-mb-2 { margin-bottom: 1rem; }
.cf-mb-3 { margin-bottom: 1.5rem; }
.cf-mb-4 { margin-bottom: 2rem; }

/* ── Mobile ── */
@media (max-width: 900px) {
  .cf-hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cf-hero__text {
    max-width: 100%;
  }

  .cf-hero__actions {
    justify-content: center;
  }

  .cf-hero__gradient-strip {
    justify-content: center;
  }

  .cf-hero__visual {
    order: -1;
  }

  .cf-hero__preview {
    max-width: 360px;
    margin: 0 auto;
  }

  .cf-feature-row,
  .cf-feature-row--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .cf-generator-layout {
    grid-template-columns: 1fr;
  }

  .cf-docs-layout {
    grid-template-columns: 1fr;
  }

  .cf-docs-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .cf-docs-sidebar-title {
    width: 100%;
  }

  .cf-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .cf-hamburger {
    display: flex;
  }

  .cf-header-bottom {
    display: none;
  }

  .cf-header-bottom--open {
    display: block;
    padding-top: 0.5rem;
  }

  .cf-nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .cf-nav-link {
    padding: 0.65rem 1rem;
  }

  .cf-header-tag {
    display: none;
  }

  .cf-footer__grid {
    grid-template-columns: 1fr;
  }

  .cf-pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Accessibility ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
/* universal guards (not a template) */
*{box-sizing:border-box}img,svg,video{max-width:100%;height:auto}h1,h2,h3,h4,p,li,a,span,blockquote{overflow-wrap:break-word;word-break:normal}html{-webkit-text-size-adjust:100%}body{margin:0}
