/* ==========================================================================
   HaliconSoft Technologies — Editorial Animated Website & SaaS Dashboard
   ========================================================================== */

:root {
  color-scheme: light dark;

  /* Editorial Hero Palette (inspired by thedezinehive.com) */
  --paper:         #f7f7f5;
  --ink:           #080808;
  --ink-muted:     #52525b;
  --ink-line:      rgba(8, 8, 8, 0.12);
  --honey:         #f37021;
  --honey-hover:   #ff853c;

  /* Dark Studio & Dashboard Palette */
  --bg-page:       #07090f;
  --bg-surface:    #0f131f;
  --bg-card:       #141928;
  --border:        rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text-main:     #f3f4f6;
  --text-muted:    #9ca3af;
  --text-dim:      #6b7280;

  --brand-blue:    #2563eb;
  --brand-cyan:    #06b6d4;
  --success:       #22c55e;
  --warning:       #f59e0b;
  --danger:        #ef4444;

  scrollbar-color: #4b5563 #111827;
}

@supports not (scrollbar-color: auto) {
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #111827; }
  ::-webkit-scrollbar-thumb { background: #4b5563; border-radius: 4px; }
}

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

html {
  scroll-behavior: smooth;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.landing-body {
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

body.dark-body {
  min-height: 100dvh;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.2), transparent), var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}

.visually-hidden {
  position: absolute !important; clip-path: inset(50%) !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
}
.is-hidden { display: none !important; }

:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 2px;
}

.container { width: min(1240px, 92vw); margin: 0 auto; }

/* ---- Editorial Light Navbar ---- */
.navbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 247, 245, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-line);
}
.navbar.dark-nav {
  background: rgba(7, 9, 15, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px;
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit; font-weight: 800; font-size: 1.15rem;
}
.brand img { border-radius: 8px; }
.brand-badge {
  font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  background: rgba(243, 112, 33, 0.14); color: var(--honey); border: 1px solid rgba(243, 112, 33, 0.35);
}

.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  padding: 7px 14px; border-radius: 999px;
  color: var(--ink-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  transition: background 140ms ease, color 140ms ease;
}
.nav-links a:hover { background: rgba(8, 8, 8, 0.06); color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 9px 18px;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 0.9rem; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: transform 120ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-honey {
  background: var(--honey); color: #080808; padding: 7px 8px 7px 22px; min-height: 52px; font-weight: 700;
}
.btn-honey:hover:not(:disabled) { background: var(--honey-hover); }
.btn-honey .arrow-disc {
  width: 36px; height: 36px; border-radius: 50%; background: #080808; color: #ffffff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-honey:hover .arrow-disc { transform: rotate(45deg); }

.btn-ghost-dark {
  background: transparent; border-color: rgba(8, 8, 8, 0.22); color: var(--ink);
  min-height: 52px; padding: 10px 24px;
}
.btn-ghost-dark:hover { background: var(--ink); color: #ffffff; border-color: var(--ink); }

.btn-primary {
  background: var(--honey);
  color: #080808;
  font-weight: 700;
}
.btn-primary:hover:not(:disabled) { background: var(--honey-hover); }
.btn-primary:disabled { background: #374151; color: #9ca3af; opacity: 0.85; }
.btn-outline {
  background: rgba(255, 255, 255, 0.05); border-color: var(--border-strong); color: var(--text-main);
}
.btn-outline:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1); }
.btn-outline-light {
  background: transparent; border-color: rgba(8, 8, 8, 0.2); color: var(--ink);
}
.btn-outline-light:hover { background: rgba(8, 8, 8, 0.06); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 0.84rem; }
.btn-danger { background: rgba(239, 68, 68, 0.14); border-color: rgba(239, 68, 68, 0.35); color: #fca5a5; }

/* ---- Full-Screen Honeycomb Preloader ---- */
.site-preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: #070709;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: opacity 560ms cubic-bezier(0.22, 1, 0.36, 1), transform 560ms cubic-bezier(0.22, 1, 0.36, 1), visibility 560ms;
}
.site-preloader.is-done {
  opacity: 0;
  transform: scale(1.06);
  visibility: hidden;
  pointer-events: none;
}
.preloader-honey-glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 112, 33, 0.34) 0%, rgba(243, 112, 33, 0.08) 42%, transparent 72%);
  filter: blur(28px);
  animation: preloaderPulse 2.2s ease-in-out infinite alternate;
}
.preloader-hex-grid {
  position: absolute; inset: 0; opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23f37021' stroke-opacity='0.35' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  mask-image: radial-gradient(circle at center, black 10%, transparent 62%);
}
.preloader-core {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.preloader-hex-ring {
  position: absolute; top: -26px; width: 96px; height: 96px;
  border: 1.5px solid rgba(243, 112, 33, 0.5);
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
  animation: preloaderPulse 1.6s ease-in-out infinite alternate;
}
.preloader-wordmark {
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.28em; color: rgba(255,255,255,0.85);
}
@keyframes preloaderPulse {
  from { transform: scale(0.94); opacity: 0.75; }
  to   { transform: scale(1.06); opacity: 1; }
}

/* ---- DezineHive-Inspired Scroll-Expanding Hero ---- */
.hero-editorial {
  min-height: 165svh;
  position: relative;
}
.hero-sticky {
  position: sticky;
  top: 72px;
  height: calc(100svh - 72px);
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-stage-wrap {
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
}
.hero-copy {
  width: 50%;
  padding-right: 28px;
  position: relative;
  z-index: 2;
  will-change: opacity, transform;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 18px;
}
.hex-dot {
  width: 10px; height: 11px; background: var(--honey);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  display: inline-block;
}

.hero-h1 {
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 4.1rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 22px;
}

.line-mask { display: block; overflow: hidden; }
.line-reveal {
  display: inline-block;
  animation: slideUpReveal 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.line-mask:nth-child(2) .line-reveal { animation-delay: 110ms; }
.line-mask:nth-child(3) .line-reveal { animation-delay: 220ms; }

@keyframes slideUpReveal {
  from { transform: translateY(105%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Vertical slot-machine rotating keyword */
.rot-wrap {
  display: inline-block;
  height: 1.15em;
  overflow: hidden;
  vertical-align: bottom;
  color: var(--honey);
}
.rot-track {
  display: flex; flex-direction: column;
  animation: wordRotate 8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.rot-track span { display: block; height: 1.15em; line-height: 1.12em; }

@keyframes wordRotate {
  0%, 20%   { transform: translateY(0%); }
  25%, 45%  { transform: translateY(-25%); }
  50%, 70%  { transform: translateY(-50%); }
  75%, 95%  { transform: translateY(-75%); }
  100%      { transform: translateY(0%); }
}

.hero-lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--ink-muted);
  max-width: 48ch;
  margin-bottom: 28px;
}

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Right Column -> Full-Width Banner Portal */
.portal-stage {
  position: absolute;
  left: 53%;
  top: 50%;
  transform: translateY(-50%);
  width: 47%;
  height: 490px;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  will-change: left, width, height;
}

.portal-ring-svg {
  position: absolute; inset: -4%;
  width: 108%; height: 108%;
  pointer-events: none;
  will-change: opacity;
}
.portal-ring-base { fill: none; stroke: rgba(8, 8, 8, 0.14); stroke-width: 1.2; }
.portal-ring-dash {
  fill: none; stroke: var(--honey); stroke-width: 2;
  stroke-dasharray: 55 240;
  animation: dashOrbit 9s linear infinite;
}
@keyframes dashOrbit {
  to { stroke-dashoffset: -590; }
}

.portal-hex {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 28px;
  clip-path: polygon(50% 2%, 96% 26%, 96% 74%, 50% 98%, 4% 74%, 4% 26%);
  background: radial-gradient(circle at 30% 25%, #1e2438 0%, #0d0b14 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 36px 42px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  will-change: clip-path;
}

.portal-showcase {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.portal-footer-bar {
  position: absolute; left: 28px; right: 28px; bottom: 20px; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0; pointer-events: none;
  transition: opacity 220ms ease;
}
.portal-footer-bar.is-visible {
  opacity: 1; pointer-events: auto;
}
.portal-trust-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: rgba(255,255,255,0.75);
}
.portal-story-link {
  color: #ffffff; font-size: 0.85rem; font-weight: 600; text-decoration: none;
}
.portal-story-link:hover { color: var(--honey); }

.portal-glow {
  position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 112, 33, 0.28), transparent 70%);
  filter: blur(20px);
  animation: pulseGlow 4s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes pulseGlow {
  from { transform: scale(0.9); opacity: 0.7; }
  to   { transform: scale(1.15); opacity: 1; }
}

/* Floating 3D Page-Turning Book Mockup inside Portal */
.portal-book-scaler {
  position: relative; z-index: 2;
  margin-bottom: 18px;
  transform-origin: center center;
  will-change: transform;
}
.portal-book {
  position: relative;
  width: 232px; height: 154px;
  display: flex;
  perspective: 1000px;
  transform-style: preserve-3d;
  animation: floatBook 4.5s ease-in-out infinite;
}
@keyframes floatBook {
  0%, 100% { transform: rotateX(12deg) rotateY(-6deg) translateY(0px); }
  50%      { transform: rotateX(14deg) rotateY(-3deg) translateY(-7px); }
}
.portal-book-page {
  flex: 1; background: #ffffff;
  padding: 13px 11px; display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}
.portal-book-page.left {
  background: linear-gradient(145deg, #115e59, #042f2e);
  color: #fff; justify-content: center; align-items: center; font-weight: 800; font-size: 13px;
  border-radius: 5px 1px 1px 5px;
  border-right: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: inset -10px 0 18px rgba(0, 0, 0, 0.28), 0 14px 34px rgba(0, 0, 0, 0.5);
  text-align: center;
}
.book-kicker {
  font-size: 8px; letter-spacing: 0.16em; color: var(--honey); font-weight: 700; margin-bottom: 4px;
}
.portal-book-spine {
  width: 4px;
  background: linear-gradient(90deg, rgba(0,0,0,0.45), rgba(255,255,255,0.22), rgba(0,0,0,0.45));
  z-index: 10;
}
.portal-book-page.right {
  border-radius: 1px 5px 5px 1px;
  background: linear-gradient(90deg, #e5e7eb 0%, #ffffff 10%);
}
.portal-book-page .bar, .leaf-face .bar {
  height: 5px; border-radius: 3px; background: #e2e8f0;
}
.portal-book-page .bar.accent, .leaf-face .bar.accent {
  background: var(--honey); width: 62%;
}
.mini-tag {
  font-size: 7px; font-weight: 800; letter-spacing: 0.14em; text-align: left;
}
.book-thumb {
  height: 40px; border-radius: 4px; margin: 2px 0;
  background: linear-gradient(135deg, rgba(243, 112, 33, 0.26), rgba(15, 118, 110, 0.26));
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.book-thumb.alt {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(243, 112, 33, 0.22));
}
.book-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 2px 0;
}
.book-card-sm {
  height: 42px; border-radius: 4px;
  background: linear-gradient(135deg, #fde68a, #fdba74);
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.book-card-sm.alt {
  background: linear-gradient(135deg, #bae6fd, #a5f3fc);
}
.book-chart {
  display: flex; align-items: flex-end; gap: 5px; height: 48px; padding: 6px;
  border-radius: 4px; background: #f1f5f9;
}
.book-chart span {
  flex: 1; border-radius: 2px 2px 0 0; background: #38bdf8;
}

/* 3D Turning Leaves with Front & Back Faces */
.portal-flip-leaf {
  position: absolute;
  top: 0; left: 50%;
  width: 50%; height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
}
.leaf-face {
  position: absolute; inset: 0;
  padding: 13px 11px;
  display: flex; flex-direction: column; gap: 6px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 1px 5px 5px 1px;
  box-shadow: -3px 8px 18px rgba(0, 0, 0, 0.2);
}
.leaf-face.front {
  background: linear-gradient(90deg, #e2e8f0 0%, #ffffff 12%, #f8fafc 100%);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}
.leaf-face.back {
  transform: rotateY(180deg);
  border-radius: 5px 1px 1px 5px;
  background: linear-gradient(-90deg, #e2e8f0 0%, #ffffff 12%, #f8fafc 100%);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

/* Symmetric 8s Right->Left then Left->Right 3-leaf turn cycle (no opacity flattening) */
.portal-flip-leaf.leaf-1 { animation: flipLeaf1 8s cubic-bezier(0.645, 0.045, 0.355, 1) infinite; }
.portal-flip-leaf.leaf-2 { animation: flipLeaf2 8s cubic-bezier(0.645, 0.045, 0.355, 1) infinite; }
.portal-flip-leaf.leaf-3 { animation: flipLeaf3 8s cubic-bezier(0.645, 0.045, 0.355, 1) infinite; }

@keyframes flipLeaf1 {
  0%, 4%    { transform: rotateY(0deg); z-index: 8; }
  10%       { z-index: 8; }
  16%, 84%  { transform: rotateY(-176deg); z-index: 5; }
  90%       { z-index: 8; }
  96%, 100% { transform: rotateY(0deg); z-index: 8; }
}
@keyframes flipLeaf2 {
  0%, 18%   { transform: rotateY(0deg); z-index: 7; }
  24%       { z-index: 9; }
  30%, 70%  { transform: rotateY(-174deg); z-index: 6; }
  76%       { z-index: 9; }
  82%, 100% { transform: rotateY(0deg); z-index: 7; }
}
@keyframes flipLeaf3 {
  0%, 32%   { transform: rotateY(0deg); z-index: 6; }
  38%       { z-index: 10; }
  44%, 56%  { transform: rotateY(-172deg); z-index: 7; }
  62%       { z-index: 10; }
  68%, 100% { transform: rotateY(0deg); z-index: 6; }
}

.portal-caption {
  position: relative; z-index: 2;
  font-size: 1.05rem; font-weight: 700; line-height: 1.3; max-width: 240px;
}
.portal-caption span { color: var(--honey); }
.portal-stat {
  position: relative; z-index: 2;
  margin-top: 10px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* Rotating circular Play Demo badge */
.portal-spin-badge {
  position: absolute; left: 4%; bottom: 6%; z-index: 5;
  width: 96px; height: 96px; border-radius: 50%;
  background: #080808; color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 200ms ease;
}
.portal-spin-badge:hover { transform: scale(1.07); }
.portal-spin-badge svg {
  width: 84px; height: 84px;
  animation: spinSlow 14s linear infinite;
}
.portal-spin-badge .center-play {
  position: absolute; width: 28px; height: 28px; border-radius: 50%;
  background: var(--honey); color: #080808;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ---- Infinite Trust Marquee ---- */
.marquee-band {
  background: #080808; color: #ffffff;
  padding: 16px 0; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.marquee-track {
  display: flex; align-items: center; gap: 36px; width: max-content;
  animation: marqueeScroll 24s linear infinite;
}
.marquee-item {
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.06em;
  display: inline-flex; align-items: center; gap: 36px; white-space: nowrap;
}
.marquee-item.outline { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.55); }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Dark Sections Below Marquee (Alternating Paper / Sand / Rounded Obsidian) ---- */
.dark-band {
  background: var(--paper);
  color: var(--ink);
}

.section { padding: 76px 0; }
.section-sand { background: #e9e4db; color: var(--ink); }
.section-obsidian {
  background: #0d0d10;
  color: #ffffff;
  border-radius: 28px;
  margin: 24px auto;
  width: min(1320px, 95vw);
  padding: 72px 32px;
}

.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.section-head h2 {
  font-family: "Unbounded", system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 600; margin-bottom: 10px;
}
.section-head p { opacity: 0.72; font-size: 1rem; }

/* Scroll-driven Hero Portal Expansion */
.hero-editorial {
  transition: padding 200ms ease;
}
.portal-stage {
  transition: transform 120ms linear;
}
.portal-hex {
  transition: clip-path 120ms linear, border-radius 120ms linear;
}

/* Numbered Use-Case Cards (01..06 inside Obsidian Block) */
.num-badge {
  font-size: 12px; font-weight: 700; color: var(--honey);
  letter-spacing: 0.1em; margin-bottom: 12px; display: block;
}
.feature-card {
  padding: 24px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}
.feature-card:hover {
  border-color: var(--honey);
  background: rgba(243, 112, 33, 0.07);
  transform: translateY(-4px);
}
.feature-card.light-card {
  background: #ffffff; border: 1px solid var(--ink-line); color: var(--ink);
}
.feature-card.light-card p { color: var(--ink-muted); }
.feature-card.light-card:hover {
  border-color: var(--honey);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 8, 8, 0.08);
}

/* Scroll-reveal utility */
.reveal {
  opacity: 0.92; transform: translateY(14px);
  transition: opacity 320ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---- Demo & Form Cards ---- */
.demo-box {
  max-width: 720px; margin: 0 auto;
  padding: 28px; border-radius: 18px;
  background: #0d0d10; color: #ffffff; border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 60px rgba(8, 8, 8, 0.12);
}

.drop-zone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 36px 20px; border-radius: 12px;
  border: 2px dashed rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted); text-align: center; cursor: pointer;
  transition: border-color 150ms, background 150ms;
}
.drop-zone:hover, .drop-zone.drag-over {
  border-color: var(--honey); background: rgba(243, 112, 33, 0.05);
}
.drop-zone strong { color: var(--honey); text-decoration: underline; }

.field-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.field-input {
  width: 100%; padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--border-strong); background: var(--bg-surface);
  color: var(--text-main); font: inherit; font-size: 0.95rem;
}

.result-banner {
  margin-top: 18px; padding: 16px; border-radius: 10px;
  background: rgba(34, 197, 94, 0.08); border: 1px solid rgba(34, 197, 94, 0.35);
}
.link-copy-row { display: flex; gap: 8px; margin: 10px 0; }

/* ---- Features & Tech Grids ---- */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px;
}
.feature-card {
  padding: 24px; border-radius: 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: border-color 160ms, transform 160ms;
}
.feature-card:hover { border-color: rgba(243, 112, 33, 0.45); transform: translateY(-3px); }
.feature-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(243, 112, 33, 0.14); color: var(--honey); margin-bottom: 14px; font-size: 1.2rem;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ---- About & Contact 2-Column ---- */
.split-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
}
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px;
}
.stat-box {
  padding: 16px; border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border);
}
.stat-box strong { display: block; font-size: 1.5rem; color: var(--honey); }
.stat-box span { font-size: 0.8rem; color: var(--text-muted); }

/* ---- Pricing ---- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px;
}
.price-card {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px; border-radius: 16px;
  background: #0d0d10; color: #ffffff; border: 1px solid rgba(255,255,255,0.1); position: relative;
}
.price-card.popular {
  border-color: var(--honey);
  background: linear-gradient(180deg, rgba(243, 112, 33, 0.18), #0d0d10 60%), #0d0d10;
}
.popular-tag {
  position: absolute; top: -12px; right: 20px;
  padding: 3px 12px; border-radius: 999px;
  background: var(--honey); color: #080808; font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
}
.price-title { font-size: 1.15rem; font-weight: 700; }
.price-amount { font-size: 2.3rem; font-weight: 800; margin: 12px 0 4px; }
.price-amount span { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); }
.price-alt { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 18px; }
.price-features {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 24px; font-size: 0.9rem; color: var(--text-muted);
}
.price-features li::before { content: "✓ "; color: var(--success); font-weight: 700; }

/* ---- Dashboard & Checkout ---- */
.dash-wrap { padding: 36px 0 80px; }
.dash-grid { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: start; }
.card {
  padding: 22px; border-radius: 14px;
  background: #0d0d10; color: #ffffff; border: 1px solid rgba(255,255,255,0.1);
}
.plan-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
}
.plan-pill.free { background: rgba(245, 158, 11, 0.14); color: #fbbf24; }
.plan-pill.paid { background: rgba(34, 197, 94, 0.14); color: #4ade80; }

.issue-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 16px; border-radius: 10px;
  background: var(--bg-surface); border: 1px solid var(--border); flex-wrap: wrap;
}
.issue-row + .issue-row { margin-top: 10px; }
.badge-wm { padding: 2px 7px; border-radius: 4px; font-size: 0.72rem; font-weight: 600; background: rgba(245, 158, 11, 0.14); color: #fbbf24; }
.badge-clean { padding: 2px 7px; border-radius: 4px; font-size: 0.72rem; font-weight: 600; background: rgba(34, 197, 94, 0.14); color: #4ade80; }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(6px); padding: 16px;
}
.modal-card {
  width: min(460px, 94vw); padding: 26px; border-radius: 16px;
  background: var(--bg-card); border: 1px solid var(--border-strong);
}

/* ---- Footer ---- */
.footer {
  background: #05070c;
  border-top: 1px solid var(--border);
  padding: 42px 0 28px;
  color: var(--text-muted); font-size: 0.88rem;
}
.footer-grid {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: #ffffff; }

@media (max-width: 960px) {
  .hero-editorial { min-height: auto; padding: 36px 0 48px; }
  .hero-sticky { position: static; height: auto; min-height: auto; }
  .hero-stage-wrap { height: auto; flex-direction: column; gap: 32px; }
  .hero-copy { width: 100%; padding-right: 0; }
  .portal-stage { position: relative; left: 0; top: 0; transform: none; width: 100%; max-width: 380px; height: 390px; }
  .split-grid, .dash-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .line-reveal, .rot-track, .portal-ring-dash, .portal-book, .portal-spin-badge svg, .marquee-track {
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
