/**
 * design-system.css — NovaOps AI / LaunchpadNova
 * Complete Component Library
 * Depends on: brand.css (must be loaded first)
 * Theme: White + Deep Orange (#FF6A00) + Near-Black
 * ─────────────────────────────────────────────────
 */


/* ═══════════════════════════════════════════════════════════════
   SECTION 1: CSS RESET + BASE
   ═══════════════════════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--surface-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
}

body {
  background: var(--surface-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: var(--leading-normal);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Selection */
::selection {
  background: var(--nova-orange-20);
  color: var(--nova-white);
}

::-moz-selection {
  background: var(--nova-orange-20);
  color: var(--nova-white);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 106, 0, 0.3);
  border-radius: var(--radius-full);
  transition: background var(--dur-base) var(--ease-smooth);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--nova-orange);
}

::-webkit-scrollbar-corner {
  background: #f1f1f1;
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 106, 0, 0.3) #f1f1f1;
}

/* Images */
img,
video,
canvas,
svg {
  max-width: 100%;
  display: block;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* Buttons, inputs */
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Lists */
ul,
ol {
  list-style: none;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--nova-orange);
  outline-offset: 3px;
  border-radius: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 2: TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════ */

/* Font stacks */
.font-display {
  font-family: var(--font-display);
}

.font-body {
  font-family: var(--font-body);
}

.mono,
.font-mono,
code,
kbd,
samp,
pre {
  font-family: var(--font-mono);
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: var(--leading-tight);
  font-feature-settings: 'kern' 1, 'liga' 1, 'ss01' 1;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

h4 {
  font-size: clamp(1.1rem, 1.5vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

h5 {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.4;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}

/* Italic emphasis in headings becomes orange */
h1 em,
h2 em,
h3 em,
h4 em,
h5 em,
h6 em {
  color: var(--nova-orange);
  font-style: italic;
}

/* Paragraph */
p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

p + p {
  margin-top: 1em;
}

/* Strong / bold */
strong,
b {
  font-weight: 700;
  color: var(--text-primary);
}

/* Inline code */
code {
  font-size: 0.875em;
  background: var(--glass-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xs);
  padding: 2px 6px;
  color: var(--nova-orange-bright);
}

/* Preformatted */
pre {
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  overflow-x: auto;
  font-size: var(--text-sm);
  line-height: 1.7;
}

pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-primary);
}

/* Blockquote */
blockquote {
  border-left: 3px solid var(--nova-orange);
  padding-left: var(--space-6);
  color: var(--text-secondary);
  font-style: italic;
}

/* Horizontal rule */
hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: var(--space-8) 0;
}

/* Text utility classes */
.text-orange {
  color: var(--nova-orange);
}

.text-orange-bright {
  color: var(--nova-orange-bright);
}

.text-white {
  color: var(--nova-white);
}

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

.text-secondary {
  color: var(--text-secondary);
}

.text-xs {
  font-size: var(--text-xs);
}

.text-sm {
  font-size: var(--text-sm);
}

.text-base {
  font-size: var(--text-base);
}

.text-lg {
  font-size: var(--text-lg);
}

.text-xl {
  font-size: var(--text-xl);
}

.text-2xl {
  font-size: var(--text-2xl);
}

.text-3xl {
  font-size: var(--text-3xl);
}

.text-4xl {
  font-size: var(--text-4xl);
}

.text-5xl {
  font-size: var(--text-5xl);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.font-weight-400 {
  font-weight: 400;
}

.font-weight-500 {
  font-weight: 500;
}

.font-weight-600 {
  font-weight: 600;
}

.font-weight-700 {
  font-weight: 700;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wide {
  letter-spacing: var(--tracking-wide);
}

.tracking-widest {
  letter-spacing: var(--tracking-widest);
}

.tracking-tight {
  letter-spacing: var(--tracking-tight);
}

.leading-tight {
  line-height: var(--leading-tight);
}

.leading-relaxed {
  line-height: var(--leading-relaxed);
}

.gradient-text {
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 3: LAYOUT UTILITIES
   ═══════════════════════════════════════════════════════════════ */

/* Containers */
.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
  width: 100%;
}

.container-lg {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
  width: 100%;
}

.container-sm {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
  width: 100%;
}

/* Flexbox utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.flex-1 {
  flex: 1;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.items-stretch {
  align-items: stretch;
}

.justify-start {
  justify-content: flex-start;
}

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

.justify-end {
  justify-content: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-5 {
  gap: var(--space-5);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

.gap-10 {
  gap: var(--space-10);
}

.gap-12 {
  gap: var(--space-12);
}

/* Grid utilities */
.grid {
  display: grid;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* Section spacing */
.section-padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

/* Position utilities */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  inset: 0;
}

.overflow-hidden {
  overflow: hidden;
}

/* Display utilities */
.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline-flex {
  display: inline-flex;
}

.hidden {
  display: none;
}

/* Width utilities */
.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

/* Margin utilities */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.mt-20 { margin-top: var(--space-20); }

.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }
.mb-20 { margin-bottom: var(--space-20); }

/* Padding utilities */
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.px-8 { padding-left: var(--space-8); padding-right: var(--space-8); }

.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-6 { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }


/* ═══════════════════════════════════════════════════════════════
   SECTION 4: NAVIGATION (.nova-nav)
   ═══════════════════════════════════════════════════════════════ */

.nova-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1280px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  z-index: var(--z-sticky);
  transition:
    background var(--dur-base) var(--ease-smooth),
    top var(--dur-base) var(--ease-smooth),
    border-color var(--dur-base) var(--ease-smooth),
    box-shadow var(--dur-base) var(--ease-smooth);
}

.nova-nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  top: 8px;
  border-color: var(--border-default);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* Nav container */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 24px;
}

/* Nav logo */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  transition: opacity var(--dur-fast) var(--ease-smooth);
}

.nav-logo:hover {
  opacity: 0.85;
}

.logo-icon {
  color: var(--nova-orange);
  font-size: 1.3em;
  line-height: 1;
}

.logo-accent {
  color: var(--nova-orange);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 450;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--dur-fast) var(--ease-smooth),
    color var(--dur-fast) var(--ease-smooth);
}

.nav-link:hover {
  background: var(--glass-2);
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--text-primary);
  background: var(--glass-2);
}

.nav-arrow {
  opacity: 0.5;
  font-size: 0.7em;
  margin-left: 4px;
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease-smooth);
}

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 16px;
  min-width: 480px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--dur-base) var(--ease-smooth),
    transform var(--dur-base) var(--ease-smooth);
  box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown-panel {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition:
    background var(--dur-fast) var(--ease-smooth);
  cursor: pointer;
}

.dropdown-item:hover {
  background: var(--glass-2);
}

.dropdown-icon {
  width: 32px;
  height: 32px;
  background: var(--glass-orange-1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid var(--border-orange);
}

.dropdown-title {
  display: block;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.dropdown-desc {
  display: block;
  color: var(--text-tertiary);
  font-size: 0.75rem;
  line-height: 1.4;
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-signin {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition:
    color var(--dur-fast) var(--ease-smooth),
    background var(--dur-fast) var(--ease-smooth);
}

.nav-signin:hover {
  color: var(--text-primary);
  background: var(--glass-2);
}

/* Mobile hamburger toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: var(--glass-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  transition: background var(--dur-fast) var(--ease-smooth);
}

.nav-mobile-toggle:hover {
  background: var(--glass-3);
}

.nav-mobile-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition:
    transform var(--dur-base) var(--ease-smooth),
    opacity var(--dur-base) var(--ease-smooth),
    width var(--dur-base) var(--ease-smooth);
  transform-origin: center;
}

.nav-mobile-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-mobile-toggle.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-mobile-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #FFFFFF;
  z-index: calc(var(--z-modal) - 1);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-smooth);
  display: flex;
  flex-direction: column;
  padding: 100px 32px 40px;
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--dur-fast) var(--ease-smooth);
}

.mobile-nav-link:hover {
  color: var(--text-primary);
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 32px;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 5: BUTTONS
   ═══════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition:
    transform var(--dur-base) var(--ease-smooth),
    box-shadow var(--dur-base) var(--ease-smooth),
    background var(--dur-base) var(--ease-smooth),
    border-color var(--dur-base) var(--ease-smooth),
    opacity var(--dur-base) var(--ease-smooth),
    filter var(--dur-base) var(--ease-smooth);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  letter-spacing: -0.01em;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary — orange gradient */
.btn-primary {
  background: var(--gradient-orange);
  color: var(--nova-white);
  box-shadow: var(--shadow-orange-sm);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-orange);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
  filter: brightness(0.98);
}

/* Ghost — transparent with white border */
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  background: var(--glass-2);
  border-color: var(--border-strong);
}

.btn-ghost:active {
  transform: scale(0.99);
}

/* Outline orange */
.btn-outline-orange {
  background: transparent;
  border: 1px solid var(--border-orange);
  color: var(--nova-orange);
}

.btn-outline-orange:hover {
  background: var(--glass-orange-1);
  border-color: var(--border-orange-bright);
}

/* Size variants */
.btn-sm {
  padding: 8px 18px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-xl {
  padding: 16px 36px;
  font-size: 1.0625rem;
}

/* Button arrow */
.btn-arrow {
  display: inline-block;
  transform: translateX(0);
  transition: transform var(--dur-base) var(--ease-spring);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Play button */
.btn-play {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  font-size: 0.7rem;
  flex-shrink: 0;
  line-height: 1;
}

/* Icon button */
.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
  background: var(--glass-2);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
}

.btn-icon:hover {
  background: var(--glass-3);
  color: var(--text-primary);
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 6: SOLAR SYSTEM HERO
   ═══════════════════════════════════════════════════════════════ */

.solar-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-bg);
}

.solar-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 50%;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(255, 106, 0, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}

/* Solar canvas */
#solar-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Hero content wrapper */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-6);
  pointer-events: none;
}

.hero-content > * {
  pointer-events: auto;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-orange-1);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.8125rem;
  color: var(--nova-orange-bright);
  margin-bottom: 28px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--font-body);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nova-orange);
  animation: pulse-orange 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Hero title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--nova-white);
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

.title-accent {
  color: var(--nova-orange);
}

.hero-title em {
  color: var(--nova-orange);
  font-style: italic;
}

/* Hero subtitle */
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* CTA group */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--nova-white);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.scroll-text {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--text-tertiary), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

/* Planet labels overlay */
.planet-labels {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.planet-label {
  position: absolute;
  transform: translate(-50%, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: auto;
  cursor: pointer;
}

.planet-label-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.planet-label-name {
  font-size: 0.6875rem;
  color: var(--text-secondary);
  white-space: nowrap;
  background: rgba(8, 8, 15, 0.7);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color var(--dur-fast) var(--ease-smooth);
}

.planet-label:hover .planet-label-name {
  color: var(--text-primary);
}

.planet-label-sun .planet-label-name {
  color: var(--nova-orange-bright);
  border-color: var(--border-orange);
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 7: PLANET MODAL
   ═══════════════════════════════════════════════════════════════ */

.planet-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-smooth);
}

.planet-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 1;
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-2xl);
  padding: 48px;
  max-width: 480px;
  width: 100%;
  transform: scale(0.94);
  transition: transform var(--dur-base) var(--ease-spring);
}

.planet-modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-2);
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.1rem;
  transition:
    background var(--dur-fast) var(--ease-smooth),
    color var(--dur-fast) var(--ease-smooth);
}

.modal-close:hover {
  background: var(--glass-3);
  color: var(--text-primary);
}

.modal-planet-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}

.modal-planet-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.modal-planet-tagline {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.modal-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.modal-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.modal-features li::before {
  content: '→';
  color: var(--nova-orange);
  flex-shrink: 0;
  margin-top: 1px;
}

.modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-orange);
  color: var(--nova-white);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  transition:
    transform var(--dur-base) var(--ease-smooth),
    box-shadow var(--dur-base) var(--ease-smooth);
}

.modal-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 8: BENTO GRID
   ═══════════════════════════════════════════════════════════════ */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 80px;
}

/* Base bento card */
.bento-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--dur-slow) var(--ease-smooth),
    transform var(--dur-slow) var(--ease-smooth),
    box-shadow var(--dur-slow) var(--ease-smooth);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top left, rgba(255, 106, 0, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-smooth);
  pointer-events: none;
}

.bento-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-orange-sm);
}

.bento-card:hover::before {
  opacity: 1;
}

/* Column spans */
.bento-large {
  grid-column: span 7;
}

.bento-medium {
  grid-column: span 5;
}

.bento-half {
  grid-column: span 6;
}

.bento-third {
  grid-column: span 4;
}

.bento-full {
  grid-column: span 12;
}

/* Bento card internals */
.bento-tag {
  display: inline-block;
  font-size: 0.6875rem;
  color: var(--nova-orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: 12px;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: var(--leading-relaxed);
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  color: var(--nova-orange);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-spring);
}

.bento-link:hover {
  transform: translateX(4px);
}

.bento-visual {
  margin-top: 24px;
}

/* Tool pills grid */
.tool-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-pill {
  display: inline-flex;
  padding: 6px 14px;
  background: var(--glass-orange-1);
  border: 1px solid var(--border-orange);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: var(--nova-orange-bright);
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Metric display inside bento */
.bento-metric {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--nova-orange);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.bento-metric-label {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Mini chart placeholder */
.bento-chart-bar {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
  margin-top: 16px;
}

.bento-bar {
  flex: 1;
  background: var(--glass-orange-1);
  border-radius: 3px 3px 0 0;
  border: 1px solid var(--border-orange);
  border-bottom: none;
  min-height: 8px;
  transition: background var(--dur-base) var(--ease-smooth);
}

.bento-card:hover .bento-bar {
  background: var(--glass-orange-2);
}

.bento-bar.active {
  background: rgba(255, 106, 0, 0.4);
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 9: SECTION STYLES + REVEALS
   ═══════════════════════════════════════════════════════════════ */

/* Section badge label */
.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nova-orange);
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: 20px;
  background: var(--glass-orange-1);
  border: 1px solid var(--border-orange);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

/* Section title */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-title em {
  color: var(--nova-orange);
  font-style: italic;
}

/* Section subtitle */
.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin-bottom: 0;
}

/* Section header block */
.section-header {
  margin-bottom: 64px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Section background alternation */
section:nth-child(odd) {
  background: var(--surface-bg);
}

section:nth-child(even) {
  background: var(--surface-base);
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s var(--ease-smooth),
    transform 0.7s var(--ease-smooth);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal children (staggered) */
.reveal-child {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s var(--ease-smooth),
    transform 0.6s var(--ease-smooth);
}

.is-visible .reveal-child {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for children */
.is-visible .reveal-child:nth-child(1) { transition-delay: 0ms; }
.is-visible .reveal-child:nth-child(2) { transition-delay: 80ms; }
.is-visible .reveal-child:nth-child(3) { transition-delay: 160ms; }
.is-visible .reveal-child:nth-child(4) { transition-delay: 240ms; }
.is-visible .reveal-child:nth-child(5) { transition-delay: 320ms; }
.is-visible .reveal-child:nth-child(6) { transition-delay: 400ms; }
.is-visible .reveal-child:nth-child(7) { transition-delay: 480ms; }
.is-visible .reveal-child:nth-child(8) { transition-delay: 560ms; }

/* Delay utilities */
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }


/* ═══════════════════════════════════════════════════════════════
   SECTION 10: SERVICES GRID
   ═══════════════════════════════════════════════════════════════ */

.section-services {
  background: var(--surface-base);
  padding: 120px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 80px;
}

.service-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 36px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--dur-slow) var(--ease-smooth),
    box-shadow var(--dur-slow) var(--ease-smooth),
    transform var(--dur-slow) var(--ease-smooth);
}

/* Top edge accent line */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-orange);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-smooth);
}

.service-card:hover {
  border-color: var(--border-orange);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: var(--leading-relaxed);
  margin-bottom: 20px;
}

.service-metric {
  display: inline-block;
  font-size: 0.8125rem;
  color: var(--nova-orange);
  background: var(--glass-orange-1);
  border: 1px solid var(--border-orange);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.service-arrow {
  position: absolute;
  bottom: 32px;
  right: 32px;
  font-size: 1.2rem;
  color: var(--text-tertiary);
  transition:
    color var(--dur-base) var(--ease-smooth),
    transform var(--dur-base) var(--ease-spring);
}

.service-card:hover .service-arrow {
  color: var(--nova-orange);
  transform: translateX(4px);
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 11: TESTIMONIALS + STATS
   ═══════════════════════════════════════════════════════════════ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 64px;
}

.testimonial-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition:
    border-color var(--dur-slow) var(--ease-smooth),
    transform var(--dur-slow) var(--ease-smooth);
}

.testimonial-card:hover {
  border-color: var(--border-orange);
  transform: translateY(-3px);
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  position: relative;
  padding-top: 24px;
}

.testimonial-quote::before {
  content: '\201C';
  color: var(--nova-orange);
  font-size: 3rem;
  font-style: normal;
  opacity: 0.4;
  position: absolute;
  top: -12px;
  left: -8px;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-metric {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nova-orange);
  letter-spacing: -0.02em;
  line-height: 1;
}

.testimonial-metric-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--nova-white);
  flex-shrink: 0;
}

.author-info {
  flex: 1;
  min-width: 0;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.875rem;
  display: block;
}

.author-role {
  color: var(--text-tertiary);
  font-size: 0.75rem;
  display: block;
  margin-top: 2px;
}

/* Stars */
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--nova-orange);
  font-size: 0.875rem;
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 80px;
}

.stat-block {
  background: var(--surface-elevated);
  padding: 40px 32px;
  text-align: center;
  transition: background var(--dur-base) var(--ease-smooth);
}

.stat-block:hover {
  background: var(--surface-overlay);
}

.stat-big {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-big.orange {
  color: var(--nova-orange);
}

.stat-small {
  display: block;
  color: var(--text-tertiary);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 12: PRICING CARDS
   ═══════════════════════════════════════════════════════════════ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 64px;
  align-items: start;
}

.pricing-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  transition:
    border-color var(--dur-slow) var(--ease-smooth),
    transform var(--dur-slow) var(--ease-smooth),
    box-shadow var(--dur-slow) var(--ease-smooth);
}

.pricing-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Featured / recommended card */
.pricing-card.featured {
  border-color: var(--border-orange);
  background: linear-gradient(
    180deg,
    rgba(255, 106, 0, 0.08) 0%,
    var(--surface-elevated) 100%
  );
}

.pricing-card.featured:hover {
  box-shadow: var(--shadow-orange-sm);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-orange);
  color: var(--nova-white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-plan {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: 16px;
  display: block;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  display: flex;
  align-items: flex-start;
  gap: 2px;
}

.price-currency {
  font-size: 1.5rem;
  color: var(--text-secondary);
  vertical-align: super;
  margin-top: 8px;
  font-weight: 500;
  flex-shrink: 0;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
  align-self: flex-end;
  margin-bottom: 8px;
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 32px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pricing-features li::before {
  content: '✓';
  color: var(--nova-orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-features li.muted {
  color: var(--text-tertiary);
}

.pricing-features li.muted::before {
  content: '–';
  color: var(--text-tertiary);
}

.pricing-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.pricing-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-top: 12px;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 13: CTA SECTION
   ═══════════════════════════════════════════════════════════════ */

.section-cta {
  padding: 160px 0;
}

.cta-card {
  background: var(--gradient-cta);
  border-radius: var(--radius-2xl);
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Inner light effect */
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 100%;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Subtle dot texture */
.cta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card .section-badge {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--nova-white);
}

.cta-card h2 {
  color: var(--nova-white);
}

.cta-card h2 em {
  color: var(--nova-white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 6px;
  font-style: italic;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Override btn-primary inside CTA (white glass style) */
.cta-card .btn-primary {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
  color: var(--nova-white);
}

.cta-card .btn-primary:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: none;
  filter: none;
}

.cta-card .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--nova-white);
}

.cta-card .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 14: FOOTER
   ═══════════════════════════════════════════════════════════════ */

.nova-footer {
  background: var(--surface-bg);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.1rem;
  text-decoration: none;
  margin-bottom: 16px;
  transition: opacity var(--dur-fast) var(--ease-smooth);
}

.footer-logo:hover {
  opacity: 0.8;
}

.footer-logo .logo-icon {
  color: var(--nova-orange);
  font-size: 1.3em;
}

.footer-brand p {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  line-height: var(--leading-relaxed);
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-contact a {
  color: var(--nova-orange);
  font-size: 0.875rem;
  text-decoration: none;
  transition: text-decoration var(--dur-fast) var(--ease-smooth);
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer-social-link {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-tertiary);
  font-size: 0.875rem;
  text-decoration: none;
  transition:
    background var(--dur-fast) var(--ease-smooth),
    color var(--dur-fast) var(--ease-smooth),
    border-color var(--dur-fast) var(--ease-smooth);
}

.footer-social-link:hover {
  background: var(--glass-orange-1);
  color: var(--nova-orange);
  border-color: var(--border-orange);
}

.footer-nav h4 {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-smooth);
  display: inline-block;
}

.footer-nav a:hover {
  color: var(--text-primary);
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--text-tertiary);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-smooth);
}

.footer-legal a:hover {
  color: var(--text-primary);
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 15: HOW IT WORKS + FAQ
   ═══════════════════════════════════════════════════════════════ */

/* Steps / How it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 80px;
}

.step-card {
  text-align: center;
  padding: 40px 32px;
  position: relative;
}

/* Connector line between steps */
.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 56px;
  right: -16px;
  width: 32px;
  height: 1px;
  background: var(--border-orange);
  opacity: 0.4;
}

.step-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--nova-orange);
  opacity: 0.2;
  display: block;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.step-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 16px;
  line-height: 1;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-desc {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-size: 0.9375rem;
}

/* FAQ accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 64px;
}

.faq-item {
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-smooth);
}

.faq-item:hover,
.faq-item.open {
  border-color: var(--border-orange);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  transition: background var(--dur-fast) var(--ease-smooth);
  user-select: none;
  -webkit-user-select: none;
  gap: 16px;
}

.faq-question:hover {
  background: var(--glass-2);
}

.faq-icon {
  color: var(--nova-orange);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-spring);
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-smooth);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding: 0 28px 24px;
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-size: 0.9375rem;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 16: KEYFRAME ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

@keyframes pulse-orange {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.4);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 8px rgba(255, 106, 0, 0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes scroll-pulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: var(--shadow-orange-sm);
  }
  50% {
    box-shadow: var(--shadow-orange);
  }
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(var(--orbit-radius)) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(var(--orbit-radius)) rotate(-360deg);
  }
}

@keyframes breathe {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.85;
  }
}

/* Animation utility classes */
.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-pulse-orange {
  animation: pulse-orange 2s ease-in-out infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.animate-glow {
  animation: glow-pulse 2s ease-in-out infinite;
}

.animate-fadeIn {
  animation: fadeIn var(--dur-slow) var(--ease-smooth) forwards;
}

.animate-slideUp {
  animation: slideUp var(--dur-slow) var(--ease-smooth) forwards;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 17: CURSOR GLOW EFFECT
   ═══════════════════════════════════════════════════════════════ */

.cursor-glow {
  position: fixed;
  pointer-events: none;
  z-index: var(--z-cursor);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(255, 106, 0, 0.06),
    transparent
  );
  transform: translate(-50%, -50%);
  transition:
    left 0.1s linear,
    top 0.1s linear;
  will-change: left, top;
}

/* Hide cursor glow on touch devices */
@media (hover: none) {
  .cursor-glow {
    display: none;
  }
}

/* Custom cursor dot (optional companion to glow) */
.cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: var(--z-cursor);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nova-orange);
  transform: translate(-50%, -50%);
  transition:
    left 0.05s linear,
    top 0.05s linear,
    width var(--dur-fast) var(--ease-smooth),
    height var(--dur-fast) var(--ease-smooth),
    opacity var(--dur-fast) var(--ease-smooth);
  will-change: left, top;
}

@media (hover: none) {
  .cursor-dot {
    display: none;
  }
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 18: GLASSMORPHISM UTILITIES
   ═══════════════════════════════════════════════════════════════ */

.glass-panel {
  background: var(--glass-2);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
}

.glass-card {
  background: var(--glass-2);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.glass-orange {
  background: var(--glass-orange-1);
  border: 1px solid var(--border-orange);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Elevated surface styles */
.surface-elevated {
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
}

.surface-high {
  background: var(--surface-high);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
}

/* Gradient overlays */
.gradient-overlay-bottom {
  position: relative;
}

.gradient-overlay-bottom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--surface-bg));
  pointer-events: none;
}

/* Orange glow card */
.card-glow-orange {
  box-shadow: var(--shadow-orange-sm);
  border: 1px solid var(--border-orange);
}

/* Noise texture overlay */
.texture-noise {
  position: relative;
}

.texture-noise::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 19: RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════════ */

/* ── 1280px: Container padding adjustments ────────── */
@media (max-width: 1280px) {
  .container,
  .container-lg {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
  }

  .bento-large {
    grid-column: span 7;
  }

  .bento-medium {
    grid-column: span 5;
  }
}

/* ── 1024px: Nav collapse, footer 2-col ───────────── */
@media (max-width: 1024px) {
  /* Hide desktop nav links */
  .nav-links {
    display: none;
  }

  /* Show mobile toggle */
  .nav-mobile-toggle {
    display: flex;
  }

  /* Footer grid → 2 columns */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* Nav dropdown panel width adjustment */
  .nav-dropdown-panel {
    min-width: 360px;
  }

  /* Section padding */
  .section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .section-services {
    padding: 80px 0;
  }

  /* Steps → 2 cols */
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .step-card:nth-child(2)::after {
    display: none;
  }

  /* Grid utilities */
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── 768px: Mobile layout ─────────────────────────── */
@media (max-width: 768px) {
  /* Typography scale */
  h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  h2 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  /* Hero */
  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 20px;
  }

  /* Bento grid: all full width */
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bento-large,
  .bento-medium,
  .bento-half,
  .bento-third,
  .bento-full,
  .bento-card {
    grid-column: span 1 !important;
  }

  /* Services: 1 col */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Stats bar: 2×2 */
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 48px;
  }

  .stat-block {
    padding: 28px 20px;
  }

  .stat-big {
    font-size: 2.25rem;
  }

  /* Steps: 1 col */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 48px;
  }

  .step-card::after {
    display: none;
  }

  /* Footer: 1 col */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand p {
    max-width: 100%;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  /* CTA card */
  .cta-card {
    padding: 48px 32px;
  }

  .section-cta {
    padding: 80px 0;
  }

  /* Nav */
  .nova-nav {
    width: calc(100% - 24px);
  }

  /* Grid utilities */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Hero content */
  .hero-content {
    max-width: 100%;
    padding: 0 var(--space-4);
  }

  /* FAQ */
  .faq-question {
    padding: 18px 20px;
    font-size: 0.9375rem;
  }

  .faq-answer p {
    padding: 0 20px 20px;
  }

  /* Modal content */
  .modal-content {
    padding: 32px 24px;
  }

  /* Footer bottom */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ── 480px: Small mobile ──────────────────────────── */
@media (max-width: 480px) {
  /* Hero CTA: stack vertically */
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  /* Hero stats: vertical stack */
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  /* Hide stat dividers */
  .stat-divider {
    display: none;
  }

  /* Pricing: 1 col */
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* Stats bar: 1 col */
  .stats-bar {
    grid-template-columns: 1fr;
  }

  /* Container padding */
  .container,
  .container-sm,
  .container-lg {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  /* Typography */
  .section-title {
    font-size: 1.75rem;
  }

  /* Bento */
  .bento-card {
    padding: 24px;
  }

  /* Service card */
  .service-card {
    padding: 28px 24px;
  }

  /* Pricing card */
  .pricing-card {
    padding: 28px 24px;
  }

  /* CTA card */
  .cta-card {
    padding: 40px 24px;
    border-radius: var(--radius-xl);
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Section padding */
  .section-padding {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  /* Nav */
  .nav-container {
    padding: 0 16px;
  }

  .nova-nav {
    width: calc(100% - 16px);
  }
}


/* ═══════════════════════════════════════════════════════════════
   SECTION 20: MISC UTILITIES
   ═══════════════════════════════════════════════════════════════ */

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Lock scroll (applied to body when modal is open) */
.no-scroll {
  overflow: hidden;
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border-subtle);
  width: 100%;
  border: none;
}

.divider-orange {
  height: 1px;
  background: var(--border-orange);
  width: 100%;
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--surface-elevated) 0%,
    var(--surface-overlay) 50%,
    var(--surface-elevated) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 1em;
  border-radius: var(--radius-xs);
}

.skeleton-title {
  height: 2em;
  border-radius: var(--radius-sm);
  width: 60%;
}

.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.skeleton-card {
  height: 200px;
  border-radius: var(--radius-xl);
}

/* Tag / chip */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.tag-orange {
  background: var(--glass-orange-1);
  border: 1px solid var(--border-orange);
  color: var(--nova-orange-bright);
}

.tag-white {
  background: var(--glass-2);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
}

/* Badge dot indicator */
.badge-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.badge-indicator::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nova-orange);
  animation: pulse-orange 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Status indicators */
.status-live {
  color: #22c55e;
}

.status-live::before {
  background: #22c55e;
}

/* Truncate text */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Pointer */
.cursor-pointer {
  cursor: pointer;
}

.cursor-default {
  cursor: default;
}

/* Opacity utilities */
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
.opacity-100 { opacity: 1; }

/* Border utilities */
.border-top {
  border-top: 1px solid var(--border-subtle);
}

.border-bottom {
  border-bottom: 1px solid var(--border-subtle);
}

/* Rounded utilities */
.rounded-full {
  border-radius: var(--radius-full);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-md {
  border-radius: var(--radius-md);
}

/* Z-index utilities */
.z-raised {
  z-index: var(--z-raised);
}

.z-sticky {
  z-index: var(--z-sticky);
}

/* Pointer events */
.pointer-events-none {
  pointer-events: none;
}

.pointer-events-auto {
  pointer-events: auto;
}

/* Aspect ratios */
.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

/* Transition utilities */
.transition {
  transition: all var(--dur-base) var(--ease-smooth);
}

.transition-fast {
  transition: all var(--dur-fast) var(--ease-smooth);
}

.transition-slow {
  transition: all var(--dur-slow) var(--ease-smooth);
}

/* Highlight accent line */
.accent-line {
  display: inline-block;
  position: relative;
}

.accent-line::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-orange);
  border-radius: var(--radius-full);
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-toast);
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: slideUp var(--dur-base) var(--ease-spring) forwards;
  max-width: 360px;
}

.toast-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.toast-message {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.toast-message strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

/* Tooltip */
.tooltip {
  position: relative;
}

.tooltip[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-smooth);
  box-shadow: var(--shadow-md);
  z-index: var(--z-dropdown);
}

.tooltip[data-tip]:hover::after {
  opacity: 1;
}

/* Gradient border trick (uses pseudo-element) */
.border-gradient-orange {
  position: relative;
  background: var(--surface-elevated);
  border-radius: var(--radius-xl);
}

.border-gradient-orange::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-orange);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Focus ring (accessible) */
.focus-ring:focus-visible {
  outline: 2px solid var(--nova-orange);
  outline-offset: 3px;
}

/* Code block header */
.code-block {
  background: var(--surface-elevated);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.code-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--glass-1);
}

.code-block-dots {
  display: flex;
  gap: 6px;
}

.code-block-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-block-dot:nth-child(1) { background: #ff5f57; }
.code-block-dot:nth-child(2) { background: #febc2e; }
.code-block-dot:nth-child(3) { background: #28c840; }

.code-block-lang {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.code-block pre {
  border: none;
  border-radius: 0;
  padding: var(--space-4) var(--space-5);
}

/* Input field */
.nova-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--glass-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition:
    border-color var(--dur-fast) var(--ease-smooth),
    box-shadow var(--dur-fast) var(--ease-smooth);
  outline: none;
}

.nova-input::placeholder {
  color: var(--text-tertiary);
}

.nova-input:focus {
  border-color: var(--border-orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
}

/* Label */
.nova-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

/* Form group */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

/* Select */
.nova-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--glass-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.38)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.nova-select:focus {
  border-color: var(--border-orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.12);
}

/* ─── END design-system.css ───────────────────────── */
