/* ==========================================================================
   Goodwork Design System for Students Project Hub (StudentsHub)
   Adapted from Local SEO Agent Design Kit (design/design/kit)
   Palette: Bright Blue (#0A7CFF), Graphite (#1C201E), Neutral True Grey, Clean White
   Typography: Archivo (Display Black 900, Bold 700, Regular 400)
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700;1,900&display=swap");

:root {
  /* Brand Blue Ramp */
  --blue-900: #062f66;
  --blue-800: #0a4794;
  --blue-700: #0060df;
  --blue-600: #0a7cff;
  --blue-500: #3d97ff;
  --blue-400: #6fb2ff;
  --blue-300: #9ccbff;
  --blue-200: #c6e1ff;
  --blue-100: #e2effe;
  --blue-50:  #f2f8ff;

  /* Graphite Accent (Near-Black, 4 Steps) */
  --accent-900: #141716;
  --accent-800: #1c201e;
  --accent-700: #2c312e;
  --accent-600: #3d4340;

  /* True Grey Ink Ramp (No blue cast) */
  --ink-900: #1a1a19;
  --ink-800: #272725;
  --ink-700: #3f3f3c;
  --ink-600: #575754;
  --ink-500: #73726e;
  --ink-400: #9a9995;
  --ink-300: #c5c4bf;
  --ink-200: #e3e2de;
  --ink-100: #f0efec;
  --ink-50:  #f9f8f6;
  --white:   #ffffff;

  /* Semantic Hues */
  --positive-600: #0a7a52;
  --positive-500: #0d9668;
  --positive-50:  #e6f6f0;
  --caution-600:  #a35a06;
  --caution-500:  #c26f09;
  --caution-50:   #fdf3e6;
  --critical-600: #b52d24;
  --critical-500: #d93a2f;
  --critical-50:  #fdedec;
  --wa-green:     #25d366;
  --wa-green-hover: #20ba5a;

  /* Typography Variables */
  --font-core: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 900;

  --size-display: clamp(2.4rem, 5.2vw, 3.8rem);
  --size-h1: clamp(2rem, 4vw, 2.85rem);
  --size-h2: clamp(1.6rem, 3.2vw, 2.15rem);
  --size-h3: clamp(1.2rem, 2.2vw, 1.45rem);
  --size-h4: 1.12rem;
  --size-body-lg: 1.125rem;
  --size-body: 1rem;
  --size-body-sm: 0.875rem;
  --size-caption: 0.78rem;
  --size-label: 0.72rem;

  --lh-display: 1.05;
  --lh-heading: 1.15;
  --lh-snug: 1.35;
  --lh-body: 1.6;

  --track-display: -0.03em;
  --track-heading: -0.02em;
  --track-label: 0.08em;

  /* Semantic Surfaces */
  --surface-page: var(--white);
  --surface-card: var(--white);
  --surface-sunken: var(--ink-100);
  --surface-tint: var(--blue-50);
  --surface-brand: var(--blue-600);
  --surface-brand-deep: var(--blue-700);
  --surface-brand-soft: var(--blue-100);
  --surface-accent: var(--accent-800);
  --surface-accent-dark: var(--accent-900);

  /* Semantic Text */
  --text-strong: var(--ink-900);
  --text-body: var(--ink-700);
  --text-muted: var(--ink-500);
  --text-faint: var(--ink-400);
  --text-inverse: var(--white);
  --text-brand: var(--blue-700);
  --text-link: var(--blue-700);
  --text-link-hover: var(--blue-800);

  /* Semantic Lines */
  --line-hairline: var(--ink-200);
  --line-strong: var(--ink-300);
  --line-brand: var(--blue-600);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.07), 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 4px 14px rgba(16, 24, 40, 0.08), 0 1px 3px rgba(16, 24, 40, 0.05);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, 0.12), 0 3px 8px rgba(16, 24, 40, 0.06);
  --shadow-brand: 0 8px 24px rgba(10, 124, 255, 0.25);
  --shadow-wa: 0 8px 20px rgba(37, 211, 102, 0.35);

  /* Spacing */
  --container-max: 1240px;
  --gutter: 20px;
  --section-y: 84px;
  --section-y-sm: 56px;
}

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

html {
  font-family: var(--font-core);
  color: var(--text-body);
  background-color: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-core);
  font-size: var(--size-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background-color: var(--surface-page);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-core);
  color: var(--text-strong);
  font-weight: var(--weight-black);
  letter-spacing: var(--track-heading);
  line-height: var(--lh-heading);
}

h1 { font-size: var(--size-h1); }
h2 { font-size: var(--size-h2); }
h3 { font-size: var(--size-h3); font-weight: var(--weight-bold); line-height: var(--lh-snug); }
h4 { font-size: var(--size-h4); font-weight: var(--weight-bold); }

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a:hover {
  color: var(--text-link-hover);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Container */
.gw-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ==========================================================================
   Header & Promo Strip (Graphite Top + Clean Nav)
   ========================================================================== */
.gw-promo-strip {
  background: var(--accent-900);
  color: var(--white);
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.gw-promo-strip a {
  color: #93c5fd;
  font-weight: var(--weight-bold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gw-promo-strip a:hover {
  color: var(--white);
}

.gw-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-hairline);
  padding: 0.85rem 0;
  transition: box-shadow 0.2s ease;
}
.gw-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.gw-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.gw-brand img {
  height: 42px;
  width: auto;
  object-fit: contain;
}
.gw-brand-text {
  display: flex;
  flex-direction: column;
}
.gw-brand-name {
  font-size: 1.22rem;
  font-weight: var(--weight-black);
  color: var(--ink-900);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.gw-brand-sub {
  font-size: 0.72rem;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-700);
}

.gw-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
}
.gw-nav-link {
  font-size: 0.92rem;
  font-weight: var(--weight-semibold);
  color: var(--ink-700);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color 0.15s ease;
}
.gw-nav-link:hover, .gw-nav-link.active {
  color: var(--blue-700);
}
.gw-nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue-600);
  border-radius: 2px;
}

.gw-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Navigation Hamburger Toggle Button */
.gw-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  z-index: 1002;
}
.gw-nav-toggle:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
}
.gw-nav-toggle-bar {
  width: 20px;
  height: 2px;
  background: #0F172A;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.gw-nav-toggle.is-active .gw-nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.gw-nav-toggle.is-active .gw-nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.gw-nav-toggle.is-active .gw-nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.gw-mobile-nav {
  display: none;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line-hairline);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
}
.gw-mobile-nav.is-open {
  display: block !important;
}
.gw-mobile-nav-inner {
  padding: 1.15rem 1rem 1.35rem;
  max-height: calc(85vh - 70px);
  overflow-y: auto;
}
.gw-mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.gw-mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 0.85rem;
  font-size: 0.94rem;
  font-weight: 700;
  color: #1E293B;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.gw-mobile-nav-link:hover, .gw-mobile-nav-link.active {
  background: #EFF6FF;
  color: #0060DF;
}
.gw-mobile-nav-actions {
  border-top: 1px solid var(--line-hairline);
  padding-top: 0.85rem;
}

@media (max-width: 992px) {
  .gw-nav-toggle {
    display: inline-flex !important;
  }
  .gw-header-inner {
    justify-content: space-between !important;
  }
  .gw-nav {
    display: none !important;
  }
  .gw-header-actions {
    display: none !important;
  }
}

/* ==========================================================================
   Buttons & Badges (Goodwork Chunky Pills)
   ========================================================================== */
.gw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.62rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: var(--weight-bold);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s cubic-bezier(0.2, 0.6, 0.2, 1);
  white-space: nowrap;
}
.gw-btn:active {
  transform: translateY(1px);
}

.gw-btn-primary {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
  box-shadow: var(--shadow-sm);
}
.gw-btn-primary:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: var(--white);
  box-shadow: var(--shadow-brand);
}

.gw-btn-wa {
  background: var(--wa-green);
  color: var(--white);
  border-color: var(--wa-green);
  box-shadow: var(--shadow-wa);
}
.gw-btn-wa:hover {
  background: var(--wa-green-hover);
  border-color: var(--wa-green-hover);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

.gw-btn-accent {
  background: var(--accent-800);
  color: var(--white);
  border-color: var(--accent-800);
}
.gw-btn-accent:hover {
  background: var(--accent-900);
  border-color: var(--accent-900);
  color: var(--white);
}

.gw-btn-secondary {
  background: var(--white);
  color: var(--ink-800);
  border-color: var(--ink-300);
  box-shadow: var(--shadow-xs);
}
.gw-btn-secondary:hover {
  background: var(--ink-50);
  border-color: var(--ink-400);
  color: var(--ink-900);
}

.gw-btn-ghost-white {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.gw-btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.gw-btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
}
.gw-btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
}

/* Eyebrows & Badges */
.gw-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: var(--size-label);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  line-height: 1.2;
}
.gw-badge-brand {
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-200);
}
.gw-badge-white {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.gw-badge-accent {
  background: var(--ink-100);
  color: var(--accent-800);
  border: 1px solid var(--ink-200);
}
.gw-badge-positive {
  background: var(--positive-50);
  color: var(--positive-600);
  border: 1px solid rgba(13, 150, 104, 0.25);
}

/* ==========================================================================
   Section Rhythm & Surfaces
   ========================================================================== */
.gw-section {
  padding: var(--section-y) 0;
  position: relative;
}
.gw-section-sm {
  padding: var(--section-y-sm) 0;
}
.gw-surface-white {
  background-color: var(--white);
}
.gw-surface-tint {
  background-color: var(--surface-tint);
  border-top: 1px solid var(--line-hairline);
  border-bottom: 1px solid var(--line-hairline);
}
.gw-surface-brand {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 100%);
  color: var(--white);
}
.gw-surface-brand h1, .gw-surface-brand h2, .gw-surface-brand h3, .gw-surface-brand p {
  color: var(--white);
}
.gw-surface-accent {
  background-color: var(--accent-900);
  color: var(--white);
}

.gw-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
}
.gw-section-header.text-left {
  text-align: left;
  margin-left: 0;
}
.gw-section-header h2 {
  margin-top: 0.65rem;
  margin-bottom: 0.85rem;
}
.gw-section-header p {
  color: var(--text-body);
  font-size: var(--size-body-lg);
  line-height: 1.55;
}

/* ==========================================================================
   Hero Section (Bold Blue Top Band)
   ========================================================================== */
.gw-hero {
  background: linear-gradient(140deg, #0050c8 0%, #0a7cff 60%, #0060df 100%);
  color: var(--white);
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.gw-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 960px) {
  .gw-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
.gw-hero h1 {
  color: var(--white);
  font-size: var(--size-display);
  letter-spacing: var(--track-display);
  line-height: var(--lh-display);
  margin: 1rem 0 1.25rem;
}
.gw-hero-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--size-body-lg);
  line-height: 1.55;
  margin-bottom: 1.75rem;
  max-width: 62ch;
}
.gw-proof-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  font-size: 0.9rem;
  font-weight: var(--weight-bold);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  padding: 0.65rem 1.1rem;
  background: rgba(0, 0, 0, 0.18);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}
.gw-proof-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.gw-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.gw-hero-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
}

/* Hero Quick Form Card */
.gw-hero-card {
  background: var(--white);
  color: var(--ink-900);
  border-radius: var(--radius-xl);
  padding: 2.2rem 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.gw-hero-card h3 {
  font-size: 1.35rem;
  color: var(--ink-900);
  margin-bottom: 0.35rem;
}
.gw-hero-card p {
  color: var(--ink-600);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Stat Band (4-Up Clean White Band)
   ========================================================================== */
.gw-stat-band {
  background: var(--white);
  border-bottom: 1px solid var(--line-hairline);
  padding: 2.5rem 0;
}
.gw-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .gw-stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
.gw-stat-item {
  text-align: center;
  padding: 0.5rem;
}
.gw-stat-num {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: var(--weight-black);
  color: var(--blue-700);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}
.gw-stat-label {
  font-size: 0.86rem;
  font-weight: var(--weight-bold);
  color: var(--ink-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.gw-stat-sub {
  font-size: 0.78rem;
  color: var(--ink-500);
  margin-top: 0.2rem;
}

/* ==========================================================================
   Cards & Grids (Cards Pad 24px, 16px Radius, Hairline Border + Soft Shadow)
   ========================================================================== */
.gw-card {
  background: var(--surface-card);
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-card);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.gw-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.gw-card-highlight {
  border-top: 3px solid var(--blue-600);
}
.gw-card-accent {
  border-top: 3px solid var(--accent-800);
}

/* Service Card */
.gw-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.gw-service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.gw-service-card > div:first-child {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.gw-pricing-price-box {
  min-height: 98px;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==========================================================================
   3-Cards Top Row + 2-Cards Bottom Row Grid Layout (SaaS Visual Hierarchy)
   ========================================================================== */
.gw-pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3.5rem;
  align-items: stretch;
}
.gw-pricing-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 820px;
  margin: 0 auto;
  align-items: stretch;
}
@media (max-width: 992px) {
  .gw-pricing-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .gw-pricing-grid-3,
  .gw-pricing-grid-2 {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}
.gw-service-header {
  margin-bottom: 1rem;
}
.gw-service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.gw-service-price {
  font-size: 1.15rem;
  font-weight: var(--weight-black);
  color: var(--blue-700);
  margin-top: 0.5rem;
}
.gw-service-list {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-700);
}
.gw-service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.gw-service-list li::before {
  content: "✓";
  color: var(--positive-600);
  font-weight: var(--weight-bold);
}

/* ==========================================================================
   Pricing Comparison Table
   ========================================================================== */
.gw-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  margin: 2rem 0;
}
.gw-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}
.gw-table th, .gw-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line-hairline);
}
.gw-table th {
  background: var(--ink-50);
  font-weight: var(--weight-black);
  color: var(--ink-900);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.gw-table tr:last-child td {
  border-bottom: none;
}
.gw-table .gw-col-us {
  background: rgba(10, 124, 255, 0.05);
  font-weight: var(--weight-bold);
  color: var(--blue-800);
}
.gw-table .gw-col-others {
  color: var(--ink-500);
}

/* ==========================================================================
   Modern SaaS High-Level Comparison Table (Matching Reference Spec)
   ========================================================================== */
.gw-cmp-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
  background: #FFFFFF;
  margin: 2.5rem 0 3.5rem;
}
.gw-cmp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  text-align: left;
}
.gw-cmp-th {
  padding: 1.25rem 1.4rem;
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  vertical-align: middle;
}
.gw-cmp-th-service {
  background: #0F172A;
  width: 32%;
}
.gw-cmp-th-others {
  background: #DC2626;
  width: 24%;
  text-align: center;
}
.gw-cmp-th-us {
  background: #0A7CFF;
  width: 25%;
  text-align: center;
  position: relative;
}
.gw-cmp-th-savings {
  background: #059669;
  width: 19%;
  text-align: center;
}
.gw-cmp-sub-th {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0;
  opacity: 0.9;
}
.gw-cmp-badge-top {
  display: inline-block;
  background: #10B981;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.gw-cmp-table tbody tr {
  border-bottom: 1px solid #E5E7EB;
  transition: background 0.15s ease;
}
.gw-cmp-table tbody tr:last-child {
  border-bottom: none;
}
.gw-cmp-table tbody tr:hover {
  background: #F8FAFC;
}
.gw-cmp-td-service {
  padding: 1.15rem 1.4rem;
  vertical-align: middle;
}
.gw-cmp-title {
  display: block;
  font-weight: 800;
  font-size: 0.96rem;
  color: #0F172A;
  margin-bottom: 2px;
}
.gw-cmp-sub {
  display: block;
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.4;
}
.gw-cmp-td-others {
  padding: 1.15rem 1.4rem;
  text-align: center;
  vertical-align: middle;
}
.gw-cmp-others-price {
  font-size: 0.98rem;
  font-weight: 700;
  color: #DC2626;
  display: block;
}
.gw-cmp-others-na {
  font-size: 0.9rem;
  font-weight: 600;
  color: #94A3B8;
  font-style: italic;
  display: block;
}
.gw-cmp-td-us {
  padding: 1.15rem 1.4rem;
  text-align: center;
  vertical-align: middle;
  background: #F0F7FF;
}
.gw-cmp-us-price {
  font-size: 1.05rem;
  font-weight: 900;
  color: #0052CC;
  display: block;
}
.gw-cmp-us-note {
  font-size: 0.76rem;
  color: #1E40AF;
  font-weight: 600;
  display: block;
  margin-top: 2px;
}
.gw-cmp-td-savings {
  padding: 1.15rem 1.4rem;
  text-align: center;
  vertical-align: middle;
}
.gw-cmp-pill-green {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.78rem;
  display: inline-block;
  white-space: nowrap;
}
.gw-cmp-pill-orange {
  background: #FFF7ED;
  color: #C2410C;
  border: 1px solid #FED7AA;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.78rem;
  display: inline-block;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Process Steps (1, 2, 3, 4)
   ========================================================================== */
.gw-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
@media (max-width: 900px) {
  .gw-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .gw-process-grid {
    grid-template-columns: 1fr;
  }
}
.gw-process-card {
  position: relative;
  padding: 1.75rem 1.5rem;
}
.gw-step-num {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--accent-800);
  color: var(--white);
  font-weight: var(--weight-black);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

/* ==========================================================================
   Reviews (10 Authenticated 5-Star Cards)
   ========================================================================== */
.gw-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.gw-review-card {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gw-review-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.gw-avatar-disc {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  font-size: 1.05rem;
  color: var(--white);
  flex-shrink: 0;
}
.gw-review-meta h4 {
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}
.gw-review-sub {
  font-size: 0.76rem;
  color: var(--ink-500);
}
.gw-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}
.gw-review-body {
  font-size: 0.88rem;
  color: var(--ink-700);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.gw-verified-pill {
  font-size: 0.72rem;
  font-weight: var(--weight-bold);
  color: #10b981;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ==========================================================================
   Accordion FAQ (Progressive Disclosure)
   ========================================================================== */
.gw-faq-stack {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.gw-faq-item {
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.gw-faq-item[open] {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-sm);
}
.gw-faq-summary {
  padding: 1.15rem 1.35rem;
  font-size: 1.02rem;
  font-weight: var(--weight-bold);
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}
.gw-faq-summary::-webkit-details-marker {
  display: none;
}
.gw-faq-icon {
  font-size: 1.25rem;
  color: var(--blue-600);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.gw-faq-item[open] .gw-faq-icon {
  transform: rotate(45deg);
}
.gw-faq-content {
  padding: 0 1.35rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-700);
  border-top: 1px solid var(--ink-100);
}

/* ==========================================================================
   Location & Map Section
   ========================================================================== */
.gw-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
@media (max-width: 880px) {
  .gw-location-grid {
    grid-template-columns: 1fr;
  }
}
.gw-map-frame {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-hairline);
  box-shadow: var(--shadow-sm);
}
.gw-location-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}
.gw-loc-point {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.gw-loc-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

/* ==========================================================================
   Closing CTA (Bold Blue Bracket) & Footer (Graphite)
   ========================================================================== */
.gw-cta-band {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 100%);
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
}
.gw-cta-band h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.85rem;
}
.gw-cta-band p {
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--size-body-lg);
  max-width: 60ch;
  margin: 0 auto 2rem;
}

.gw-footer {
  background: var(--accent-900);
  color: var(--ink-400);
  padding: 4rem 0 2rem;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.gw-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) {
  .gw-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 560px) {
  .gw-footer-grid {
    grid-template-columns: 1fr;
  }
}
.gw-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.1rem;
}
.gw-footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.gw-footer-links a {
  color: var(--ink-300);
  text-decoration: none;
}
.gw-footer-links a:hover {
  color: var(--white);
}
.gw-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

/* ==========================================================================
   Forms & Controls
   ========================================================================== */
.gw-form-group {
  margin-bottom: 1.1rem;
}
.gw-form-label {
  display: block;
  font-size: var(--size-label);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--track-label);
  color: var(--ink-700);
  margin-bottom: 0.4rem;
}
.gw-input, .gw-select, .gw-textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line-hairline);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink-900);
  font-size: 0.92rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}
.gw-input:focus, .gw-select:focus, .gw-textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(10, 124, 255, 0.15);
}
.gw-textarea {
  min-height: 90px;
  resize: vertical;
}

/* Mobile Sticky Bottom Action Bar */
.gw-mobile-bar {
  display: none;
}
@media (max-width: 768px) {
  .gw-mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-hairline);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    align-items: center;
    justify-content: space-around;
    padding: 0 1rem;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .gw-mobile-bar .gw-btn {
    flex: 1;
    max-width: 48%;
  }
}

/* ==========================================================================
   Running Motion Video-Like Gradient Text (Cinematic Glowing Aurora Effect)
   ========================================================================== */
@keyframes gwRunningMotionBg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gw-motion-highlight {
  background: linear-gradient(
    135deg,
    #00F2FE 0%,
    #4FACFE 20%,
    #7F00FF 40%,
    #E100FF 60%,
    #00F2FE 80%,
    #4FACFE 100%
  ) !important;
  background-size: 300% 300% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gwRunningMotionBg 5s ease-in-out infinite !important;
  display: inline !important;
  -webkit-box-decoration-break: clone !important;
  box-decoration-break: clone !important;
  font-weight: 900 !important;
  filter: drop-shadow(0 0 25px rgba(0, 242, 254, 0.45)) drop-shadow(0 0 40px rgba(127, 0, 255, 0.35)) !important;
  letter-spacing: -0.01em !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Architecture (< 992px, < 680px, < 380px)
   ========================================================================== */

/* Zero horizontal scrolling leakage guard */
html, body {
  max-width: 100vw;
  overflow-x: hidden !important;
}

@media (max-width: 992px) {
  .gw-header {
    padding: 0.65rem 0 !important;
  }
  .gw-header-inner {
    justify-content: space-between !important;
    gap: 0.75rem !important;
  }
  .gw-nav {
    display: none !important;
  }
  .gw-header-actions {
    display: none !important;
  }
  .gw-nav-toggle {
    display: inline-flex !important;
  }
}

@media (max-width: 680px) {
  /* Gutter & Base Container */
  .gw-container {
    padding-left: 14px !important;
    padding-right: 14px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Top Promo Strip */
  .gw-promo-strip {
    font-size: 0.74rem !important;
    padding: 0.45rem 0.65rem !important;
    line-height: 1.45 !important;
    gap: 0.35rem 0.65rem !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .gw-promo-strip span:nth-of-type(2),
  .gw-promo-strip span:nth-of-type(4) {
    display: none !important;
  }

  /* Header Brand */
  .gw-brand img {
    height: 36px !important;
    width: auto !important;
  }
  .gw-brand-name {
    font-size: 1.15rem !important;
  }
  .gw-brand-sub {
    display: none !important;
  }

  /* Hero Section */
  .gw-hero {
    padding: 2rem 0 2.25rem !important;
  }
  .gw-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .gw-hero-title,
  .gw-hero h1 {
    font-size: clamp(1.6rem, 5.2vw, 2.15rem) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.01em !important;
    margin: 0.65rem 0 0.95rem !important;
    word-break: break-word !important;
  }
  .gw-hero-lead {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.25rem !important;
  }

  /* Hero Proof Row */
  .gw-proof-row {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.75rem 0.85rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.45rem !important;
    font-size: 0.82rem !important;
    margin-bottom: 1.35rem !important;
  }
  .gw-proof-row .gw-sep-dot,
  .gw-proof-row > span:not(.gw-proof-item) {
    display: none !important;
  }
  .gw-proof-item {
    width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  /* Hero Actions */
  .gw-hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
    margin-bottom: 1.25rem !important;
  }
  .gw-hero-actions .gw-btn {
    width: 100% !important;
    justify-content: center !important;
    white-space: normal !important;
    text-align: center !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.92rem !important;
    box-sizing: border-box !important;
  }

  /* Hero Checklist Note */
  .gw-hero-note {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
    font-size: 0.78rem !important;
  }
  .gw-hero-note .gw-sep-dot {
    display: none !important;
  }

  /* Hero Quick Consultation Card */
  .gw-hero-card {
    padding: 1.5rem 1.15rem !important;
    border-radius: 16px !important;
  }
  .gw-hero-card h3 {
    font-size: 1.2rem !important;
  }
  .gw-hero-card p {
    font-size: 0.84rem !important;
    margin-bottom: 1.15rem !important;
  }

  /* Stat Band */
  .gw-stat-band {
    padding: 1.5rem 0 !important;
  }
  .gw-stat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem 0.75rem !important;
  }
  .gw-stat-num {
    font-size: 1.85rem !important;
  }
  .gw-stat-label {
    font-size: 0.76rem !important;
  }
  .gw-stat-sub {
    font-size: 0.68rem !important;
  }

  /* Showcase Headline Box (Midnight Black Box in Home) */
  .gw-showcase-box {
    padding: 1.75rem 1.1rem !important;
    border-radius: 18px !important;
    margin-bottom: 2rem !important;
  }
  .gw-showcase-title,
  .gw-showcase-box h2 {
    font-size: clamp(1.4rem, 4.5vw, 1.85rem) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 0.75rem !important;
  }
  .gw-showcase-box p {
    font-size: 0.86rem !important;
    line-height: 1.5 !important;
  }

  /* Pricing Cards Architecture */
  .gw-pricing-grid-3,
  .gw-pricing-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 1.35rem !important;
    margin-bottom: 2rem !important;
  }
  .gw-service-card {
    padding: 1.5rem 1.15rem 1.25rem !important;
    border-radius: 16px !important;
  }
  .gw-card-title {
    font-size: 1.2rem !important;
    min-height: auto !important;
  }
  .gw-card-sub {
    font-size: 0.84rem !important;
    min-height: auto !important;
    margin-bottom: 0.95rem !important;
  }
  .gw-pricing-price-box {
    min-height: auto !important;
    padding: 0.95rem 1rem !important;
    margin-bottom: 1.15rem !important;
  }

  /* Comparison Table Mobile Swiping */
  .gw-cmp-table-wrap {
    border-radius: 12px !important;
    margin: 1.5rem 0 2rem !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
  }
  .gw-cmp-table {
    min-width: 680px !important;
  }
  .gw-cmp-th,
  .gw-cmp-td-service,
  .gw-cmp-td-others,
  .gw-cmp-td-us,
  .gw-cmp-td-savings {
    padding: 0.85rem 0.95rem !important;
  }

  /* Review Cards */
  .gw-reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }
  .gw-review-card {
    padding: 1.25rem 1.1rem !important;
  }

  /* Sections Spacing */
  .gw-section {
    padding: 2.75rem 0 !important;
  }
  .gw-section-sm {
    padding: 1.85rem 0 !important;
  }
  .gw-section-header {
    margin-bottom: 2rem !important;
  }
  .gw-section-header h2 {
    font-size: 1.55rem !important;
  }

  /* Global CTA Band */
  .gw-cta-band {
    padding: 2.75rem 1.15rem !important;
    text-align: center !important;
  }
  .gw-cta-band h2 {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }
  .gw-cta-band p {
    font-size: 0.88rem !important;
    margin-bottom: 1.5rem !important;
  }
  .gw-cta-band .gw-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Footer */
  .gw-footer {
    padding: 3rem 0 calc(65px + 1.5rem) !important;
  }
  .gw-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Extra Compact Devices (iPhone SE, Galaxy Fold <= 380px) */
@media (max-width: 380px) {
  .gw-container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .gw-hero-title,
  .gw-hero h1 {
    font-size: 1.45rem !important;
  }
  .gw-showcase-title,
  .gw-showcase-box h2 {
    font-size: 1.3rem !important;
  }
  .gw-brand-name {
    font-size: 1.05rem !important;
  }
  .gw-btn {
    font-size: 0.86rem !important;
    padding: 0.65rem 0.85rem !important;
  }
}
