/* ============================================================
   网内网外科技官网 v4 — Stripe/Linear 极简风
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-2: #f8f9fc;
  --dark: #0a0e1a;
  --dark-2: #111827;
  --text: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --primary: #4f46e5;     /* 靛紫主色 */
  --primary-2: #7c3aed;
  --accent: #06b6d4;      /* 青色点缀 */
  --green: #10b981;
  --border: #e2e8f0;
  --border-dark: rgba(255,255,255,0.08);
  --card-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.05);
  --card-shadow-hover: 0 4px 6px rgba(0,0,0,0.04), 0 24px 64px rgba(79,70,229,0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Inter', 'Noto Sans SC', system-ui, sans-serif;
  --font-serif: 'Noto Serif SC', serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

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

/* ===== GRADIENT TEXT ===== */
.grad-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-2), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all .22s ease;
  border: none;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(79,70,229,.4);
}
.btn-primary:hover {
  background: var(--primary-2);
  box-shadow: 0 8px 24px rgba(79,70,229,.3);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  padding: 14px 32px;
  font-size: 15px;
  box-shadow: 0 8px 32px rgba(79,70,229,.4);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(79,70,229,.5); }
.btn-hero-ghost {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  padding: 14px 32px;
  font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,0.15); color: #fff; }

.btn-cta-primary {
  background: #fff;
  color: var(--primary);
  padding: 14px 32px;
  font-size: 15px;
}
.btn-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.15); }
.btn-cta-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  padding: 14px 32px;
  font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-cta-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }

.btn-form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 15px;
  border-radius: var(--radius-sm);
  justify-content: center;
  box-shadow: 0 4px 16px rgba(79,70,229,.3);
}
.btn-form-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(79,70,229,.4); }

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block;
  background: linear-gradient(135deg, rgba(79,70,229,.1), rgba(124,58,237,.1));
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  border: 1px solid rgba(79,70,229,.2);
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 48px;
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  height: 68px;
  display: flex; align-items: center; gap: 40px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 16px; color: var(--text);
  white-space: nowrap;
}
.logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 900; font-style: italic;
  flex-shrink: 0;
}
.logo-text em { font-style: normal; color: var(--primary); margin-left: 2px; }
.nav-links {
  display: flex; gap: 4px; list-style: none;
  flex: 1;
}
.nav-links a {
  padding: 6px 14px; border-radius: 8px;
  font-size: 14px; color: var(--text-2); font-weight: 500;
  transition: all .18s;
}
.nav-links a:hover { background: var(--bg-2); color: var(--text); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-mobile { display: none; padding: 16px 32px 24px; border-top: 1px solid var(--border); }
.nav-mobile a { display: block; padding: 12px 0; font-size: 16px; color: var(--text-2); border-bottom: 1px solid var(--border); }
.nav-mobile a:last-child { border-bottom: none; }
@media(max-width:900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile.open { display: block; }
  .nav-inner { gap: 0; justify-content: space-between; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--dark);
  padding-top: 68px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.mesh-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
  top: -200px; left: -200px;
}
.mesh-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  bottom: -100px; right: 20%;
  animation: meshFloat 8s ease-in-out infinite;
}
.mesh-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
  top: 30%; right: 5%;
  animation: meshFloat 10s ease-in-out infinite reverse;
}
@keyframes meshFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 80px 32px;
  flex: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(79,70,229,0.15);
  border: 1px solid rgba(79,70,229,0.3);
  color: #a5b4fc;
  font-size: 13px; font-weight: 500;
  padding: 7px 16px; border-radius: 50px;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.85); }
}
.hero-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 700px;
}
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.65);
  line-height: 1.7; max-width: 560px; margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px 32px;
  width: fit-content;
}
.hstat { text-align: center; padding: 0 32px; }
.hstat-n {
  font-size: 36px; font-weight: 900; color: #fff;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}
.hstat sup { font-size: 18px; color: #a5b4fc; font-weight: 700; }
.hstat p { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.hstat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.12); }

.hero-visual {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 45%; pointer-events: none; z-index: 1;
}
#heroCanvas { width: 100%; height: 100%; }

@media(max-width:900px) {
  .hero-visual { display: none; }
  .hero-content { padding: 60px 24px; }
  .hero-stats { flex-wrap: wrap; padding: 20px; gap: 8px; }
  .hstat { padding: 8px 16px; }
  .hstat-divider { display: none; }
}

/* ===== TICKER ===== */
.ticker-wrap {
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.ticker-track {
  display: flex; gap: 64px; width: max-content;
  animation: ticker 35s linear infinite;
}
.ticker-track span {
  font-size: 14px; font-weight: 600; color: var(--text-3);
  letter-spacing: .04em; white-space: nowrap;
  transition: color .2s;
}
.ticker-track span:hover { color: var(--primary); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== BENTO SECTION ===== */
.bento-section { padding: 120px 0; background: var(--bg); }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.bento-card {
  border-radius: var(--radius);
  padding: 36px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }

.bento-large {
  grid-column: span 2;
}
.bento-large-2 {
  grid-column: span 2;
  grid-row: 2;
}

.bento-blue {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e3a5f 100%);
  color: #fff;
}
.bento-blue h3 { font-size: 28px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.bento-blue p { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.bento-blue .bento-tag {
  display: inline-block; background: rgba(165,180,252,.15);
  border: 1px solid rgba(165,180,252,.3);
  color: #a5b4fc; font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 50px; margin-bottom: 20px;
}
.bento-features { display: flex; flex-wrap: wrap; gap: 8px; }
.bento-features span {
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.8);
  font-size: 13px; font-weight: 500;
  padding: 5px 14px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,.12);
}
.bento-arrow {
  position: absolute; right: 32px; bottom: 32px;
  font-size: 28px; color: rgba(255,255,255,.3);
  transition: all .3s;
}
.bento-card:hover .bento-arrow { color: rgba(255,255,255,.8); transform: translate(4px,-4px); }

.bento-dark {
  background: var(--dark-2);
  color: #fff;
}
.bento-dark h3 { font-size: 20px; font-weight: 700; margin: 12px 0 10px; }
.bento-dark p { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.6; }
.bento-icon { width: 48px; height: 48px; }
.bento-icon svg { width: 48px; height: 48px; }

.bento-purple {
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
  color: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.bento-stat-big {
  font-size: 64px; font-weight: 900; line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.bento-stat-big span { font-size: 32px; color: rgba(255,255,255,.6); }
.bento-purple p { color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.6; }

.bento-white {
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.bento-white .bento-tag {
  display: inline-block; background: rgba(79,70,229,.08);
  border: 1px solid rgba(79,70,229,.2);
  color: var(--primary); font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 50px; margin-bottom: 16px;
}
.bento-white h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.bento-white p { color: var(--text-2); font-size: 15px; margin-bottom: 24px; }
.bento-chart { margin-top: auto; }
.bar-group { display: flex; align-items: flex-end; gap: 8px; height: 80px; }
.bar {
  flex: 1; height: var(--h);
  background: linear-gradient(to top, var(--primary), var(--accent));
  border-radius: 4px 4px 0 0;
  opacity: .7;
  transition: opacity .3s;
}
.bar:hover { opacity: 1; }

.bento-gradient {
  background: linear-gradient(135deg, #0c4a6e, #075985, #164e63);
  color: #fff;
}
.bento-gradient h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.bento-gradient p { color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 20px; }
.cloud-icons { display: flex; gap: 8px; }
.cloud-icons span {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.15);
}

@media(max-width:768px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large, .bento-large-2 { grid-column: span 1; }
}

/* ===== CAPABILITIES ===== */
.cap-section {
  padding: 120px 0;
  background: linear-gradient(to bottom, var(--bg-2), var(--bg));
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cap-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: all .3s;
  overflow: hidden;
}
.cap-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.cap-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); border-color: rgba(79,70,229,.2); }
.cap-card:hover::before { transform: scaleX(1); }
.cap-num { font-size: 12px; font-weight: 700; color: var(--text-3); letter-spacing: .1em; margin-bottom: 20px; }
.cap-ico { font-size: 36px; margin-bottom: 16px; }
.cap-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.cap-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; margin-bottom: 20px; }
.cap-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cap-tags span {
  background: var(--bg-2);
  color: var(--text-2);
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
  border: 1px solid var(--border);
}

@media(max-width:900px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:600px) { .cap-grid { grid-template-columns: 1fr; } }

/* ===== CASES ===== */
.cases-section { padding: 120px 0; background: var(--bg); }
.section-header-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; margin-bottom: 48px;
}
.section-header-row .section-title { margin-bottom: 0; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.ftab {
  padding: 8px 18px; border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent; color: var(--text-2);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all .2s;
}
.ftab.active, .ftab:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  transition: all .3s;
  box-shadow: var(--card-shadow);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); border-color: rgba(79,70,229,.2); }
.case-img {
  height: 180px;
  background-size: cover; background-position: center;
}
.case-img-1 {
  background: linear-gradient(135deg, #1e3a8a, #1d4ed8, #0891b2);
}
.case-img-2 {
  background: linear-gradient(135deg, #164e63, #0e7490, #065f46);
}
.case-img-3 {
  background: linear-gradient(135deg, #581c87, #7c3aed, #1d4ed8);
}
.case-body { padding: 24px; }
.case-tag {
  display: inline-block;
  background: rgba(79,70,229,.08);
  color: var(--primary);
  font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 50px;
  margin-bottom: 12px;
}
.case-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.case-body p { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.case-metrics { display: flex; gap: 16px; border-top: 1px solid var(--border); padding-top: 16px; }
.case-metrics span { font-size: 13px; color: var(--text-2); }
.case-metrics b { color: var(--primary); font-weight: 700; }

@media(max-width:900px) { .cases-grid { grid-template-columns: 1fr; } }

/* ===== ABOUT ===== */
.about-section {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-desc { font-size: 16px; color: var(--text-2); line-height: 1.75; margin-bottom: 20px; }
.about-vals { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.aval { display: flex; gap: 16px; align-items: flex-start; }
.aval-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0; margin-top: 6px;
}
.aval-dot-2 { background: var(--primary-2); }
.aval-dot-3 { background: var(--accent); }
.aval b { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.aval p { font-size: 14px; color: var(--text-2); }

.about-right { position: relative; }
.about-card-stack {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  position: relative;
}
.acard {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  transition: all .3s;
}
.acard:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.acard-label { font-size: 12px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.acard-val { font-size: 40px; font-weight: 900; color: var(--text); letter-spacing: -0.02em; }
.acard-val span { font-size: 22px; color: var(--primary); }
.acard-1 { border-top: 3px solid var(--primary); }
.acard-2 { border-top: 3px solid var(--primary-2); }
.acard-3 { border-top: 3px solid var(--accent); }
.acard-4 { border-top: 3px solid var(--green); }

@media(max-width:900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ===== NEWS ===== */
.news-section { padding: 120px 0; background: var(--bg); }
.news-grid { display: grid; grid-template-columns: 2fr 1.2fr; gap: 32px; }
.news-main {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all .3s;
}
.news-main:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.news-main-img {
  height: 260px;
  background: linear-gradient(135deg, #1e1b4b, #312e81, #0c4a6e);
  position: relative; overflow: hidden;
}
.news-main-img::after {
  content: '新闻 · 动态'; position: absolute;
  bottom: 24px; left: 24px;
  color: rgba(255,255,255,.3); font-size: 64px; font-weight: 900;
  letter-spacing: -2px; line-height: 1;
}
.news-main-body { padding: 28px; }
.news-tag {
  display: inline-block;
  background: rgba(79,70,229,.08);
  color: var(--primary);
  font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 50px;
  margin-bottom: 12px;
}
.news-main-body h3 { font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.news-main-body p { font-size: 14px; color: var(--text-2); line-height: 1.65; margin-bottom: 20px; }
.news-meta { display: flex; justify-content: space-between; align-items: center; color: var(--text-3); font-size: 13px; }
.news-meta a { color: var(--primary); font-weight: 600; }

.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: all .2s;
  cursor: pointer;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { opacity: .85; }
.news-item h4 { font-size: 15px; font-weight: 600; line-height: 1.4; margin: 8px 0 8px; }
.news-item p { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 8px; }
.news-date { font-size: 12px; color: var(--text-3); }

@media(max-width:900px) { .news-grid { grid-template-columns: 1fr; } }

/* ===== CTA ===== */
.cta-section {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #0c4a6e 100%);
  padding: 100px 0;
}
.cta-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cta-mesh {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .3;
}
.cta-mesh-1 { width: 600px; height: 600px; background: radial-gradient(#7c3aed, transparent 70%); top: -200px; right: 10%; }
.cta-mesh-2 { width: 400px; height: 400px; background: radial-gradient(#06b6d4, transparent 70%); bottom: -100px; left: 15%; }

.cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 32px;
}
.cta-text h2 { font-size: clamp(24px, 3.5vw, 40px); font-weight: 800; color: #fff; margin-bottom: 12px; }
.cta-text p { font-size: 16px; color: rgba(255,255,255,.65); }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact-section {
  padding: 120px 0;
  background: var(--bg-2);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-infos { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.cinfo { display: flex; gap: 16px; align-items: flex-start; }
.cinfo-ico { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.cinfo b { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.cinfo p { font-size: 14px; color: var(--text-2); }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--card-shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; font-family: var(--font); color: var(--text);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,.1);
}
.form-group textarea { resize: vertical; }
.form-note { text-align: center; font-size: 13px; color: var(--text-3); margin-top: 12px; }

@media(max-width:900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  padding: 80px 0 32px;
}
.footer-top {
  display: grid; grid-template-columns: 260px 1fr; gap: 80px;
  padding-bottom: 64px; border-bottom: 1px solid var(--border-dark);
  margin-bottom: 32px;
}
.footer-brand .nav-logo { margin-bottom: 16px; display: flex; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.4); margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: 11px; font-weight: 700;
  transition: all .2s;
}
.footer-socials a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h5 { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 16px; letter-spacing: .04em; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.45); margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: rgba(255,255,255,.9); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,.3);
}
.footer-bottom a { color: rgba(255,255,255,.4); margin: 0 8px; transition: color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

@media(max-width:900px) {
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SCROLL BAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }
