/* ═══════════════════════════════════════════════════════
   CycleOps Marketing Website — Custom Styles
   ═══════════════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --navy:        #0f172a;
  --navy-light:  #1e293b;
  --navy-mid:    #334155;
  --cyan:        #06b6d4;
  --cyan-light:  #22d3ee;
  --cyan-dark:   #0891b2;
  --cyan-glow:   rgba(6,182,212,0.15);
  --surface:     #f8fafc;
  --surface-2:   #f1f5f9;
  --border:      #e2e8f0;
  --text-dark:   #1e293b;
  --text-med:    #475569;
  --text-light:  #94a3b8;
  --green:       #10b981;
  --red:         #ef4444;
  --orange:      #f59e0b;
  --purple:      #8b5cf6;
  --blue:        #3b82f6;
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  --gradient-cyan: linear-gradient(135deg, #06b6d4, #0891b2);
  --gradient-card: linear-gradient(135deg, rgba(6,182,212,0.05), rgba(139,92,246,0.05));
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }

/* ── Typography ────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.6rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav-logo svg { height: 26px; width: auto; }
.nav-logo .logo-accent { color: var(--cyan); }
.nav-logo .logo-text { white-space: nowrap; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
}

.nav-cta {
  background: var(--gradient-cyan) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(6,182,212,0.4);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15,23,42,0.98);
  backdrop-filter: blur(20px);
  z-index: 1100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.mobile-menu a {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu { padding: 5rem 1.5rem 2rem; overflow-y: auto; }
  .mobile-menu a { font-size: clamp(1.2rem, 6vw, 1.5rem); text-align: center; }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.hero-orb-1 {
  width: 600px; height: 600px;
  background: var(--cyan);
  top: -200px; right: -100px;
  animation: float-slow 20s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px; height: 400px;
  background: var(--purple);
  bottom: -100px; left: -100px;
  animation: float-slow 25s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 300px; height: 300px;
  background: var(--cyan-light);
  top: 40%; left: 50%;
  animation: float-slow 15s ease-in-out infinite;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6,182,212,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,182,212,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  color: var(--cyan-light);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-badge .pulse {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Mobile hero refinements */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
  }

  .hero-content {
    width: 100%;
    padding: 7rem 1.5rem 3rem;
    overflow: hidden;
  }

  .hero-brand-lockup {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }

  .hero-brand-lockup svg {
    height: 68px !important;
    max-width: 52vw;
  }

  .hero-brand-lockup span {
    font-size: clamp(2rem, 13vw, 3.1rem) !important;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-badge {
    max-width: 100%;
    white-space: normal;
    border-radius: 16px;
  }

  .hero h1 {
    font-size: clamp(2rem, 9.6vw, 2.7rem);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .hero p {
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-cyan);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(6,182,212,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6,182,212,0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}

/* ── Stats Counter ─────────────────────────────────────── */
.stats-section {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ── Section Base ──────────────────────────────────────── */
.section {
  padding: 6rem 0;
}

.section-dark {
  background: var(--navy);
  color: #fff;
}

.section-light {
  background: #fff;
}

.section-surface {
  background: var(--surface);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header .overline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-dark .section-header h2 { color: #fff; }
.section-light .section-header h2 { color: var(--navy); }

.section-header p {
  font-size: 1.05rem;
  color: var(--text-med);
  line-height: 1.7;
}

.section-dark .section-header p { color: var(--text-light); }

/* ── Feature Cards ─────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

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

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: var(--cyan-glow);
  color: var(--cyan);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-med);
  line-height: 1.6;
}

/* Dark feature cards */
.feature-card-dark {
  background: var(--navy-light);
  border-color: rgba(255,255,255,0.06);
}

.feature-card-dark:hover {
  border-color: rgba(6,182,212,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.feature-card-dark h3 { color: #fff; }
.feature-card-dark p { color: var(--text-light); }

/* ── Integration Marquee ───────────────────────────────── */
.marquee-container {
  overflow: hidden;
  padding: 2rem 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  white-space: nowrap;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.marquee-item:hover {
  background: rgba(6,182,212,0.1);
  border-color: rgba(6,182,212,0.2);
  color: var(--cyan-light);
}

.marquee-item svg { flex-shrink: 0; }

/* ── Differentiator Cards ──────────────────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.diff-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s;
}

.diff-card:hover {
  background: rgba(6,182,212,0.05);
  border-color: rgba(6,182,212,0.15);
  transform: translateY(-6px);
}

.diff-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.diff-icon-cyan { background: rgba(6,182,212,0.1); color: var(--cyan); }
.diff-icon-purple { background: rgba(139,92,246,0.1); color: var(--purple); }
.diff-icon-green { background: rgba(16,185,129,0.1); color: var(--green); }

.diff-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.diff-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ── CTA Banner ────────────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1a2744 100%);
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 600px; height: 600px;
  background: var(--cyan);
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.08;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Feature Rows (alternating) ────────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-row-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--navy);
}

.feature-row-text p {
  font-size: 1rem;
  color: var(--text-med);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-med);
}

.feature-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--cyan);
}

.feature-visual {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.feature-visual-inner {
  text-align: center;
  color: var(--text-light);
}

.feature-visual-inner svg {
  width: 120px; height: 120px;
  color: var(--cyan);
  opacity: 0.3;
  margin: 0 auto 1rem;
}

/* Mock dashboard preview */
.mock-dashboard {
  background: var(--navy);
  border-radius: 12px;
  padding: 1rem;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.mock-dashboard-header {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

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

.mock-dot-r { background: #ef4444; }
.mock-dot-y { background: #f59e0b; }
.mock-dot-g { background: #10b981; }

.mock-dashboard-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
}

.mock-widget {
  background: var(--navy-light);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.mock-widget-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cyan);
}

.mock-widget-label {
  font-size: 0.65rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}

.mock-chart {
  grid-column: span 2;
  background: var(--navy-light);
  border-radius: 8px;
  padding: 1rem;
  min-height: 100px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.mock-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  transition: height 1s ease;
}

@media (max-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .feature-row.reverse { direction: ltr; }
}

/* ── Integration Grid ──────────────────────────────────── */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.integration-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.3s;
}

.integration-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-color: var(--cyan);
}

.integration-logo {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.integration-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.integration-card p {
  font-size: 0.82rem;
  color: var(--text-med);
  line-height: 1.5;
}

/* ── Architecture Diagram ──────────────────────────────── */
.arch-diagram {
  background: var(--navy);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.arch-layer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.arch-node {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.arch-node:hover {
  border-color: var(--cyan);
  background: rgba(6,182,212,0.1);
}

.arch-node svg { color: var(--cyan); width: 18px; height: 18px; }

.arch-connector {
  text-align: center;
  color: var(--text-light);
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.arch-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

/* ── Tech Stack Cards ──────────────────────────────────── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.tech-card {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}

.tech-card:hover {
  border-color: rgba(6,182,212,0.2);
  transform: translateY(-3px);
}

.tech-card .tech-emoji {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.tech-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.tech-card p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ── Security Badges ───────────────────────────────────── */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.security-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.security-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.security-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: rgba(16,185,129,0.1);
  color: var(--green);
}

.security-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.security-card p {
  font-size: 0.85rem;
  color: var(--text-med);
}

/* ── Contact Form ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-glow);
  color: var(--cyan);
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-med);
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--cyan-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: var(--text-light);
  transition: color 0.2s;
}

.footer-socials a:hover { color: var(--cyan); }

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: span 2; }
}

/* ── Page Hero (inner pages) ───────────────────────────── */
.page-hero {
  background: var(--gradient-hero);
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-bg-effects { opacity: 0.5; }

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ── Utility ───────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.gap-1 { gap: 1rem; }

/* ── Portal Card & Nav ────────────────────────────────── */
.nav-portal {
  color: var(--cyan) !important;
  font-weight: 600;
}

.portal-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.portal-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(6,182,212,0.15);
}

.portal-link-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap 0.2s;
}

.portal-card:hover .portal-link-hint {
  gap: 0.6rem;
}

/* ── Smooth appear animation ───────────────────────────── */
[data-aos] {
  transition-property: transform, opacity;
}



/* ── V3 Platform Narrative ───────────────────────────── */
.platform-hero .hero-content { max-width: 1180px; }
.platform-hero h1 { max-width: 920px; }
.platform-hero p { max-width: 780px; }
.compact-page-hero { min-height: 420px; display:flex; align-items:center; background:var(--gradient-hero); position:relative; overflow:hidden; padding-top:5rem; }
.compact-page-hero .container { position:relative; z-index:2; text-align:center; }
.compact-page-hero h1 { color:#fff; font-size:clamp(2.3rem,5vw,4rem); font-weight:800; line-height:1.1; margin-bottom:1rem; }
.compact-page-hero p { color:var(--text-light); max-width:760px; margin:0 auto; font-size:1.1rem; }
.platform-area-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:1.25rem; }
.platform-area-grid.expanded { grid-template-columns:repeat(2, minmax(0, 1fr)); }
.platform-area-card { background:#fff; border:1px solid var(--border); border-radius:14px; padding:1.75rem; min-height:100%; transition:all .25s ease; }
.platform-area-card:hover { transform:translateY(-4px); box-shadow:0 18px 36px rgba(15,23,42,.08); border-color:rgba(6,182,212,.35); }
.platform-area-icon { width:54px; height:54px; border-radius:14px; display:flex; align-items:center; justify-content:center; background:rgba(6,182,212,.1); color:var(--cyan); margin-bottom:1rem; }
.platform-area-card h3 { color:var(--navy); font-size:1.2rem; font-weight:800; margin-bottom:.6rem; }
.platform-area-card p { color:var(--text-med); font-size:.93rem; line-height:1.65; margin-bottom:1rem; }
.platform-area-card ul { display:flex; flex-direction:column; gap:.55rem; }
.platform-area-card li { display:flex; align-items:flex-start; gap:.55rem; color:var(--text-med); font-size:.88rem; line-height:1.45; }
.platform-area-card li svg { flex:0 0 auto; margin-top:1px; }
.operation-flow { display:grid; grid-template-columns:.85fr 1.15fr; gap:2rem; align-items:center; }
.flow-copy .overline { display:inline-block; color:var(--cyan); font-size:.8rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; margin-bottom:.75rem; }
.flow-copy h2 { color:var(--navy); font-size:clamp(1.8rem,3vw,2.6rem); line-height:1.15; margin-bottom:1rem; }
.flow-copy p { color:var(--text-med); line-height:1.7; }
.flow-steps { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:1rem; }
.flow-steps div { background:#fff; border:1px solid var(--border); border-radius:14px; padding:1.2rem; display:flex; gap:1rem; align-items:flex-start; }
.flow-steps strong { width:38px; height:38px; border-radius:11px; background:var(--navy); color:var(--cyan); display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
.flow-steps span { color:var(--text-med); font-size:.92rem; line-height:1.55; }
.capability-matrix { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:1rem; }
.capability-matrix div { background:#fff; border:1px solid var(--border); border-radius:12px; padding:1.2rem; display:grid; gap:.35rem; }
.capability-matrix strong { color:var(--navy); font-size:1rem; }
.capability-matrix span { color:var(--text-med); font-size:.9rem; line-height:1.5; }
.solution-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:1.25rem; }
.solution-card { background:#fff; border:1px solid var(--border); border-radius:14px; padding:1.75rem; transition:all .25s ease; }
.solution-card:hover { transform:translateY(-4px); box-shadow:0 18px 36px rgba(15,23,42,.08); }
.solution-card h3 { color:var(--navy); font-size:1.1rem; font-weight:800; margin-bottom:.5rem; }
.solution-card p { color:var(--text-med); font-size:.92rem; line-height:1.6; }
.identity-panel { background:var(--navy); border-radius:20px; padding:2rem; min-height:320px; display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:1rem; align-content:center; box-shadow:0 20px 60px rgba(15,23,42,.18); }
.identity-node { border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.05); border-radius:14px; color:#fff; padding:1rem; text-align:center; font-weight:700; }
.identity-node.main { grid-column:1 / -1; background:rgba(6,182,212,.15); color:var(--cyan-light); border-color:rgba(6,182,212,.35); }
.arch-diagram.light { background:#fff; border:1px solid var(--border); }
.arch-diagram.light .arch-node { background:var(--surface); color:var(--navy); border-color:var(--border); }
.arch-diagram.light .arch-connector { color:var(--text-med); }
.contact-layout { display:grid; grid-template-columns:1.05fr .95fr; gap:2rem; align-items:start; }
.contact-card, .contact-side { background:#fff; border:1px solid var(--border); border-radius:16px; padding:2rem; box-shadow:0 14px 30px rgba(15,23,42,.05); }
.contact-card h3 { color:var(--navy); font-size:1.35rem; font-weight:800; margin-bottom:.5rem; }
.contact-card p, .contact-side p { color:var(--text-med); }
.contact-side h2 { color:var(--navy); font-size:1.8rem; line-height:1.2; margin:.5rem 0 1rem; }
.form-group { display:grid; gap:.4rem; margin-bottom:1rem; }
.form-group label { color:var(--navy); font-size:.86rem; font-weight:700; }
.form-group input, .form-group select, .form-group textarea { width:100%; border:1px solid var(--border); border-radius:10px; padding:.85rem 1rem; font:inherit; color:var(--text-dark); background:#fff; }
.form-group textarea { resize:vertical; }

@media (max-width: 980px) {
  .platform-area-grid, .platform-area-grid.expanded, .solution-grid { grid-template-columns:repeat(2, minmax(0,1fr)); }
  .operation-flow, .contact-layout { grid-template-columns:1fr; }
}
@media (max-width: 768px) {
  .platform-area-grid, .platform-area-grid.expanded, .solution-grid, .capability-matrix, .flow-steps { grid-template-columns:1fr; }
  .compact-page-hero { min-height:360px; }
  .identity-panel { grid-template-columns:1fr; }
}
