/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Dark theme (default) ── */
:root {
  --bg: #030712;
  --bg-alt: #070d1a;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.07);
  --text: #f1f5f9;
  --text-muted: #64748b;
  --indigo: #6366f1;
  --cyan: #06b6d4;
  --purple: #a855f7;
  --green: #10b981;
  --yellow: #f59e0b;
  --grad: linear-gradient(135deg, #6366f1, #06b6d4);
  --grad-hover: linear-gradient(135deg, #818cf8, #22d3ee);
  --radius: 16px;
  --nav-h: 72px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
  --nav-bg-scroll: rgba(3,7,18,0.85);
  --hero-overlay: rgba(3,7,18,0.1);
  --dash-bg: rgba(10,15,30,0.8);
}

/* ── Light theme ── */
[data-theme="light"] {
  --bg: #f0f4ff;
  --bg-alt: #e8eef8;
  --surface: rgba(255,255,255,0.75);
  --surface-hover: rgba(255,255,255,0.95);
  --border: rgba(99,102,241,0.15);
  --text: #0f172a;
  --text-muted: #4b5e7a;
  --shadow-card: 0 4px 24px rgba(99,102,241,0.1);
  --nav-bg-scroll: rgba(240,244,255,0.9);
  --hero-overlay: rgba(240,244,255,0.15);
  --dash-bg: rgba(255,255,255,0.85);
}

[data-theme="light"] body { background: var(--bg); }
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--bg); }
[data-theme="light"] #navbar.scrolled { border-color: rgba(99,102,241,0.2); }
[data-theme="light"] .section-alt { background: var(--bg-alt); }
[data-theme="light"] #hero { background: linear-gradient(160deg, #eef2ff 0%, #f0f9ff 100%); }
[data-theme="light"] .hero-title { color: #0f172a; }
[data-theme="light"] .hero-sub { color: #4b5e7a; }
[data-theme="light"] .managed-dashboard { background: var(--dash-bg); box-shadow: 0 20px 60px rgba(99,102,241,0.12); }
[data-theme="light"] .card-3d { box-shadow: var(--shadow-card); }
[data-theme="light"] .mf-card { box-shadow: var(--shadow-card); }
[data-theme="light"] .product-card { box-shadow: var(--shadow-card); }
[data-theme="light"] .about-stat { box-shadow: var(--shadow-card); }
[data-theme="light"] .partner-item { box-shadow: var(--shadow-card); }
[data-theme="light"] footer { background: #e8eef8; }
[data-theme="light"] .footer-brand p,
[data-theme="light"] .footer-links a { color: #4b5e7a; }
[data-theme="light"] .nav-logo span { color: #0f172a; }
[data-theme="light"] .section-contact { background: linear-gradient(160deg, #eef2ff 0%, #f0f9ff 100%); }
[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form select,
[data-theme="light"] .contact-form textarea {
  background: rgba(255,255,255,0.9);
  border-color: rgba(99,102,241,0.25);
  color: #0f172a;
}
[data-theme="light"] .hero-badge {
  background: rgba(99,102,241,0.1);
  border-color: rgba(99,102,241,0.3);
  color: #4338ca;
}
[data-theme="light"] .section-tag {
  background: rgba(99,102,241,0.1);
  border-color: rgba(99,102,241,0.25);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s ease, color 0.3s ease;
}

/* smooth transition for theme-switching elements */
#navbar, .card-3d, .mf-card, .product-card, .about-stat, footer,
.contact-form input, .contact-form select, .contact-form textarea,
.managed-dashboard, .partner-item, .feature-item .feature-icon {
  transition: background 0.4s ease, border-color 0.4s ease, color 0.3s ease, box-shadow 0.4s ease;
}

/* scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--indigo); border-radius: 2px; }

/* selection */
::selection { background: rgba(99,102,241,0.3); }

/* ===== LOADER ===== */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}
#loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.loader-logo { height: 44px; width: auto; object-fit: contain; animation: logoPulse 1.2s ease-in-out infinite; }
@keyframes logoPulse { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.6; transform:scale(.94); } }
@keyframes spin { to { transform: rotate(360deg); } }

.loader-bar {
  width: 200px; height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 1px; overflow: hidden;
}
.loader-fill {
  height: 100%; width: 0;
  background: var(--grad);
  border-radius: 1px;
  animation: load 1.8s ease-out forwards;
}
@keyframes load { to { width: 100%; } }

/* ===== CURSOR ===== */
#cursor {
  width: 10px; height: 10px;
  background: var(--indigo);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, background .2s;
  mix-blend-mode: screen;
}
#cursor-trail {
  width: 32px; height: 32px;
  border: 1px solid rgba(99,102,241,0.5);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%,-50%);
  transition: all .15s ease-out;
}
body:has(a:hover) #cursor,
body:has(button:hover) #cursor { width: 20px; height: 20px; background: var(--cyan); }

@media (hover: none) { #cursor, #cursor-trail { display: none; } }

/* ===== NAV ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: var(--nav-bg-scroll);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav-container {
  max-width: 1280px; margin: 0 auto;
  height: 100%; padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
  font-weight: 700; font-size: 1.1rem;
  letter-spacing: .02em;
  flex-shrink: 0;
}
.nav-logo svg { width: 36px; height: 36px; }
.nav-logo-img {
  width: 36px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(6,182,212,0.35));
  transition: filter .3s, transform .3s;
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 14px rgba(99,102,241,0.6));
  transform: rotate(15deg) scale(1.08);
}
.nav-logo em { color: var(--indigo); font-style: normal; font-size: .8em; margin-left: 2px; }
.nav-logo-full { height: 34px; width: auto; object-fit: contain; flex-shrink: 0; transition: opacity .3s; }
.nav-logo:hover .nav-logo-full { opacity: .85; }
.footer-logo-text { color: #fff; font-weight: 700; }
.footer-logo-text em { color: var(--indigo); font-style: normal; }
[data-theme="light"] .footer-logo-text { color: var(--text); }

.nav-links {
  list-style: none; display: flex; align-items: center; gap: 4px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .9rem; font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); background: var(--surface); }

.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--grad);
  color: #fff; text-decoration: none;
  font-size: .875rem; font-weight: 600;
  padding: 9px 20px; border-radius: 10px;
  white-space: nowrap;
  transition: opacity .2s, transform .2s;
  flex-shrink: 0;
}
.nav-cta:hover { opacity: .85; transform: translateY(-1px); }

/* ── Theme Toggle ── */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .3s, border-color .3s, transform .2s;
  position: relative; overflow: hidden;
}
.theme-toggle:hover { background: var(--surface-hover); border-color: var(--indigo); transform: rotate(20deg); }
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  width: 18px; height: 18px;
  transition: opacity .3s, transform .3s;
}
.theme-toggle .icon-sun  { opacity: 1;  transform: scale(1)    rotate(0); color: #f59e0b; }
.theme-toggle .icon-moon { opacity: 0;  transform: scale(.5)   rotate(90deg); color: var(--indigo); }
[data-theme="light"] .theme-toggle .icon-sun  { opacity: 0;  transform: scale(.5)  rotate(-90deg); }
[data-theme="light"] .theme-toggle .icon-moon { opacity: 1;  transform: scale(1)   rotate(0); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px; margin-left: auto;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 1px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(3,7,18,0.97);
  backdrop-filter: blur(20px);
  z-index: 99; padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transform: translateY(-10px); opacity: 0;
  transition: transform .3s, opacity .3s;
}
.mobile-menu.open { display: block; transform: translateY(0); opacity: 1; }
.mobile-menu ul { list-style: none; }
.mobile-menu a {
  display: block; padding: 14px 24px;
  color: var(--text-muted); text-decoration: none;
  font-size: 1rem; font-weight: 500;
  transition: color .2s, background .2s;
}
.mobile-menu a:hover { color: var(--text); background: var(--surface); }
.mobile-cta {
  margin: 12px 24px 4px;
  background: var(--grad) !important;
  color: #fff !important;
  border-radius: 10px !important;
  text-align: center;
}

/* ===== SHARED SECTION ===== */
.section {
  position: relative; padding: 100px 0;
  overflow: hidden;
}
.section-alt { background: var(--bg-alt); }
.section-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: .6;
}

.container {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  position: relative; z-index: 1;
}

.section-tag {
  display: inline-flex; align-items: center;
  font-size: .75rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--indigo);
  border: 1px solid rgba(99,102,241,0.3);
  background: rgba(99,102,241,0.08);
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.05rem; line-height: 1.75;
  color: var(--text-muted); max-width: 560px;
}

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

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

/* ===== HERO ===== */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
}

.hero-content {
  position: relative; z-index: 1;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  max-width: 900px; margin: 0 auto;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(6,182,212,0.3);
  background: rgba(6,182,212,0.08);
  padding: 8px 16px; border-radius: 100px;
  margin-bottom: 32px;
  opacity: 0; animation: fadeUp .8s .3s forwards;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.hero-title .line {
  display: block; opacity: 0;
  animation: fadeUp .8s forwards;
}
.hero-title .line:nth-child(1) { animation-delay: .5s; }
.hero-title .line:nth-child(2) { animation-delay: .65s; }
.hero-title .line:nth-child(3) { animation-delay: .8s; }

.hero-sub {
  font-size: 1.1rem; line-height: 1.8;
  color: var(--text-muted); margin-bottom: 40px;
  opacity: 0; animation: fadeUp .8s 1s forwards;
}

.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 64px;
  opacity: 0; animation: fadeUp .8s 1.1s forwards;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad); color: #fff; text-decoration: none;
  font-weight: 600; font-size: .95rem; padding: 14px 28px;
  border-radius: 12px; border: none; cursor: pointer;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 0 40px rgba(99,102,241,0.3);
}
.btn-primary:hover { opacity: .9; transform: translateY(-2px); box-shadow: 0 0 60px rgba(99,102,241,0.45); }
.btn-primary svg { width: 20px; height: 20px; }

.btn-ghost {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text); text-decoration: none;
  font-weight: 600; font-size: .95rem; padding: 14px 28px;
  border-radius: 12px;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--indigo); transform: translateY(-2px); }

.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  flex-wrap: wrap;
  opacity: 0; animation: fadeUp .8s 1.3s forwards;
}
.stat { text-align: center; }
.stat-n { font-size: 2.5rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat sup { font-size: 1.2rem; font-weight: 700; color: var(--indigo); -webkit-text-fill-color: initial; }
.stat p { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp .8s 1.5s forwards;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--indigo));
  animation: scrollDown 1.5s ease-in-out infinite;
}
@keyframes scrollDown { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }
.scroll-indicator span { font-size: .65rem; letter-spacing: .15em; color: var(--text-muted); }

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

/* ===== AI SERVICE CARDS ===== */
.cards-3d-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-3d {
  position: relative;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transform-style: preserve-3d;
  transition: border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.card-3d::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(99,102,241,0.15), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.card-3d:hover::before { opacity: 1; }
.card-3d:hover { border-color: rgba(99,102,241,0.5); box-shadow: 0 20px 60px rgba(99,102,241,0.15); }
.card-3d.featured {
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(6,182,212,0.08));
  border-color: rgba(99,102,241,0.3);
}

.card-3d-inner { padding: 32px; }

.card-badge {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--grad); color: #fff;
  padding: 4px 12px; border-radius: 100px;
  margin-bottom: 16px;
}

.card-icon {
  width: 56px; height: 56px; margin-bottom: 20px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 28px; height: 28px; }

.card-3d h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.card-3d p { color: var(--text-muted); line-height: 1.7; font-size: .9rem; margin-bottom: 20px; }

.card-list { list-style: none; margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.card-list li {
  font-size: .85rem; color: var(--text-muted); padding-left: 16px; position: relative;
}
.card-list li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad);
}

.card-link {
  font-size: .85rem; font-weight: 600; color: var(--indigo);
  text-decoration: none;
  transition: gap .2s, color .2s;
  display: inline-flex; align-items: center; gap: 4px;
}
.card-link:hover { color: var(--cyan); gap: 8px; }

/* ===== CLOUD SPLIT ===== */
.split-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.split-visual { position: relative; }
#cloud-3d { width: 100%; height: auto; display: block; }

.feature-list { display: flex; flex-direction: column; gap: 28px; margin: 32px 0; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.feature-item p { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

.cloud-logos {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.cloud-logo {
  padding: 8px 18px; border-radius: 8px;
  font-weight: 700; font-size: .85rem;
  border: 1px solid var(--border);
  background: var(--surface);
}
.cloud-logo.aws { border-color: rgba(255,153,0,.4); color: #ff9900; background: rgba(255,153,0,.08); }
.cloud-logo.azure { border-color: rgba(0,114,206,.4); color: #0072ce; background: rgba(0,114,206,.08); }
.cloud-logo.gcp { border-color: rgba(66,133,244,.4); color: #4285f4; background: rgba(66,133,244,.08); }

/* ===== MANAGED SERVICE ===== */
.managed-dashboard {
  max-width: 700px; margin: 0 auto 64px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(10,15,30,0.8);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}
.dashboard-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
  font-size: .8rem;
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot.green { background: #10b981; }
.dash-dot.yellow { background: #f59e0b; }
.dash-dot.red { background: #ef4444; }
.dash-title { margin-left: 8px; color: var(--text-muted); font-family: monospace; }
.dash-status { margin-left: auto; color: #10b981; display: flex; align-items: center; gap: 6px; }
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #10b981;
  animation: pulse-anim 2s ease-in-out infinite;
}
@keyframes pulse-anim { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.4);opacity:.6} }

.dashboard-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.dash-metric { display: flex; align-items: center; gap: 16px; }
.metric-label { font-size: .8rem; font-family: monospace; color: var(--text-muted); width: 90px; flex-shrink: 0; }
.metric-bar {
  flex: 1; height: 6px; background: rgba(255,255,255,0.08);
  border-radius: 3px; overflow: hidden;
}
.metric-fill {
  height: 100%; width: var(--w); background: var(--grad);
  border-radius: 3px;
  animation: fillBar 2s ease-out forwards;
  transform: scaleX(0); transform-origin: left;
}
.metric-fill.green { background: linear-gradient(90deg, #10b981, #06b6d4); }
.metric-fill.yellow { background: linear-gradient(90deg, #f59e0b, #ef4444); }
@keyframes fillBar { to { transform: scaleX(1); } }
.metric-val { font-size: .8rem; font-family: monospace; color: var(--text); width: 40px; text-align: right; }

.managed-features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.mf-card {
  padding: 28px 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background .3s, border-color .3s, transform .3s;
}
.mf-card:hover {
  background: var(--surface-hover); border-color: rgba(99,102,241,.4);
  transform: translateY(-4px);
}
.mf-num {
  font-size: 2.5rem; font-weight: 900; line-height: 1;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 16px;
}
.mf-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.mf-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.65; }

/* ===== PRODUCTS & SOLUTIONS ===== */
.products-tabs { }
.tab-nav {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 40px; border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.tab-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: .9rem; font-weight: 600;
  padding: 12px 20px; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  transform: translateY(1px);
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--indigo); border-color: var(--indigo); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.product-card {
  position: relative; overflow: hidden;
  padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .3s, transform .3s;
}
.product-card:hover { border-color: rgba(99,102,241,.4); transform: translateY(-4px); }
.product-glow {
  position: absolute; top: -40px; right: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.2), transparent);
  pointer-events: none;
}
.product-icon { font-size: 2.2rem; margin-bottom: 16px; }
.product-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.product-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product-tags span {
  font-size: .72rem; font-weight: 600; letter-spacing: .05em;
  padding: 4px 10px; border-radius: 6px;
  background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.2);
  color: var(--indigo);
}

.partner-logos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.partner-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 28px 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .3s, background .3s;
}
.partner-item:hover { border-color: rgba(99,102,241,.4); background: var(--surface-hover); }
.partner-item span { font-size: 1.1rem; font-weight: 700; }
.partner-item small { font-size: .72rem; color: var(--text-muted); }

/* ===== ABOUT ===== */
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
  margin-top: 20px;
}
.about-lead { font-size: 1.2rem; font-weight: 600; line-height: 1.7; margin-bottom: 16px; }
.about-body { font-size: .95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 32px; }
.about-values { display: flex; flex-direction: column; gap: 20px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.value-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.value-item p { font-size: .85rem; color: var(--text-muted); line-height: 1.65; }

.about-stats-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.about-stat {
  padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  text-align: center;
}
.as-num { font-size: 2.8rem; font-weight: 900; line-height: 1; }
.as-sup { font-size: 1.4rem; font-weight: 700; color: var(--indigo); vertical-align: super; font-size: 1rem; }
.about-stat p { font-size: .8rem; color: var(--text-muted); margin-top: 8px; }
.about-team {
  grid-column: 1 / -1; position: relative; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border); height: 200px;
}
.about-team img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7) saturate(.5); }
.team-overlay {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(99,102,241,.3), rgba(6,182,212,.2));
}
.team-overlay span { font-size: 1rem; font-weight: 700; letter-spacing: .1em; }

/* ===== CONTACT ===== */
.section-contact { padding: 120px 0; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; overflow: hidden; }
#contact-canvas { width: 100%; height: 100%; }

.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
  position: relative; z-index: 1;
}
.contact-text .section-title { margin-bottom: 16px; }
.contact-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 32px; }
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-info a {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); text-decoration: none; font-size: .95rem;
  transition: color .2s;
}
.contact-info a:hover { color: var(--text); }
.contact-info svg { width: 18px; height: 18px; flex-shrink: 0; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px;
  color: var(--text); font-size: .9rem; font-family: inherit;
  outline: none; transition: border-color .2s, background .2s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select option { background: #1e293b; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--indigo); background: rgba(99,102,241,.05); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; justify-content: center; margin-top: 8px; }

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: .875rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); text-decoration: none; font-size: .9rem;
  transition: border-color .2s, color .2s, background .2s;
}
.social-links a:hover { border-color: var(--indigo); color: var(--indigo); background: rgba(99,102,241,.1); }
.footer-links h4 { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: .875rem; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; color: var(--text-muted); flex-wrap: wrap; gap: 8px;
}

/* ===== ANIMATIONS (scroll-reveal) ===== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cards-3d-grid { grid-template-columns: repeat(2, 1fr); }
  .split-layout { grid-template-columns: 1fr; }
  .split-visual { display: none; }
  .managed-features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .cards-3d-grid { grid-template-columns: 1fr; }
  .managed-features { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .partner-logos-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-stats-panel { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
  .partner-logos-grid { grid-template-columns: 1fr; }
}
