/* ============================================
   HADOOTA — Brand Guidelines Stylesheet
   "Non-Stop Streaming. Non-Stop Storytelling."
   60% Black · 30% White · 10% Red
   ============================================ */

:root {
  --black: #111111;
  --black-deep: #0a0a0a;
  --black-card: #1a1a1a;
  --black-elevated: #202020;
  --white: #FFFFFF;
  --red: #cf131a;
  --red-bright: #E63329;
  --red-dim: rgba(207, 19, 26, 0.15);
  --red-glow: rgba(230, 51, 41, 0.25);
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-red: rgba(207, 19, 26, 0.3);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 30px var(--red-glow);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-arabic: 'Tajawal', 'IBM Plex Sans Arabic', sans-serif;
  --font-display: 'Montserrat', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-cinematic: 0.5s cubic-bezier(0.45, 0, 0.55, 1);
  --max-width: 1200px;
  --nav-height: 70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--black-deep); }
::-webkit-scrollbar-thumb { background: var(--black-elevated); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--red-dim); }
::selection { background: var(--red); color: var(--white); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p { color: var(--text-secondary); }
a { color: var(--white); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-bright); }
ul, ol { color: var(--text-secondary); }
strong { color: var(--white); font-weight: 600; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--red-bright);
  margin-bottom: 12px;
  position: relative; padding-left: 24px;
}
.section-tag::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--red);
}

.divider-red {
  width: 60px; height: 3px;
  background: var(--red); border-radius: 2px;
  margin: 20px auto;
}

.play-mark-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--red); border-radius: 50%; flex-shrink: 0;
}
.play-mark-box::after {
  content: ''; width: 0; height: 0;
  border-style: solid; border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent var(--white);
  margin-left: 3px;
}

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex; align-items: center;
  transition: background var(--transition);
}
.nav.scrolled { background: rgba(17, 17, 17, 0.98); border-bottom-color: var(--border-default); }
.nav-container {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo .logo-play {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--red); border-radius: 4px;
}
.nav-logo .logo-play::after {
  content: ''; width: 0; height: 0;
  border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--white); margin-left: 2px;
}
.nav-logo .logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo .logo-arabic {
  font-family: var(--font-arabic); font-size: 1.3rem; font-weight: 700;
  color: var(--white); direction: rtl;
}
.nav-logo .logo-english {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.25em;
  text-transform: uppercase; margin-top: 2px;
}
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text-secondary); font-size: 0.85rem; font-weight: 600;
  position: relative; padding: 4px 0; letter-spacing: 0.02em;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--red);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0; transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  padding-top: var(--nav-height); background: var(--black);
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center top, var(--black-card) 0%, var(--black) 60%);
  z-index: -2;
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, var(--red-dim) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, var(--red-dim) 0%, transparent 50%);
  opacity: 0.6;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 0 24px; }
.hero-play {
  width: 80px; height: 80px; margin: 0 auto 32px;
  border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 40px var(--red-glow);
}
.hero-play::after {
  content: ''; width: 0; height: 0;
  border-style: solid; border-width: 16px 0 16px 28px;
  border-color: transparent transparent transparent var(--white); margin-left: 6px;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 40px var(--red-glow); }
  50% { transform: scale(1.05); box-shadow: 0 0 60px var(--red-glow); }
}
.hero-content h1 {
  font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 700;
  color: var(--white); margin-bottom: 16px; letter-spacing: -0.03em;
}
.hero-arabic {
  font-family: var(--font-arabic); font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; color: var(--white); direction: rtl;
  margin-bottom: 8px; display: block;
}
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.3rem); color: var(--red-bright);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 32px;
}
.hero-subtitle {
  font-size: 1.1rem; color: var(--text-secondary);
  max-width: 600px; margin: 0 auto 40px;
}

.page-hero {
  padding: calc(var(--nav-height) + 80px) 0 60px;
  text-align: center; position: relative; overflow: hidden; background: var(--black);
}
.page-hero .hero-bg { border-radius: 0; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--white); margin-bottom: 16px; }
.page-hero .subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: var(--radius-sm); cursor: pointer; border: none;
  transition: all var(--transition); text-decoration: none;
}
.btn-primary {
  background: var(--red); color: var(--white);
  box-shadow: 0 4px 20px var(--red-glow);
}
.btn-primary:hover {
  background: var(--red-bright); transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--red-glow); color: var(--white);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid var(--border-default);
}
.btn-outline:hover {
  border-color: var(--white); background: rgba(255, 255, 255, 0.05); color: var(--white);
}

/* Cards */
.card {
  background: var(--black-card); border: 1px solid var(--border-default);
  border-radius: var(--radius); padding: 32px;
  transition: all var(--transition); position: relative;
}
.card-red-left { border-left: 3px solid var(--red); }
.card-hover:hover { transform: translateY(-4px); border-color: var(--border-red); box-shadow: var(--shadow-hover); }

.feature-card {
  background: var(--black-card); border: 1px solid var(--border-default);
  border-radius: var(--radius-lg); padding: 40px 32px; text-align: center;
  transition: all var(--transition-cinematic);
  display: flex; flex-direction: column; align-items: center; height: 100%;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition-cinematic);
}
.feature-card:hover { transform: translateY(-8px); border-color: var(--border-red); box-shadow: var(--shadow-hover); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card .play-icon {
  margin-bottom: 20px; display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%; background: var(--red);
}
.feature-card .play-icon::after {
  content: ''; width: 0; height: 0;
  border-style: solid; border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--white); margin-left: 4px;
}
.feature-card h3 { margin-bottom: 12px; color: var(--white); }
.feature-card p { margin-bottom: 20px; flex-grow: 1; }
.feature-card .card-link {
  color: var(--red-bright); font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  display: inline-flex; align-items: center; gap: 6px;
}
.feature-card:hover .card-link { gap: 12px; color: var(--red-bright); }

/* Team Cards */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.team-card {
  background: var(--black-card); border: 1px solid var(--border-default);
  border-left: 3px solid var(--red); border-radius: var(--radius);
  padding: 36px 32px; transition: all var(--transition);
}
.team-card:hover { transform: translateY(-4px); border-left-width: 5px; box-shadow: var(--shadow-hover); }
.team-card .role-badge {
  display: inline-block; padding: 4px 14px;
  background: var(--red-dim); border: 1px solid var(--border-red);
  border-radius: 20px; font-size: 0.75rem; font-weight: 700;
  color: var(--red-bright); text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.team-card h3 { margin-bottom: 4px; color: var(--white); }
.team-card .department { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.team-card .bio { margin-bottom: 20px; }
.team-card .owns-label, .team-card .supports-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); margin-bottom: 4px; }
.team-card .owns, .team-card .supports { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 16px; }
.team-card .supports { color: var(--text-muted); }

/* Framework / Diagram */
.framework-box { background: var(--black-card); border: 1px solid var(--border-default); border-radius: var(--radius); padding: 24px; position: relative; }
.flow-container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: stretch; padding: 20px 0; }
.flow-step {
  background: var(--black-elevated); border: 1px solid var(--border-default);
  border-radius: var(--radius); padding: 20px;
  min-width: 200px; max-width: 280px; flex: 1; position: relative;
  transition: all var(--transition);
}
.flow-step:hover { border-color: var(--red); transform: translateY(-2px); }
.flow-step .step-num {
  position: absolute; top: -12px; left: 20px;
  width: 28px; height: 28px; background: var(--black);
  border: 2px solid var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--white);
}
.flow-arrow { display: flex; align-items: center; color: var(--text-muted); font-size: 1.5rem; padding: 0 4px; }
.flow-step .step-title { font-weight: 600; color: var(--white); margin-bottom: 8px; font-size: 0.95rem; }
.flow-step .step-owner { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 0.7rem; font-weight: 600; margin-bottom: 8px; }
.flow-step .step-detail { font-size: 0.85rem; color: var(--text-secondary); }
.flow-step .step-duration { font-size: 0.8rem; color: var(--red-bright); font-weight: 600; margin-top: 8px; }

.owner-riham { background: rgba(255, 255, 255, 0.08); color: var(--white); }
.owner-sawaf { background: rgba(255, 255, 255, 0.05); color: var(--text-secondary); }
.owner-nabil { background: rgba(255, 255, 255, 0.05); color: var(--text-secondary); }
.owner-team { background: var(--red-dim); color: var(--red-bright); }

.border-riham { border-top: 3px solid rgba(255, 255, 255, 0.3); }
.border-sawaf { border-top: 3px solid rgba(255, 255, 255, 0.15); }
.border-nabil { border-top: 3px solid rgba(255, 255, 255, 0.15); }
.border-team { border-top: 3px solid var(--red); }

.collab-diagram { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 40px 20px; }
.collab-node {
  background: var(--black-elevated); border: 1px solid var(--border-default);
  border-radius: var(--radius); padding: 20px 32px; text-align: center;
  position: relative; transition: all var(--transition);
}
.collab-node:hover { transform: scale(1.03); border-color: var(--red); }
.collab-node h4 { color: var(--white); margin-bottom: 4px; }
.collab-node .node-role { font-size: 0.85rem; color: var(--text-muted); }
.collab-node .node-items { font-size: 0.8rem; color: var(--text-secondary); margin-top: 8px; }
.collab-connector { width: 2px; height: 32px; background: linear-gradient(180deg, var(--red), transparent); position: relative; }
.collab-connector::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent;
  border-top: 8px solid var(--red);
}
.collab-row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border-default); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th {
  background: var(--red); color: var(--white); font-weight: 700;
  text-align: left; padding: 16px 20px; border-bottom: none;
  white-space: nowrap; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.05em;
}
td { padding: 14px 20px; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); }
tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
tbody tr:hover { background: var(--red-dim); }
.role-badge-small { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 0.75rem; font-weight: 600; }

/* SLA Cards */
.sla-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.sla-card {
  background: var(--black-card); border: 1px solid var(--border-default);
  border-radius: var(--radius); padding: 28px; transition: all var(--transition);
}
.sla-card:hover { border-color: var(--border-red); }
.sla-card h4 {
  color: var(--white); margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border-default);
  text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.08em;
}
.sla-card .sla-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-subtle); font-size: 0.9rem; }
.sla-card .sla-item:last-child { border-bottom: none; }
.sla-card .sla-item .sla-label { color: var(--text-secondary); }
.sla-card .sla-item .sla-value { color: var(--white); font-weight: 600; }

/* Escalation */
.escalation-level {
  display: flex; align-items: center; gap: 16px;
  background: var(--black-card); border: 1px solid var(--border-default);
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 0;
  position: relative; transition: all var(--transition);
}
.escalation-level:hover { transform: translateX(4px); border-color: var(--border-red); }
.escalation-level .level-num {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem;
}
.escalation-level.l1 .level-num { background: rgba(255, 255, 255, 0.08); color: var(--white); border: 2px solid rgba(255, 255, 255, 0.2); }
.escalation-level.l2 .level-num { background: rgba(255, 255, 255, 0.05); color: var(--white); border: 2px solid rgba(255, 255, 255, 0.15); }
.escalation-level.l3 .level-num { background: var(--red-dim); color: var(--red-bright); border: 2px solid var(--red); }
.escalation-level.l1 { border-left: 3px solid rgba(255, 255, 255, 0.2); }
.escalation-level.l2 { border-left: 3px solid rgba(255, 255, 255, 0.15); }
.escalation-level.l3 { border-left: 3px solid var(--red); }
.escalation-level .level-info h4 { font-size: 1.1rem; margin-bottom: 4px; color: var(--white); }
.escalation-level .level-info p { font-size: 0.85rem; }
.escalation-arrow { text-align: center; padding: 8px 0; color: var(--text-muted); font-size: 1.2rem; }

/* Timeline */
.timeline { display: flex; overflow-x: auto; gap: 0; padding: 40px 0; position: relative; }
.timeline::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-default), transparent);
}
.timeline-item { flex-shrink: 0; min-width: 220px; padding: 0 16px; position: relative; text-align: center; }
.timeline-item .timeline-dot {
  width: 16px; height: 16px; background: var(--red);
  border: 3px solid var(--black); border-radius: 50%;
  margin: 0 auto 16px; position: relative; z-index: 1;
  box-shadow: 0 0 0 4px var(--red-dim);
}
.timeline-item .timeline-week { font-size: 0.75rem; font-weight: 700; color: var(--red-bright); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.timeline-item .timeline-title { font-weight: 600; color: var(--white); font-size: 0.95rem; margin-bottom: 4px; }
.timeline-item .timeline-detail { font-size: 0.85rem; color: var(--text-muted); }

/* Accordion */
.accordion-item {
  background: var(--black-card); border: 1px solid var(--border-default);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
  transition: all var(--transition);
}
.accordion-item:hover { border-color: var(--border-red); }
.accordion-item.active { border-color: var(--red); }
.accordion-header {
  padding: 20px 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; color: var(--white); user-select: none;
  transition: background var(--transition);
}
.accordion-header:hover { background: rgba(255, 255, 255, 0.03); }
.accordion-item.active .accordion-header { background: var(--red-dim); color: var(--white); }
.accordion-toggle {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--red-bright); transition: transform var(--transition);
}
.accordion-item.active .accordion-toggle { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.5s ease, padding 0.3s ease; }
.accordion-item.active .accordion-body { max-height: 3000px; padding: 0 24px 24px; }

/* Content Blocks */
.content-block {
  background: var(--black-card); border: 1px solid var(--border-default);
  border-radius: var(--radius); padding: 32px; margin-bottom: 24px;
}
.content-block h3 { color: var(--white); margin-bottom: 16px; }
.content-block h4 { color: var(--white); margin: 20px 0 10px; }
.content-block ul, .content-block ol { padding-left: 20px; }
.content-block li { margin-bottom: 8px; }

.callout {
  background: var(--red-dim); border-left: 3px solid var(--red);
  border-radius: var(--radius-sm); padding: 16px 24px; margin: 20px 0;
}
.callout p { color: var(--white); margin: 0; }
.callout .callout-label {
  font-weight: 700; color: var(--red-bright); font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px;
}

/* Phase Pipeline */
.phase-pipeline { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: stretch; padding: 30px 0; }
.phase-card {
  background: var(--black-elevated); border: 1px solid var(--border-default);
  border-radius: var(--radius); padding: 20px;
  min-width: 160px; max-width: 200px; flex: 1; text-align: center;
  position: relative; transition: all var(--transition);
}
.phase-card:hover { transform: translateY(-4px); border-color: var(--red); }
.phase-card .phase-number {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; margin: 0 auto 12px;
  background: var(--red-dim); color: var(--red-bright); border: 2px solid var(--red);
}
.phase-card .phase-name { font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; color: var(--white); }
.phase-card .phase-owner { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }
.phase-card .phase-duration { font-size: 0.75rem; color: var(--red-bright); font-weight: 600; }
.phase-arrow { display: flex; align-items: center; font-size: 1.5rem; color: var(--text-muted); }

/* Department Workflow */
.workflow-column {
  background: var(--black-card); border: 1px solid var(--border-default);
  border-radius: var(--radius); padding: 28px; height: 100%;
}
.workflow-column h4 { padding-bottom: 12px; margin-bottom: 20px; border-bottom: 2px solid var(--border-default); color: var(--white); }
.workflow-step { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; position: relative; }
.workflow-step:not(:last-child)::after {
  content: ''; position: absolute; left: 11px; top: 32px; bottom: -10px;
  width: 2px; background: var(--border-default);
}
.workflow-step .step-dot {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--red); background: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; color: var(--white);
  position: relative; z-index: 1;
}
.workflow-step .step-text { font-size: 0.9rem; color: var(--text-secondary); padding-top: 1px; }

/* Footer */
.footer {
  background: var(--black-deep); border-top: 1px solid var(--border-default);
  padding: 48px 0 32px; text-align: center;
}
.footer .footer-tagline {
  font-size: 1rem; font-weight: 600; color: var(--red-bright);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px;
}
.footer .footer-copy { font-size: 0.85rem; color: var(--text-muted); }
.footer .footer-nav { display: flex; gap: 24px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.footer .footer-nav a { font-size: 0.85rem; color: var(--text-secondary); }
.footer .footer-nav a:hover { color: var(--white); }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-fade-in { animation: fadeIn 1s ease; }
.animate-fade-up { animation: fadeUp 0.8s ease; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }
.delay-4 { animation-delay: 0.7s; }
.delay-5 { animation-delay: 0.9s; }

/* Questionnaire */
.progress-bar-container {
  position: sticky; top: var(--nav-height);
  background: rgba(17, 17, 17, 0.95); backdrop-filter: blur(10px);
  padding: 16px 0; z-index: 900; border-bottom: 1px solid var(--border-subtle);
}
.progress-bar { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.progress-bar .progress-track {
  width: 100%; height: 8px; background: var(--black-elevated);
  border-radius: 4px; overflow: hidden; position: relative;
}
.progress-bar .progress-fill {
  height: 100%; background: var(--red); border-radius: 4px; width: 0%;
  transition: width 0.5s ease; box-shadow: 0 0 10px var(--red-glow);
}
.progress-bar .progress-label {
  display: flex; justify-content: space-between;
  margin-top: 8px; font-size: 0.85rem; color: var(--text-secondary);
}
.progress-bar .progress-percent { color: var(--red-bright); font-weight: 600; }

.section-nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 20px 0; }
.section-nav .nav-pill {
  padding: 6px 18px; border-radius: 20px;
  font-size: 0.85rem; font-weight: 600;
  background: var(--black-elevated); border: 1px solid var(--border-default);
  color: var(--text-secondary); cursor: pointer; transition: all var(--transition);
}
.section-nav .nav-pill:hover { border-color: var(--red); color: var(--white); }
.section-nav .nav-pill.active {
  background: var(--red-dim); border-color: var(--red); color: var(--red-bright);
}

.q-section {
  background: var(--black-card); border: 1px solid var(--border-default);
  border-radius: var(--radius-lg); margin-bottom: 24px; overflow: hidden;
  transition: border-color var(--transition);
}
.q-section.active { border-color: var(--border-red); }
.q-section-header {
  padding: 28px 32px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--transition);
}
.q-section-header:hover { background: rgba(255, 255, 255, 0.02); }
.q-section-header .section-info { display: flex; align-items: center; gap: 16px; }
.q-section-header .section-letter {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red-dim); border: 2px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--white);
}
.q-section-header h3 { margin: 0; font-size: 1.3rem; }
.q-section-header .section-meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.q-section-toggle { font-size: 1.5rem; color: var(--red-bright); transition: transform var(--transition); }
.q-section.collapsed .q-section-toggle { transform: rotate(180deg); }
.q-section-body { padding: 0 32px 32px; }
.q-section.collapsed .q-section-body { display: none; }

.objective-callout {
  background: var(--red-dim); border-left: 3px solid var(--red);
  border-radius: var(--radius-sm); padding: 16px 20px;
  margin-bottom: 28px; margin-top: 8px;
}
.objective-callout .label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--red-bright); font-weight: 700; margin-bottom: 6px;
}
.objective-callout p { color: var(--white); margin: 0; font-size: 0.95rem; }

.question { padding: 20px 0; border-bottom: 1px solid var(--border-subtle); }
.question:last-child { border-bottom: none; }
.question-label {
  font-weight: 600; color: var(--white); margin-bottom: 10px;
  display: flex; align-items: flex-start; gap: 8px; font-size: 0.95rem;
}
.question-label .q-number { color: var(--red-bright); font-weight: 700; flex-shrink: 0; }
.question-label .required-mark { color: var(--red-bright); }

input[type="text"], input[type="email"], textarea, select {
  width: 100%; background: var(--black-elevated);
  border: 1px solid var(--border-default); border-radius: var(--radius-sm);
  padding: 12px 16px; color: var(--white);
  font-family: var(--font-body); font-size: 0.95rem; transition: all var(--transition);
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-dim);
}
textarea { resize: vertical; min-height: 80px; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23cf131a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}

.choice-group { display: flex; flex-direction: column; gap: 8px; }
.choice-group.horizontal { flex-direction: row; flex-wrap: wrap; gap: 12px; }
.choice {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  background: var(--black-elevated); border: 1px solid var(--border-default);
  border-radius: var(--radius-sm); cursor: pointer; transition: all var(--transition);
}
.choice:hover { border-color: var(--red); background: var(--red-dim); }
.choice input { accent-color: var(--red-bright); width: 18px; height: 18px; }
.choice span { font-size: 0.9rem; color: var(--text-secondary); }
.choice:has(input:checked) { border-color: var(--red); background: var(--red-dim); }
.choice:has(input:checked) span { color: var(--white); }

.section-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-subtle); }

.summary-section { background: var(--black-card); border: 1px solid var(--border-default); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 24px; }
.summary-section h4 { color: var(--white); margin-bottom: 16px; }
.summary-section .summary-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border-subtle); }
.summary-section .summary-item:last-child { border-bottom: none; }
.summary-section .summary-q { font-weight: 600; color: var(--white); min-width: 200px; font-size: 0.9rem; }
.summary-section .summary-a { color: var(--text-secondary); font-size: 0.9rem; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: rgba(17, 17, 17, 0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 24px; gap: 16px;
    transform: translateY(-100%); opacity: 0;
    transition: all var(--transition); pointer-events: none;
    border-bottom: 1px solid var(--border-default);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: block; }
  .team-grid { grid-template-columns: 1fr; }
  .sla-grid { grid-template-columns: 1fr; }
  .flow-container { flex-direction: column; align-items: center; }
  .flow-step { max-width: 100%; width: 100%; }
  .flow-arrow { transform: rotate(90deg); }
  .phase-pipeline { flex-direction: column; align-items: center; }
  .phase-arrow { transform: rotate(90deg); }
  .collab-row { flex-direction: column; }
  .timeline { flex-direction: column; overflow-x: visible; }
  .timeline::before { display: none; }
  .workflow-columns { grid-template-columns: 1fr !important; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .container { padding: 0 16px; }
  .card, .team-card, .content-block { padding: 24px 20px; }
  .feature-card { padding: 32px 20px; }
  .hero-content { padding: 0 16px; }
  .q-section-header { padding: 20px; }
  .q-section-body { padding: 0 20px 20px; }
  .summary-section { padding: 20px; }
  .summary-section .summary-item { flex-direction: column; gap: 4px; }
  .summary-section .summary-q { min-width: auto; }
}

/* Utility */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.flex-col { display: flex; flex-direction: column; gap: 16px; }
.hidden { display: none !important; }