.spoke { position: absolute; color: #044AAD; font-weight: 700; background: #f3f8ff; border: 1px solid #bfd3ff; padding: 8px 12px; border-radius: 12px; box-shadow: var(--shadow); font-size: 12px; }
.spoke.right { right: 8px; }
.spoke.left { left: 8px; }
/* vertical alignment around AI center */
.spoke.r1 { top: 70px; }
.spoke.r2 { top: 140px; }
.spoke.r3 { top: 210px; }
.spoke.l1 { top: 70px; }
.spoke.l2 { top: 140px; }
.spoke.l3 { top: 210px; }

.spoke::after { content: ""; position: absolute; width: 46px; height: 2px; background: linear-gradient(90deg, rgba(0,133,254,0), rgba(0,133,254,0.9) 50%, rgba(15,193,251,0)); background-size: 200% 100%; background-position: 0% 50%; animation: flow 2s linear infinite; top: 50%; transform: translateY(-50%); }
.spoke.right::after { right: 100%; margin-right: 8px; }
.spoke.left::after { left: 100%; margin-left: 8px; }

/* persona connectors to AI core */
.persona.doctor::after, .persona.patient::after { content: none; }

@keyframes flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
::root {
  --bg: linear-gradient(135deg, #eef7ff 0%, #e6f2ff 50%, #eef7ff 100%);
  --surface: #ffffff;
  --text: #0a1a2e;
  --muted: #4a5c6b;
  --primary: #0a5fd7;
  --primary-700: #084fb3;
  --secondary: #1aa0ff;
  --secondary-700: #32d4ff;
  --accent: #32d4ff;
  --border: #c7ddff;
  --shadow: 0 12px 40px rgba(10, 95, 215, 0.14);
  --gradient-primary: linear-gradient(135deg, #0a5fd7, #1aa0ff, #32d4ff);
  --gradient-surface: linear-gradient(145deg, #ffffff, #f8fbff);
}

/* Deep theme for main page (applied via body.theme-deep) */
.theme-deep {
  --bg: linear-gradient(135deg, #f2f9ff 0%, #ecf6ff 50%, #f2f9ff 100%);
  --surface: #ffffff;
  --text: #111319;
  --muted: #6e7385;
  --primary: #2b93d0; /* requested base */
  --primary-700: #237aad;
  --secondary: #56c3ff; /* complementary light blue */
  --secondary-700: #8ad8ff;
  --accent: #8ad8ff;
  --border: #cfe4ff;
  --shadow: 0 12px 40px rgba(43, 147, 208, 0.16);
  --gradient-primary: linear-gradient(135deg, #2b93d0, #56c3ff, #8ad8ff);
  --gradient-surface: linear-gradient(145deg, #ffffff, #f6fbff);
}

/* Deep theme component touches */
.theme-deep .hero { background: radial-gradient(1200px 420px at 20% -10%, rgba(43,147,208,0.14), transparent), radial-gradient(1000px 320px at 80% 0%, rgba(86,195,255,0.18), transparent), radial-gradient(800px 200px at 50% 100%, rgba(138,216,255,0.10), transparent); }
.theme-deep .ai-core { background: radial-gradient(circle at 30% 30%, rgba(138,216,255,0.28), rgba(43,147,208,0.15)); border: 1px solid #cfe4ff; }
.theme-deep .quote { color: #2b93d0; background: linear-gradient(135deg, #eaf5ff, #e1f1ff); border: 1px solid #cfe4ff; }
.theme-deep .btn-secondary { background: linear-gradient(135deg, var(--primary), var(--secondary)); box-shadow: 0 8px 18px rgba(43,147,208,0.22); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', 'Public Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
  0%, 100% { background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 50%, #f0f8ff 100%); }
  50% { background: linear-gradient(135deg, #e6f3ff 0%, #f0f8ff 50%, #e6f3ff 100%); }
}

/* Layout */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.section { padding: 96px 0; }
.section-alt { background: var(--gradient-surface); box-shadow: inset 0 -1px 0 var(--border), inset 0 1px 0 var(--border); position: relative; }
.section-alt::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(45deg, rgba(0,133,254,0.02), rgba(15,193,251,0.02)); pointer-events: none; }
.section-header { margin-bottom: 32px; }
.section-header h2 { margin: 0 0 12px; font-size: 36px; line-height: 1.2; letter-spacing: -0.01em; font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; text-align: center; }
.section-header p { margin: 0; color: var(--muted); }
#security .section-header p { text-align: center; }
.section#ecosystem .section-header h2,
#ecosystem .section-header h2 { text-align: left; }
.tagline { color: var(--secondary-700); font-weight: 600; margin-top: 8px; }
.muted { color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.8); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; }
.logo-mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; font-weight: 800; overflow: hidden; }
.logo-text { letter-spacing: 0.2px; }
.site-nav { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; }
.nav-list { display: inline-flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link { background: transparent; border: 0; color: var(--text); font: inherit; font-weight: 600; padding: 10px 12px; border-radius: 10px; cursor: pointer; text-decoration: none; }
.nav-link:hover { background: #eef5ff; }
.has-dropdown .dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #ffffff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); padding: 16px; display: none; min-width: 400px; z-index: 60; }
.has-dropdown.open .dropdown { display: block; }
.dropdown::before { content: ""; position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; background: #ffffff; border-left: 1px solid var(--border); border-top: 1px solid var(--border); transform: translateX(-50%) rotate(45deg); }
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dropdown-column { display: flex; flex-direction: column; gap: 8px; }
.dropdown-item { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; border-radius: 10px; color: var(--text); text-decoration: none; transition: all 0.2s ease; position: relative; }
.dropdown-item:hover { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; transform: translateX(4px); }
.dropdown-item .item-title { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14px; }
.dropdown-item .item-description { font-size: 12px; opacity: 0.8; line-height: 1.3; }
.dropdown-item:hover .item-description { opacity: 0.9; }
.dropdown-item .item-title::before { content: ""; width: 20px; height: 20px; background-size: contain; background-repeat: no-repeat; background-position: center; transition: transform 0.2s ease; flex-shrink: 0; }
.dropdown-item:hover .item-title::before { transform: scale(1.1); filter: brightness(0) invert(1); }
.dropdown-item:nth-child(1) .item-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232b93d0'%3E%3Cpath d='M12 2L2 7v10c0 5.55 3.84 9.74 9 11 5.16-1.26 9-5.45 9-11V7l-10-5z'/%3E%3C/svg%3E"); }
.dropdown-item:nth-child(2) .item-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232b93d0'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 2 2h12c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E"); }
.dropdown-item:nth-child(3) .item-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232b93d0'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E"); }
.dropdown-item:nth-child(4) .item-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232b93d0'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E"); }
.header-cta .btn { margin-left: 8px; }

/* Hero */
.hero { padding: 120px 0 96px; background: radial-gradient(1200px 420px at 20% -10%, rgba(0,133,254,0.15), transparent), radial-gradient(1000px 320px at 80% 0%, rgba(4,74,173,0.18), transparent), radial-gradient(800px 200px at 50% 100%, rgba(15,193,251,0.08), transparent); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(45deg, rgba(0,133,254,0.03), rgba(15,193,251,0.03)); animation: heroGlow 15s ease-in-out infinite; pointer-events: none; }
@keyframes heroGlow { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.6; } }
.hero-copy h1 { margin: 0 0 12px; font-size: 44px; line-height: 1.15; letter-spacing: -0.02em; font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; }
.subheadline { margin: 0 0 24px; color: var(--muted); font-size: 18px; }
.quote { margin: 8px 0 16px; font-weight: 700; color: #043a86; background: linear-gradient(135deg, #e9f2ff, #d8edff); border: 1px solid #b7d6ff; padding: 10px 14px 10px 38px; display: inline-block; border-radius: 14px; box-shadow: 0 6px 20px rgba(4,74,173,0.12); position: relative; letter-spacing: 0.2px; }
.quote::before { content: "\201C"; position: absolute; left: 12px; top: 50%; transform: translateY(-52%); font-size: 22px; color: #0085FE; opacity: 0.9; }
.cta-group { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.visual-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); min-height: 320px; overflow: hidden; }
/* AI core */
.ai-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(15,193,251,0.3), rgba(4,74,173,0.15)); border: 1px solid #bfe6ff; display: grid; place-items: center; }
.ai-core .ai-glow { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(0,133,254,0.18), transparent 60%); filter: blur(10px); animation: pulse 3s ease-in-out infinite; }
.ai-core .ai-label { position: relative; color: #ffffff; font-weight: 700; letter-spacing: 1px; background: linear-gradient(135deg, var(--primary), var(--secondary)); padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow); }
@keyframes pulse { 0%,100%{ transform: scale(1); opacity: .9;} 50%{ transform: scale(1.08); opacity: 1; } }

/* Personas */
.persona { position: absolute; display: grid; justify-items: center; gap: 6px; }
.persona .avatar { width: 48px; height: 48px; display: grid; place-items: center; background: #ffffff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); font-size: 24px; }
.persona .label { font-size: 12px; color: var(--muted); }
.doctor { left: 50%; top: 12px; transform: translateX(-50%); }
.patient { left: 50%; bottom: 12px; transform: translateX(-50%); }
/* chat bubbles removed per design */

/* Mini chips */
.mini.pacs { position: absolute; right: 28px; top: 40px; }
.mini.clinical { position: absolute; left: 20px; bottom: 28px; }
.mini.chatbot { position: absolute; right: 24px; top: 140px; }
.mini.ivr { position: absolute; left: 32px; top: 140px; }
.mini.scheduler { position: absolute; right: 36px; bottom: 22px; }
.mini.ehr { position: absolute; left: 36px; top: 220px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: #ebf5ff; color: #044AAD; border: 1px solid #cfe0ff; font-size: 12px; box-shadow: var(--shadow); }

/* Role accent rings */
[data-role="clinical"] { box-shadow: 0 0 0 2px rgba(4,74,173,0.15), var(--shadow); }
[data-role="pacs"] { box-shadow: 0 0 0 2px rgba(0,133,254,0.15), var(--shadow); }
[data-role="chatbot"] { box-shadow: 0 0 0 2px rgba(15,193,251,0.15), var(--shadow); }
[data-role="ivr"] { box-shadow: 0 0 0 2px rgba(4,74,173,0.15), var(--shadow); }
[data-role="scheduler"] { box-shadow: 0 0 0 2px rgba(4,74,173,0.12), var(--shadow); }
[data-role="ehr"] { box-shadow: 0 0 0 2px rgba(0,133,254,0.12), var(--shadow); }

/* SVG guideline lines removed. Connectors handled via pseudo-elements on spokes/personas */

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--gradient-surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); transition: all 0.3s ease; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(0,133,254,0.1), transparent); transition: left 0.6s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(4, 74, 173, 0.15); }
.card:hover::before { left: 100%; }
.card .icon { font-size: 22px; }
.card h3 { margin: 8px 0; font-size: 18px; }

.product-cards { grid-template-columns: repeat(5, 1fr); }
.problem-cards { grid-template-columns: repeat(4, 1fr); }

/* Products: remove sweep animation and add modern hover */
.product-cards .card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease; }
.product-cards .card::before { content: none; }
.product-cards .card:hover { transform: translateY(-6px); box-shadow: 0 18px 46px rgba(4,74,173,0.18); border-color: #bdd6ff; background: linear-gradient(180deg, #ffffff, #f5f9ff); }
.product-cards .card .icon { transition: transform .25s ease; }
.product-cards .card:hover .icon { transform: translateY(-2px) scale(1.08); }
.product-cards .card:focus-within { outline: 0; box-shadow: 0 0 0 3px rgba(0,133,254,0.18), var(--shadow); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
.step-num { font-weight: 800; color: var(--secondary); font-size: 12px; letter-spacing: 1px; }

/* Security */
.security-grid { display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: start; }
.shield { font-size: 48px; }
.checks { margin: 0; padding-left: 18px; }
.checks li { margin: 6px 0; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.testimonial blockquote { margin: 0 0 8px; font-weight: 600; }

/* CTA */
.cta { background: linear-gradient(180deg, rgba(0,133,254,0.06), rgba(4,74,173,0.06)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.field { margin-bottom: 12px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); font: inherit; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: #0b1720; color: #c7d2da; padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 20px; }
.footer-logo .logo-mark { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.link-list { list-style: none; padding: 0; margin: 8px 0 0; }
.link-list a { color: #c7d2da; text-decoration: none; }
.link-list a:hover { color: white; }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials a { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #0f2533; color: #c7d2da; text-decoration: none; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 32px; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 24px; }
.legal { display: inline-flex; align-items: center; gap: 8px; }
.legal a { color: #c7d2da; text-decoration: none; }
.legal a:hover { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 12px; font-weight: 600; text-decoration: none; cursor: pointer; border: 0; }
.btn-sm { padding: 8px 12px; border-radius: 10px; font-size: 14px; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; }
.btn-primary:hover { filter: brightness(0.98); }
.btn-secondary { background: linear-gradient(135deg, #0085FE, #0FC1FB); color: #ffffff; border: 0; box-shadow: 0 8px 18px rgba(4,74,173,0.25); position: relative; overflow: hidden; }
.btn-secondary::after { content: ""; position: absolute; left: -150%; top: 0; width: 150%; height: 100%; background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.25) 30%, transparent 60%); transform: skewX(-20deg); animation: shine 2.4s infinite; }
.btn-secondary:hover { filter: brightness(1.02); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(4,74,173,0.30); }
.btn-secondary:active { transform: translateY(0); box-shadow: 0 6px 14px rgba(4,74,173,0.22); }
@keyframes shine { 0% { left: -150%; } 60% { left: 120%; } 100% { left: 120%; } }
.btn-outline { background: transparent; color: #044AAD; border: 1px solid #bfd3ff; }
.btn-outline:hover { background: #eef5ff; }
.btn-inline { padding: 8px 10px; border-radius: 10px; }
.btn-link { background: transparent; color: var(--secondary-700); border: 1px dashed #cfe0ff; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn-link:hover { background: #f3f8ff; box-shadow: 0 8px 18px rgba(4,74,173,0.12); transform: translateY(-1px); }
.product-cards .btn-link { padding: 12px 16px; border-radius: 12px; font-size: 14px; }
.product-cards .btn-link:hover { background: #e9f9ef; color: #0b6b3a; border-color: #bfead0; box-shadow: 0 10px 22px rgba(11,107,58,0.18); }

/* Diagram */
.diagram { position: relative; min-height: 260px; display: grid; place-items: center; }
.diagram .circle.center { width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; display: grid; place-items: center; font-weight: 700; box-shadow: var(--shadow); }
.diagram .orbit { position: absolute; width: 100%; max-width: 380px; height: 100%; max-height: 380px; border-radius: 50%; border: 1.5px dashed #000000; display: grid; place-items: center; animation: orbitSpin 18s linear infinite; will-change: transform; }
.diagram .orbit span { position: absolute; background: linear-gradient(180deg, #ffffff, #f3f7ff); border: 1px solid #d6e6ff; padding: 10px 12px; border-radius: 999px; box-shadow: 0 10px 18px rgba(4,74,173,0.18), 0 2px 0 rgba(255,255,255,0.9) inset, 0 -2px 6px rgba(4,74,173,0.08) inset; font-size: 12px; transform: translateZ(0); transition: transform .25s ease, box-shadow .25s ease; }
.diagram .orbit span:hover { transform: translateY(-4px); box-shadow: 0 16px 28px rgba(4,74,173,0.22), 0 2px 0 rgba(255,255,255,0.95) inset, 0 -2px 8px rgba(4,74,173,0.12) inset; }
.diagram .orbit span::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(0deg, rgba(255,255,255,0.8), rgba(255,255,255,0) 60%); pointer-events: none; }
.diagram .orbit span:nth-child(1) { top: -12px; left: calc(50% - 28px); }
.diagram .orbit span:nth-child(2) { right: -12px; top: calc(50% - 14px); }
.diagram .orbit span:nth-child(3) { bottom: -12px; left: calc(50% - 20px); }
.diagram .orbit span:nth-child(4) { left: -12px; top: calc(50% - 14px); }
.diagram .orbit span:nth-child(5) { top: 24px; left: 24px; }

/* Floating animation staggering for 3D feel */
.diagram .orbit span:nth-child(1) { animation: floatY 5s ease-in-out infinite; }
.diagram .orbit span:nth-child(2) { animation: floatY 6s ease-in-out infinite .2s; }
.diagram .orbit span:nth-child(3) { animation: floatY 5.5s ease-in-out infinite .4s; }
.diagram .orbit span:nth-child(4) { animation: floatY 6.5s ease-in-out infinite .1s; }
.diagram .orbit span:nth-child(5) { animation: floatY 5.8s ease-in-out infinite .3s; }

@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes orbitSpin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .diagram .orbit { animation: none; }
  .diagram .orbit span { animation: none; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Modal */
.modal { border: 0; padding: 0; border-radius: 16px; box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(15, 37, 51, 0.4); }
.modal-content { background: #fff; padding: 20px; border-radius: 16px; width: min(560px, 92vw); }
.modal-close { background: transparent; border: 0; font-size: 24px; line-height: 1; cursor: pointer; float: right; }

/* Responsive */
@media (max-width: 1000px) {
  .grid-2 { grid-template-columns: 1fr; }
  .product-cards { grid-template-columns: repeat(2, 1fr); }
  .problem-cards, .steps, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero-copy h1 { font-size: 34px; }
  .cards { grid-template-columns: 1fr; }
  .steps, .testimonials { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; background: transparent; border: 1px solid var(--border); border-radius: 10px; padding: 6px 10px; }
  .nav-list { position: absolute; top: 64px; right: 20px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: none; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
  .nav-list.open { display: flex; }
  .has-dropdown .dropdown { position: static; border: 0; box-shadow: none; padding: 0; }
  .dropdown::before { display: none; }
}

/* Desktop hover open and brighter hover cues */
@media (min-width: 641px) {
  .has-dropdown:hover .dropdown { display: grid; gap: 4px; }
  .has-dropdown:hover > .nav-link { background: #e9f2ff; color: #043a86; }
  /* Keep open when navigating with keyboard */
  .has-dropdown:focus-within .dropdown { display: grid; gap: 4px; }
}

/* Utilities */
.grid-gap-20 { display: grid; gap: 20px; }


