/* ═══════════════════════════════════════════════════════════════════════════
   RemoteService Landing Page
   Bold editorial design with parallax, serif headings, scroll animations
   ═══════════════════════════════════════════════════════════════════════════ */

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

:root {
  --bg: #111820;
  --surface: #1a2330;
  --surface-2: #202c3a;
  --border: #2a3a4c;
  --text: #dce4ec;
  --text-muted: #8a9bb0;
  --text-faint: #556a80;
  --heading: #f0f4f8;
  --cyan: #22d3ee;
  --cyan-dark: #0891b2;
  --cyan-glow: rgba(34, 211, 238, .10);
  --cyan-glow-strong: rgba(34, 211, 238, .22);
  --cyan-highlight: #67e8f9;
  --amber: #f59e0b;
  --amber-glow: rgba(245, 158, 11, .10);
  --danger: #ef4444;
  --dark: #0c1117;
  --serif: 'Playfair Display', 'Georgia', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
h1, h2, h3, h4, h5, h6 { line-height: 1.1; }
p { margin: 0; }

/* ── Floating geometric shapes ─────────────────────────────────────────── */
.shapes {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.shape {
  position: absolute;
  will-change: transform;
  transition: transform .1s linear;
}
.shape-circle-lg {
  width: 340px; height: 340px; border-radius: 50%;
  background: var(--cyan-glow);
  top: 8%; left: 55%;
  filter: blur(1px);
}
.shape-circle-sm {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--cyan);
  opacity: .07;
  top: 65%; left: 8%;
}
.shape-ring {
  width: 200px; height: 200px; border-radius: 50%;
  border: 2px solid var(--cyan);
  opacity: .1;
  top: 30%; left: -3%;
}
.shape-circle-outline {
  width: 80px; height: 80px; border-radius: 50%;
  border: 2px solid var(--cyan);
  opacity: .1;
  top: 75%; right: 15%;
}
.shape-cross {
  font-size: 28px; color: var(--cyan);
  opacity: .18;
  top: 18%; right: 12%;
  animation: rotateSlow 20s linear infinite;
}
.shape-cross.s2 {
  font-size: 18px; opacity: .1;
  top: 82%; left: 35%;
  animation-duration: 30s;
  animation-direction: reverse;
}
.shape-triangle {
  font-size: 32px; color: var(--text-faint);
  opacity: .12;
  top: 45%; right: 5%;
  animation: rotateSlow 25s linear infinite;
}
.shape-triangle.s2 {
  font-size: 20px; opacity: .08;
  top: 12%; left: 25%;
  animation-duration: 35s;
  animation-direction: reverse;
}
.shape-stripe-box {
  width: 140px; height: 160px;
  border-radius: 20px;
  background: repeating-linear-gradient(
    -45deg,
    var(--cyan) 0px, var(--cyan) 3px,
    transparent 3px, transparent 10px
  );
  opacity: .05;
  top: 5%; right: 20%;
  transform: rotate(-8deg);
}
.shape-dot-grid {
  width: 120px; height: 120px;
  background-image: radial-gradient(var(--cyan) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: .07;
  top: 55%; right: 30%;
}
.shape-line-v {
  width: 2px; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--text-faint), transparent);
  opacity: .2;
  top: 40%; left: 12%;
}
.shape-line-v.s2 {
  height: 80px; opacity: .12;
  top: 20%; right: 40%; left: auto;
}

@keyframes rotateSlow {
  to { transform: rotate(360deg); }
}

/* ── Navigation ────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 0;
  transition: all .4s var(--ease);
}
.nav.scrolled {
  background: rgba(17, 24, 32, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: .75rem; }
.nav-logo { width: 56px; height: 56px; transition: width .3s, height .3s; }
.nav.scrolled .nav-logo { width: 40px; height: 40px; }
.nav-name {
  font-weight: 700; font-size: 1.1rem; color: var(--heading);
  letter-spacing: -.01em;
}
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a {
  font-size: .85rem; font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .02em;
  transition: color .25s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
  background: var(--cyan-dark) !important;
  color: #fff !important;
  padding: .55rem 1.5rem;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background .25s, transform .25s !important;
}
.nav-cta:hover {
  background: var(--cyan) !important;
  color: var(--dark) !important;
  transform: scale(1.04);
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 2.5rem 4rem;
  max-width: 1280px; margin: 0 auto;
}
.hero-content { max-width: 800px; }

.hero-logo-wrap {
  margin-bottom: 2.5rem;
  animation: fadeUp .7s var(--ease) both;
}
.hero-logo {
  width: 140px; height: 140px;
  filter: drop-shadow(0 0 40px var(--cyan-glow-strong))
          drop-shadow(0 0 80px var(--cyan-glow));
}

.hero-eyebrow {
  font-size: .8rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  animation: fadeUp .8s var(--ease) .05s both;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -.03em;
  margin-bottom: 2rem;
}
.hero-title .line { display: block; }
.hero-title .italic {
  font-style: italic;
  color: var(--cyan);
}
.hero-title .line:nth-child(1) { animation: fadeUp .7s var(--ease) .1s both; }
.hero-title .line:nth-child(2) { animation: fadeUp .7s var(--ease) .2s both; }
.hero-title .line:nth-child(3) { animation: fadeUp .7s var(--ease) .3s both; }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
  animation: fadeUp .7s var(--ease) .4s both;
}
.hero-actions {
  display: flex; gap: 1.25rem; margin-top: 2.5rem;
  animation: fadeUp .7s var(--ease) .5s both;
}
.btn-main {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: 1rem 2rem;
  background: var(--cyan);
  color: var(--dark);
  font-weight: 700; font-size: .95rem;
  border-radius: 100px;
  transition: all .3s var(--ease);
  box-shadow: 0 0 30px var(--cyan-glow-strong);
}
.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px var(--cyan-glow-strong), 0 8px 30px rgba(0,0,0,.3);
}
.btn-main .btn-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: rgba(0,0,0,.15);
  border-radius: 50%;
  font-size: 1rem;
  transition: transform .3s var(--ease);
}
.btn-main:hover .btn-arrow { transform: translateX(3px); }

.btn-outline {
  display: inline-flex; align-items: center;
  padding: 1rem 2rem;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-weight: 600; font-size: .95rem;
  border-radius: 100px;
  transition: all .3s var(--ease);
}
.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-2px);
}

/* Hero stats strip */
.hero-stats {
  display: flex; gap: 2rem; margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: fadeUp .7s var(--ease) .6s both;
}
.hero-stat {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 500;
  color: var(--text-faint);
}
.hero-stat i {
  color: var(--cyan);
  font-size: .85rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 3rem; left: 50%; transform: translateX(-50%);
  animation: fadeUp .7s var(--ease) .8s both;
}
.scroll-line {
  width: 2px; height: 56px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: .4; transform: scaleY(.6); transform-origin: top; }
}

/* ── Marquee ───────────────────────────────────────────────────────────── */
.marquee {
  position: relative; z-index: 1;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  background: var(--surface-2);
}
.marquee-track {
  display: flex; align-items: center; gap: 2rem;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: var(--serif);
  font-size: 1.1rem; font-weight: 700;
  color: var(--text-faint);
  letter-spacing: .02em;
}
.marquee-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: .5;
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Section commons ───────────────────────────────────────────────────── */
.section-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2.5rem;
}
.section-label {
  font-size: .75rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}
.section-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800; color: var(--heading);
  letter-spacing: -.02em;
  margin-bottom: 4rem;
}
.section-heading em {
  font-style: italic;
  color: var(--cyan);
}

/* ── Problem Statement ─────────────────────────────────────────────────── */
.problems {
  position: relative; z-index: 1;
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--bg), var(--surface-2) 40%, var(--bg));
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--danger), transparent);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.problem-card:hover::before { opacity: 1; }
.problem-card:hover {
  border-color: rgba(239, 68, 68, .25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.problem-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(239, 68, 68, .08);
  border: 1px solid rgba(239, 68, 68, .15);
  display: flex; align-items: center; justify-content: center;
  color: var(--danger);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.problem-card h3 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--heading); margin-bottom: .75rem;
}
.problem-card p {
  font-size: .875rem; line-height: 1.7;
  color: var(--text-muted);
}
.problem-card p em {
  color: var(--text);
  font-style: normal;
  background: rgba(239, 68, 68, .08);
  padding: .1rem .4rem;
  border-radius: 4px;
}

/* ── Architecture ──────────────────────────────────────────────────────── */
.architecture {
  position: relative; z-index: 1;
  padding: 8rem 0;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.arch-visual {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.arch-col { display: flex; flex-direction: column; gap: 1rem; }
.arch-col-split { gap: .75rem; }

.arch-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  min-width: 210px; max-width: 260px;
  transition: all .35s var(--ease);
}
.arch-card:hover {
  border-color: rgba(34, 211, 238, .3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.arch-card-primary {
  border-color: var(--cyan-dark);
  background: linear-gradient(160deg, var(--surface), rgba(34, 211, 238, .05));
  box-shadow: 0 0 40px var(--cyan-glow);
}
.arch-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--cyan-glow);
  border: 1px solid rgba(34, 211, 238, .15);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  font-size: 1.3rem;
  margin: 0 auto 1rem;
}
.arch-card h4 { font-size: 1rem; font-weight: 700; color: var(--heading); margin-bottom: .4rem; }
.arch-card p { font-size: .8rem; color: var(--text-muted); line-height: 1.6; }

.arch-connector {
  display: flex; align-items: center; gap: .6rem;
  padding: 0 1.5rem;
}
.arch-connector-line {
  width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--border), var(--cyan), var(--border));
}
.arch-connector span {
  font-size: .65rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--cyan); white-space: nowrap;
}

/* ── Features ──────────────────────────────────────────────────────────── */
.features {
  position: relative; z-index: 1;
  padding: 8rem 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background .35s var(--ease);
}
.feature-card:hover { background: var(--bg); }
.feature-card::after {
  content: '';
  position: absolute; bottom: 0; left: 2rem; right: 2rem; height: 2px;
  background: var(--cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.feature-card:hover::after { transform: scaleX(1); }

.fc-number {
  font-family: var(--serif);
  font-size: .8rem; font-weight: 700;
  color: var(--text-faint);
  margin-bottom: 1.25rem;
}
.fc-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--cyan-glow);
  border: 1px solid rgba(34, 211, 238, .15);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  transition: all .3s var(--ease);
}
.feature-card:hover .fc-icon {
  background: var(--cyan-glow-strong);
  transform: translateY(-2px);
}
.feature-card h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--heading); margin-bottom: .6rem;
}
.feature-card p {
  font-size: .85rem; line-height: 1.7;
  color: var(--text-muted);
}

/* ── How it works (3-step timeline) ────────────────────────────────────── */
.steps-section {
  position: relative; z-index: 1;
  padding: 8rem 0;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 0;
}
.step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  max-width: 300px;
  padding: 0 1.5rem;
}
.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--cyan-glow);
  border: 2px solid var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 800;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  transition: all .35s var(--ease);
}
.step:hover .step-number {
  background: var(--cyan);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 20px var(--cyan-glow-strong);
}
.step-content h3 {
  font-size: 1.15rem; font-weight: 700;
  color: var(--heading); margin-bottom: .6rem;
}
.step-content p {
  font-size: .85rem; line-height: 1.7;
  color: var(--text-muted);
}
.step-line {
  flex-shrink: 0;
  width: 80px; height: 2px;
  background: linear-gradient(90deg, var(--border), var(--cyan), var(--border));
  margin-top: 28px;
}

/* ── Portals ───────────────────────────────────────────────────────────── */
.portals {
  position: relative; z-index: 1;
  padding: 8rem 0;
}
.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 960px;
}
.portal-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: all .45s var(--ease);
  display: flex;
}
.portal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.portal-card-bg {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.portal-mfg .portal-card-bg {
  background: linear-gradient(160deg, rgba(34, 211, 238, .06), rgba(8, 145, 178, .02));
}
.portal-cust .portal-card-bg {
  background: linear-gradient(160deg, rgba(245, 158, 11, .06), rgba(217, 119, 6, .02));
}
.portal-card:hover .portal-card-bg { opacity: 1; }
.portal-mfg:hover { border-color: var(--cyan-dark); }
.portal-cust:hover { border-color: var(--amber); }

.portal-card-content {
  position: relative;
  padding: 3rem;
  display: flex; flex-direction: column;
}
.portal-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 2rem;
}
.portal-mfg .portal-icon {
  background: var(--cyan-glow);
  border: 1px solid rgba(34, 211, 238, .2);
  color: var(--cyan);
}
.portal-cust .portal-icon {
  background: var(--amber-glow);
  border: 1px solid rgba(245, 158, 11, .2);
  color: var(--amber);
}
.portal-card h3 {
  font-family: var(--serif);
  font-size: 1.8rem; font-weight: 800;
  color: var(--heading);
  margin-bottom: 1rem;
  letter-spacing: -.01em;
}
.portal-card > .portal-card-content > p {
  font-size: .9rem; color: var(--text-muted); line-height: 1.7;
}
.portal-tags {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin-top: 1.5rem;
}
.portal-tags span {
  font-size: .7rem; font-weight: 600;
  padding: .3rem .75rem;
  border-radius: 100px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--text-faint);
  letter-spacing: .02em;
}
.portal-arrow {
  display: flex; align-items: center; gap: .6rem;
  margin-top: auto; padding-top: 2.5rem;
  font-size: 1rem; font-weight: 700;
  transition: gap .3s var(--ease);
}
.portal-mfg .portal-arrow { color: var(--cyan); }
.portal-cust .portal-arrow { color: var(--amber); }
.portal-card:hover .portal-arrow { gap: 1rem; }
.portal-arrow .arrow {
  font-size: 1.3rem;
  transition: transform .3s var(--ease);
}
.portal-card:hover .portal-arrow .arrow { transform: translateX(4px); }

/* ── Contact ──────────────────────────────────────────────────────────── */
.contact {
  position: relative; z-index: 1;
  padding: 8rem 0;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-text h3 {
  font-family: var(--serif);
  font-size: 1.6rem; font-weight: 800;
  color: var(--heading);
  margin-bottom: 1rem;
}
.contact-text p {
  font-size: .95rem; line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.contact-info {
  display: flex; flex-direction: column; gap: 1rem;
}
.contact-info-item {
  display: flex; align-items: center; gap: .75rem;
  font-size: .9rem; color: var(--text-muted);
}
.contact-info-item i {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--cyan-glow);
  border: 1px solid rgba(34, 211, 238, .15);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  font-size: .9rem;
  flex-shrink: 0;
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  display: flex; flex-direction: column; gap: .4rem;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: .8rem; font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .02em;
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: .9rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23556a80' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.btn-submit {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1rem;
  padding: .85rem 2rem;
  background: var(--cyan);
  color: var(--dark);
  border: none;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: .95rem; font-weight: 700;
  cursor: pointer;
  transition: all .3s var(--ease);
  box-shadow: 0 0 24px var(--cyan-glow-strong);
}
.btn-submit:hover {
  background: var(--cyan-highlight);
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--cyan-glow-strong), 0 8px 24px rgba(0,0,0,.2);
}
.btn-submit i { font-size: .85rem; }
.btn-submit:disabled {
  opacity: .6; cursor: not-allowed;
  transform: none !important;
}
.form-footer {
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.form-status {
  font-size: .85rem; font-weight: 500;
  line-height: 1.4;
}
.form-status.success { color: #34d399; }
.form-status.error { color: var(--danger); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-left {
  display: flex; align-items: center; gap: .6rem;
}
.footer-logo { width: 28px; height: 28px; }
.footer-name { font-weight: 600; font-size: .9rem; color: var(--text-muted); }
.footer-right { font-size: .8rem; color: var(--text-faint); }

/* ── Scroll reveal ─────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-card.reveal:nth-child(2) { transition-delay: .07s; }
.feature-card.reveal:nth-child(3) { transition-delay: .14s; }
.feature-card.reveal:nth-child(4) { transition-delay: .21s; }
.feature-card.reveal:nth-child(5) { transition-delay: .28s; }
.feature-card.reveal:nth-child(6) { transition-delay: .35s; }

.problem-card.reveal:nth-child(2) { transition-delay: .1s; }
.problem-card.reveal:nth-child(3) { transition-delay: .2s; }

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

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: repeat(3, 1fr); }
  .arch-visual { flex-direction: column; gap: 0; }
  .arch-connector {
    flex-direction: column; padding: 1rem 0;
  }
  .arch-connector-line {
    width: 2px; height: 30px;
    background: linear-gradient(to bottom, var(--border), var(--cyan), var(--border));
  }
  .arch-col-split { flex-direction: row; gap: .75rem; }
  .steps { gap: 0; }
  .step-line { width: 40px; }
}
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-name { display: none; }
  .hero { padding: 7rem 1.5rem 3rem; }
  .hero-logo { width: 100px; height: 100px; }
  .hero-title { font-size: clamp(2.5rem, 11vw, 4rem); }
  .hero-actions { flex-direction: column; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .btn-main, .btn-outline { width: 100%; justify-content: center; }
  .section-inner { padding: 0 1.5rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .features, .architecture, .portals, .problems, .steps-section, .contact { padding: 5rem 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .portal-grid { grid-template-columns: 1fr; }
  .arch-col-split { flex-direction: column; }
  .marquee-track span { font-size: .9rem; }
  .shape-circle-lg { width: 200px; height: 200px; }
  .shape-stripe-box { width: 90px; height: 100px; }
  .steps { flex-direction: column; align-items: center; }
  .step-line {
    width: 2px; height: 40px;
    background: linear-gradient(to bottom, var(--border), var(--cyan), var(--border));
    margin-top: 0;
  }
  .step { max-width: 100%; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-logo { width: 80px; height: 80px; }
  .portal-card-content { padding: 2rem; }
  .portal-card h3 { font-size: 1.4rem; }
}
