/* 1688 St George LLC — IDC corporate site */
:root {
  --bg: #070b14;
  --bg-soft: #0b1120;
  --card: #0e1626;
  --card-hover: #121c30;
  --line: rgba(148, 163, 184, 0.14);
  --text: #e7eef8;
  --muted: #9aa8bc;
  --accent: #4f8ef7;
  --accent-2: #22d3ee;
  --grad: linear-gradient(92deg, #4f8ef7, #22d3ee);
  --radius: 14px;
  --maxw: 1120px;
}

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { vertical-align: middle; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; color: #06121f; letter-spacing: 0.5px;
}
.brand-name { font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: 0.4px; }
.brand-name small { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: 1.6px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  padding: 9px 18px; border-radius: 9px; background: var(--grad); color: #06121f !important;
  font-weight: 700; font-size: 14px !important;
}
.nav-cta:hover { filter: brightness(1.1); text-decoration: none !important; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 72px;
  background:
    radial-gradient(1000px 420px at 80% -10%, rgba(79, 142, 247, 0.16), transparent 60%),
    radial-gradient(800px 380px at 10% 0%, rgba(34, 211, 238, 0.10), transparent 55%),
    linear-gradient(180deg, #0a1120 0%, var(--bg) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 40%, transparent 100%);
}
.hero .container { position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(79, 142, 247, 0.35); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; color: #b7cdf5;
  background: rgba(79, 142, 247, 0.08); margin-bottom: 22px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }
.hero h1 {
  font-size: clamp(34px, 5.2vw, 56px); line-height: 1.12; font-weight: 800;
  letter-spacing: -0.5px; max-width: 760px;
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { margin: 22px 0 34px; font-size: 18px; color: var(--muted); max-width: 640px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px; font-size: 15.5px; font-weight: 700;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--grad); color: #06121f; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: rgba(148,163,184,0.4); }

/* ---------- stats strip ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 12px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat b { display: block; font-size: 26px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* ---------- sections ---------- */
section.block { padding: 84px 0; }
section.block.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 640px; margin-bottom: 46px; }
.sec-head .kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.3px; }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 16.5px; }

/* ---------- services ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.svc:hover { transform: translateY(-4px); border-color: rgba(79,142,247,0.45); background: var(--card-hover); }
.svc .icon {
  width: 46px; height: 46px; border-radius: 11px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(79, 142, 247, 0.12); border: 1px solid rgba(79, 142, 247, 0.3);
}
.svc .icon svg { width: 24px; height: 24px; stroke: #7db2ff; }
.svc h3 { font-size: 17.5px; margin-bottom: 9px; font-weight: 700; }
.svc p { font-size: 14.5px; color: var(--muted); }

/* ---------- network ---------- */
.net-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.region-list { display: grid; gap: 14px; }
.region {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
}
.region .flag {
  flex: none; width: 42px; height: 42px; border-radius: 10px;
  background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: var(--accent-2); letter-spacing: 0.5px;
}
.region b { display: block; font-size: 15.5px; }
.region span { font-size: 13px; color: var(--muted); }
.net-points { display: grid; gap: 14px; }
.net-point { display: flex; gap: 12px; align-items: flex-start; }
.net-point svg { flex: none; width: 20px; height: 20px; stroke: var(--accent-2); margin-top: 3px; }
.net-point p { font-size: 15px; color: var(--muted); }
.net-point b { color: var(--text); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; }
.about-grid p { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.about-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.about-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.3px; }
.fact { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed rgba(148,163,184,0.15); font-size: 14px; }
.fact:last-child { border-bottom: none; }
.fact span { color: var(--muted); }
.fact b { text-align: right; font-weight: 600; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-item .icon {
  flex: none; width: 42px; height: 42px; border-radius: 10px;
  background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.3);
  display: flex; align-items: center; justify-content: center;
}
.contact-item .icon svg { width: 20px; height: 20px; stroke: var(--accent-2); }
.contact-item b { display: block; font-size: 15px; margin-bottom: 2px; }
.contact-item p, .contact-item a { font-size: 14.5px; color: var(--muted); word-break: break-all; }
.contact-form {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.contact-form h3 { font-size: 17px; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 9px;
  padding: 12px 14px; color: var(--text); font-size: 14.5px; font-family: inherit; outline: none;
}
.field input:focus, .field textarea:focus { border-color: rgba(79,142,247,0.6); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 54px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 38px; }
.footer-grid h4 { font-size: 13.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.footer-grid p, .footer-grid a { font-size: 14px; color: var(--muted); display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}

/* ---------- legal pages ---------- */
.legal { padding: 70px 0 90px; }
.legal h1 { font-size: 32px; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 13.5px; margin-bottom: 34px; }
.legal h2 { font-size: 19px; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .net-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: none; }
}
@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; padding: 18px 24px; gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 64px 0 56px; }
}

/* ---------- subpage hero ---------- */
.page-hero { padding: 68px 0 52px; }
.page-hero h1 { font-size: clamp(29px, 4.2vw, 44px); max-width: 820px; }
.page-hero p.lead { margin-bottom: 0; }
section.block.tight { padding: 60px 0 76px; }

.nav-links a.active { color: var(--accent-2); }

/* ---------- services detail pages ---------- */
.svc-detail {
  display: grid; grid-template-columns: 290px 1fr; gap: 30px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 30px 32px; margin-bottom: 20px;
  transition: border-color 0.18s ease;
}
.svc-detail:hover { border-color: rgba(79, 142, 247, 0.4); }
.svc-detail .head .icon {
  width: 48px; height: 48px; border-radius: 11px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(79, 142, 247, 0.12); border: 1px solid rgba(79, 142, 247, 0.3);
}
.svc-detail .head .icon svg { width: 25px; height: 25px; stroke: #7db2ff; }
.svc-detail h3 { font-size: 19px; font-weight: 700; }
.svc-detail .head small { display: block; color: var(--muted); font-size: 12.5px; letter-spacing: 1.4px; text-transform: uppercase; margin-top: 5px; }
.svc-detail p { font-size: 15px; color: var(--text); }
.svc-detail ul { list-style: none; margin-top: 14px; display: grid; gap: 9px; }
.svc-detail li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--muted); }
.svc-detail li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-2); font-weight: 700; }

/* ---------- home overview strips ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split .sec-head { margin-bottom: 0; }
.split .btn-row { margin-top: 26px; }
.center-cta { text-align: center; margin-top: 34px; }

/* ---------- cta band ---------- */
.cta-band {
  background: linear-gradient(92deg, rgba(79, 142, 247, 0.14), rgba(34, 211, 238, 0.10));
  border: 1px solid rgba(79, 142, 247, 0.32);
  border-radius: var(--radius);
  padding: 40px 46px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.3px; }
.cta-band p { color: var(--muted); margin-top: 8px; max-width: 560px; }

/* ---------- cloud plans ---------- */
.loc-head { display: flex; align-items: center; gap: 16px; margin: 44px 0 22px; }
.loc-head:first-child { margin-top: 0; }
.loc-head .flag {
  flex: none; width: 48px; height: 48px; border-radius: 11px;
  background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; color: var(--accent-2); letter-spacing: 0.5px;
}
.loc-head h2 { font-size: 22px; letter-spacing: -0.2px; }
.loc-head p { color: var(--muted); font-size: 14px; max-width: 620px; }
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform 0.18s ease, border-color 0.18s ease;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(79, 142, 247, 0.45); }
.plan h3 { font-size: 16px; font-weight: 700; letter-spacing: 0.4px; }
.plan .price { margin: 14px 0 16px; }
.plan .price b {
  font-size: 32px; font-weight: 800; letter-spacing: -0.5px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.plan .price span { color: var(--muted); font-size: 14px; margin-left: 4px; }
.plan ul { list-style: none; display: grid; gap: 9px; margin-bottom: 22px; }
.plan li { position: relative; padding-left: 22px; font-size: 13.5px; color: var(--muted); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }
.plan-btn { margin-top: auto; text-align: center; justify-content: center; font-size: 14px; padding: 11px 16px; }
.plan.featured { border-color: rgba(79, 142, 247, 0.55); background: linear-gradient(180deg, rgba(79,142,247,0.08), rgba(14,22,38,0.9)); }
.plan .ribbon {
  position: absolute; top: -11px; right: 16px;
  background: var(--grad); color: #06121f;
  font-size: 11px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.plans-note { margin-top: 26px; font-size: 14px; color: var(--muted); text-align: center; }

@media (max-width: 1080px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .plans-grid { grid-template-columns: 1fr; }
}

/* ---------- why cards (about) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .svc-detail { grid-template-columns: 1fr; gap: 18px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; }
}
