/* =============================================================================
   usulnet — Public Website Styles v2
   Premium dark-first design. #ff6b35 primary. Inter + Space Grotesk.
   ============================================================================= */

/* ── Tokens ─────────────────────────────────────────────────────────────────── */

:root {
  --primary: #ff6b35;
  --primary-light: #ff8c5a;
  --primary-dark: #e55a2b;
  --primary-glow: rgba(255, 107, 53, 0.25);
  --primary-subtle: rgba(255, 107, 53, 0.08);

  --bg: #06060b;
  --bg-card: #0c0c14;
  --bg-surface: #12121c;
  --bg-elevated: #1a1a28;
  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.10);
  --border-accent: rgba(255, 107, 53, 0.20);

  --text: #f0f2f5;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --success: #22c55e;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --violet: #8b5cf6;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 8px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

code, pre, .mono {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; display: block; }

::selection {
  background: rgba(255, 107, 53, 0.3);
  color: white;
}

/* ── Layout ─────────────────────────────────────────────────────────────────── */

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 640px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

.section { padding: 120px 0; position: relative; }
.section-sm { padding: 80px 0; position: relative; }

/* ── Scroll Animations ──────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Navbar ─────────────────────────────────────────────────────────────────── */

.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6, 6, 11, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(6, 6, 11, 0.92);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.4);
}

.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.navbar-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: white;
}

.navbar-logo .logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; color: black;
  box-shadow: 0 4px 16px var(--primary-glow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.navbar-logo:hover .logo-mark {
  transform: scale(1.05);
  box-shadow: 0 6px 24px var(--primary-glow);
}

.navbar-logo span {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700; font-size: 20px; letter-spacing: -0.01em;
}

.navbar-links { display: flex; align-items: center; gap: 4px; }
.navbar-links a {
  padding: 8px 16px; border-radius: var(--radius-xs); font-size: 14px;
  font-weight: 500; color: var(--text-muted); transition: all var(--transition);
}
.navbar-links a:hover { color: white; background: rgba(255, 255, 255, 0.05); }

.navbar-cta { display: flex; align-items: center; gap: 12px; }

/* Mobile menu toggle */
.navbar-toggle {
  display: none;
  background: none; border: none; cursor: pointer; padding: 8px;
  color: var(--text-muted);
}

.navbar-toggle svg { display: block; }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: rgba(6, 6, 11, 0.98); z-index: 99;
  padding: 32px 24px; flex-direction: column; gap: 8px;
  backdrop-filter: blur(20px);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  display: block; padding: 16px 20px; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 500; color: var(--text-muted);
  transition: all var(--transition); border: 1px solid transparent;
}
.mobile-menu a:hover {
  color: white; background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius-sm); font-size: 14px;
  font-weight: 600; cursor: pointer; border: none;
  transition: all var(--transition);
  text-decoration: none; line-height: 1.4; position: relative;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 20px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: white;
  border-color: var(--border-light);
  background: rgba(255, 255, 255, 0.03);
}

.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: var(--radius-xs); }
.btn-full { width: 100%; }

/* ── Cards ──────────────────────────────────────────────────────────────────── */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.card-body { padding: 32px; }

.card-highlight {
  border-color: var(--primary);
  position: relative;
}
.card-highlight::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

/* Glass card variant */
.card-glass {
  background: rgba(12, 12, 20, 0.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
}

.card-glass:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

/* ── Hero ───────────────────────────────────────────────────────────────────── */

.hero {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Grid background */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 100%);
}

/* Primary orb */
.hero-orb {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.12) 0%, rgba(255, 107, 53, 0.04) 40%, transparent 70%);
  pointer-events: none;
  animation: orbPulse 8s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.7; transform: translateX(-50%) scale(1.08); }
}

/* Secondary orb */
.hero-orb-2 {
  position: absolute; top: 200px; right: -200px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, 30px); }
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  position: relative;
}

.gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #ffa070 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--text-muted);
  max-width: 660px; margin: 0 auto 48px;
  line-height: 1.7;
}

.hero-actions {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 56px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 100px; font-size: 13px;
  background: rgba(255, 107, 53, 0.06);
  border: 1px solid rgba(255, 107, 53, 0.15);
  color: var(--primary-light); font-weight: 500; margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Terminal Preview ───────────────────────────────────────────────────────── */

.terminal-preview {
  max-width: 680px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 80px rgba(255, 107, 53, 0.06);
  position: relative;
}

.terminal-header {
  background: rgba(26, 26, 40, 0.9);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border);
}

.terminal-dots {
  display: flex; gap: 7px;
}

.terminal-dots span {
  width: 12px; height: 12px; border-radius: 50%;
}
.terminal-dots span:nth-child(1) { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; }
.terminal-dots span:nth-child(3) { background: #28c840; }

.terminal-title {
  flex: 1; text-align: center;
  font-size: 12px; color: var(--text-dim);
  font-family: 'Inter', sans-serif; font-weight: 500;
}

.terminal-body {
  background: rgba(12, 12, 20, 0.95);
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  line-height: 1.8;
  min-height: 160px;
}

.terminal-line {
  display: flex; align-items: flex-start; gap: 8px;
  opacity: 0;
  animation: terminalFadeIn 0.4s ease forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.3s; }
.terminal-line:nth-child(2) { animation-delay: 1.0s; }
.terminal-line:nth-child(3) { animation-delay: 1.6s; }
.terminal-line:nth-child(4) { animation-delay: 2.2s; }
.terminal-line:nth-child(5) { animation-delay: 2.8s; }

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

.terminal-prompt { color: var(--primary); user-select: none; flex-shrink: 0; }
.terminal-cmd { color: var(--text); }
.terminal-comment { color: var(--text-dim); font-style: italic; }
.terminal-output { color: var(--success); padding-left: 20px; }
.terminal-cursor {
  display: inline-block; width: 8px; height: 18px; background: var(--primary);
  animation: blink 1s step-end infinite; vertical-align: text-bottom;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.terminal-copy {
  position: absolute; top: 12px; right: 16px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border);
  color: var(--text-dim); border-radius: var(--radius-xs);
  padding: 6px 12px; font-size: 12px; cursor: pointer;
  transition: all var(--transition); font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}
.terminal-copy:hover { background: rgba(255, 255, 255, 0.1); color: white; }
.terminal-copy.copied { color: var(--success); border-color: rgba(34, 197, 94, 0.3); }

/* ── Stats Bar ──────────────────────────────────────────────────────────────── */

.stats-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(12, 12, 20, 0.4);
  position: relative;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
}

.stat {
  text-align: center;
  padding: 48px 24px;
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: var(--border);
}

.stat-value {
  font-size: 32px; font-weight: 800;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13px; color: var(--text-dim); margin-top: 6px;
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
}

/* ── Features ───────────────────────────────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: rgba(12, 12, 20, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

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

.feature-card .card-body { padding: 32px; }

.feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  background: var(--primary-subtle);
  color: var(--primary);
  transition: all var(--transition);
}

.feature-card:hover .feature-icon {
  background: rgba(255, 107, 53, 0.15);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.15);
}

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

.feature-card h3 {
  font-size: 17px; margin-bottom: 10px;
  font-weight: 600; letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.65;
}

/* ── Highlight (tech stack, etc.) ───────────────────────────────────────────── */

.highlight-section {
  position: relative;
  overflow: hidden;
}

.highlight-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(255, 107, 53, 0.04) 0%, transparent 100%),
    radial-gradient(ellipse 40% 50% at 80% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.highlight-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 20px;
}

.highlight-text p {
  font-size: 16px; color: var(--text-muted);
  line-height: 1.75; margin-bottom: 16px;
}

.highlight-list {
  list-style: none; padding: 0; margin-top: 28px;
}

.highlight-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0; font-size: 15px; color: var(--text-muted);
}

.highlight-list-icon {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}

.highlight-list-icon svg { width: 14px; height: 14px; }

.highlight-visual {
  position: relative;
}

.highlight-visual-card {
  background: rgba(12, 12, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(16px);
}

/* Tech logos grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tech-item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all var(--transition);
  text-align: center;
}

.tech-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
}

.tech-item-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color var(--transition);
}

.tech-item:hover .tech-item-icon { color: var(--text); }

.tech-item span {
  font-size: 11px; color: var(--text-dim);
  font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Pricing ────────────────────────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: rgba(12, 12, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: visible;
  transition: all var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.pricing-card .card-body {
  padding: 36px;
  display: flex; flex-direction: column;
}

.pricing-edition {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-dim); font-weight: 700; margin-bottom: 8px;
}

.pricing-name {
  font-size: 26px; font-weight: 700; margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.pricing-desc {
  font-size: 14px; color: var(--text-muted); margin-bottom: 28px;
  line-height: 1.5;
}

.pricing-price {
  font-size: 48px; font-weight: 800; letter-spacing: -0.03em;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  margin-bottom: 4px;
}
.pricing-price .currency { font-size: 24px; vertical-align: super; font-weight: 600; }
.pricing-price .period { font-size: 16px; color: var(--text-muted); font-weight: 400; }

.pricing-note {
  font-size: 13px; color: var(--text-dim); margin-bottom: 32px;
}

.pricing-features {
  list-style: none; margin-bottom: 36px; flex: 1;
}

.pricing-features li {
  padding: 9px 0; font-size: 14px; color: var(--text-muted);
  display: flex; align-items: flex-start; gap: 12px;
  line-height: 1.45;
}

.pricing-features li::before {
  content: '';
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing-features li.disabled { color: var(--text-dim); }
.pricing-features li.disabled::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
}

.pricing-popular {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  padding: 6px 20px; border-radius: 0 0 10px 10px; font-size: 11px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: black;
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* Business card highlight */
.pricing-card.card-highlight {
  border-color: rgba(255, 107, 53, 0.3);
  background: rgba(12, 12, 20, 0.8);
  box-shadow: 0 0 60px rgba(255, 107, 53, 0.06);
}

.pricing-card.card-highlight::after {
  content: '';
  position: absolute; inset: -1px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), transparent 50%, rgba(255, 107, 53, 0.1));
  z-index: -1;
  pointer-events: none;
}

/* ── CTA Section ────────────────────────────────────────────────────────────── */

.cta-section {
  position: relative; overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute; bottom: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(255, 107, 53, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box {
  text-align: center;
  padding: 80px 40px;
  border-radius: 24px;
  background: rgba(12, 12, 20, 0.5);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 100%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  color: var(--text-muted);
  max-width: 500px; margin: 0 auto 36px;
  font-size: 16px; line-height: 1.7;
  position: relative;
}

.cta-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  position: relative;
}

.cta-deploy {
  margin-top: 40px; position: relative;
}

.cta-deploy code {
  font-size: 14px; color: var(--text-dim);
  background: var(--bg-elevated); padding: 12px 24px;
  border-radius: 12px; border: 1px solid var(--border);
  display: inline-block;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 48px;
  background: rgba(6, 6, 11, 0.6);
}

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

.footer-brand-block p {
  color: var(--text-dim); font-size: 14px;
  line-height: 1.65; margin-top: 16px;
  max-width: 280px;
}

.footer-brand {
  display: flex; align-items: center; gap: 10px;
}

.footer-brand .logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: black;
}

.footer-brand span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 16px; color: white;
}

.footer-col h4 {
  font-size: 13px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600; margin-bottom: 20px;
}

.footer-col a {
  display: block; font-size: 14px; color: var(--text-muted);
  padding: 6px 0; transition: color var(--transition);
}
.footer-col a:hover { color: white; }

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

.footer-copy {
  font-size: 13px; color: var(--text-dim);
}

.footer-social {
  display: flex; gap: 16px;
}

.footer-social a {
  color: var(--text-dim); transition: color var(--transition);
}
.footer-social a:hover { color: white; }
.footer-social svg { width: 20px; height: 20px; }

/* Legacy footer support (pricing, portal pages) */
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}

.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-dim); }
.footer-links a:hover { color: var(--text-muted); }

/* ── Section Headers ────────────────────────────────────────────────────────── */

.section-header {
  text-align: center; margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px; color: var(--text-muted);
  max-width: 580px; margin: 0 auto;
  line-height: 1.7;
}

.section-label {
  display: inline-block;
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.1em; font-weight: 700;
  color: var(--primary); margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--primary-subtle);
  border: 1px solid rgba(255, 107, 53, 0.12);
}

/* ── Pricing Calculator (pricing.html) ──────────────────────────────────────── */

.calc-card .card-body { padding: 40px; }

.calc-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border);
}
.calc-row:last-child { border-bottom: none; }

.calc-label { font-size: 14px; color: var(--text-muted); }
.calc-label strong { color: var(--text); font-weight: 600; }

.calc-control { display: flex; align-items: center; gap: 12px; }

.calc-input {
  width: 80px; text-align: center; padding: 8px 12px;
  background: var(--bg-elevated); border: 1px solid var(--border-light);
  border-radius: 8px; color: white; font-size: 16px; font-weight: 600;
  font-family: 'Space Grotesk', system-ui, sans-serif;
}
.calc-input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.calc-btn {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated); border: 1px solid var(--border-light);
  color: var(--text-muted); cursor: pointer; font-size: 18px;
  transition: all 0.15s;
}
.calc-btn:hover { background: var(--border-light); color: white; }

.calc-total {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 24px 0 0; margin-top: 8px;
  border-top: 2px solid var(--border);
}

.calc-total-price {
  font-size: 36px; font-weight: 800; color: var(--primary);
  font-family: 'Space Grotesk', system-ui, sans-serif;
}
.calc-total-price .period { font-size: 16px; color: var(--text-dim); font-weight: 400; }

/* ── Portal (id.usulnet.com) ────────────────────────────────────────────────── */

.portal-center {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
}

.portal-card { width: 100%; max-width: 420px; }
.portal-card .card-body { padding: 40px; }

.portal-logo {
  text-align: center; margin-bottom: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}

.portal-logo .logo-mark {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 28px; color: black;
  box-shadow: 0 8px 24px var(--primary-glow);
}

.portal-logo h1 { font-size: 22px; }
.portal-logo p { font-size: 14px; color: var(--text-muted); }

/* ── Forms ──────────────────────────────────────────────────────────────────── */

.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 13px; color: var(--text-muted);
  margin-bottom: 6px; font-weight: 500;
}
.form-input {
  width: 100%; padding: 10px 14px; background: var(--bg-elevated);
  border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  color: white; font-size: 14px; transition: all var(--transition);
}
.form-input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-input::placeholder { color: var(--text-dim); }

.form-textarea {
  resize: vertical; min-height: 100px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
}

/* ── Result / Status ────────────────────────────────────────────────────────── */

.result-card { text-align: center; }
.result-icon { font-size: 56px; margin-bottom: 20px; }
.result-title { font-size: 24px; margin-bottom: 8px; }
.result-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

.result-details {
  background: var(--bg-surface); border-radius: 12px; padding: 20px;
  margin-bottom: 28px; text-align: left;
}

.result-row {
  display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px;
}
.result-row dt { color: var(--text-dim); }
.result-row dd { color: var(--text); font-weight: 500; }

/* ── Alert / Flash ──────────────────────────────────────────────────────────── */

.alert {
  padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px;
  margin-bottom: 20px; display: none;
}
.alert.show { display: block; }
.alert-error {
  background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.15);
  color: #f87171;
}
.alert-success {
  background: rgba(34, 197, 94, 0.08); border: 1px solid rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

/* ── License list (portal) ──────────────────────────────────────────────────── */

.license-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px; background: var(--bg-surface); border-radius: 12px;
  border: 1px solid var(--border); margin-bottom: 12px;
  transition: border-color var(--transition);
}
.license-item:hover { border-color: var(--border-light); }

.license-info { flex: 1; }
.license-id {
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  color: var(--text-dim); margin-bottom: 4px;
}
.license-edition { font-size: 16px; font-weight: 600; }
.license-meta { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 100px; font-size: 11px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-active { background: rgba(34, 197, 94, 0.1); color: #4ade80; }
.badge-expired { background: rgba(239, 68, 68, 0.1); color: #f87171; }
.badge-biz { background: rgba(59, 130, 246, 0.1); color: #60a5fa; }
.badge-ee { background: rgba(255, 107, 53, 0.1); color: var(--primary); }

/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat:not(:last-child)::after { display: none; }
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-cta .btn-ghost { display: none; }
  .navbar-toggle { display: block; }
  .hero { padding: 140px 0 80px; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .section { padding: 80px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .calc-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .terminal-preview { margin: 0 -8px; border-radius: 12px; }
  .cta-box { padding: 48px 24px; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
}
