/* ===================================================
   Ungrid.ai — Marketing Site Stylesheet
   =================================================== */

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

:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --navy-mid: #334155;
  --teal: #06b6d4;
  --teal-dark: #0891b2;
  --teal-light: #22d3ee;
  --teal-bg: rgba(6, 182, 212, 0.08);
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --amber-bg: rgba(245, 158, 11, 0.1);
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal); }

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

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  padding: 80px 0;
  background: var(--off-white);
}

.section-dark {
  padding: 80px 0;
  background: var(--navy);
  color: var(--gray-300);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-amber { color: var(--amber); }
.text-navy { color: var(--navy); }
.text-gray { color: var(--gray-500); }
.text-sm { font-size: 0.875rem; }

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-teal {
  background: var(--teal-bg);
  color: var(--teal-dark);
}

.badge-amber {
  background: var(--amber-bg);
  color: var(--amber);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.btn-secondary:hover {
  background: var(--teal-bg);
  color: var(--teal-dark);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--gray-100);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.0625rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8125rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo svg {
  height: 28px;
  width: 120px;
}

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

.nav-links a {
  position: relative;
  display: block;
  padding: 21px 0 20px;
  color: var(--gray-400);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 11px;
  left: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 9999px;
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity var(--transition), transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a.active {
  font-weight: 600;
}

.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-links a:focus-visible,
.nav-mobile-menu a:focus-visible {
  outline: 2px solid var(--teal-light);
  outline-offset: 4px;
}

.nav-cta {
  margin-left: 8px;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 24px;
}

.nav-mobile-menu.active {
  display: block;
}

.nav-mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--gray-400);
  font-size: 0.9375rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-mobile-menu a:hover {
  color: var(--white);
}

.nav-mobile-menu a.active {
  padding-left: 12px;
  color: var(--white);
  font-weight: 600;
  border-left: 2px solid var(--teal);
  background: var(--teal-bg);
}

.nav-mobile-menu .btn {
  width: 100%;
  margin-top: 12px;
  text-align: center;
}

/* --- Hero --- */
.hero {
  padding: 140px 0 100px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1875rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badge {
  margin-bottom: 20px;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: center;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-xl);
  background: rgba(15, 23, 42, 0.5);
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-visual-pill {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(34, 211, 238, 0.38);
  color: var(--gray-100);
  font-size: 0.75rem;
  font-weight: 600;
}

/* --- Section Headers --- */
.section-header {
  max-width: 580px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.feature-icon-teal {
  background: var(--teal-bg);
  color: var(--teal);
}

.feature-icon-amber {
  background: var(--amber-bg);
  color: var(--amber);
}

.feature-thumb {
  margin: 0 -8px 18px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.feature-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- IA / Internal Linking --- */
.ia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.ia-card {
  padding: 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.ia-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.ia-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
}

.ia-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ia-links li {
  margin-bottom: 10px;
}

.ia-links li:last-child {
  margin-bottom: 0;
}

.ia-links a {
  color: var(--teal-dark);
  font-weight: 500;
  font-size: 0.875rem;
}

/* --- Alert Examples --- */
.alerts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: start;
}

.alert-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

/* Telegram-style alert */
.alert-telegram {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.alert-telegram-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.alert-telegram-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
}

.alert-telegram-header span {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
}

.alert-telegram-body {
  padding: 20px;
}

.alert-telegram-bubble {
  background: rgba(6, 182, 212, 0.12);
  border-radius: 4px 16px 16px 16px;
  padding: 14px 18px;
  color: var(--gray-300);
  font-size: 0.875rem;
  line-height: 1.65;
}

.alert-telegram-bubble .alert-emoji {
  margin-right: 4px;
}

.alert-telegram-time {
  text-align: right;
  color: var(--gray-500);
  font-size: 0.75rem;
  margin-top: 8px;
  padding-right: 4px;
}

/* Email-style alert */
.alert-email {
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.alert-email-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.alert-email-subject {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.alert-email-from {
  color: var(--gray-500);
  font-size: 0.8125rem;
}

.alert-email-body {
  padding: 20px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--gray-600);
}

.alert-email-body h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.alert-email-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.alert-email-body li {
  padding: 4px 0;
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.alert-email-body li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 6px;
}

.alert-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.alert-label-telegram {
  background: rgba(6, 182, 212, 0.15);
  color: var(--teal-light);
}

.alert-label-email {
  background: var(--teal-bg);
  color: var(--teal-dark);
}

/* --- Systems --- */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.system-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  text-align: center;
  transition: all var(--transition);
}

.system-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
}

.system-card-logo {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.system-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.system-card .status {
  font-size: 0.75rem;
  font-weight: 600;
}

.status-live {
  color: #10b981;
}

.status-soon {
  color: var(--gray-400);
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
}

.pricing-card {
  padding: 40px;
  border-radius: var(--radius-xl);
  background: var(--white);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.pricing-card-standard {
  border: 2px solid var(--gray-200);
}

.pricing-card-pro {
  border: 2px solid var(--amber);
}

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 16px;
  border-radius: 9999px;
  white-space: nowrap;
}

.pricing-popular-standard {
  background: var(--teal);
  color: var(--white);
}

.pricing-popular-pro {
  background: var(--amber);
  color: var(--white);
}

.pricing-amounts {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 24px 0 8px;
  align-items: baseline;
}

.pricing-amount-option {
  text-align: center;
}

.pricing-amount-option .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.025em;
}

.pricing-amount-option .price-featured {
  font-size: 2.5rem;
}

.pricing-amount-option .period {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 400;
}

.pricing-amount-option .pricing-or {
  font-size: 0.8125rem;
  color: var(--gray-400);
  display: block;
  margin-bottom: 2px;
}

.pricing-badge-save {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-bg);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

.pricing-card-pro .pricing-badge-save {
  color: var(--amber);
  background: var(--amber-bg);
}

.pricing-includes {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin: 20px 0 4px;
  text-align: left;
}

.pricing-amount {
  margin: 24px 0;
}

.pricing-amount .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.025em;
}

.pricing-amount .period {
  font-size: 1rem;
  color: var(--gray-500);
  font-weight: 400;
}

.pricing-note {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 28px 0;
  padding: 0;
}

.pricing-features li {
  padding: 10px 0;
  font-size: 0.9375rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-check {
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-trial {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* --- Trust/Security --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.trust-item {
  text-align: center;
  padding: 24px;
}

.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.trust-icon-teal {
  background: var(--teal-bg);
}

.trust-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- FAQ --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gray-400);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item summary:hover {
  color: var(--teal-dark);
}

.faq-item .faq-answer {
  padding: 0 0 20px;
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 80px 0;
  background: var(--navy);
  text-align: center;
}

.cta-banner h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.cta-banner p {
  font-size: 1.0625rem;
  color: var(--gray-400);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo img {
  display: block;
  height: 30px;
  width: auto;
}

.footer-brand p {
  color: var(--gray-500);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--gray-500);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gray-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--gray-600);
  font-size: 0.8125rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--gray-600);
  font-size: 0.8125rem;
}

.footer-bottom-links a:hover {
  color: var(--gray-400);
}

/* --- Legal/Content Pages --- */
.page-header {
  padding: 120px 0 48px;
  background: var(--navy);
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.0625rem;
  color: var(--gray-400);
}

.page-content {
  padding: 56px 0 80px;
}

.page-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  font-size: 1.125rem;
  margin: 28px 0 12px;
}

.page-content p {
  margin-bottom: 16px;
}

.page-content ul, .page-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.page-content li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.page-content strong {
  color: var(--navy);
}

/* --- 404 --- */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: var(--navy);
}

.page-404 .code {
  font-size: 8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.page-404 h1 {
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 12px;
}

.page-404 p {
  color: var(--gray-400);
  margin-bottom: 32px;
  max-width: 420px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.75rem;
  }

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

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

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

  .nav-mobile-toggle {
    display: block;
  }

  .hero {
    padding: 120px 0 64px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1.0625rem;
  }

  .section, .section-alt, .section-dark {
    padding: 56px 0;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

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

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

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .pricing-card {
    padding: 28px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.875rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .container, .container-narrow {
    padding: 0 16px;
  }
}


@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

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