/* ============================================================
   Te Yun — Computer Systems Design & IT Services
   Professional Design System — All Original Architecture
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --- Design Tokens --- */
:root {
  --ink: #0b1622;
  --ink-soft: #141e2e;
  --surface: #ffffff;
  --surface-warm: #faf9f7;
  --surface-cool: #f4f6f9;
  --vermilion: #e04e2f;
  --vermilion-deep: #b83d24;
  --vermilion-bright: #f05a3b;
  --azure: #1a73e8;
  --azure-deep: #1557b0;
  --teal: #0d9488;
  --teal-deep: #0f766e;
  --slate: #1e293b;
  --slate-med: #475569;
  --slate-soft: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --gold: #d4a843;
  --gold-soft: #f5e6c8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.09), 0 4px 8px rgba(0,0,0,0.05);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate);
  background: var(--surface-warm);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--azure);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--azure-deep);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vermilion);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--slate-med);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 860px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--vermilion);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(224, 78, 47, 0.35);
}

.btn-primary:hover {
  background: var(--vermilion-deep);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(224, 78, 47, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--slate-soft);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-med);
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  color: var(--ink);
  background: var(--border-light);
}

/* --- Navigation --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-brand-icon {
  width: 36px;
  height: 36px;
  background: var(--vermilion);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-med);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: var(--border-light);
}

.nav-links a.nav-cta {
  background: var(--vermilion);
  color: #ffffff;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  margin-left: 0.5rem;
}

.nav-links a.nav-cta:hover {
  background: var(--vermilion-deep);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--slate);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: all var(--transition);
  border-radius: 2px;
}

/* --- Footer --- */
.site-footer {
  background: var(--ink);
  color: var(--slate-soft);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-contact {
  list-style: none;
  font-size: 0.9375rem;
}

.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: var(--slate-soft);
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--slate-soft);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.875rem;
  color: var(--slate-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   HOMEPAGE — INNOVATIVE RADIAL-ASYMMETRIC LAYOUT
   ============================================================ */

/* --- Hero — Split with geometric accent --- */
.hero-section {
  position: relative;
  padding: 6rem 2rem 5rem;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-bg-shape {
  position: absolute;
  right: -8vw;
  top: 50%;
  transform: translateY(-50%);
  width: 52vw;
  height: 52vw;
  max-width: 700px;
  max-height: 700px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 40%, #1a2a40 100%);
  z-index: 0;
}

.hero-bg-shape::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px dashed var(--vermilion);
  opacity: 0.2;
  animation: rotateSlow 60s linear infinite;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--border-light);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-med);
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--vermilion);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.hero-title em {
  font-style: normal;
  color: var(--vermilion);
}

.hero-text {
  font-size: 1.2rem;
  color: var(--slate-med);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-node-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 1.5rem;
}

.hero-node {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #A9B4C9;
  transition: all var(--transition);
}

.hero-node.highlight {
  background: var(--vermilion);
  border-color: var(--vermilion);
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(224,78,47,0.3);
}

/* --- Stats Ribbon --- */
.stats-ribbon {
  background: var(--ink);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.stats-ribbon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--vermilion), var(--azure), var(--teal), var(--gold));
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-value {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-value span {
  color: var(--vermilion);
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--slate-soft);
  font-weight: 500;
}

/* --- Services — Staggered waterfall grid --- */
.services-section {
  padding: 6rem 2rem;
  background: var(--surface-warm);
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.service-card {
  position: relative;
  padding: 3rem 2.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all var(--transition);
}

.service-card:nth-child(1) { border-radius: var(--radius-xl) 0 0 0; }
.service-card:nth-child(2) { border-radius: 0 var(--radius-xl) 0 0; margin-top: -2rem; }
.service-card:nth-child(3) { border-radius: 0 0 0 var(--radius-xl); margin-top: -2rem; }
.service-card:nth-child(4) { border-radius: 0 0 var(--radius-xl) 0; }

.service-card:hover {
  border-color: var(--vermilion);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  transform: translateY(-4px);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card-icon.azure { background: #dbeafe; color: var(--azure); }
.service-card-icon.teal { background: #ccfbf1; color: var(--teal); }
.service-card-icon.gold { background: var(--gold-soft); color: var(--gold); }
.service-card-icon.vermilion { background: #fce4dc; color: var(--vermilion); }

.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card-desc {
  font-size: 1rem;
  color: var(--slate-med);
  line-height: 1.65;
  margin-bottom: 0;
}

.service-card-list {
  list-style: none;
  margin-top: 1.25rem;
}

.service-card-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9375rem;
  color: var(--slate-med);
  margin-bottom: 0.5rem;
}

.service-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--vermilion);
}

/* --- Process — Connected diamond nodes --- */
.process-section {
  padding: 6rem 2rem;
  background: var(--surface-cool);
}

.process-header {
  text-align: center;
  margin-bottom: 4rem;
}

.process-flow {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}

.process-flow::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
  padding: 0 0.75rem;
}

.process-step-node {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.process-step-node span {
  transform: rotate(-45deg);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-soft);
  transition: color var(--transition);
}

.process-step:hover .process-step-node {
  border-color: var(--vermilion);
  background: var(--vermilion);
  box-shadow: 0 8px 24px rgba(224,78,47,0.25);
}

.process-step:hover .process-step-node span {
  color: #ffffff;
}

.process-step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.process-step-desc {
  font-size: 0.875rem;
  color: var(--slate-med);
  line-height: 1.5;
}

/* --- CTA --- */
.cta-section {
  padding: 5rem 2rem;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: var(--vermilion);
  transform: rotate(-12deg);
  opacity: 0.04;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.cta-text {
  font-size: 1.15rem;
  color: var(--slate-soft);
  margin-bottom: 2rem;
}

/* ============================================================
   PRIVACY POLICY PAGE — TIMELINE SCROLL LAYOUT
   ============================================================ */

.privacy-page {
  background: var(--surface-warm);
}

.privacy-hero {
  background: var(--ink);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.privacy-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--vermilion), var(--azure), var(--teal));
}

.privacy-hero-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vermilion);
  margin-bottom: 1rem;
}

.privacy-hero-title {
  color: #ffffff;
  margin-bottom: 1rem;
}

.privacy-hero-subtitle {
  color: var(--slate-soft);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 0.5rem;
}

.privacy-hero-date {
  color: var(--slate-soft);
  font-size: 0.9375rem;
}

.privacy-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
}

/* Timeline bar */
.privacy-content::before {
  content: '';
  position: absolute;
  left: 64px;
  top: 4rem;
  bottom: 4rem;
  width: 3px;
  background: var(--border);
  border-radius: 2px;
}

.privacy-section {
  position: relative;
  padding-left: 120px;
  margin-bottom: 3.5rem;
}

.privacy-section:last-child {
  margin-bottom: 0;
}

.privacy-section-node {
  position: absolute;
  left: 50px;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--border);
  z-index: 1;
  transition: all var(--transition);
}

.privacy-section:hover .privacy-section-node {
  border-color: var(--vermilion);
  background: var(--vermilion);
  box-shadow: 0 0 0 8px rgba(224,78,47,0.1);
}

.privacy-section-number {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: var(--slate-soft);
  width: 40px;
  text-align: right;
}

.privacy-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
  padding-top: 0.15rem;
}

.privacy-section-body {
  color: var(--slate-med);
  line-height: 1.75;
}

.privacy-section-body p {
  margin-bottom: 1rem;
}

.privacy-section-body ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.privacy-section-body ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.privacy-section-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  background: var(--vermilion);
  border-radius: 2px;
}

.privacy-section-body strong {
  color: var(--ink);
}

/* ============================================================
   TERMS OF SERVICE PAGE — OFFSET PANEL LAYOUT
   ============================================================ */

.terms-page {
  background: var(--surface-cool);
}

.terms-hero {
  background: var(--ink);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.terms-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--azure), var(--vermilion));
}

.terms-hero-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.terms-hero-title {
  color: #ffffff;
  margin-bottom: 1rem;
}

.terms-hero-subtitle {
  color: var(--slate-soft);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 0.5rem;
}

.terms-hero-date {
  color: var(--slate-soft);
  font-size: 0.9375rem;
}

.terms-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.terms-section {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem 2.5rem;
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  transition: all var(--transition);
}

.terms-section:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--slate-soft);
}

.terms-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.terms-section-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
}

.terms-section:nth-child(even) .terms-section-number {
  background: var(--vermilion);
}

.terms-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  padding-top: 0.25rem;
}

.terms-section-body {
  color: var(--slate-med);
  line-height: 1.75;
}

.terms-section-body p {
  margin-bottom: 1rem;
}

.terms-section-body ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.terms-section-body ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.terms-section-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 2px;
}

.terms-section-body strong {
  color: var(--ink);
}

/* ============================================================
   LEGAL PAGES — SHARED HELPER CLASSES
   ============================================================ */

.legal-info-block {
  background: var(--border-light);
  border-left: 4px solid var(--vermilion);
  padding: 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
}

.legal-info-block p {
  margin-bottom: 0.25rem;
  font-size: 0.9375rem;
}

.legal-info-block p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .hero-section {
    min-height: auto;
    padding: 4rem 2rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-bg-shape {
    display: none;
  }

  .hero-visual {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(n) {
    border-radius: 0;
    margin-top: 0;
  }

  .service-card:first-child { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .service-card:last-child { border-radius: 0 0 var(--radius-xl) var(--radius-xl); }

  .process-flow {
    flex-direction: column;
    gap: 2rem;
  }

  .process-flow::before {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    box-shadow: var(--shadow-lg);
  }

  .nav-toggle {
    display: block;
  }

  .privacy-content::before {
    left: 28px;
  }

  .privacy-section {
    padding-left: 70px;
  }

  .privacy-section-node {
    left: 15px;
    width: 24px;
    height: 24px;
  }

  .privacy-section-number {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .terms-section {
    padding: 1.5rem;
  }

  .terms-section-header {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* --- Print --- */
@media print {
  .site-nav, .hero-bg-shape, .hero-visual, .stats-ribbon,
  .cta-section, .process-section, .site-footer, .nav-toggle {
    display: none !important;
  }

  body {
    font-size: 14px;
    color: #000;
  }
}
