/* =========================================================
   KOPDESOne — Modern Light Portal
   ========================================================= */

:root {
  --navy: #17223a;
  --navy-2: #263654;
  --red: #cf302c;
  --red-dark: #ad211e;
  --rose: #fff3f2;
  --rose-2: #ffe4e1;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --text: #17223a;
  --muted: #657187;
  --line: #e7ebf1;
  --shadow: 0 24px 70px rgba(25, 39, 70, .12);
  --shadow-soft: 0 12px 34px rgba(25, 39, 70, .08);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 10px;
}
.skip-link:focus { top: 16px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: rgba(255,255,255,.82); border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transition: .25s ease;
}
.site-header.scrolled { border-color: rgba(23,34,58,.08); box-shadow: 0 10px 35px rgba(23,34,58,.07); }
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; }
.brand img { width: 236px; height: 64px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.main-nav > a { color: #4d5970; transition: .2s; }
.main-nav > a:hover { color: var(--red); }
.main-nav .nav-cta { color: #fff; background: var(--navy); padding: 11px 18px; border-radius: 12px; }
.main-nav .nav-cta:hover { background: var(--red); color: #fff; transform: translateY(-1px); }
.menu-toggle {
  width: 44px; height: 44px; border: 0; background: #f4f6f9; border-radius: 12px;
  display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--navy); border-radius: 10px; transition: .2s; }

/* Hero */
.hero {
  position: relative; overflow: hidden; min-height: 760px; padding: 152px 0 86px;
  background:
    radial-gradient(circle at 0 70%, rgba(255,214,209,.75), transparent 28%),
    radial-gradient(circle at 96% 0, rgba(246,189,184,.75), transparent 31%),
    linear-gradient(135deg, #fff 0%, #fffafa 53%, #f9fbff 100%);
}
.hero::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  right: -270px; top: -250px; border: 80px solid rgba(207,48,44,.05);
}
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 72px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--red);
  background: rgba(255,255,255,.8); border: 1px solid rgba(207,48,44,.15);
  padding: 8px 13px; border-radius: 999px; font-size: 12px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 8px 24px rgba(207,48,44,.08);
}
.pulse-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 0 rgba(207,48,44,.4); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(207,48,44,0); } 100% { box-shadow: 0 0 0 0 rgba(207,48,44,0); } }

.hero h1 {
  margin: 24px 0 20px; max-width: 710px; font-size: clamp(48px, 6vw, 76px);
  line-height: 1.05; letter-spacing: -.045em;
}
.hero h1 span {
  color: var(--red);
  background: linear-gradient(90deg, var(--red), #ed6156);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-copy > p { max-width: 650px; color: var(--muted); font-size: 17px; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 34px 0 36px; }
.btn {
  min-height: 52px; padding: 0 22px; border-radius: 14px; display: inline-flex;
  align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 14px;
  border: 1px solid transparent; transition: .22s ease; box-shadow: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--red), #e44a42); box-shadow: 0 16px 34px rgba(207,48,44,.23); }
.btn-primary:hover { box-shadow: 0 20px 40px rgba(207,48,44,.3); }
.btn-secondary { background: rgba(255,255,255,.85); border-color: #dfe4eb; color: var(--navy); }
.btn-secondary:hover { border-color: var(--navy); }
.btn svg { width: 19px; height: 19px; }
.hero-trust { display: flex; gap: 28px; }
.hero-trust div { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; }
.hero-trust strong { grid-row: span 2; color: var(--navy); font-size: 27px; line-height: 1; }
.hero-trust span { color: #7a8496; font-size: 12px; font-weight: 700; }

/* Hero visual */
.ecosystem-visual {
  position: relative; min-height: 510px; display: grid; place-items: center; z-index: 2;
}
.ecosystem-visual::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,244,243,.75));
  box-shadow: inset 0 0 0 1px rgba(207,48,44,.08), 0 40px 100px rgba(47,59,86,.12);
}
.orbit { position: absolute; border: 1px dashed rgba(207,48,44,.18); border-radius: 50%; }
.orbit-one { width: 350px; height: 350px; animation: spin 26s linear infinite; }
.orbit-two { width: 455px; height: 455px; animation: spinReverse 34s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
.core {
  position: relative; z-index: 3; width: 214px; height: 214px; border-radius: 50%;
  background: rgba(255,255,255,.94); box-shadow: 0 25px 65px rgba(28,42,72,.14);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.85);
}
.core-ring { position: absolute; inset: 9px; border-radius: 50%; border: 1px solid rgba(207,48,44,.12); }
.core img { width: 70px; height: 70px; object-fit: contain; margin-bottom: 2px; }
.core strong { font-size: 20px; letter-spacing: -.03em; }
.core strong span { color: var(--red); }
.core small { color: #8b95a8; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.visual-card {
  position: absolute; z-index: 4; min-width: 182px; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.95);
  padding: 12px 14px; border-radius: 16px; box-shadow: 0 16px 35px rgba(29,43,72,.12);
  font-size: 12px; color: #69748a; backdrop-filter: blur(14px);
}
.visual-card b { display: block; color: var(--navy); font-size: 12px; }
.mini-icon {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px;
  background: var(--rose); font-size: 18px;
}
.visual-top { top: 18px; left: 50%; transform: translateX(-50%); }
.visual-right { right: -12px; top: 50%; transform: translateY(-50%); }
.visual-bottom { bottom: 16px; left: 50%; transform: translateX(-50%); }
.visual-left { left: -12px; top: 50%; transform: translateY(-50%); }
.status-pill {
  position: absolute; bottom: 75px; z-index: 5; display: flex; align-items: center; gap: 8px;
  border-radius: 999px; background: var(--navy); color: #fff; padding: 8px 13px;
  font-size: 11px; font-weight: 750; box-shadow: 0 12px 28px rgba(23,34,58,.22);
}
.status-pill span { width: 7px; height: 7px; border-radius: 50%; background: #55d990; box-shadow: 0 0 0 4px rgba(85,217,144,.15); }

/* Intro strip */
.intro-strip { position: relative; margin-top: -25px; z-index: 6; }
.intro-grid {
  display: grid; grid-template-columns: repeat(3,1fr); background: #fff; border: 1px solid var(--line);
  border-radius: 22px; padding: 19px; box-shadow: var(--shadow-soft);
}
.intro-grid article { display: flex; gap: 13px; align-items: center; padding: 9px 23px; }
.intro-grid article + article { border-left: 1px solid var(--line); }
.intro-icon { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; background: var(--rose); color: var(--red); }
.intro-icon svg { width: 21px; height: 21px; }
.intro-grid strong { display: block; font-size: 14px; }
.intro-grid span { display: block; color: var(--muted); font-size: 12px; }

/* General sections */
.section { padding: 112px 0; }
.section-head { display: flex; justify-content: space-between; gap: 60px; align-items: end; margin-bottom: 38px; }
.section-head > p { max-width: 480px; color: var(--muted); margin: 0 0 4px; }
.section-head h2, .replication-copy h2, .cta-box h2 {
  font-size: clamp(34px, 4vw, 52px); line-height: 1.12; letter-spacing: -.035em; margin: 8px 0 0;
}
.section-kicker { color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.section-head.centered { max-width: 750px; margin: 0 auto 50px; display: block; text-align: center; }
.section-head.centered p { margin: 16px auto 0; max-width: 670px; }
.section-kicker.light { color: #ffd4d0; }

/* Ecosystem cards */
.ecosystem-section { background: linear-gradient(#fff, #fafbfe); }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.filter-chip {
  border: 1px solid #dfe4ec; background: #fff; color: #69758a; padding: 9px 15px;
  border-radius: 999px; font-size: 12px; font-weight: 800; transition: .2s;
}
.filter-chip:hover, .filter-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.module-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.module-card {
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 25px; display: flex; flex-direction: column; box-shadow: 0 5px 0 rgba(23,34,58,.015);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.module-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(25,39,70,.11); border-color: rgba(207,48,44,.18); }
.module-card.hidden-card { display: none; }
.module-card.featured { border: 1px solid rgba(207,48,44,.24); background: linear-gradient(145deg,#fff,#fff8f7); }
.featured-badge {
  position: absolute; right: -37px; top: 22px; width: 150px; text-align: center; transform: rotate(38deg);
  background: var(--red); color: #fff; font-size: 9px; font-weight: 900; padding: 5px 0; letter-spacing: .07em;
}
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 21px; }
.module-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 17px; }
.module-icon svg { width: 25px; height: 25px; }
.module-icon.red { background:#fff0ef; color:#d43a34; }
.module-icon.orange { background:#fff5e8; color:#e2862f; }
.module-icon.blue { background:#eef5ff; color:#3e77ca; }
.module-icon.green { background:#ecfbf2; color:#28a364; }
.module-icon.purple { background:#f4efff; color:#7655c5; }
.module-icon.navy { background:#edf1f7; color:#293b5b; }
.module-icon.cyan { background:#ecfbff; color:#2396ae; }
.module-status { color:#27895a; background:#edf9f2; padding:6px 9px; border-radius:999px; font-size:9px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.module-status.trial { color:#b06413; background:#fff4e6; }
.module-code { color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.module-card h3 { margin: 7px 0 10px; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.module-card > p { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 7px; color: #526077; font-size: 12px; }
.feature-list li { display: flex; align-items: center; gap: 8px; }
.feature-list li::before { content: "✓"; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: #f1f4f8; color: var(--red); font-size: 10px; font-weight: 900; }
.card-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid #edf0f4; }
.open-link { color: var(--navy); font-size: 12px; font-weight: 900; }
.open-link:hover { color: var(--red); }
.copy-link { border: 0; background: transparent; color: #8a94a6; font-size: 10px; font-weight: 800; padding: 5px; }
.copy-link:hover { color: var(--red); }

/* Architecture */
.architecture-section { background: #fff; }
.architecture {
  max-width: 990px; margin: 0 auto; padding: 34px;
  border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(155deg,#fff,#fbfcff);
  box-shadow: var(--shadow-soft);
}
.arch-layer { border: 1px solid #e5e9ef; border-radius: 18px; padding: 17px 20px; background: #fff; }
.arch-layer.ecosystem { background: linear-gradient(135deg, var(--navy), #263a60); color: #fff; border-color: transparent; }
.arch-layer.infrastructure { background: #faf2f1; border-color: #f5dedb; }
.arch-label { font-size: 9px; font-weight: 900; letter-spacing: .14em; color: var(--red); margin-bottom: 12px; }
.arch-layer.ecosystem .arch-label { color: #ffc8c4; }
.arch-items { display: flex; flex-wrap: wrap; gap: 9px; }
.arch-items span { flex: 1 1 100px; text-align: center; padding: 9px 11px; border-radius: 10px; background: #f5f7fa; color: #526077; font-size: 11px; font-weight: 800; }
.arch-layer.ecosystem .arch-items span { background: rgba(255,255,255,.09); color: #fff; border: 1px solid rgba(255,255,255,.08); }
.arch-layer.infrastructure .arch-items span { background: #fff; }
.arch-connector { height: 37px; display: grid; place-items: center; }
.arch-connector span { width: 2px; height: 26px; background: linear-gradient(var(--red), #d6dbe4); position: relative; }
.arch-connector span::after { content:""; position:absolute; bottom:-1px; left:-3px; width:7px; height:7px; border-right:2px solid #aab2c0; border-bottom:2px solid #aab2c0; transform:rotate(45deg); }
.integration-note {
  max-width: 990px; margin: 18px auto 0; display: flex; gap: 13px; align-items: flex-start;
  background: #fff8ed; border: 1px solid #f4e3c8; color: #7b633e; padding: 15px 18px; border-radius: 15px;
}
.integration-note p { margin: 0; font-size: 12px; }
.note-icon { width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #e9b966; color: #fff; font-weight: 900; font-family: Georgia,serif; }

/* Replication */
.replication-section { background: linear-gradient(135deg,#fafbfe,#fff5f4); overflow: hidden; }
.replication-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.replication-copy > p { color: var(--muted); margin: 19px 0 29px; max-width: 560px; }
.replication-list { display: grid; gap: 17px; }
.replication-list > div { display: grid; grid-template-columns: 47px 1fr; gap: 13px; align-items: start; }
.replication-list > div > span { width: 43px; height: 43px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid #e9e4e4; color: var(--red); font-size: 11px; font-weight: 900; box-shadow: 0 9px 22px rgba(23,34,58,.06); }
.replication-list p { margin: 0; color: var(--muted); font-size: 12px; }
.replication-list strong { display: block; color: var(--navy); font-size: 14px; margin-bottom: 2px; }
.replication-panel {
  min-height: 500px; padding: 25px; border-radius: 28px; background: var(--navy);
  color: #fff; box-shadow: 0 30px 75px rgba(23,34,58,.24); position: relative; overflow: hidden;
}
.replication-panel::before { content:""; position:absolute; width:340px; height:340px; border-radius:50%; background:rgba(207,48,44,.18); right:-150px; top:-170px; }
.panel-head { display:flex; align-items:center; justify-content:space-between; position:relative; z-index:2; }
.panel-head small { color:#9faac0; text-transform:uppercase; letter-spacing:.13em; font-size:8px; font-weight:900; }
.panel-head h3 { margin:3px 0 0; font-size:21px; }
.panel-head > span { background:rgba(82,215,147,.12); border:1px solid rgba(82,215,147,.25); color:#7ee5ad; border-radius:999px; padding:6px 10px; font-size:8px; font-weight:900; letter-spacing:.08em; }
.deployment-map { position:relative; min-height:335px; margin-top:22px; }
.cloud-node {
  position:absolute; display:flex; flex-direction:column; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.07); border-radius:18px;
  backdrop-filter:blur(10px); z-index:2;
}
.cloud-node.central { width:140px; height:140px; left:50%; top:18px; transform:translateX(-50%); background:#fff; color:var(--navy); box-shadow:0 20px 50px rgba(0,0,0,.2); }
.cloud-node.central img { width:58px; height:58px; object-fit:contain; }
.cloud-node.central b { font-size:12px; }
.cloud-node.n1,.cloud-node.n2,.cloud-node.n3 { width:128px; height:90px; bottom:12px; }
.cloud-node.n1 { left:3%; } .cloud-node.n2 { left:50%; transform:translateX(-50%); } .cloud-node.n3 { right:3%; }
.cloud-node > span { width:26px; height:26px; border-radius:9px; display:grid; place-items:center; background:rgba(255,255,255,.1); color:#ffc4c0; font-size:10px; font-weight:900; }
.cloud-node b { font-size:11px; margin-top:4px; }
.cloud-node small { color:#98a4bb; font-size:8px; }
.branch-line { position:absolute; height:2px; background:linear-gradient(90deg,rgba(207,48,44,.7),rgba(255,255,255,.15)); transform-origin:left center; top:164px; left:50%; z-index:1; }
.branch-line.l1 { width:185px; transform:rotate(129deg); }
.branch-line.l2 { width:138px; transform:rotate(90deg); }
.branch-line.l3 { width:185px; transform:rotate(51deg); }
.panel-footer { display:flex; flex-wrap:wrap; gap:14px; position:relative; z-index:2; color:#aab4c7; font-size:9px; font-weight:700; border-top:1px solid rgba(255,255,255,.08); padding-top:16px; }
.panel-footer div { display:flex; align-items:center; gap:6px; }
.panel-footer span { width:6px; height:6px; border-radius:50%; background:#58d99a; }

/* CTA */
.cta-section { padding: 0 0 100px; background: #fff; }
.cta-box {
  position: relative; overflow: hidden; display:flex; align-items:center; justify-content:space-between; gap:40px;
  background: linear-gradient(135deg, var(--red-dark), var(--red) 62%, #e6584e);
  color:#fff; border-radius:30px; padding:55px 60px; box-shadow:0 28px 65px rgba(207,48,44,.24);
}
.cta-box::after { content:""; position:absolute; width:280px; height:280px; border:50px solid rgba(255,255,255,.08); border-radius:50%; right:-100px; top:-110px; }
.cta-box > div, .cta-box > a { position:relative; z-index:2; }
.cta-box h2 { max-width:650px; margin-top:7px; }
.cta-box p { color:#ffdcd9; max-width:650px; margin:13px 0 0; font-size:14px; }
.btn-light { background:#fff; color:var(--red); min-width:175px; flex:0 0 auto; box-shadow:0 14px 28px rgba(116,14,11,.18); }

/* Footer */
.site-footer { background:#f7f8fb; border-top:1px solid var(--line); padding:55px 0 25px; }
.footer-grid { display:grid; grid-template-columns:1fr auto; gap:50px; align-items:start; }
.footer-brand img { width:230px; height:65px; object-fit:contain; object-position:left center; }
.footer-brand p { margin:3px 0 0; color:var(--muted); font-size:12px; }
.footer-links { display:grid; grid-template-columns:repeat(2,140px); gap:35px; }
.footer-links > div { display:grid; gap:8px; }
.footer-links strong { font-size:12px; margin-bottom:4px; }
.footer-links a { color:var(--muted); font-size:11px; }
.footer-links a:hover { color:var(--red); }
.footer-bottom { border-top:1px solid #e4e8ee; margin-top:35px; padding-top:20px; display:flex; align-items:center; justify-content:space-between; gap:20px; color:#9099a9; font-size:10px; }
.footer-bottom a { color:var(--navy); font-weight:800; }

/* Toast and reveal */
.toast {
  position:fixed; left:50%; bottom:28px; z-index:200; transform:translate(-50%,25px);
  background:var(--navy); color:#fff; padding:11px 16px; border-radius:12px; font-size:12px; font-weight:750;
  opacity:0; pointer-events:none; transition:.25s; box-shadow:0 15px 40px rgba(23,34,58,.25);
}
.toast.show { opacity:1; transform:translate(-50%,0); }
.reveal { opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity:1; transform:none; }

/* Focus */
a:focus-visible, button:focus-visible { outline:3px solid rgba(207,48,44,.28); outline-offset:3px; }

/* Responsive */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns:1fr; gap:30px; }
  .hero { padding-top:135px; }
  .hero-copy { text-align:center; }
  .hero-copy > p { margin-left:auto; margin-right:auto; }
  .hero-actions, .hero-trust { justify-content:center; }
  .ecosystem-visual { width:min(620px,100%); margin:0 auto; }
  .module-grid { grid-template-columns:repeat(2,1fr); }
  .replication-grid { grid-template-columns:1fr; }
  .replication-copy { text-align:center; }
  .replication-copy > p { margin-left:auto; margin-right:auto; }
  .replication-list { max-width:620px; margin:0 auto; text-align:left; }
  .replication-panel { max-width:700px; width:100%; margin:0 auto; }
}

@media (max-width: 820px) {
  .nav-wrap { height:72px; }
  .brand img { width:200px; }
  .menu-toggle { display:flex; }
  .main-nav {
    position:fixed; top:72px; left:0; right:0; height:calc(100vh - 72px);
    display:flex; flex-direction:column; align-items:stretch; gap:0; padding:22px 20px;
    background:rgba(255,255,255,.98); transform:translateX(100%); transition:.25s;
  }
  .main-nav.open { transform:none; }
  .main-nav > a { padding:15px 8px; border-bottom:1px solid var(--line); }
  .main-nav .nav-cta { margin-top:16px; text-align:center; border:0; padding:13px 18px; }
  .menu-toggle.active span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity:0; }
  .menu-toggle.active span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
  .intro-grid { grid-template-columns:1fr; }
  .intro-grid article + article { border-left:0; border-top:1px solid var(--line); }
  .section-head { display:block; }
  .section-head > p { margin-top:15px; }
  .cta-box { padding:45px 36px; flex-direction:column; align-items:flex-start; }
  .footer-grid { grid-template-columns:1fr; }
}

@media (max-width: 620px) {
  .container { width:min(100% - 28px, var(--container)); }
  .hero { min-height:auto; padding:118px 0 75px; }
  .hero h1 { font-size:43px; }
  .hero-copy > p { font-size:15px; }
  .hero-trust { gap:16px; flex-wrap:wrap; }
  .ecosystem-visual { min-height:430px; transform:scale(.88); margin:-20px auto; }
  .visual-left { left:-32px; } .visual-right { right:-32px; }
  .section { padding:84px 0; }
  .module-grid { grid-template-columns:1fr; }
  .architecture { padding:20px 14px; border-radius:22px; }
  .arch-layer { padding:14px; }
  .arch-items span { flex:1 1 80px; font-size:10px; }
  .replication-panel { min-height:480px; padding:20px; }
  .cloud-node.n1,.cloud-node.n2,.cloud-node.n3 { width:102px; }
  .branch-line.l1,.branch-line.l3 { width:150px; }
  .cta-section { padding-bottom:70px; }
  .cta-box { padding:40px 25px; border-radius:24px; }
  .btn-light { width:100%; }
  .footer-links { grid-template-columns:repeat(2,1fr); }
  .footer-bottom { flex-direction:column; align-items:flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .reveal { opacity:1; transform:none; }
}
