/* ============================================================
   NINETEEN TECHNOLOGY — Official Site
   Palette: deep sea blue + minimal white + tech gray
   ============================================================ */

:root {
  --navy: #0a2540;
  --navy-2: #0d3158;
  --navy-3: #123f70;
  --blue: #1b5fbf;
  --blue-soft: #4c8dff;
  --ink: #10233c;
  --gray: #5b6b7f;
  --gray-light: #8a97a8;
  --line: #e3e9f0;
  --bg: #f6f8fb;
  --white: #ffffff;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 12px 34px rgba(10, 37, 64, 0.1);
  --shadow-lg: 0 26px 60px rgba(10, 37, 64, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Outfit", -apple-system, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s;
  cursor: pointer; border: none; white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(27, 95, 191, 0.35); }
.btn-primary:hover { background: var(--navy-3); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 10px 28px rgba(2, 12, 27, 0.35); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(2, 12, 27, 0.45); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 18px 32px;
  display: flex; align-items: center; gap: 36px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo { width: 40px; height: 40px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.nav-name { font-size: 15px; font-weight: 500; letter-spacing: 0.12em; color: #fff; transition: color 0.4s; }
.nav-name b { font-weight: 800; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, 0.82);
  position: relative; padding: 6px 0; transition: color 0.3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--blue-soft); border-radius: 2px; transition: width 0.35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.btn-nav { padding: 11px 24px; font-size: 14px; }

/* scrolled state */
.nav.scrolled { background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(10, 37, 64, 0.08); }
.nav.scrolled .nav-name { color: var(--navy); }
.nav.scrolled .nav-links a { color: var(--gray); }
.nav.scrolled .nav-links a:hover, .nav.scrolled .nav-links a.active { color: var(--navy); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: 0.3s; }
.nav.scrolled .nav-toggle span { background: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background: linear-gradient(160deg, #081c33 0%, var(--navy) 42%, var(--navy-2) 78%, #10406e 100%);
  padding: 170px 0 0; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 30%, #000 30%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.hero-glow-1 { width: 560px; height: 560px; background: rgba(27, 95, 191, 0.35); top: -180px; right: -120px; }
.hero-glow-2 { width: 420px; height: 420px; background: rgba(76, 141, 255, 0.18); bottom: -100px; left: -140px; }

.hero-inner {
  position: relative; display: grid;
  grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center;
  padding-bottom: 72px;
}

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-soft); margin-bottom: 22px;
}
.eyebrow-cn {
  display: inline-block; margin-left: 12px; padding: 3px 12px;
  border: 1px solid rgba(76, 141, 255, 0.4); border-radius: 999px;
  font-size: 12px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.75);
  text-transform: none; vertical-align: 1px;
}
.hero-title {
  font-size: clamp(38px, 4.6vw, 58px); font-weight: 800;
  line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 22px;
}
.hero-title-accent {
  background: linear-gradient(90deg, #6ea8ff, #a8ccff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 18px; font-weight: 500; color: rgba(255, 255, 255, 0.88); max-width: 540px; margin-bottom: 14px; }
.hero-desc { font-size: 15.5px; color: rgba(255, 255, 255, 0.62); max-width: 540px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-float { animation: heroFloat 7s ease-in-out infinite; }
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px;
  background: rgba(13, 49, 88, 0.75); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px;
  padding: 9px 18px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  box-shadow: 0 12px 30px rgba(2, 12, 27, 0.35);
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-chip svg { width: 17px; height: 17px; color: #7fb0ff; }
.hero-chip-1 { top: 6%; left: -12px; animation-delay: 0.8s; }
.hero-chip-2 { bottom: -16px; right: 10px; animation-delay: 1.6s; }

/* browser / phone frames */
.browser-frame {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(10, 37, 64, 0.08);
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  background: #eef2f7; padding: 10px 14px;
}
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cdd7e2; }
.browser-bar i:first-child { background: #f0888a; }
.browser-bar i:nth-child(2) { background: #f3c969; }
.browser-bar i:nth-child(3) { background: #7ed09a; }
.browser-url {
  margin-left: 10px; font-size: 11.5px; color: var(--gray-light);
  background: #fff; border-radius: 6px; padding: 3px 14px; letter-spacing: 0.03em;
}
.browser-frame img { width: 100%; }

.phone-frame {
  background: #0c1626; border-radius: 30px; padding: 10px;
  box-shadow: var(--shadow-lg); max-width: 360px; margin: 0 auto;
  border: 1px solid rgba(10, 37, 64, 0.2);
}
.phone-frame img { border-radius: 21px; width: 100%; }

/* hero stats */
.hero-stats {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 38px 32px 46px; gap: 24px;
}
.stat { text-align: left; }
.stat-num {
  display: block; font-size: clamp(30px, 3vw, 42px); font-weight: 800;
  letter-spacing: -0.02em; color: #fff; line-height: 1.1;
}
.stat-label { display: block; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.02em; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: linear-gradient(155deg, #081c33, var(--navy) 55%, var(--navy-2)); color: #fff; }

.section-head { max-width: 760px; margin-bottom: 64px; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.kicker-light { color: var(--blue-soft); }
.section-head h2 {
  font-size: clamp(30px, 3.4vw, 44px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.18; color: var(--navy);
}
.section-head-light h2 { color: #fff; }
.section-sub { margin-top: 18px; font-size: 16px; color: var(--gray); }
.section-head-light .section-sub { color: rgba(255, 255, 255, 0.6); }
.sub-cn { font-size: 13.5px; color: var(--gray-light); }

/* ---------- Strengths ---------- */
.strength-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strength-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 28px 30px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
  overflow: hidden;
}
.strength-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-soft));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.strength-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(27, 95, 191, 0.35); }
.strength-card:hover::before { transform: scaleX(1); }
.strength-no {
  position: absolute; top: 22px; right: 24px;
  font-size: 15px; font-weight: 800; letter-spacing: 0.08em; color: #d7e2ee;
}
.strength-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(145deg, #eaf2fd, #dce9fb);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.strength-icon svg { width: 26px; height: 26px; color: var(--blue); }
.strength-card h3 { font-size: 18.5px; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 12px; letter-spacing: -0.01em; }
.strength-card p { font-size: 14px; color: var(--gray); line-height: 1.7; }
.strength-cn { display: block; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--gray-light); letter-spacing: 0.04em; }

/* ---------- Features ---------- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px;
  align-items: center; padding: 44px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row-rev .feature-text { order: 2; }
.feature-row-rev .feature-shot { order: 1; }
.feature-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue);
  background: #e8f1fd; border-radius: 999px; padding: 6px 16px; margin-bottom: 18px;
}
.feature-text h3 { font-size: clamp(24px, 2.4vw, 31px); font-weight: 800; letter-spacing: -0.02em; color: var(--navy); margin-bottom: 14px; }
.feature-text p { font-size: 15.5px; color: var(--gray); line-height: 1.75; max-width: 480px; }
.feature-cn { display: block; margin-top: 14px; font-size: 13px; color: var(--gray-light); letter-spacing: 0.03em; }
.feature-shot .browser-frame { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.feature-shot .browser-frame:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.gallery {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px;
  margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--line);
  align-items: start;
}
.gallery-cap { margin-top: 16px; font-size: 15px; font-weight: 700; color: var(--navy); }
.gallery-cap span { display: block; font-size: 12.5px; font-weight: 500; color: var(--gray-light); margin-top: 3px; }

/* ---------- Why Us ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.why-list li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 16.5px; font-weight: 500; color: rgba(255, 255, 255, 0.92); line-height: 1.55;
}
.why-list li:last-child { border-bottom: none; }
.why-check {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(76, 141, 255, 0.16); border: 1px solid rgba(76, 141, 255, 0.45);
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.why-check svg { width: 14px; height: 14px; color: #7fb0ff; }

.why-diff {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius); padding: 36px 34px;
  backdrop-filter: blur(8px);
}
.why-diff-title { font-size: 19px; font-weight: 700; letter-spacing: 0.01em; margin-bottom: 24px; color: #fff; }
.diff-item { display: flex; gap: 16px; padding: 14px 0; }
.diff-item + .diff-item { border-top: 1px dashed rgba(255, 255, 255, 0.14); }
.diff-no {
  flex: none; width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(145deg, var(--blue), var(--blue-soft));
  color: #fff; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.diff-item p { font-size: 14.5px; color: rgba(255, 255, 255, 0.72); line-height: 1.65; }
.diff-item b { color: #fff; font-weight: 700; }

/* ---------- Architecture ---------- */
.arch { display: grid; grid-template-columns: 1fr 64px 1fr 64px 1fr; align-items: stretch; gap: 0; }
.arch-layer {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 30px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.arch-layer:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.arch-layer-core {
  background: linear-gradient(160deg, var(--navy), var(--navy-3));
  border-color: transparent; color: #fff;
  box-shadow: 0 22px 50px rgba(10, 37, 64, 0.35);
}
.arch-badge {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.12em;
  background: #e8f1fd; color: var(--blue); border-radius: 8px; padding: 5px 12px; margin-bottom: 18px;
}
.arch-layer-core .arch-badge { background: rgba(255, 255, 255, 0.14); color: #a8ccff; }
.arch-layer h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; color: var(--navy); margin-bottom: 10px; }
.arch-layer-core h3 { color: #fff; }
.arch-layer > p { font-size: 14px; color: var(--gray); min-height: 46px; }
.arch-layer-core > p { color: rgba(255, 255, 255, 0.75); }
.arch-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.arch-tags span {
  font-size: 12px; font-weight: 600; letter-spacing: 0.03em;
  background: var(--bg); border: 1px solid var(--line); color: var(--gray);
  border-radius: 999px; padding: 5px 13px;
}
.arch-layer-core .arch-tags span { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.85); }
.arch-cn { display: block; margin-top: 18px; font-size: 12px; color: var(--gray-light); letter-spacing: 0.05em; }
.arch-layer-core .arch-cn { color: rgba(255, 255, 255, 0.5); }
.arch-flow { display: flex; align-items: center; justify-content: center; color: var(--blue); }
.arch-flow svg { width: 44px; height: 20px; animation: flowPulse 2.2s ease-in-out infinite; }
@keyframes flowPulse { 0%, 100% { opacity: 0.4; transform: translateX(0); } 50% { opacity: 1; transform: translateX(5px); } }

.arch-partners { margin-top: 56px; text-align: center; }
.arch-partners-title { font-size: 14px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy); margin-bottom: 22px; }
.arch-partners-title span { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; color: var(--gray-light); text-transform: none; }
.partner-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.partner-tags span {
  font-size: 13.5px; font-weight: 600; color: var(--navy-2);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 20px; box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.partner-tags span:hover { transform: translateY(-3px); border-color: rgba(27, 95, 191, 0.4); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 72px; align-items: center; }
.about-main .kicker { margin-bottom: 16px; }
.about-main h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.18; color: var(--navy); margin-bottom: 26px; }
.about-text { font-size: 15.5px; color: var(--gray); line-height: 1.8; margin-bottom: 16px; max-width: 620px; }
.about-text-cn { font-size: 13.5px; color: var(--gray-light); border-left: 3px solid var(--line); padding-left: 16px; }
.about-facts { display: flex; gap: 48px; margin-top: 38px; flex-wrap: wrap; }
.fact-value { display: block; font-size: 26px; font-weight: 800; color: var(--blue); letter-spacing: -0.01em; }
.fact-label { display: block; margin-top: 6px; font-size: 12.5px; color: var(--gray-light); letter-spacing: 0.03em; }
.about-quals { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.about-quals span {
  font-size: 12.5px; font-weight: 600; color: var(--navy-2);
  background: #eaf2fd; border-radius: 8px; padding: 7px 14px; letter-spacing: 0.03em;
}
.about-card {
  background: linear-gradient(165deg, var(--navy), var(--navy-3));
  border-radius: 24px; padding: 52px 40px; text-align: center; color: #fff;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.about-card::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
}
.about-logo { width: 92px; height: 92px; border-radius: 22px; margin: 0 auto 24px; box-shadow: 0 14px 34px rgba(2, 12, 27, 0.45); position: relative; }
.about-card-name { position: relative; font-size: 17px; font-weight: 800; letter-spacing: 0.14em; }
.about-card-cn { position: relative; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.65); letter-spacing: 0.1em; }
.about-card-line { position: relative; width: 44px; height: 2px; background: rgba(255, 255, 255, 0.3); margin: 26px auto; border-radius: 2px; }
.about-card-slogan { position: relative; font-size: 13.5px; line-height: 1.9; color: rgba(255, 255, 255, 0.8); letter-spacing: 0.03em; }

/* ---------- Contact ---------- */
.contact-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px; padding: 72px 64px; backdrop-filter: blur(8px);
}
.contact-left h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: #fff; margin-top: 16px; }
.contact-sub { margin-top: 20px; font-size: 15px; color: rgba(255, 255, 255, 0.6); line-height: 1.75; }
.contact-sub .sub-cn { color: rgba(255, 255, 255, 0.4); }
.contact-right { display: flex; flex-direction: column; justify-content: center; }
.contact-row {
  display: flex; align-items: baseline; gap: 22px;
  padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-label {
  flex: none; width: 74px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45);
}
.contact-value { font-size: 16.5px; font-weight: 600; color: #fff; letter-spacing: 0.01em; }
.contact-link { transition: color 0.3s; }
.contact-link:hover { color: var(--blue-soft); }
.btn-contact { margin-top: 32px; align-self: flex-start; }

/* ---------- Footer ---------- */
.footer { background: #071a2e; color: rgba(255, 255, 255, 0.65); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding-top: 52px; padding-bottom: 40px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-logo { width: 44px; height: 44px; border-radius: 11px; }
.footer-name { font-size: 14px; font-weight: 800; letter-spacing: 0.16em; color: #fff; }
.footer-slogan { margin-top: 5px; font-size: 12.5px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.45); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, 0.55); transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.09); padding-top: 24px; padding-bottom: 28px; }
.footer-bottom p { font-size: 12.5px; color: rgba(255, 255, 255, 0.35); letter-spacing: 0.03em; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-float, .hero-chip, .arch-flow svg { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 640px; }
  .hero-chip-1 { left: 0; }
  .hero-chip-2 { right: 0; }
  .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row, .feature-row-rev { grid-template-columns: 1fr; gap: 32px; }
  .feature-row-rev .feature-text { order: 1; }
  .feature-row-rev .feature-shot { order: 2; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .arch { grid-template-columns: 1fr; gap: 20px; }
  .arch-flow { transform: rotate(90deg); height: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-card { grid-template-columns: 1fr; gap: 44px; padding: 52px 40px; }
  .gallery { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 76px 0; }
  .nav-inner { padding: 14px 20px; gap: 16px; }
  .btn-nav { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.15);
    max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease);
  }
  .nav-links.open { max-height: 340px; }
  .nav-links a { color: var(--navy) !important; padding: 15px 28px; border-top: 1px solid var(--line); font-size: 15px; }
  .hero { padding-top: 130px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .strength-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 40px 26px; }
  .contact-row { flex-direction: column; gap: 4px; }
  .hero-chip { display: none; }
}
