/* ==========================================================================
   IOSC Domain Leasing — High Contrast Light Theme CSS
   Service by IOSC Network (my.iosc.net)
   ========================================================================== */

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Modern High-Contrast Light Color Palette */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-input: #ffffff;
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --border-active: #2563eb;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  
  --brand-iosc: #0284c7;
  --brand-iosc-bg: #e0f2fe;
  
  --tier-premium-bg: #fefce8;
  --tier-premium-border: #fde047;
  --tier-premium-text: #854d0e;
  
  --tier-business-bg: #eff6ff;
  --tier-business-border: #93c5fd;
  --tier-business-text: #1e40af;
  
  --tier-standard-bg: #f8fafc;
  --tier-standard-border: #cbd5e1;
  --tier-standard-text: #334155;

  --success: #16a34a;
  --success-bg: #f0fdf4;
  --warning: #d97706;
  --danger: #dc2626;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 12px 28px -4px rgba(37, 99, 235, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
.gradient-text {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 50%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.iosc-sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--brand-iosc-bg);
  border: 1px solid #bae6fd;
  color: #0369a1;
  font-size: 0.8rem;
  font-weight: 700;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: #ffffff;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Header Navigation */
.site-header {
  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-color);
  padding: 0.85rem 0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.brand-logo svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.brand-tag {
  font-size: 0.75rem;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--text-muted);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.brand-tag a:hover {
  color: var(--primary);
}

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

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.925rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

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

.mobile-toggle {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 65px;
  left: 0;
  width: 100%;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 99;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mobile-nav-drawer.active {
  display: flex;
}

.mobile-nav-drawer a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.4rem 0;
}

.mobile-nav-drawer a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero-section {
  padding: 4rem 0 3.5rem;
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

/* Hero Search Bar */
.search-box-wrapper {
  background: var(--bg-surface);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  max-width: 760px;
  margin: 0 auto 2rem;
}

@media (min-width: 640px) {
  .search-box-wrapper {
    flex-direction: row;
    align-items: center;
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  }
}

.search-input-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.search-input-group svg {
  width: 22px;
  height: 22px;
  color: var(--text-light);
}

.search-input {
  width: 100%;
  background: transparent;
  padding: 0.75rem 0;
  font-size: 1.05rem;
  color: var(--text-main);
}

.search-input::placeholder {
  color: var(--text-light);
}

/* Trust Tickers */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-badge-item svg {
  color: var(--success);
  width: 18px;
  height: 18px;
}

/* Tier Overview Cards Bar */
.tiers-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .tiers-summary-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tier-summary-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
  transition: var(--transition);
}

.tier-summary-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  width: fit-content;
}

.tier-badge.premium {
  background: var(--tier-premium-bg);
  border: 1px solid var(--tier-premium-border);
  color: var(--tier-premium-text);
}

.tier-badge.business {
  background: var(--tier-business-bg);
  border: 1px solid var(--tier-business-border);
  color: var(--tier-business-text);
}

.tier-badge.standard {
  background: var(--tier-standard-bg);
  border: 1px solid var(--tier-standard-border);
  color: var(--tier-standard-text);
}

/* Domain Catalog Section */
.domain-catalog-section {
  padding: 4.5rem 0;
  background: var(--bg-main);
}

.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
  background: var(--bg-surface);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.tier-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-btn {
  background: var(--bg-subtle);
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
}

.pill-btn:hover, .pill-btn.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
}

.form-control {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.9rem;
  color: var(--text-main);
  transition: var(--transition);
  font-size: 0.9rem;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Domain Grid */
.domain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

@media (min-width: 1024px) {
  .domain-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.domain-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.domain-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-hover);
}

.domain-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

.domain-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  word-break: break-all;
}

.rating-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.rating-label {
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.25rem;
}

.pricing-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.annual-price-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 700;
}

.annual-price-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

.annual-price-unit {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Features Section */
.features-section {
  padding: 5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-card);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.feature-icon-wrapper svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 500;
}

.feature-list svg {
  color: var(--success);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Calculator Section */
.calculator-section {
  padding: 5rem 0;
  background: var(--bg-main);
}

.calculator-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  box-shadow: var(--shadow-card);
}

@media (min-width: 992px) {
  .calculator-card {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.calc-value-display {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 800;
}

.range-slider {
  width: 100%;
  height: 8px;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.4);
  cursor: pointer;
}

.term-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.term-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.term-btn.active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.calc-results-panel {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
}

.credit-accrual-box {
  background: var(--success-bg);
  border: 1px solid #bbf7d0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin: 1rem 0 1.5rem;
  color: #15803d;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Dashboard Demo Section */
.dashboard-section {
  padding: 5.5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.dashboard-container {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.dashboard-header {
  background: #ffffff;
  padding: 1.1rem 1.75rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-main);
}

.dashboard-body {
  padding: 1.75rem;
}

.domain-selector-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.domain-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.dns-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.dns-table-wrapper {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.dns-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.dns-table th {
  background: var(--bg-subtle);
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
}

.dns-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.type-badge {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.75rem;
}

.btn-icon-danger {
  color: var(--danger);
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.btn-icon-danger:hover {
  background: #fee2e2;
}

.dns-status-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
}

/* Contact / Inquiry Section */
.contact-section {
  padding: 5rem 0;
  background: var(--bg-main);
}

.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  width: 100%;
  max-width: 520px;
  position: relative;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

/* Notification Toast */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--success);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  z-index: 2000;
  transform: translateY(150%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.active {
  transform: translateY(0);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-col h4 {
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ==========================================================================
   Legal & Ownership Protection Framework Styles
   ========================================================================== */
.legal-framework-section {
  padding: 5.5rem 0;
  background: #f1f5f9;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.legal-demo-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-card);
}

.legal-hierarchy-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .legal-hierarchy-grid {
    flex-direction: row;
    align-items: stretch;
  }
}

.legal-node {
  flex: 1;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.parent-node {
  border-left: 4px solid var(--primary);
  background: #f8fafc;
}

.subdomain-node {
  border-left: 4px solid #0284c7;
  background: #f0f9ff;
}

.legal-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.provider-owned {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.customer-licensed {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.legal-node-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  word-break: break-all;
}

.legal-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem;
}

@media (min-width: 992px) {
  .legal-connector svg {
    transform: rotate(0deg);
  }
}

@media (max-width: 991px) {
  .legal-connector svg {
    transform: rotate(90deg);
  }
}

.legal-subdomain-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.subdomain-pill {
  background: #ffffff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.legal-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legal-bullet-list li strong {
  color: var(--text-main);
}

/* Legal Documents Container & Tabs */
.legal-docs-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.legal-tabs-header {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0.5rem 0;
  gap: 0.4rem;
  scrollbar-width: thin;
}

.legal-tabs-header::-webkit-scrollbar {
  height: 4px;
}

.legal-tabs-header::-webkit-scrollbar-thumb {
  background: var(--border-hover);
  border-radius: 4px;
}

.legal-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1.15rem;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  white-space: nowrap;
  transition: var(--transition);
  cursor: pointer !important;
  pointer-events: auto !important;
  user-select: none;
  outline: none;
}

.legal-tab-btn:hover, .legal-tab-btn:focus-visible {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.75);
}

.legal-tab-btn.active {
  background: var(--bg-surface) !important;
  color: var(--primary) !important;
  border-color: var(--border-color) !important;
  border-bottom-color: var(--bg-surface) !important;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}

.modal-tabs-bar {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.35rem;
  background: var(--bg-subtle);
}

.modal-tab-btn {
  font-size: 0.8rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
}

.modal-tab-btn.active {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.legal-tab-content {
  display: none;
  padding: 2.25rem;
}

.legal-tab-content.active {
  display: block;
}

.legal-doc-body {
  color: var(--text-main);
  line-height: 1.7;
}

.legal-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 1.5rem 0 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-doc-body p {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.legal-highlight-box {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  border-left: 5px solid #2563eb;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.06);
}
