/* ============================================
   Theme Variables
   ============================================ */
:root {
  --orange-600: #ff4c4d;
  --orange-500: #ff5a4b;
  --orange-400: #ff6a4c;
  --orange-300: #ff794c;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  accent-color: #ff5a4b;
}

[data-theme="dark"] {
  color-scheme: dark;
  --orange-glow: rgba(255, 90, 75, 0.3);
  --bg-primary: #060608;
  --bg-card: #0e0f13;
  --bg-elevated: #14151a;
  --border: #1e1f28;
  --text-primary: #e2e2e8;
  --text-secondary: #8888a0;
  --text-muted: #555568;
  --header-bg: rgba(6, 6, 8, 0.92);
  --icon-tint: rgba(255, 90, 75, 0.05);
  --card-shadow: none;
  --card-hover-shadow: 0 12px 32px rgba(0,0,0,0.3);
  --border-subtle: #131420;
  --glow: rgba(255, 90, 75, 0.25);
  --glow-strong: rgba(255, 90, 75, 0.5);
  --particle-trail: rgba(255, 90, 75, 0.08);
}

[data-theme="light"] {
  color-scheme: light;
  --orange-600: #e8423e;
  --orange-500: #f04e3e;
  --orange-400: #ff5a4b;
  --orange-glow: rgba(240, 78, 62, 0.15);
  --bg-primary: #ffffff;
  --bg-card: #f6f6f8;
  --bg-elevated: #ededf0;
  --border: #e0e0e6;
  --text-primary: #111118;
  --text-secondary: #555566;
  --text-muted: #999aa8;
  --header-bg: rgba(255, 255, 255, 0.92);
  --icon-tint: rgba(240, 78, 62, 0.06);
  --card-shadow: 0 1px 2px rgba(0,0,0,0.03);
  --card-hover-shadow: 0 8px 24px rgba(0,0,0,0.06);
  --border-subtle: #eaeaef;
  --glow: rgba(255, 76, 77, 0.2);
  --glow-strong: rgba(255, 76, 77, 0.4);
  --particle-trail: rgba(255, 76, 77, 0.06);
}

/* Logo switching */
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark  { display: block; }
[data-theme="light"] .logo-light { display: block; }
[data-theme="light"] .logo-dark  { display: none; }

/* ============================================
   Reset & Base
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: sticky;
  top: 0;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: background 0.3s, border-color 0.3s;
}

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

.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo img { height: 26px; }

.nav-links { display: flex; gap: 2.25rem; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ---- Theme Toggle ---- */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--text-muted);
  transition: color 0.2s;
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--text-primary);
}

.theme-toggle-icon {
  width: 18px;
  height: 18px;
  transition: opacity 0.2s;
}

[data-theme="dark"] .icon-moon { display: block; }
[data-theme="dark"] .icon-sun  { display: none; }
[data-theme="light"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: block; }

/* ---- Hamburger ---- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile Menu ---- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 99;
  padding: 5rem 2rem 2rem;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--orange-500);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 6rem 2rem 7rem;
  text-align: center;
}

[data-theme="dark"] .cta {
  background: linear-gradient(135deg, #9e2e2a 0%, #c8654a 100%);
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--orange-600), var(--orange-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-actions { display: inline-flex; gap: 1rem; }

.btn {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-600), var(--orange-300));
  color: #fff;
  border: none;
  border-radius: 4px;
}
.btn-primary:hover {
  box-shadow: 0 4px 24px var(--orange-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.btn-ghost:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
  margin-bottom: 3rem;
  padding-left: 1.25rem;
  border-left: 2px solid transparent;
  border-image: linear-gradient(to bottom, var(--orange-600), var(--orange-300)) 1;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--orange-400);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 460px;
  font-size: 0.9375rem;
}

/* ============================================
   Services
   ============================================ */
.services {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
  transition: background 0.3s, border-color 0.3s;
}

.services-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

.service-list { display: flex; flex-direction: column; }

.service-item {
  display: grid;
  grid-template-columns: 3.5rem 44px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s;
}

.service-item:last-child { border-bottom: none; }
.service-item:hover { padding-left: 0.5rem; }

.service-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  padding-top: 0.25rem;
  letter-spacing: 0.04em;
}

.service-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-400);
  background: var(--icon-tint);
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.service-item:hover .service-icon { border-color: var(--orange-500); }

.service-text h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.service-text p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 520px;
}

/* ============================================
   Solutions
   ============================================ */
.solutions {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-600), var(--orange-300));
  border-radius: 8px 8px 0 0;
}

.solution-card:hover {
  border-color: var(--orange-500);
  transform: translateY(-3px);
  box-shadow: var(--card-hover-shadow);
}

.solution-card h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.solution-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.solution-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--orange-400);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.solution-link:hover { text-decoration: underline; }

/* ============================================
   About
   ============================================ */
.about {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about .section-header {
  margin-bottom: 0;
}

.about .section-title {
  font-size: 2rem;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.about-text p:first-of-type {
  margin-top: 1rem;
}

.about-text p:nth-of-type(2) {
  margin-top: 0.75rem;
  color: var(--text-secondary);
}

/* ============================================
   Contact Form
   ============================================ */
[hidden] { display: none !important; }

.contact-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}

.contact-inner {
  max-width: 560px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.label-optional {
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px var(--particle-trail);
}

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

.contact-submit {
  align-self: flex-start;
  cursor: pointer;
  margin-top: 0.5rem;
}

.contact-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.submit-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.submit-loading svg {
  animation: spin 1s linear infinite;
}

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

.form-status {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-top: 1.5rem;
}

.form-status-success {
  border-color: var(--orange-500);
  background: var(--particle-trail);
}

.form-status-success .form-status-icon {
  color: var(--orange-400);
}

.form-status-error {
  border-color: #ff4c4d;
  background: rgba(255, 76, 77, 0.06);
}

.form-status-error .form-status-icon {
  color: #ff4c4d;
  flex-shrink: 0;
}

.form-status-icon {
  width: 20px;
  height: 20px;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.form-status-title {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.form-status-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.form-status-desc a {
  color: var(--orange-400);
  text-decoration: none;
}

.form-status-desc a:hover {
  text-decoration: underline;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #ff4c4d;
}

.form-group.error input:focus,
.form-group.error textarea:focus {
  box-shadow: 0 0 0 3px rgba(255, 76, 77, 0.1);
}

.form-error-msg {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #ff4c4d;
  margin-top: 0.125rem;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  background: linear-gradient(135deg, var(--orange-600) 0%, var(--orange-300) 100%);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.cta p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

.cta .btn-primary {
  background: #fff;
  color: var(--orange-600);
  border-color: #fff;
}
.cta .btn-primary:hover {
  box-shadow: 0 4px 24px rgba(255,255,255,0.25);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 1.5rem;
  transition: background 0.3s, border-color 0.3s;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand img { height: 22px; margin-bottom: 0.75rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.875rem; }

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

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.875rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.2rem 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange-400); }

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

.footer-bottom span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   Architecture Flow
   ============================================ */
.arch-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0 0;
  transition: background 0.3s, border-color 0.3s;
}

.arch-section .section-header {
  max-width: 1120px;
  margin: 0 auto 0;
  padding: 0 2rem;
}

.arch-flow {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
}

.spine {
  position: absolute;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
}

.spine-line {
  width: 100%;
  height: 100%;
  background: var(--border);
  position: relative;
}

.spine-particle {
  position: absolute;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 12px var(--glow-strong), 0 0 4px var(--orange-500);
  transform: translateX(-50%);
  animation: particleFall 4s linear infinite;
  opacity: 0;
}

.spine-particle:nth-child(2) { animation-delay: 1.3s; }
.spine-particle:nth-child(3) { animation-delay: 2.6s; }

@keyframes particleFall {
  0%   { top: 0%; opacity: 0; }
  5%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.layer {
  position: relative;
  padding: 3rem 0;
  z-index: 1;
}

.layer + .layer {
  margin-top: 1rem;
}

.layer .node-row {
  margin-top: 1.5rem;
}

.layer-label {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 0 1rem;
  white-space: nowrap;
  z-index: 2;
}

.layer-divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  position: absolute;
  top: 0.35rem;
}

.node-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.node-row-connected {
  position: relative;
}

.node {
  width: 220px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1rem;
  text-align: center;
  position: relative;
  transition: all 0.3s;
  cursor: default;
  overflow: hidden;
}

.node::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--orange-600), var(--orange-300));
  opacity: 0;
  transition: opacity 0.3s;
}

.node:hover {
  border-color: var(--orange-500);
  box-shadow: 0 0 24px var(--glow), 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.node:hover::before {
  opacity: 1;
}

.node-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.75rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--particle-trail);
  border: 1px solid var(--border);
  color: var(--orange-400);
  transition: all 0.3s;
}

.node:hover .node-icon {
  border-color: var(--orange-500);
  background: var(--glow);
}

.node-title {
  font-weight: 600;
  font-size: 1.0625rem;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.node-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.node-tag {
  display: inline-block;
  margin-top: 0.625rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--orange-400);
  background: var(--particle-trail);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.h-connector {
  width: 32px;
  align-self: center;
  border-top: 1px dashed var(--border);
}

.signal-origin {
  text-align: center;
  padding: 2rem 1rem 4rem;
  position: relative;
}

.signal-rings {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  position: relative;
}

.signal-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--orange-500);
  border-radius: 50%;
  animation: ringPulse 3s ease-out infinite;
  opacity: 0;
}

.signal-ring:nth-child(2) { animation-delay: 1s; }
.signal-ring:nth-child(3) { animation-delay: 2s; }

@keyframes ringPulse {
  0%   { transform: scale(0.3); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

.signal-origin-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--orange-500);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px var(--glow-strong);
}

.signal-origin-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  background: var(--bg-card);
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.signal-result {
  text-align: center;
  padding: 1rem 1rem 4rem;
}

.result-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--orange-600), var(--orange-300));
}

.result-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-600), var(--orange-300));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 32px var(--glow);
}

.result-title {
  font-weight: 600;
  font-size: 1rem;
}

.result-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 260px;
}

/* Layer-specific overrides */
.layer-physical .node-icon { border-radius: 6px; }
.layer-edge .node-icon { border-radius: 8px; }
.layer-cloud .node-icon { border-radius: 10px; }
.layer-intelligence .node { border-radius: 12px; }
.layer-intelligence .node-icon { border-radius: 50%; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2.5rem; }
  .hero { padding: 3rem 2rem 4rem; }
  .service-item { grid-template-columns: 2.5rem 40px 1fr; gap: 1rem; }
  .service-icon { width: 40px; height: 40px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .arch-flow { padding: 1rem; }
  .node { width: 220px; padding: 1rem 0.75rem; }
  .node-row { gap: 0.625rem; }
  .node-icon { width: 36px; height: 36px; }
  .h-connector { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 0.9375rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .service-item { grid-template-columns: 2rem 36px 1fr; gap: 0.75rem; }
  .service-icon { width: 36px; height: 36px; }
  .node { width: 100%; max-width: 240px; }
  .node-row { flex-direction: column; align-items: center; }
}
