/* ============================================================
   components.css — Static CSS for all web components
   Extracted from JS _injectStyles() methods so styles load
   without JavaScript. Components still inject their own styles
   (idempotent), but this file ensures no-JS rendering works.
   ============================================================ */

/* ── cc-hero ── */
cc-hero { display: block; }
.cc-hero { position: relative; padding: 64px 24px; display: flex; flex-direction: column; justify-content: center; }
.cc-hero--h-full { min-height: 100vh; }
.cc-hero--h-medium { min-height: 50vh; }
.cc-hero--h-fit { min-height: auto; padding: 80px 24px; }
.cc-hero--split { display: flex; flex-direction: row; align-items: center; gap: 40px; }
.cc-hero--split .cc-hero__text { flex: 1; text-align: left; }
.cc-hero--split .cc-hero__image { flex: 1; }
.cc-hero--split .cc-hero__image img { width: 100%; border-radius: 12px; }
.cc-hero__glow { position: absolute; top: 50%; left: 50%; width: 400px; height: 400px; transform: translate(-50%,-50%); background: radial-gradient(circle, var(--accent, #f59e0b)22, transparent 70%); pointer-events: none; z-index: 0; }
.cc-hero__text { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cc-hero__overline { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent, #f59e0b); font-weight: 600; margin-bottom: 12px; }
.cc-hero__title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: var(--text, #e2e8f0); margin: 0 0 16px; line-height: 1.15; }
.cc-hero__subtitle { font-size: 1.2rem; color: var(--muted, #94a3b8); margin: 0 0 12px; line-height: 1.5; }
.cc-hero__body { font-size: 1rem; color: var(--muted, #94a3b8); margin: 0 0 24px; line-height: 1.6; }
.cc-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cc-hero__image img { max-width: 100%; border-radius: 12px; margin-top: 32px; }
@media (max-width: 768px) {
  .cc-hero--split { flex-direction: column; }
  .cc-hero { padding: 40px 16px; }
}

/* ── cc-card ── */
cc-card { display: block; }
.cc-card { display: flex; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease; }
a.cc-card, a.cc-card * { text-decoration: none !important; }
.cc-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.cc-card--vertical { flex-direction: column; }
.cc-card--horizontal { flex-direction: row; }
.cc-card--default { background: var(--surface, #1e293b); border: 1px solid var(--border, rgba(255,255,255,0.1)); }
.cc-card--glass { background: rgba(255,255,255,0.05); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.1); }
.cc-card--outline { background: transparent; border: 1px solid var(--border, rgba(255,255,255,0.15)); }
.cc-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-card--vertical .cc-card__image { height: 200px; }
.cc-card--horizontal .cc-card__image { width: 200px; flex-shrink: 0; }
.cc-card__content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.cc-card__overline { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent, #f59e0b); font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.cc-card__title { font-size: 1.15rem; font-weight: 700; color: var(--text, #e2e8f0); margin: 0 0 10px; }
.cc-card__subtitle { font-size: 0.9rem; color: var(--muted, #94a3b8); margin: 0 0 12px; }
.cc-card__body { font-size: 0.9rem; color: var(--muted, #94a3b8); margin: 0; line-height: 1.6; flex: 1; }
.cc-card__actions { margin-top: 20px; display: flex; gap: 8px; }
@media (max-width: 600px) { .cc-card--horizontal { flex-direction: column; } .cc-card--horizontal .cc-card__image { width: 100%; height: 180px; } }

/* ── cc-section-intro ── */
cc-section-intro { display: block; margin-bottom: 40px; }
.cc-si { max-width: 800px; }
.cc-si--center { text-align: center; margin-left: auto; margin-right: auto; }
.cc-si--left { text-align: left; }
.cc-si__badge {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  padding: 6px 18px; border-radius: 20px;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6);
}
.cc-si__badge--amber { background: rgba(245,158,11,0.15); color: #f59e0b; }
.cc-si__badge--violet { background: rgba(124,58,237,0.15); color: #a78bfa; }
.cc-si__badge--pink { background: rgba(236,72,153,0.15); color: #f472b6; }
.cc-si__badge--blue { background: rgba(59,130,246,0.15); color: #60a5fa; }
.cc-si__badge--green { background: rgba(34,197,94,0.15); color: #4ade80; }
.cc-si__overline {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--accent, #f59e0b); font-weight: 600; margin-bottom: 8px;
}
.cc-si__title {
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(28px, 4vw, 44px); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.5px;
  color: var(--text, #e2e8f0); margin: 0 0 12px;
}
.cc-si__subtitle {
  font-size: 18px; color: rgba(255,255,255,0.5);
  margin: 0 0 12px; line-height: 1.5;
}
.cc-si__body {
  font-size: 17px; line-height: 1.7;
  color: rgba(255,255,255,0.5); max-width: 720px;
  margin: 0;
}
.cc-si--center .cc-si__body { margin: 0 auto; }

/* ── cc-stat-card ── */
cc-stat-card { display: block; height: 100%; }
.cc-stat-card__inner {
  background: var(--stat-card-bg, var(--card-accent-glow, var(--glass, rgba(255,255,255,0.05))));
  border: 1px solid var(--stat-card-border, var(--card-accent-border, var(--glass-border, rgba(255,255,255,0.1))));
  border-radius: var(--stat-card-radius, 16px);
  padding: var(--stat-card-padding, 24px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-height: 120px;
}
.cc-stat-card__inner:hover {
  transform: translateY(-3px);
  border-color: var(--card-accent-border, var(--accent, #f59e0b));
  box-shadow: 0 8px 30px var(--card-accent-glow, rgba(245,158,11,.2));
}
.cc-stat-card__value {
  font-size: var(--stat-value-size, 2.4rem);
  font-weight: 800; line-height: 1.2;
  background: var(--card-accent-grad, var(--accent-grad, linear-gradient(135deg, #f59e0b, #f97316)));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  min-height: 1.3em; overflow: hidden; word-break: break-word;
}
cc-stat-card[size="sm"] .cc-stat-card__value { font-size: var(--stat-value-size, 1.8rem); }
cc-stat-card[size="lg"] .cc-stat-card__value { font-size: var(--stat-value-size, 3.2rem); }
.cc-stat-card__icon { -webkit-text-fill-color: initial; }
.cc-stat-card__label { color: var(--muted, #94a3b8); font-size: 0.95rem; margin-top: 4px; }
cc-stat-card[size="sm"] .cc-stat-card__label { font-size: 0.8rem; }
cc-stat-card[size="lg"] .cc-stat-card__label { font-size: 1.05rem; }
.cc-stat-card__num { display: inline; }
.cc-stat-card__num.typing::after {
  content: '|';
  -webkit-text-fill-color: currentColor;
  animation: cc-stat-blink .6s step-end infinite;
}
@keyframes cc-stat-blink { 0%,100%{opacity:1} 50%{opacity:0} }
.cc-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px; width: 100%; align-items: stretch;
}
@media (max-width: 600px) {
  .cc-stat-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
}

/* ── cc-cta ── */
cc-cta { display: block; }
.cc-cta { padding: 40px 24px; border-radius: 16px; }
.cc-cta--default { background: var(--surface, #1e293b); border: 1px solid var(--border, rgba(255,255,255,0.1)); }
.cc-cta--gradient { background: linear-gradient(135deg, var(--accent, #f59e0b)22, var(--surface, #1e293b)); border: 1px solid var(--accent, #f59e0b)33; }
.cc-cta--bordered { background: transparent; border: 2px solid var(--accent, #f59e0b); }
.cc-cta__title { font-size: 1.5rem; font-weight: 700; color: var(--text, #e2e8f0); margin: 0 0 8px; }
.cc-cta__desc { color: var(--muted, #94a3b8); font-size: 1rem; margin: 0 0 24px; line-height: 1.6; }
.cc-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cc-cta__btn { display: inline-block; padding: 10px 24px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: transform 0.15s ease, opacity 0.15s ease; }
.cc-cta__btn:hover { transform: translateY(-1px); }
.cc-cta__btn--primary { background: var(--accent, #f59e0b); color: #000; }
.cc-cta__btn--secondary { background: transparent; border: 1px solid var(--border, rgba(255,255,255,0.2)); color: var(--text, #e2e8f0); }

/* ── cc-timeline ── */
cc-timeline { display: block; }
.cc-timeline__track--vertical { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 32px; }
.cc-timeline__track--vertical::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: var(--border, rgba(255,255,255,0.1)); }
/* No-JS: steps visible by default. JS adds .cc-timeline--animated to hide them. */
.cc-timeline__step { position: relative; padding-bottom: 48px; opacity: 1; transform: none; transition: opacity 0.4s ease, transform 0.4s ease; }
.cc-timeline--animated .cc-timeline__step { opacity: 0; transform: translateY(16px); }
.cc-timeline--animated .cc-timeline__step--visible { opacity: 1; transform: translateY(0); }
.cc-timeline__marker { position: absolute; left: -32px; width: 32px; height: 32px; border-radius: 50%; background: var(--surface, #1e293b); border: 2px solid var(--accent, #f59e0b); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; color: var(--accent, #f59e0b); z-index: 1; }
.cc-timeline__marker i, .cc-timeline__marker svg { width: 14px; height: 14px; color: var(--accent, #f59e0b); }
.cc-timeline__title { font-weight: 600; color: var(--text, #e2e8f0); font-size: 1rem; }
.cc-timeline__desc { color: var(--muted, #94a3b8); font-size: 0.9rem; margin-top: 4px; line-height: 1.5; }
.cc-timeline__track--horizontal { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 12px; }
.cc-timeline__track--horizontal .cc-timeline__step { padding-bottom: 0; min-width: 180px; flex-shrink: 0; }
.cc-timeline__track--horizontal .cc-timeline__marker { position: static; margin: 0 auto 12px; }
.cc-timeline__track--horizontal::before { display: none; }
/* Alternating center variant */
.cc-timeline__track--alternating { position: relative; max-width: 900px; margin: 0 auto; }
.cc-timeline__track--alternating::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--border, rgba(255,255,255,0.1)); transform: translateX(-50%); }
.cc-timeline__track--alternating .cc-timeline__step { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; padding-bottom: 48px; transition: opacity 0.4s ease, transform 0.4s ease; }
.cc-timeline--animated .cc-timeline__track--alternating .cc-timeline__step { opacity: 0; transform: translateY(16px); }
.cc-timeline--animated .cc-timeline__track--alternating .cc-timeline__step--visible { opacity: 1; transform: translateY(0); }
.cc-timeline__track--alternating .cc-timeline__marker { position: static; width: 36px; height: 36px; border-radius: 50%; background: var(--surface, #1e293b); border: 2px solid var(--accent, #f59e0b); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; color: var(--accent, #f59e0b); z-index: 1; flex-shrink: 0; }
.cc-timeline__track--alternating .cc-timeline__content { padding: 20px 24px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; }
.cc-timeline__track--alternating .cc-timeline__spacer { }
.cc-timeline__track--alternating .cc-timeline__step--left .cc-timeline__content { text-align: right; }
.cc-timeline__track--alternating .cc-timeline__step--left .cc-timeline__spacer { order: 3; }
.cc-timeline__track--alternating .cc-timeline__step--left .cc-timeline__marker { order: 2; }
.cc-timeline__track--alternating .cc-timeline__step--left .cc-timeline__content { order: 1; }
.cc-timeline__track--alternating .cc-timeline__step--right .cc-timeline__spacer { order: 1; }
.cc-timeline__track--alternating .cc-timeline__step--right .cc-timeline__marker { order: 2; }
.cc-timeline__track--alternating .cc-timeline__step--right .cc-timeline__content { order: 3; text-align: left; }
@media (max-width: 640px) {
  .cc-timeline__track--alternating::before { left: 15px; }
  .cc-timeline__track--alternating .cc-timeline__step { grid-template-columns: auto 1fr; padding-left: 0; }
  .cc-timeline__track--alternating .cc-timeline__spacer { display: none; }
  .cc-timeline__track--alternating .cc-timeline__step--left .cc-timeline__content,
  .cc-timeline__track--alternating .cc-timeline__step--right .cc-timeline__content { text-align: left; order: 3; }
  .cc-timeline__track--alternating .cc-timeline__step--left .cc-timeline__marker,
  .cc-timeline__track--alternating .cc-timeline__step--right .cc-timeline__marker { order: 1; }
}

/* ── cc-accordion ── */
cc-accordion { display: block; }
.cc-accordion__item { border-bottom: 1px solid var(--border, rgba(255,255,255,0.1)); }
.cc-accordion__item--bordered { border: 1px solid var(--border, rgba(255,255,255,0.1)); border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.cc-accordion__item--bordered:last-child { margin-bottom: 0; }
.cc-accordion__header { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 4px; background: none; border: none; color: var(--text, #e2e8f0); font-size: 1rem; font-weight: 600; cursor: pointer; text-align: left; transition: color 0.2s; }
.cc-accordion__item--bordered .cc-accordion__header { padding: 14px 16px; }
.cc-accordion__header:hover { color: var(--accent, #f59e0b); }
.cc-accordion__chevron { transition: transform 0.25s ease; flex-shrink: 0; }
.cc-accordion__header[aria-expanded="true"] .cc-accordion__chevron { transform: rotate(180deg); }
.cc-accordion__body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.cc-accordion__content { padding: 0 4px 14px; color: var(--muted, #94a3b8); font-size: 0.925rem; line-height: 1.6; }
.cc-accordion__item--bordered .cc-accordion__content { padding: 0 16px 14px; }

/* ── cc-feature-list ── */
cc-feature-list { display: block; }
.cc-fl { display: grid; grid-template-columns: repeat(var(--cc-fl-cols, 1), 1fr); gap: 16px; }
.cc-fl__item { display: flex; gap: 12px; align-items: flex-start; }
.cc-fl--cards .cc-fl__item { background: var(--surface, #1e293b); border: 1px solid var(--border, rgba(255,255,255,0.1)); border-radius: 12px; padding: 20px; }
.cc-fl--compact .cc-fl__item { gap: 8px; }
.cc-fl__icon { flex-shrink: 0; width: 24px; height: 24px; color: var(--accent, #f59e0b); }
.cc-fl__icon svg { width: 20px; height: 20px; }
.cc-fl__title { font-weight: 600; color: var(--text, #e2e8f0); font-size: 0.95rem; }
.cc-fl__desc { color: var(--muted, #94a3b8); font-size: 0.875rem; margin-top: 4px; line-height: 1.5; }
@media (max-width: 600px) { .cc-fl { grid-template-columns: 1fr; } }

/* ── cc-logo-cloud ── */
cc-logo-cloud { display: block; }
.lc-container {
  text-align: center; padding: 48px 24px;
  background: rgba(255,255,255,0.03); border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}
.lc-title { font-size: 1.5rem; font-weight: 700; color: var(--text, #e2e8f0); margin: 0 0 36px; }
.lc-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 32px; max-width: 700px; margin: 0 auto; min-height: 120px;
}
/* No-JS: items visible by default. JS dims them for the animation cycle. */
.lc-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 80px; opacity: 1; transform: scale(1);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform; cursor: pointer;
}
.lc-item.lc-visible { opacity: 1; transform: scale(1); }
.lc-item.lc-hover { transform: scale(1.05); }
.lc-icon {
  width: 48px; height: 48px; color: var(--brand-color);
  filter: drop-shadow(0 0 12px var(--brand-color));
  transition: filter 0.8s ease, transform 0.3s ease;
}
.lc-item:hover .lc-icon { transform: scale(1.1); filter: drop-shadow(0 0 18px var(--brand-color)); }
.lc-item:not(.lc-visible) .lc-icon { filter: none; }
.lc-icon svg { width: 100%; height: 100%; }
.lc-label {
  font-size: 0.72rem; font-weight: 600; color: var(--muted, #94a3b8);
  letter-spacing: 0.3px; white-space: nowrap; transition: color 0.3s ease;
}
.lc-item:hover .lc-label { color: var(--text, #e2e8f0); }
.lc-subtitle { margin: 28px 0 0; font-size: 0.85rem; color: var(--muted, #94a3b8); font-style: italic; }
@media (max-width: 600px) {
  .lc-grid { gap: 20px; }
  .lc-item { width: 64px; }
  .lc-icon { width: 36px; height: 36px; }
}

/* ── cc-comparison-table ── */
cc-comparison-table { display: block; }
.cc-cmp__wrapper {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 0 -16px; padding: 0 16px;
}
.cc-cmp__table {
  width: 100%; min-width: 700px;
  border-collapse: separate; border-spacing: 0; border-radius: 16px;
  overflow: hidden;
  background: var(--glass, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.06));
}
.cc-cmp__table th, .cc-cmp__table td {
  padding: 14px 16px; text-align: center; font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.cc-cmp__table th {
  background: rgba(255, 255, 255, 0.04); font-weight: 600;
  font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted, rgba(255, 255, 255, 0.6)); position: sticky; top: 0;
}
.cc-cmp__table th:first-child, .cc-cmp__table td:first-child {
  text-align: left; font-weight: 600; color: var(--text, #e2e8f0); min-width: 130px;
}
.cc-cmp__table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.cc-cmp__table tbody tr:last-child td { border-bottom: none; }
.cc-cmp__table .cmp-yes { color: #34d399; }
.cc-cmp__table .cmp-no { color: rgba(255, 255, 255, 0.15); }
.cc-cmp__table .cmp-partial { color: #fbbf24; }

/* ── cc-testimonial ── */
/* No-JS: visible by default. JS adds opacity:0 via _observe(). */
cc-testimonial { display: block; opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s ease; }
cc-testimonial.cc-testimonial--visible { opacity: 1; transform: translateY(0); }
.cc-testimonial { padding: 24px; border-radius: 12px; }
.cc-testimonial--default { background: var(--surface, #1e293b); border: 1px solid var(--border, rgba(255,255,255,0.1)); }
.cc-testimonial--highlighted { background: linear-gradient(135deg, var(--accent, #f59e0b)11, var(--surface, #1e293b)); border: 1px solid var(--accent, #f59e0b)33; }
.cc-testimonial--minimal { background: transparent; padding: 16px 0; }
.cc-testimonial__quote-mark { font-size: 4.5rem; line-height: 1; color: var(--accent, #f59e0b); opacity: 0.5; }
.cc-testimonial__text { font-style: italic; font-size: 1.25rem; line-height: 1.7; color: var(--text, #e2e8f0); margin: 8px 0 20px; border: none; padding: 0; }
.cc-testimonial__author { display: flex; align-items: center; gap: 12px; }
.cc-testimonial__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.cc-testimonial__info { display: flex; flex-direction: column; gap: 4px; }
.cc-testimonial__name { font-weight: 600; color: var(--text, #e2e8f0); font-size: 0.95rem; }
.cc-testimonial__meta { color: var(--muted, #94a3b8); font-size: 0.85rem; }

/* ── cc-fade-in (animation wrapper) ── */
/* No-JS: visible by default. JS sets opacity:0 inline in connectedCallback. */
cc-fade-in {
  display: block;
  will-change: opacity, transform, filter;
  transition-property: opacity, transform, filter;
}
cc-fade-in.cc-visible {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) rotate(0deg) !important;
  filter: blur(0px) !important;
}

/* ── cc-reveal (animation wrapper) ── */
/* No-JS: visible by default. JS sets clip-path inline in connectedCallback. */
cc-reveal {
  display: block;
  transition-property: clip-path;
}
cc-reveal.cc-revealed {
  clip-path: inset(0 0 0 0) !important;
}

/* ── cc-slide-in (animation wrapper) ── */
/* No-JS: visible by default. JS sets transform inline in connectedCallback. */
cc-slide-in {
  display: block;
  will-change: transform;
  transition-property: transform;
}
cc-slide-in.cc-slid {
  transform: translate(0, 0) !important;
}

/* ── cc-stagger (animation wrapper) ── */
/* No-JS: children visible by default. JS adds .cc-stagger-ready to hide them. */
cc-stagger { display: block; }
cc-stagger > * {
  transition-property: opacity, transform, filter;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
cc-stagger.cc-stagger-ready > * { opacity: 0; }
cc-stagger.cc-stagger-visible > * {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* ── cc-parallax ── */
cc-parallax {
  display: block; position: relative;
  overflow: hidden; width: 100%;
}
.cc-parallax-bg {
  position: absolute; inset: -20% 0;
  background-size: cover; background-position: center;
  will-change: transform; z-index: 0;
}
.cc-parallax-overlay { position: absolute; inset: 0; z-index: 1; }
.cc-parallax-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  padding: 48px 32px; width: 100%;
  max-width: 960px; margin: 0 auto;
}
.cc-parallax-content[data-align="top"] { justify-content: flex-start; }
.cc-parallax-content[data-align="center"] { justify-content: center; }
.cc-parallax-content[data-align="bottom"] { justify-content: flex-end; }

/* ── cc-typewriter ── */
cc-typewriter { display: inline; }
.cc-tw-cursor {
  display: inline-block; width: 2px; height: 1em;
  background: currentColor; margin-left: 2px;
  vertical-align: text-bottom;
  animation: cc-tw-blink 0.7s step-end infinite;
}
@keyframes cc-tw-blink { 50% { opacity: 0; } }

/* ── cc-pill ── */
cc-pill {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 99px; font-weight: 600; cursor: default;
  border: 1px solid color-mix(in srgb, var(--_pc, var(--glass-border, rgba(255,255,255,.1))) 40%, transparent);
  color: var(--_pc, var(--muted, #71717a));
  background: transparent;
  transition: all .15s; white-space: nowrap; user-select: none;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
cc-pill, cc-pill[variant="pill"] { padding: 6px 16px; font-size: 12px; }
cc-pill[variant="badge"] { padding: 2px 10px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
cc-pill[variant="tag"] {
  padding: 2px 8px; font-size: 10px; font-weight: 500;
  background: color-mix(in srgb, var(--_pc, var(--muted, #71717a)) 14%, transparent);
  border: none;
}
cc-pill[active] { background: var(--_pc, var(--accent, #f59e0b)); color: white; border-color: var(--_pc, transparent); }
cc-pill[neutral] { --_pc: var(--muted, #71717a); }
cc-pill[clickable] { cursor: pointer; }
cc-pill[clickable]:hover { border-color: var(--_pc, var(--accent, #f59e0b)); color: var(--text, #fff); }
cc-pill .cc-pill-count { opacity: 0.6; font-size: 10px; }

/* ── cc-lightbox ── */
cc-lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.92);
  display: none; align-items: center; justify-content: center;
  cursor: zoom-out;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.3s ease;
}
cc-lightbox.open { display: flex; opacity: 1; }
cc-lightbox img {
  max-width: 90vw; max-height: 90vh; border-radius: 8px;
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
  transform: scale(0.9); transition: transform 0.3s ease;
}
cc-lightbox.open img { transform: scale(1); }

/* ── cc-confetti ── */
.cc-confetti-piece {
  position: fixed; z-index: 9999; pointer-events: none;
  animation: cc-confetti-fall linear forwards;
}
@keyframes cc-confetti-fall {
  0% { opacity:1; transform: translateY(0) rotate(0deg) scale(1); }
  80% { opacity:1; }
  100% { opacity:0; transform: translateY(100vh) rotate(720deg) scale(0.5); }
}

/* ── cc-empty-state ── */
.cc-empty-state-container {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 20px; min-height: 120px; text-align: center;
}
.cc-empty-state-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cc-empty-state-icon { font-size: 32px; margin-bottom: 8px; animation: cc-es-pop 0.5s cubic-bezier(0.34,1.56,0.64,1) both; }
.cc-empty-state-msg { font-size: 14px; color: var(--muted, #94a3b8); font-weight: 500; animation: cc-es-fade 0.6s ease both; animation-delay: 0.2s; }
@keyframes cc-es-pop { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes cc-es-fade { 0% { opacity: 0; transform: translateY(6px); } 100% { opacity: 1; transform: translateY(0); } }

/* ── lr-nav ── */
lr-nav { display: block; }
lr-nav .lr-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 40px; display: flex; align-items: center; justify-content: space-between;
  background: rgba(8, 8, 15, 0.35); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
lr-nav .lr-logo { font-family: var(--serif, Georgia, serif); font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
lr-nav .lr-logo span { background: var(--accent-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
lr-nav .lr-nav-links { display: flex; gap: 32px; align-items: center; }
lr-nav .lr-nav-links--mobile { display: none; }
lr-nav .lr-nav-links a { color: rgba(255, 255, 255, 0.5); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
lr-nav .lr-nav-links a:hover, lr-nav .lr-nav-links a.lr-nav-active { color: #fff; }
lr-nav .lr-nav-cta {
  padding: 10px 24px; border-radius: 10px; background: var(--accent-grad);
  color: #000 !important; font-weight: 700; font-size: 13px; text-decoration: none;
  transition: all 0.3s; box-shadow: 0 0 30px rgba(245, 158, 11, 0.15);
}
lr-nav .lr-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 40px rgba(245, 158, 11, 0.3); }
lr-nav .lr-nav-hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 4px;
  flex-direction: column; gap: 5px; z-index: 101;
}
lr-nav .lr-nav-hamburger span {
  display: block; width: 24px; height: 2px; background: rgba(255,255,255,0.7);
  transition: transform 0.3s, opacity 0.3s;
}
lr-nav .lr-nav-hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
lr-nav .lr-nav-hamburger--open span:nth-child(2) { opacity: 0; }
lr-nav .lr-nav-hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 768px) {
  lr-nav .lr-nav { padding: 16px 20px; }
  lr-nav .lr-nav-hamburger { display: flex; }
  lr-nav .lr-nav-links--desktop { display: none; }
  lr-nav .lr-nav-links--mobile.lr-nav-links--open {
    display: flex; position: fixed; top: 80px; left: 0; right: 0; bottom: 0; z-index: 99;
    background: rgba(8, 8, 15, 0.95); backdrop-filter: blur(20px);
    flex-direction: column; align-items: center; justify-content: flex-start; gap: 24px;
    padding-top: 40px; overflow-y: auto;
  }
  lr-nav .lr-nav-links--mobile a { font-size: 18px; }
}

/* ── lr-subnav ── */
lr-subnav { display: block; }
lr-subnav .lr-subnav {
  position: fixed; top: 90px; left: 50%; transform: translateX(-50%) translateY(-20px);
  z-index: 90; display: flex; gap: 4px; padding: 6px;
  background: rgba(8, 8, 15, 0.75); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s;
}
lr-subnav .lr-subnav--visible { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
lr-subnav .lr-subnav a {
  color: rgba(255, 255, 255, 0.5); text-decoration: none; font-size: 13px; font-weight: 500;
  padding: 8px 16px; border-radius: 10px; transition: all 0.2s; white-space: nowrap;
}
lr-subnav .lr-subnav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
lr-subnav .lr-subnav a.lr-subnav-active {
  color: #000; background: var(--accent-grad, linear-gradient(135deg, #f59e0b, #f97316));
  font-weight: 700;
}
@media (max-width: 768px) {
  lr-subnav .lr-subnav { top: 78px; gap: 2px; padding: 5px; }
  lr-subnav .lr-subnav a { font-size: 12px; padding: 7px 12px; }
}

/* ── cc-dev-toolbar ── */
cc-dev-toolbar {
  position: fixed; bottom: 20px; left: 20px; z-index: 1000;
  display: flex; flex-direction: column; gap: 12px;
}
.cc-dt-fab {
  width: 52px; height: 52px; border-radius: 16px; border: 1px solid var(--border, #333);
  background: var(--card-bg, #1e1e2e); color: var(--text, #e0e0e0);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.4); transition: all .2s; text-decoration: none;
  position: relative;
}
.cc-dt-fab:hover {
  transform: scale(1.1); box-shadow: 0 6px 24px rgba(0,0,0,.5);
  background: var(--hover-bg, rgba(255,255,255,.08));
}
.cc-dt-fab.cc-dt-edit-active {
  background: linear-gradient(135deg, rgba(168,85,247,.35), rgba(99,102,241,.35)) !important;
  border-color: rgba(168,85,247,.5);
  box-shadow: 0 4px 20px rgba(168,85,247,.3);
}
.cc-dt-fab.cc-dt-logs-active {
  background: linear-gradient(135deg, rgba(239,68,68,.25), rgba(220,38,38,.25)) !important;
  border-color: rgba(239,68,68,.5);
  box-shadow: 0 4px 20px rgba(239,68,68,.3);
}
.cc-dt-badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 20px; height: 20px; border-radius: 10px;
  background: #ef4444; color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px; box-shadow: 0 2px 8px rgba(239,68,68,.5);
  pointer-events: none; transition: transform .2s;
}
.cc-dt-badge.hidden { display: none; }
.cc-dt-badge.pulse { animation: cc-dt-pulse .6s ease; }
@keyframes cc-dt-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.3)} }

/* ── cc-contact-form ── */
cc-contact-form { display: block; }
.ccf { max-width: 640px; margin: 0 auto; padding: 48px 24px; text-align: center; }
.ccf__title { font-size: 1.6rem; font-weight: 700; color: var(--text, #e2e8f0); margin: 0 0 8px; }
.ccf__desc { color: var(--muted, #94a3b8); font-size: 0.95rem; margin: 0 0 32px; line-height: 1.6; }
.ccf__form { text-align: left; display: flex; flex-direction: column; gap: 16px; }
.ccf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 768px) { .ccf__row { grid-template-columns: 1fr; } }
.ccf__field { display: flex; flex-direction: column; gap: 6px; }
.ccf__label { font-size: 0.8rem; font-weight: 600; color: var(--muted, #94a3b8); text-transform: uppercase; letter-spacing: 0.05em; }
.ccf__input, .ccf__textarea {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 8px; padding: 12px 14px; color: var(--text, #e2e8f0); font-size: 0.95rem;
  font-family: inherit; transition: border-color 0.2s;
}
.ccf__input:focus, .ccf__textarea:focus { outline: none; border-color: var(--accent, #f59e0b); }
.ccf__input::placeholder, .ccf__textarea::placeholder { color: rgba(255,255,255,0.25); }
.ccf__textarea { resize: vertical; min-height: 100px; }
.ccf__submit {
  align-self: flex-start; background: var(--accent, #f59e0b); color: #000;
  border: none; padding: 12px 32px; border-radius: 8px; font-weight: 600;
  font-size: 0.95rem; cursor: pointer; transition: transform 0.15s, opacity 0.15s;
}
.ccf__submit:hover { transform: translateY(-1px); opacity: 0.9; }
.ccf__success { text-align: center; padding: 40px 0; }
.ccf__success-icon { font-size: 2.5rem; margin-bottom: 12px; color: var(--accent, #f59e0b); }
.ccf__success-text { color: var(--text, #e2e8f0); font-size: 1.1rem; }
.ccf__error { text-align: left; padding: 16px; margin-top: 16px; border-radius: 8px; background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); }
.ccf__error-text { color: #fca5a5; font-size: 0.9rem; margin: 0; }
