/* ==========================================================================
   dAutomata™ — Enterprise Use Cases & Social Mobile Shared Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --brand-cyan: #00F0FF;
  --brand-cyan-dark: #00BAC7;
  --brand-blue: #3B82F6;
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;
  --accent-purple: #C084FC;

  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --bg-canvas: #07090E;
  --border-subtle: rgba(255, 255, 255, 0.08);
}

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

/* --------------------------------------------------------------------------
   DESKTOP USE CASE PAGES STYLING
   -------------------------------------------------------------------------- */
.usecase-page-wrap {
  padding-top: 5.5rem;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 10%, #0F172A 0%, #070B12 60%, #030508 100%);
  color: var(--text-primary);
}

.usecase-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 12px;
}

.usecase-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.usecase-breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.usecase-breadcrumbs a:hover {
  color: var(--brand-cyan);
}

.usecase-mode-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mode-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  background: rgba(0, 240, 255, 0.1);
  color: var(--brand-cyan);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.mode-switch-btn:hover {
  background: var(--brand-cyan);
  color: #070B12;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Hero Section */
.usecase-hero {
  padding: 2.5rem 0 3.5rem 0;
}

.usecase-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.usecase-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.usecase-latency-pill {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 600;
}

.usecase-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.usecase-hero-title .gradient-text {
  background: linear-gradient(135deg, #00F0FF 0%, #70A6FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.usecase-hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 860px;
  margin-bottom: 2rem;
}

.usecase-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Two-column media showcase */
.usecase-media-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 24px;
  margin-bottom: 3.5rem;
}

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

.usecase-video-card {
  background: #0B101D;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 240, 255, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.usecase-video-header {
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.usecase-video-title {
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-red {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 10px #EF4444;
}

.video-wrapper {
  position: relative;
  width: 100%;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-footer-bar {
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-simulator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00F0FF 0%, #0096a6 100%);
  color: #070B12;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-simulator:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

/* Quick Spec Side Card */
.usecase-spec-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spec-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.spec-metric-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px;
  border-radius: 12px;
}

.spec-metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
  font-family: var(--font-mono);
}

.spec-metric-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
}

.spec-metric-value.highlight-green {
  color: #34d399;
}

.spec-metric-value.highlight-cyan {
  color: #00F0FF;
}

.toolchain-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.toolchain-pill {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--text-secondary);
}

/* Flow Architecture Section */
.flow-diagram-section {
  margin-bottom: 3.5rem;
}

.flow-diagram-card {
  background: #0B101D;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.flow-diagram-header {
  padding: 16px 24px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.flow-diagram-img-wrap {
  padding: 16px;
  background: #04060A;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.flow-diagram-img {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

/* CEL Policy & Trace Split Grid */
.code-trace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 3.5rem;
}

@media (max-width: 860px) {
  .code-trace-grid {
    grid-template-columns: 1fr;
  }
}

.terminal-card {
  background: #060911;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.terminal-header {
  padding: 10px 16px;
  background: #0F172A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 18px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #E2E8F0;
  overflow-x: auto;
  flex: 1;
}

.trace-line {
  margin-bottom: 8px;
  font-size: 0.84rem;
  font-family: var(--font-mono);
  color: #94A3B8;
}

.trace-line .timestamp {
  color: #00F0FF;
  font-weight: 600;
}

.trace-line.success {
  color: #34d399;
}

/* Sequence Steps Card */
.sequence-steps-section {
  margin-bottom: 3.5rem;
}

.sequence-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-step-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
  border-radius: 14px;
}

.timeline-step-num {
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--brand-cyan);
  background: rgba(0, 240, 255, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timeline-step-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.timeline-step-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Cross Playbooks Navigator */
.playbooks-carousel-nav {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.playbooks-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.mini-playbook-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
}

.mini-playbook-card:hover {
  border-color: var(--brand-cyan);
  background: rgba(0, 240, 255, 0.05);
  transform: translateY(-2px);
}

.mini-playbook-card .title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 6px;
}

.mini-playbook-card .latency {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: #34d399;
}

/* --------------------------------------------------------------------------
   SUPER MOBILE FRIENDLY SOCIAL POST SPEC (MODELED AFTER FREEDOM.HTML)
   -------------------------------------------------------------------------- */
.mobile-social-page {
  background-color: #05070c;
  color: #F8FAFC;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 10px;
  font-family: var(--font-sans);
}

.mobile-social-page .app-container {
  width: 100%;
  max-width: 440px;
  background: #0B101D;
  border-radius: 36px;
  border: 1px solid rgba(0, 240, 255, 0.25);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.95), 0 0 45px rgba(0, 240, 255, 0.12);
  position: relative;
}

.mobile-social-page .app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 14px 20px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-social-page .brand-logo-img {
  height: 38px;
  width: auto;
  aspect-ratio: 415 / 80;
  max-width: 200px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
}

.mobile-social-page .desktop-badge-btn {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 4px 10px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-social-page .content-scroll-view {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-social-page .hero-headline {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  text-align: center;
}

.mobile-social-page .hero-headline .highlight-cyan {
  color: #00F0FF;
  background: linear-gradient(180deg, #67e8f9 0%, #00F0FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mobile-social-page .hero-subtitle {
  font-size: 13.5px;
  color: #94A3B8;
  line-height: 1.45;
  margin-bottom: 16px;
  text-align: center;
}

.mobile-social-page .btn-primary-gradient {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(135deg, #00F0FF 0%, #3B82F6 100%);
  color: #07090e;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 15px 24px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 8px 25px -4px rgba(0, 240, 255, 0.45), 0 0 12px rgba(0, 240, 255, 0.2);
  text-decoration: none;
  text-align: center;
  margin-bottom: 18px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-social-page .btn-primary-gradient:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  color: #050814;
  box-shadow: 0 12px 30px -4px rgba(0, 240, 255, 0.65), 0 0 18px rgba(0, 240, 255, 0.35);
}

.mobile-social-page .btn-primary-gradient:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(0, 240, 255, 0.3);
}

.mobile-social-page .video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 16px;
  border: 1.5px solid rgba(0, 240, 255, 0.3);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.15);
}

.mobile-social-page .video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mobile-social-page .pill-badge {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: #00F0FF;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.mobile-social-page .section-title {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 6px;
  text-align: center;
}

.mobile-social-page .section-subtitle {
  font-size: 12.5px;
  color: #94A3B8;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 14px;
}

.mobile-social-page .steps-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-social-page .step-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
  text-align: left;
  transition: all 0.25s ease;
}

.mobile-social-page .step-card:hover {
  border-color: rgba(0, 240, 255, 0.4);
  background: rgba(0, 240, 255, 0.04);
}

.mobile-social-page .step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.mobile-social-page .step-number {
  font-size: 24px;
  font-weight: 800;
  color: #00F0FF;
  line-height: 1;
  font-family: var(--font-mono);
}

.mobile-social-page .time-tag {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
}

.mobile-social-page .step-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.mobile-social-page .step-desc {
  font-size: 12.5px;
  color: #94A3B8;
  line-height: 1.45;
}

.mobile-social-page .trust-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-social-page .trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #E2E8F0;
  font-weight: 600;
}

.mobile-social-page .trust-item svg {
  width: 14px;
  height: 14px;
  color: #00F0FF;
  flex-shrink: 0;
}

.mobile-social-page .testimonial-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
  text-align: left;
}

.mobile-social-page .quote-text {
  font-size: 13px;
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 14px;
  font-style: italic;
}

.mobile-social-page .author-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-social-page .author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0F172A;
  border: 1.5px solid #00F0FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: #00F0FF;
}

.mobile-social-page .author-name {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
}

.mobile-social-page .author-role {
  font-size: 11px;
  color: #94A3B8;
}

.mobile-social-page .btn-cta-mobile {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(135deg, #00F0FF 0%, #3B82F6 100%);
  color: #07090e;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 16px 24px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 8px 25px -4px rgba(0, 240, 255, 0.45), 0 0 12px rgba(0, 240, 255, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-social-page .btn-cta-mobile:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  color: #050814;
  box-shadow: 0 12px 30px -4px rgba(0, 240, 255, 0.65), 0 0 18px rgba(0, 240, 255, 0.35);
}

.mobile-social-page .btn-cta-mobile:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(0, 240, 255, 0.3);
}

.mobile-social-page .footer-nav {
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #64748B;
  background: rgba(0, 0, 0, 0.4);
}

.mobile-social-page .footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.mobile-social-page .footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 11.5px;
  transition: color 0.2s ease;
}

.mobile-social-page .footer-links a:hover {
  color: #00F0FF;
}

/* ==========================================================================
   MODAL COMPONENT (SHARED ACROSS MOBILE SOCIAL & DESKTOP USE CASES)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

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

.modal-content {
  background: #0d1117;
  color: #F8FAFC;
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 20px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.85), 0 0 40px rgba(0, 240, 255, 0.15);
  position: relative;
  box-sizing: border-box;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94A3B8;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: scale(1.08);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  font-family: var(--font-mono, monospace);
}

.section-tag.amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.section-tag.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: #00F0FF;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.25);
}

.form-input option {
  background: #0f172a;
  color: #ffffff;
}

.btn-modal-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, #00F0FF 0%, #3B82F6 100%);
  color: #050508;
  font-weight: 700;
  padding: 14px;
  border-radius: 10px;
  border: none;
  font-size: 0.96rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0, 240, 255, 0.35);
}

.btn-modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.5);
}


.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94A3B8;
  transition: all 0.25s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.footer-social-link svg {
  width: 15px;
  height: 15px;
  display: block;
}

.footer-social-link:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: #00F0FF;
  color: #00F0FF;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 240, 255, 0.4);
}

.footer-social-link.fb:hover {
  background: rgba(24, 119, 242, 0.25);
  border-color: #1877F2;
  color: #1877F2;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}

.footer-social-link.ig:hover {
  background: rgba(225, 48, 108, 0.25);
  border-color: #E1306C;
  color: #E1306C;
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.45);
}


/* ==========================================================================
   CUSTOM SELECT DROPDOWN COMPONENT (RULE-POSTMORTEM-03)
   ========================================================================== */
.custom-select-container {
  position: relative;
  width: 100%;
  user-select: none;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-select-trigger:hover,
.custom-select-container.open .custom-select-trigger {
  border-color: #00F0FF;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.22);
}

.custom-select-arrow {
  font-size: 0.75rem;
  opacity: 0.75;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.custom-select-container.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #0f172a;
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.75);
  z-index: 10000;
  max-height: 240px;
  overflow-y: auto;
  display: none;
  padding: 6px;
}

.custom-select-container.open .custom-select-menu {
  display: block;
}

.custom-select-option {
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  color: #e2e8f0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.custom-select-option:hover,
.custom-select-option.selected {
  background: rgba(0, 240, 255, 0.16);
  color: #00F0FF;
  font-weight: 600;
}
