@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  
  --carrier-red: #dc2626;
  --carrier-bg: #fef2f2;
  --carrier-border: #fecaca;
  
  --shipper-amber: #d97706;
  --shipper-bg: #fffbeb;
  --shipper-border: #fde68a;
  
  --disputed-purple: #7c3aed;
  --disputed-bg: #f5f3ff;
  --disputed-border: #ddd6fe;
  
  --recovered-green: #059669;
  --recovered-bg: #ecfdf5;
  --recovered-border: #a7f3d0;
  
  --no-claim-gray: #475569;
  --no-claim-bg: #f1f5f9;
  --no-claim-border: #cbd5e1;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 4rem;
}

/* Header & Top Bar */
.top-header {
  background: #0f172a;
  color: #f8fafc;
  border-bottom: 1px solid #1e293b;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.top-bar-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Layer Navigation */
.layer-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
}

.nav-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: #ffffff;
  background: #0284c7;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.layer-badge-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

/* Container */
.container {
  max-width: 1380px;
  margin: 1.5rem auto;
  padding: 0 1.5rem;
}

/* Quick Metrics Ribbon */
.metrics-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-color, var(--primary));
}

.metric-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-value {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-top: 0.4rem;
  font-family: var(--font-mono);
}

.metric-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* View Mode Switcher */
.view-mode-bar {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.view-mode-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.view-mode-toggles {
  display: flex;
  gap: 0.5rem;
}

.toggle-btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.toggle-btn:hover {
  background: var(--bg-main);
}

.toggle-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* Layer Section Wrappers */
.layer-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.layer-section-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.layer-heading-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.layer-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  background: #0f172a;
  color: #ffffff;
}

.layer-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.layer-description {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.layer-body {
  padding: 1.5rem;
}

/* Tables */
.table-container {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

th {
  background: #f1f5f9;
  color: #475569;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-strong);
  white-space: nowrap;
}

td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
  vertical-align: middle;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: #f8fafc;
}

.mono-cell {
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.badge-carrier {
  background: var(--carrier-bg);
  color: var(--carrier-red);
  border: 1px solid var(--carrier-border);
}

.badge-shipper {
  background: var(--shipper-bg);
  color: var(--shipper-amber);
  border: 1px solid var(--shipper-border);
}

.badge-disputed {
  background: var(--disputed-bg);
  color: var(--disputed-purple);
  border: 1px solid var(--disputed-border);
}

.badge-recovered {
  background: var(--recovered-bg);
  color: var(--recovered-green);
  border: 1px solid var(--recovered-border);
}

.badge-no-claim {
  background: var(--no-claim-bg);
  color: var(--no-claim-gray);
  border: 1px solid var(--no-claim-border);
}

.risk-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  animation: pulse-risk 1.8s infinite;
}

@keyframes pulse-risk {
  0% { opacity: 0.85; }
  50% { opacity: 1; }
  100% { opacity: 0.85; }
}

/* Forms & Filters */
.filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  background: #f8fafc;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

input[type="text"],
input[type="number"],
input[type="file"],
select,
textarea {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.btn-primary:hover {
  background: #0369a1;
}

.btn-dark {
  background: #0f172a;
  color: #ffffff;
}

.btn-dark:hover {
  background: #1e293b;
}

.btn-outline {
  background: #ffffff;
  border-color: var(--border-strong);
  color: var(--text-main);
}

.btn-outline:hover {
  background: #f1f5f9;
}

.btn-danger {
  background: #ef4444;
  color: white;
}

.btn-danger:hover {
  background: #dc2626;
}

.btn-success {
  background: #10b981;
  color: white;
}

.btn-success:hover {
  background: #059669;
}

/* Dock-Clean Trap Alert Box */
.dock-trap-alert {
  background: linear-gradient(135deg, #fff1f2 0%, #fee2e2 100%);
  border: 1px solid #fecaca;
  border-left: 6px solid #e11d48;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.dock-trap-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffe4e6;
  color: #e11d48;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.dock-trap-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #9f1239;
  margin-bottom: 0.35rem;
}

.dock-trap-content p {
  font-size: 0.88rem;
  color: #881337;
  line-height: 1.45;
}

/* Shipment Inspector Layout */
.inspector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 960px) {
  .inspector-grid {
    grid-template-columns: 1fr;
  }
}

.meta-panel {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--border-subtle);
  font-size: 0.86rem;
}

.meta-row:last-child {
  border-bottom: none;
}

.meta-key {
  color: var(--text-muted);
  font-weight: 500;
}

.meta-val {
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
}

/* Excursion & Timeline Lists */
.chronology-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.chronology-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.chronology-item.excursion-item {
  border-left: 4px solid var(--carrier-red);
}

.chronology-item.gap-item {
  border-left: 4px solid var(--shipper-amber);
}

/* Ingestion Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

/* Footer / Statutory Notice */
.statutory-card {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.6;
}

.statutory-card h4 {
  color: #38bdf8;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Quick Jump Pill Links */
.quick-ship-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.quick-ref-pill {
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  transition: all 0.15s ease;
}

.quick-ref-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.quick-ref-pill.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

/* Header Right Actions & Auth Bar */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.nav-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-main);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-action-pill:hover {
  border-color: var(--primary);
  background: #f8fafc;
}

.support-pill {
  border-color: #bae6fd;
  background: #f0f9ff;
  color: #0369a1;
}

.support-pill:hover {
  border-color: #38bdf8;
  background: #e0f2fe;
}

.user-header-menu {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.user-info-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8fafc;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
}

.user-avatar-icon {
  font-size: 0.85rem;
  color: #0284c7;
}

.user-text-details {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.user-display-email {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f172a;
}

.user-display-sub {
  font-size: 0.68rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.logout-btn {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-color: #fee2e2;
  color: #b91c1c;
}

.logout-btn:hover {
  background: #fef2f2;
  border-color: #fca5a5;
}

.auth-buttons-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

/* Auth Cards & Forms */
.auth-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  padding: 2.25rem;
  position: relative;
}

.auth-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.brand-badge-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #e0f2fe;
  color: #0284c7;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.auth-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.auth-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.45;
  max-width: 440px;
  margin: 0 auto;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  background: #f1f5f9;
  padding: 0.3rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.auth-tab-btn {
  padding: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.auth-tab-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: var(--shadow-sm);
}

.auth-alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.auth-alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.auth-alert.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.auth-alert.info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

.required-star {
  color: #ef4444;
}

.field-hint {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 0.2rem;
}

.demo-quick-box {
  background: #f8fafc;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-top: 1.25rem;
}

.demo-quick-title {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.demo-quick-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #334155;
  margin-bottom: 0.5rem;
}

.auth-terms {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.4;
  margin-top: 0.75rem;
  text-align: center;
}

.auth-footer-help {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.support-mini-chip {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.support-email-link {
  color: #0284c7;
  text-decoration: none;
}

.support-email-link:hover {
  text-decoration: underline;
}

/* Pricing & Pro Membership Styles */
.pricing-hero {
  text-align: center;
  margin-bottom: 2.25rem;
}

.pricing-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.pricing-subtitle {
  font-size: 1rem;
  color: #64748b;
  max-width: 680px;
  margin: 0 auto 1.25rem auto;
  line-height: 1.5;
}

.billing-guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured-pro {
  border: 2px solid #0284c7;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.15);
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0284c7;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-header {
  margin-bottom: 1.25rem;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.plan-target {
  font-size: 0.82rem;
  color: #64748b;
  min-height: 2.2em;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 1rem 0 0.25rem 0;
}

.currency-symbol {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
}

.price-val {
  font-size: 2.5rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-cycle {
  font-size: 0.86rem;
  font-weight: 600;
  color: #64748b;
}

.price-note {
  font-size: 0.74rem;
  color: #64748b;
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.4;
}

.plan-features-list li span {
  font-weight: 800;
  color: #10b981;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.active-plan-badge {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #7dd3fc;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.7rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

/* Support Hero & Form Grid */
.support-hero-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.support-badge-chip {
  display: inline-block;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.support-hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.support-hero-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  max-width: 720px;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.support-contact-strip {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-pill-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-pill-icon {
  font-size: 1.2rem;
  color: #38bdf8;
}

.contact-pill-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 600;
}

.contact-pill-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.contact-pill-value:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.support-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.75rem;
}

@media (max-width: 840px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

.support-form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.card-title-bar {
  margin-bottom: 1.25rem;
}

.card-title-bar h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.card-title-bar p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

.sidebar-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.email-highlight-card {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-left: 4px solid #0284c7;
  border-radius: var(--radius-sm);
  padding: 0.85rem;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.65rem 0;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-q {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.faq-a {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.45;
}

.support-footer-banner {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Technology Innovations & Utility Showcase */
.technology-showcase-section {
  background: linear-gradient(135deg, #0b1329 0%, #0f172a 50%, #1e1b4b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 20px 40px -15px rgba(2, 6, 23, 0.7);
  position: relative;
  overflow: hidden;
}

.technology-showcase-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.showcase-header {
  margin-bottom: 2.25rem;
}

.showcase-badges {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tech-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.showcase-main-title {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 0.85rem;
  max-width: 960px;
}

.showcase-main-desc {
  font-size: 1.02rem;
  color: #cbd5e1;
  line-height: 1.65;
  max-width: 980px;
}

.innovations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (max-width: 980px) {
  .innovations-grid {
    grid-template-columns: 1fr;
  }
}

.innovation-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.innovation-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.4);
}

.innovation-card.highlight-glow {
  border-color: rgba(244, 63, 94, 0.45);
  background: linear-gradient(180deg, rgba(225, 29, 72, 0.12) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.innovation-icon-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.innovation-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.innovation-emoji {
  font-size: 1.4rem;
}

.innovation-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.innovation-desc {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.55;
  flex: 1;
}

.innovation-footer-pill {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.showcase-flow-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.flow-step {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.flow-step-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.06em;
}

.flow-step-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
}

.flow-step.active-step .flow-step-num {
  color: #10b981;
}

.flow-step.active-step .flow-step-text {
  color: #34d399;
  font-weight: 700;
}

.flow-arrow {
  color: #64748b;
  font-size: 1.1rem;
}

/* Paywall Lock Gate */
.paywall-lock-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px solid #f59e0b;
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.2);
}

.paywall-lock-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.paywall-lock-icon {
  font-size: 2.2rem;
  background: #fef3c7;
  border: 2px solid #f59e0b;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.paywall-lock-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.paywall-lock-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #78350f;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.paywall-lock-desc {
  font-size: 0.92rem;
  color: #92400e;
  line-height: 1.5;
  margin-bottom: 1.15rem;
  max-width: 880px;
}

.paywall-quick-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}


