/* ========================================
   NHẤT QUỶ NHÌ MA – Social Strategy Web
   Design System & Styles
   v2.0 — Light/Dark Alternating Palette
   ======================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  /* Colors – Proposal Palette */
  --bg-primary: #faf9f6;
  --bg-secondary: #f2f0eb;
  --bg-dark: #1a1a2e;
  --bg-darker: #0f0f1a;
  --bg-light: #faf9f6;
  --bg-card: rgba(18, 18, 30, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);

  --text-primary: #f0eef5;
  --text-secondary: #9993ab;
  --text-muted: #5e5873;
  --text-dark: #1a1a1a;
  --text-light: #f0eef5;

  --accent-red: #E63946;
  --accent-red-glow: rgba(230, 57, 70, 0.4);
  --accent-crimson: #8b0000;
  --accent-gold: #c9a84c;
  --accent-gold-dim: rgba(201, 168, 76, 0.3);
  --accent-purple: #6b3fa0;
  --accent-purple-glow: rgba(107, 63, 160, 0.3);
  --accent-teal: #1a535c;
  --accent-teal-light: #2dd4bf;
  --accent-blue: #3b82f6;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(230, 57, 70, 0.2);
  --border-light: #e5e5e5;

  /* Spacing */
  --section-padding: clamp(60px, 8vw, 120px);
  --container-max: 1200px;
  --card-radius: 16px;
  --card-radius-sm: 10px;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-medium: 0.4s var(--ease-out);
  --transition-slow: 0.8s var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-red);
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-red);
  border-radius: 3px;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

/* --- Section Light / Dark Variants --- */
.section.light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.section.dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent-red);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-light), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

/* --- Light Section Specific Overrides --- */
.section.light .section-title {
  background: linear-gradient(135deg, #1a1a1a, var(--accent-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section.light .section-label {
  color: var(--accent-red);
}

.section.light .section-label::before {
  background: var(--accent-red);
}

.section.light .section-desc {
  color: #555;
}

.section.light .stat-card .stat-value {
  color: var(--accent-red);
}

.section.light .stat-card .stat-label {
  color: #666;
}

.section.light .cast-card .cast-desc {
  color: #555;
}

.section.light .angle-card .angle-content h4 {
  color: #1a1a1a;
}

.section.light .angle-card .angle-content p {
  color: #555;
}

.section.light .crisis-card h4 {
  color: #1a1a1a;
}

.section.light .phase-detail-header h3 {
  color: #1a1a1a;
}

.section.light .angle-card .angle-content .angle-format {
  color: var(--accent-red);
}

.section.light .angle-card .angle-num {
  background: rgba(230, 57, 70, 0.08);
  color: var(--accent-red);
  border-color: rgba(230, 57, 70, 0.2);
}

/* --- Light Section Glass Card --- */
.section.light .glass-card {
  background: white;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.section.light .glass-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-red);
}

/* --- Animated Background --- */
.bg-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.bg-gradient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.bg-gradient-orb.red {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-red-glow), transparent 70%);
  top: -200px;
  right: -100px;
  animation: float-orb 20s ease-in-out infinite;
}

.bg-gradient-orb.purple {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-purple-glow), transparent 70%);
  bottom: 20%;
  left: -100px;
  animation: float-orb 25s ease-in-out infinite reverse;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition-medium), backdrop-filter var(--transition-medium);
}

.nav.scrolled {
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .ghost-icon {
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  position: relative;
  transition: color var(--transition-fast);
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-red);
  transition: width var(--transition-medium);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(to right, rgba(5, 5, 8, 0.92) 0%, rgba(5, 5, 8, 0.6) 100%), url('images/hero_banner.png') center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(230, 57, 70, 0.1);
  border: 1px solid rgba(230, 57, 70, 0.3);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-red);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-badge .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-red);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-red-glow); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 10px;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero-title .line-1 {
  display: block;
  background: linear-gradient(to right, var(--text-primary), #d4d0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .line-2 {
  display: block;
  background: linear-gradient(135deg, var(--accent-red), #ff4466, var(--accent-crimson));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
  animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--card-radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.hero-meta-item:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glow);
}

.hero-meta-item .icon {
  font-size: 1rem;
}

.hero-meta-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s var(--ease-out) 1.2s both;
}

.hero-scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-red), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

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

/* --- Glass Card (dark section default) --- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-medium);
}

.glass-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* --- Section Visual Images --- */
.section-visual {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin: 32px 0;
}

.section-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* --- Overview / Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
}

.stat-card .stat-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- Cast Section --- */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.cast-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.cast-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-purple));
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.cast-card:hover::before {
  opacity: 1;
}

.cast-card .role-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cast-card .role-badge.lead {
  background: rgba(230, 57, 70, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(230, 57, 70, 0.3);
}

.cast-card .role-badge.villain {
  background: rgba(107, 63, 160, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(107, 63, 160, 0.3);
}

.cast-card .role-badge.support {
  background: rgba(201, 168, 76, 0.1);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold-dim);
}

.cast-card .role-badge.ghost {
  background: rgba(45, 212, 191, 0.1);
  color: var(--accent-teal-light);
  border: 1px solid rgba(45, 212, 191, 0.3);
}

.cast-card .cast-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.cast-card .cast-role {
  font-size: 0.85rem;
  color: var(--accent-red);
  font-weight: 500;
  margin-bottom: 10px;
}

.cast-card .cast-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Dark section cast overrides */
.section.dark .cast-card .cast-name {
  color: var(--text-light);
}

/* --- Timeline Section --- */
.timeline-phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.phase-card {
  padding: 28px 24px;
  text-align: center;
  position: relative;
}

.phase-card .phase-number {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.phase-card .phase-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.phase-card .phase-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.phase-card .phase-period {
  font-size: 0.78rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.phase-card .phase-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.phase-card.phase-1 { border-top: 3px solid #6b3fa0; }
.phase-card.phase-2 { border-top: 3px solid var(--accent-red); }
.phase-card.phase-3 { border-top: 3px solid #f59e0b; }
.phase-card.phase-4 { border-top: 3px solid var(--accent-teal-light); }

/* --- Phase Detail Sections --- */
.phase-detail {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
}

.phase-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.phase-detail-header .phase-tag {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.phase-detail-header .phase-tag.p1 {
  background: rgba(107, 63, 160, 0.15);
  color: #a78bfa;
}
.phase-detail-header .phase-tag.p2 {
  background: rgba(230, 57, 70, 0.15);
  color: var(--accent-red);
}
.phase-detail-header .phase-tag.p3 {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}
.phase-detail-header .phase-tag.p4 {
  background: rgba(45, 212, 191, 0.15);
  color: var(--accent-teal-light);
}

.phase-detail-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}

.timeline-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 16px;
  overflow: hidden;
  border-radius: var(--card-radius);
  border: 1px solid var(--border-subtle);
}

.timeline-table thead th {
  background: rgba(18, 18, 30, 0.9);
  padding: 14px 18px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.timeline-table tbody td {
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.timeline-table tbody tr:last-child td {
  border-bottom: none;
}

.timeline-table tbody tr {
  transition: background var(--transition-fast);
}

.timeline-table tbody tr:hover {
  background: var(--bg-glass-hover);
}

.timeline-table tbody td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.timeline-table tbody td strong {
  color: var(--text-primary);
}

.platform-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  margin: 2px;
}

.platform-badge.fb {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
}

.platform-badge.tk {
  background: rgba(255, 255, 255, 0.06);
  color: #e0e0e0;
}

.platform-badge.th {
  background: rgba(107, 63, 160, 0.12);
  color: #a78bfa;
}

.platform-badge.yt {
  background: rgba(230, 57, 70, 0.12);
  color: #f87171;
}

/* --- Content Angles --- */
.angles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.angle-card {
  padding: 22px;
  display: flex;
  gap: 16px;
}

.angle-card .angle-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(230, 57, 70, 0.1);
  color: var(--accent-red);
  border: 1px solid rgba(230, 57, 70, 0.2);
}

.angle-card .angle-content h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.angle-card .angle-content .angle-format {
  font-size: 0.72rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 6px;
}

.angle-card .angle-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.angle-category {
  margin-top: 40px;
}

.angle-category-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.angle-category-title .cat-icon {
  font-size: 1.2rem;
}

/* --- Booking Table Section --- */
.booking-section .booking-intro {
  margin-bottom: 32px;
}

.booking-table-wrapper {
  overflow-x: auto;
  border-radius: var(--card-radius);
  border: 1px solid var(--border-subtle);
}

.booking-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.booking-table thead th {
  background: rgba(18, 18, 30, 0.95);
  padding: 14px 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
}

.booking-table tbody td {
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.booking-table tbody tr:last-child td {
  border-bottom: none;
}

.booking-table tbody tr {
  transition: background var(--transition-fast);
}

.booking-table tbody tr:hover {
  background: var(--bg-glass-hover);
}

.booking-table tbody td:nth-child(2) {
  font-weight: 600;
  color: var(--text-primary);
}

/* Booking table on light bg */
.section.light .booking-table-wrapper {
  border-color: var(--border-light);
}

.section.light .booking-table thead th {
  background: #f5f5f5;
  color: #666;
  border-bottom: 2px solid #e5e5e5;
}

.section.light .booking-table tbody td {
  color: #444;
  border-bottom: 1px solid #eee;
}

.section.light .booking-table tbody td:nth-child(2) {
  color: var(--text-dark);
}

.section.light .booking-table tbody tr:hover {
  background: rgba(230, 57, 70, 0.03);
}

.cost-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--accent-gold);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  width: 140px;
  transition: all var(--transition-fast);
  text-align: right;
}

.cost-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(201, 168, 76, 0.05);
  box-shadow: 0 0 0 3px var(--accent-gold-dim);
}

.cost-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

/* Cost input on light bg */
.section.light .cost-input {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid #ddd;
  color: #1a1a1a;
}

.section.light .cost-input:focus {
  border-color: var(--accent-red);
  background: white;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.booking-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.summary-card {
  text-align: center;
  padding: 24px 16px;
}

.summary-card .summary-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.summary-card .summary-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* --- Cost Visibility Toggle --- */
.cost-column {
  transition: all 0.3s ease;
}

.cost-column.hidden {
  opacity: 0;
  pointer-events: none;
  width: 0;
  max-width: 0;
  padding: 0 !important;
  overflow: hidden;
  font-size: 0;
  border: none;
}

/* --- Profit Cell --- */
.profit-cell {
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  text-align: right;
  padding-right: 16px;
}

/* --- Toggle Button --- */
.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  background: white;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: #555;
  transition: all 0.2s ease;
}

.toggle-btn:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.toggle-btn.active {
  background: var(--accent-red);
  color: white;
  border-color: var(--accent-red);
}

/* --- Save Button --- */
.save-btn {
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  background: var(--accent-red);
  color: white;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.save-btn:hover {
  background: #b71c32;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.save-btn.saved {
  background: #16a34a;
}

/* --- Editable Cells --- */
.editable-cell {
  background: transparent;
  border: 1px solid transparent;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: inherit;
  width: 80px;
  text-align: center;
  transition: all 0.2s ease;
}

.editable-cell:hover {
  border-color: #ddd;
  background: rgba(0, 0, 0, 0.02);
}

.editable-cell:focus {
  outline: none;
  border-color: var(--accent-red);
  background: white;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

/* --- KPI Section --- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.kpi-card {
  padding: 24px;
}

.kpi-card .kpi-phase {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.kpi-card .kpi-metric {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.kpi-card .kpi-target {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-teal-light);
  font-family: var(--font-display);
}

/* --- Press Booking --- */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.press-card {
  padding: 20px;
}

.press-card .press-type {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.press-card .press-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.press-card .press-content {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Press cards on dark bg */
.section.dark .press-card {
  border-color: rgba(255, 255, 255, 0.08);
}

.section.dark .press-card .press-content {
  color: var(--text-secondary);
}

/* --- Crisis Section --- */
.crisis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.crisis-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.crisis-card .crisis-risk {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.crisis-card .crisis-risk.high {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.crisis-card .crisis-risk.medium {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.crisis-card .crisis-risk.low {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.crisis-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.crisis-card .crisis-scenario {
  font-size: 0.85rem;
  margin-bottom: 12px;
  line-height: 1.6;
}

.crisis-card .crisis-response {
  font-size: 0.82rem;
  line-height: 1.6;
  padding: 12px;
  border-radius: 8px;
}

/* Crisis on light bg */
.section.light .crisis-card .crisis-response {
  background: #f8f8f8;
  color: #333;
}

.section.light .crisis-card .crisis-scenario {
  color: #555;
}

/* --- Budget Planning --- */
.budget-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.section.light .budget-row {
  background: white;
  border: 1px solid #e5e5e5;
}

.section.light .budget-row:hover {
  border-color: var(--accent-red);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.budget-row .budget-label {
  flex: 1;
  font-weight: 600;
  font-size: 0.9rem;
}

.budget-row .budget-input {
  width: 160px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-align: right;
  font-weight: 600;
}

.budget-row .budget-input:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

/* --- Actions Bar --- */
.actions-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* --- Extras / Proposals --- */
.extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.extra-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.extra-card .extra-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.extra-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.extra-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Contact / Footer --- */
.footer {
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-contacts {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.footer-contact-item {
  text-align: center;
}

.footer-contact-item .contact-role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #E63946;
  margin-bottom: 4px;
}

.footer-contact-item .contact-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.footer-contact-item .contact-info {
  font-size: 0.85rem;
  color: #555;
}

.footer-copyright {
  margin-top: 40px;
  font-size: 0.75rem;
  color: #888;
}

/* --- Scroll Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Tab System --- */
.tab-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  padding: 4px;
  background: var(--bg-glass);
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.tab-btn {
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
  color: var(--text-primary);
  background: var(--accent-red);
}

/* Tab system on light bg */
.section.light .tab-nav {
  background: rgba(0, 0, 0, 0.03);
  border-color: var(--border-light);
}

.section.light .tab-btn {
  color: #777;
}

.section.light .tab-btn:hover {
  color: var(--text-dark);
  background: rgba(0, 0, 0, 0.04);
}

.section.light .tab-btn.active {
  color: white;
  background: var(--accent-red);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeInUp 0.4s var(--ease-out);
}

/* --- Content Calendar --- */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.calendar-day {
  padding: 16px 12px;
  text-align: center;
  min-height: 120px;
}

.calendar-day .day-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.calendar-day .day-content {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.calendar-day .day-content strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

.calendar-day.highlight {
  border-color: var(--accent-red);
  background: rgba(230, 57, 70, 0.05);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .timeline-phases {
    grid-template-columns: repeat(2, 1fr);
  }
  .calendar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .crisis-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 8, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    backdrop-filter: blur(20px);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-mobile-toggle {
    display: block;
    z-index: 1001;
  }

  .timeline-phases {
    grid-template-columns: 1fr;
  }

  .cast-grid {
    grid-template-columns: 1fr;
  }

  .angles-grid {
    grid-template-columns: 1fr;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    flex-direction: column;
  }

  .footer-contacts {
    flex-direction: column;
    gap: 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .crisis-grid {
    grid-template-columns: 1fr;
  }

  .budget-row {
    flex-direction: column;
    align-items: stretch;
  }

  .budget-row .budget-input {
    width: 100%;
  }

  .actions-bar {
    flex-direction: column;
    align-items: stretch;
  }
}

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

/* --- Print Styles --- */
@media print {
  .nav, .bg-noise, .bg-gradient-orb, .hero-scroll-indicator {
    display: none !important;
  }
  body {
    background: white;
    color: #1a1a1a;
  }
  .section {
    page-break-inside: avoid;
  }
  .section.dark {
    background: #f5f5f5 !important;
    color: #1a1a1a !important;
  }
  .glass-card {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }
  .toggle-btn, .save-btn {
    display: none !important;
  }
}
