@import url('fonts/fonts.css');

/* ==============================================================================
   CriticalSys Network • Modern Glassmorphic Design System
   Vanilla CSS Architecture with Dynamic Mesh Gradients & Micro-interactions
   ============================================================================== */

:root {
  --bg-dark: #070a13;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.35);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #38bdf8;
  --accent-blue: #3b82f6;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, Menlo, monospace;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px -5px rgba(56, 189, 248, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility: Global Keyboard Focus Rings (WCAG 2.4.7) */
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* Ambient Background Mesh & Grid */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: pulse-glow 12s ease-in-out infinite alternate;
}

.glow-top-left {
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, rgba(59, 130, 246, 0.1) 70%, transparent 100%);
}

.glow-bottom-right {
  bottom: -150px;
  right: -150px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, rgba(99, 102, 241, 0.1) 70%, transparent 100%);
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

@keyframes pulse-glow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.35; }
  100% { transform: scale(1.15) translate(30px, 30px); opacity: 0.55; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(7, 10, 19, 0.75);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-symbol {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
}

.brand-symbol svg {
  width: 22px;
  height: 22px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-main);
}

.brand-accent {
  color: var(--accent-cyan);
}

.brand-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent-cyan);
}

.status-pill-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: #34d399;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.status-pill-link:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 15px rgba(52, 211, 153, 0.25);
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34d399;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 90px 24px 60px 24px;
  text-align: center;
}

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

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px auto;
  font-weight: 400;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-cta {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(56, 189, 248, 0.55);
}

.secondary-cta {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  backdrop-filter: blur(12px);
}

.secondary-cta:hover {
  background: rgba(51, 65, 85, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.cta-icon {
  width: 18px;
  height: 18px;
}

/* Telemetry Ticker Strip */
.telemetry-bar-section {
  position: relative;
  z-index: 1;
  padding: 0 24px 70px 24px;
}

.telemetry-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.telemetry-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.telemetry-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.metric-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.metric-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
}

.metric-hint {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.text-success { color: #34d399 !important; }
.text-cyan { color: var(--accent-cyan) !important; }
.text-indigo { color: #818cf8 !important; }
.font-mono { font-family: var(--font-mono); }

/* Services Section */
.services-section {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
}

.section-container {
  max-width: 1160px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px auto;
}

.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section-description {
  font-size: 16px;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.15);
}

.card-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon-box svg {
  width: 24px;
  height: 24px;
}

.cyan-box {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.purple-box {
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.blue-box {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.green-box {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.card-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 18px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.service-link:hover {
  gap: 10px;
  color: #7dd3fc;
}

.service-badge-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Architecture Section */
.architecture-section {
  position: relative;
  z-index: 1;
  padding: 40px 24px 100px 24px;
}

.arch-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.arch-header {
  margin-bottom: 36px;
}

.arch-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
}

.arch-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.spec-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.spec-bullet {
  color: var(--accent-cyan);
  font-size: 20px;
  line-height: 1;
}

.spec-item strong {
  display: block;
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 6px;
}

.spec-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-subtle);
  background: rgba(7, 10, 19, 0.95);
  padding: 48px 24px;
}

.footer-container {
  max-width: 1160px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-main);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}

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

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-cyan);
}

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

/* ==============================================================================
   Operations & Security Contact Gateway Styles
   ============================================================================== */
.contact-section {
  padding: 60px 0 100px;
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 32px;
  align-items: stretch;
}

.contact-info-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.info-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-bottom: 20px;
  align-self: flex-start;
}

.info-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.info-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.channel-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: auto;
}

.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon svg {
  width: 20px;
  height: 20px;
}

.cyan-icon {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.blue-icon {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.purple-icon {
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.channel-item strong {
  display: block;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 2px;
}

.channel-item p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.node-meta-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 32px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 4px 0;
}

.meta-label {
  color: var(--text-dim);
}

.meta-value {
  color: var(--text-muted);
  font-weight: 500;
}

/* Contact Form Card */
.contact-form-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: border-color 0.3s ease;
}

.contact-form-card:hover {
  border-color: rgba(56, 189, 248, 0.25);
}

.form-honeypot {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
  margin: 0;
  padding: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-label .req {
  color: var(--accent-cyan);
}

.label-with-counter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.label-with-counter .form-label {
  margin-bottom: 0;
}

.char-counter {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-dim);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  pointer-events: none;
  transition: color 0.2s ease;
}

.form-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background: rgba(8, 14, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: all 0.25s ease;
}

.form-input::placeholder {
  color: var(--text-dim);
  opacity: 0.7;
}

.form-input:focus {
  outline: none;
  background: rgba(15, 23, 42, 0.9);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px -2px rgba(56, 189, 248, 0.35);
}

.form-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--accent-cyan);
}

.form-input.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 12px -2px rgba(239, 68, 68, 0.4) !important;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-select option {
  background-color: #0f172a;
  color: #f8fafc;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
  padding-top: 12px;
}

.input-wrapper:has(.form-textarea) .input-icon {
  top: 14px;
}

.field-error {
  display: block;
  font-size: 11px;
  color: #f87171;
  margin-top: 4px;
  min-height: 16px;
  transition: opacity 0.2s ease;
}

.form-notice {
  margin-top: 10px;
  margin-bottom: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.08);
  color: #fca5a5;
  animation: fadeIn 0.2s ease;
}

.form-notice.warning {
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
  color: #fde68a;
}

.turnstile-box {
  margin-top: 12px;
  margin-bottom: 6px;
  display: flex;
  justify-content: center;
}

.form-actions {
  margin-top: 8px;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  color: #040914;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 20px -3px rgba(56, 189, 248, 0.4);
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 28px 0 rgba(56, 189, 248, 0.6);
  color: #000;
}

.submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.submit-btn:hover:not(:disabled) .btn-arrow {
  transform: translateX(3px) translateY(-1px);
}

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(4, 9, 20, 0.3);
  border-top-color: #040914;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn-spinner.active {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success Confirmation Panel */
.contact-success-panel {
  text-align: center;
  padding: 24px 12px;
  animation: fadeIn 0.4s ease-out;
}

.success-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--accent-emerald);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 30px -5px rgba(16, 185, 129, 0.4);
}

.success-icon-box svg {
  width: 32px;
  height: 32px;
}

.success-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.success-desc {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 440px;
  margin: 0 auto 24px;
}

.ticket-receipt {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  max-width: 420px;
  margin: 0 auto 28px;
  text-align: left;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.receipt-row:last-child {
  border-bottom: none;
}

.r-label {
  color: var(--text-dim);
}

.r-val {
  color: var(--text-main);
  font-weight: 500;
}

.status-green {
  color: var(--accent-emerald) !important;
  font-weight: 600;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.btn-secondary-receipt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-sm);
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-secondary-receipt:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px -3px rgba(56, 189, 248, 0.35);
}

.btn-secondary-receipt svg {
  width: 16px;
  height: 16px;
}

.btn-reset-form {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 12px;
  cursor: pointer;
  padding: 6px 12px;
  transition: color 0.2s ease;
}

.btn-reset-form:hover {
  color: var(--text-muted);
  text-decoration: underline;
}

/* Privacy Link Style */
.privacy-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 14px;
  margin-top: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.privacy-contact-link:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Navigation Toggle (Desktop: hidden) */
.mobile-nav-toggle {
  display: none;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 50px;
  }
  .arch-card {
    padding: 28px;
  }
  .contact-info-card,
  .contact-form-card {
    padding: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Mobile Navigation Button */
  .mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 8px;
    transition: all 0.25s ease;
    z-index: 101;
  }
  .mobile-nav-toggle:hover {
    border-color: var(--accent-cyan);
    background: rgba(30, 41, 59, 0.9);
  }
  .hamburger-bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .mobile-nav-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-nav-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Mobile Dropdown Menu */
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 10, 19, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px 24px;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.25s ease forwards;
  }
  .main-navigation.nav-open {
    display: flex;
  }
  .main-navigation .nav-link {
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .main-navigation .status-pill-link {
    align-self: flex-start;
    margin-top: 6px;
    padding: 8px 16px;
    border-bottom: none;
  }
}

/* ==============================================================================
   Legal & Compliance Pages (Privacy Policy)
   ============================================================================== */
.legal-container {
  max-width: 820px;
  margin: 60px auto 100px auto;
  padding: 44px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.legal-container h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.legal-date {
  font-size: 13px;
  color: var(--accent-cyan);
  margin-bottom: 32px;
  display: block;
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.legal-section p, .legal-section ul {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-section ul {
  padding-left: 20px;
}

.back-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-cyan);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 24px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.back-nav:hover {
  text-decoration: underline;
  opacity: 0.85;
}


