/* =========================================================
   AcuGIS Landing Page
   ========================================================= */

:root {
  --primary: #1565C0;
  --accent: #1976D2;
  --primary-dark: #0D47A1;
  --bg: #F8FAFC;
  --bg-alt: #EEF3F9;
  --text: #1F2937;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 50px rgba(21, 101, 192, 0.14), 0 8px 20px rgba(15, 23, 42, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --header-height: 72px;
  --subnav-height: 48px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--subnav-height) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.container.narrow {
  width: min(720px, calc(100% - 48px));
}

/* Override Materialize defaults */
nav,
nav ul a,
.btn,
.btn-large,
input,
textarea,
label,
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
}

nav {
  background: transparent;
  box-shadow: none;
  height: auto;
  line-height: normal;
}

nav ul a {
  color: var(--text);
}

.btn,
.btn-large {
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0;
  border-radius: var(--radius-sm);
  box-shadow: none;
  height: auto;
  line-height: 1.25;
  padding: 0.85rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn-large:hover,
.btn:focus,
.btn-large:focus {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn .material-icons.left,
.btn-large .material-icons.left {
  margin-right: 0.45rem;
  margin-left: 0;
  font-size: 1.15rem;
  float: none;
  line-height: 1;
}

.btn .material-icons.right,
.btn-large .material-icons.right {
  margin-left: 0.45rem;
  margin-right: 0;
  font-size: 1.15rem;
  float: none;
  line-height: 1;
}

.btn-primary {
  background: var(--primary) !important;
  color: var(--white) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--accent) !important;
}

.btn-outline {
  background: var(--white) !important;
  color: var(--primary) !important;
  border: 1.5px solid var(--primary);
  box-shadow: none !important;
}

.btn-outline:hover,
.btn-outline:focus {
  background: rgba(21, 101, 192, 0.06) !important;
  border-color: var(--accent);
  color: var(--accent) !important;
}

.btn-block {
  width: 100%;
}

.btn-download {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 0.65rem 1.1rem !important;
  font-size: 0.9rem;
  white-space: nowrap;
}

.btn-download:hover {
  background: var(--accent) !important;
}

/* =========================================================
   Header / Navigation
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  overflow: visible;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.top-nav {
  height: var(--header-height);
}

.nav-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand-mark {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary) !important;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  padding: 0 !important;
}

.brand-mark:hover {
  color: var(--accent) !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.nav-links li {
  float: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.45rem 0.7rem !important;
  color: var(--text) !important;
  font-size: 0.925rem;
  font-weight: 500;
  border-radius: 6px;
  height: auto;
  line-height: 1.3;
}

.nav-links a:hover {
  background: rgba(21, 101, 192, 0.06);
  color: var(--primary) !important;
}

.nav-links .material-icons.tiny {
  font-size: 1.1rem;
  margin: 0;
}

.sidenav-trigger {
  margin-left: auto;
  color: var(--text) !important;
  display: flex;
  align-items: center;
}

.sidenav {
  width: 280px;
}

.sidenav-brand {
  padding: 1.25rem 1.5rem 0.5rem;
}

.sidenav-cta {
  padding: 1rem 1.25rem;
}

.sidenav-cta .btn {
  width: 100%;
}

.dropdown-content {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  min-width: 180px;
}

.dropdown-content li > a {
  color: var(--text);
  font-size: 0.9rem;
}

.dropdown-content li > a:hover {
  background: rgba(21, 101, 192, 0.06);
  color: var(--primary);
}

/* Sub Navigation */
.sub-nav {
  background: var(--primary);
  height: var(--subnav-height);
}

.sub-nav-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
}

.sub-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.sub-nav-item .material-icons {
  font-size: 1.15rem;
}

.sub-nav-item:hover,
.sub-nav-item.active {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.12);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(25, 118, 210, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(21, 101, 192, 0.06), transparent 50%),
    linear-gradient(180deg, #F0F6FC 0%, var(--bg) 100%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.7), transparent 40%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.35rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero-title-dark {
  display: block;
  color: var(--text);
}

.hero-title-blue {
  display: block;
  color: var(--primary);
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.hero-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.35;
  flex: 1 1 160px;
  min-width: 0;
}

.hero-bullets strong {
  color: var(--text);
  font-weight: 600;
}

.bullet-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(21, 101, 192, 0.12);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.bullet-icon .material-icons {
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.hero-window {
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(229, 231, 235, 0.9);
  transform-origin: center;
}

.hero-screenshot {
  width: 100%;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .hero-window {
    animation: none;
  }
}

/* =========================================================
   Sections
   ========================================================= */

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-title {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.25;
}

.section-subtitle {
  margin: 0 auto 2.5rem;
  text-align: center;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Features */
.features-section {
  background: var(--bg);
}

.features-section .section-title {
  margin-bottom: 2.75rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.15rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius);
  padding: 1.5rem 1.15rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(21, 101, 192, 0.2);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
}

.feature-icon .material-icons {
  font-size: 1.45rem;
}

.icon-blue { background: #1565C0; }
.icon-green { background: #43A047; }
.icon-purple { background: #7E57C2; }
.icon-orange { background: #FB8C00; }
.icon-teal { background: #00897B; }
.icon-rose { background: #E53935; }

.feature-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Logo grids */
.logos-section {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.logos-section-alt {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.25rem 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-align: center;
  min-height: 112px;
}

.logos-section-alt .logo-item {
  background: var(--white);
}

.logo-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(21, 101, 192, 0.25);
}

.logo-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

/* Image + text showcases */
.showcase-section {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.showcase-section-alt {
  background: var(--bg);
}

.showcase-section .container {
  width: min(1320px, calc(100% - 48px));
}

.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.showcase-row--reverse {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.65fr);
}

.showcase-row--reverse .showcase-media {
  order: 2;
}

.showcase-row--reverse .showcase-copy {
  order: 1;
}

.showcase-frame {
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(229, 231, 235, 0.9);
}

.showcase-image {
  width: 100%;
  display: block;
}

.showcase-title {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.25;
  text-align: left;
}

.showcase-lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.showcase-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.showcase-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Product comparison */
.compare-section {
  background: linear-gradient(180deg, var(--bg) 0%, #E8F0FA 100%);
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.compare-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.compare-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.compare-header {
  margin-bottom: 1.5rem;
}

.compare-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 1rem;
}

.compare-icon .material-icons {
  font-size: 1.65rem;
}

.compare-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.compare-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.compare-features {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  flex: 1;
}

.compare-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.compare-features li:last-child {
  border-bottom: none;
}

.compare-features .material-icons {
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Pricing / Resources / Contact */
.pricing-section {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.pricing-product {
  margin-top: 2.75rem;
}

.pricing-product + .pricing-product {
  margin-top: 3.5rem;
  padding-top: 3.25rem;
  border-top: 1px solid var(--border);
}

.pricing-product-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.pricing-product-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pricing-product-desc {
  margin: 0 auto;
  max-width: 32rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
  align-items: stretch;
}

.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.price-card--featured {
  background: var(--white);
  border-color: rgba(21, 101, 192, 0.35);
  box-shadow: var(--shadow-md);
}

.price-card-top {
  margin-bottom: 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.price-plan {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  flex-wrap: wrap;
}

.price-value {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.4;
}

.price-features .material-icons {
  font-size: 1.15rem;
  color: var(--primary);
  margin-top: 1px;
  flex-shrink: 0;
}

.price-card .btn {
  margin-top: auto;
}

.pricing-footnote {
  margin: 2.75rem 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.resources-section {
  background: var(--bg);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.resource-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(21, 101, 192, 0.25);
  color: inherit;
}

.resource-card .material-icons {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.resource-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.resource-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-section {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.contact-form {
  margin-top: 1.5rem;
}

.contact-form .input-field input:focus + label,
.contact-form .input-field textarea:focus + label {
  color: var(--primary) !important;
}

.contact-form .input-field input:focus,
.contact-form .input-field textarea:focus {
  border-bottom: 1px solid var(--primary) !important;
  box-shadow: 0 1px 0 0 var(--primary) !important;
}

.contact-form .row {
  margin-bottom: 0;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: #0F172A;
  color: rgba(255, 255, 255, 0.72);
  padding: 3.5rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  margin: 0 0 1rem;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: 0.55rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white) !important;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* =========================================================
   Animations
   ========================================================= */

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Toast */
.toast-success {
  background: var(--primary) !important;
  font-weight: 500;
  border-radius: var(--radius-sm) !important;
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  .btn,
  .feature-card,
  .compare-card,
  .logo-item,
  .resource-card {
    transition: none;
  }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .showcase-row,
  .showcase-row--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .showcase-row--reverse .showcase-media,
  .showcase-row--reverse .showcase-copy {
    order: unset;
  }

  .showcase-title {
    text-align: center;
  }

  .showcase-lead {
    text-align: center;
  }

  .showcase-points {
    max-width: 28rem;
    margin: 0 auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-bullets {
    flex-direction: column;
    align-items: stretch;
    max-width: 28rem;
    margin: 0 auto;
  }

  .hero-bullets li {
    text-align: left;
    width: 100%;
    flex: none;
  }

  .hero-window {
    max-width: 720px;
    margin: 0 auto;
  }

  .compare-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .resources-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sub-nav-inner {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0.5rem;
  }

  .sub-nav-inner::-webkit-scrollbar {
    display: none;
  }

  .sub-nav-item {
    flex-shrink: 0;
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 64px;
    --subnav-height: 44px;
  }

  .container,
  .nav-inner,
  .sub-nav-inner,
  .container.narrow {
    width: calc(100% - 32px);
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .hero-actions .btn-large {
    width: 100%;
  }

  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section-subtitle {
    margin-bottom: 2rem;
  }
}
