@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Noto+Sans+Tamil:wght@300;400;500;600;700&display=swap');

:root {
  /* Color System */
  --tvk-maroon: #7c0a17;
  --tvk-maroon-light: #9e1423;
  --tvk-maroon-dark: #51040d;
  --tvk-yellow: #f8c301;
  --tvk-yellow-light: #ffda3b;
  --tvk-yellow-dark: #b89100;
  
  --bg-dark: #0f0f12;
  --bg-card: rgba(30, 30, 38, 0.75);
  --border-color: rgba(248, 195, 1, 0.2);
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1aa;
  
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --radius-lg: 16px;
  --radius-md: 10px;
  
  /* Font Families */
  --font-sans: 'Outfit', sans-serif;
  --font-tamil: 'Noto Sans Tamil', 'Outfit', sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(124, 10, 23, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(248, 195, 1, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 50px;
}

/* Header & Navigation */
header {
  padding: 20px 5%;
  background: rgba(15, 15, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-tvk-emblem {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--tvk-maroon), var(--tvk-maroon-dark));
  border: 2px solid var(--tvk-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(248, 195, 1, 0.3);
}

.logo-tvk-emblem svg {
  width: 32px;
  height: 32px;
}

.brand-text h1 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(120deg, #fff, var(--tvk-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Perfect Doc Logo Style */
.perfectdoc-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  font-weight: 500;
}

.perfectdoc-badge span {
  color: #3b82f6;
  font-weight: 700;
}

/* Mode Switch Toggle Button styling */
.mode-toggle-container {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mode-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mode-btn.active {
  background: linear-gradient(135deg, var(--tvk-maroon), var(--tvk-maroon-light));
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(124, 10, 23, 0.4);
}

.mode-btn.active.standard-mode {
  background: #475569;
  box-shadow: 0 4px 12px rgba(71, 85, 105, 0.4);
}

/* Main Container Layout */
.main-layout {
  display: grid;
  grid-template-columns: 360px 1fr 340px;
  gap: 24px;
  padding: 30px 5%;
  max-width: 1600px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}

/* Card General Styling */
.card-premium {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(248, 195, 1, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tvk-yellow);
}

/* Control Panel Inputs */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--tvk-yellow);
  box-shadow: 0 0 10px rgba(248, 195, 1, 0.2);
  background: rgba(0, 0, 0, 0.5);
}

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

.brand-alert-note {
  margin-top: 15px;
  padding: 12px;
  background: rgba(124, 10, 23, 0.15);
  border-left: 3px solid var(--tvk-maroon);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.brand-alert-note strong {
  color: var(--tvk-yellow);
}

/* Document Live Preview Column */
.document-preview-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 700px;
}

.doc-frame {
  width: 100%;
  max-width: 600px;
  background: #ffffff;
  color: #1f2937;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 40px;
}

/* Dynamic styling for branding modes */
.doc-frame.branding-tvk {
  border-top: 12px solid var(--tvk-maroon);
  border-bottom: 12px solid var(--tvk-maroon);
  background-image: 
    radial-gradient(circle at 0% 0%, rgba(248, 195, 1, 0.03) 0%, transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(124, 10, 23, 0.03) 0%, transparent 60%);
}

.doc-frame.branding-standard {
  border-top: 8px solid #64748b;
  border-bottom: 8px solid #64748b;
  background: #fafafa;
}

/* PDF Print styling overrides to prevent html2canvas drop-shadow/border-radius bugs */
.pdf-printing {
  box-shadow: none !important;
  border-radius: 0 !important;
  border-top: none !important;
  border-bottom: none !important;
  margin: 0 !important;
  padding: 30px !important;
}

/* Watermark */
.doc-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 8rem;
  color: rgba(248, 195, 1, 0.035);
  font-weight: 900;
  pointer-events: none;
  text-align: center;
  z-index: 1;
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.doc-watermark svg,
.doc-watermark img {
  width: 250px;
  height: 250px;
  opacity: 0.05;
}

.doc-content-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Official Document Header */
.doc-header {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  gap: 15px;
  align-items: center;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 20px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.branding-tvk .doc-header {
  border-bottom: 2px solid rgba(124, 10, 23, 0.15);
}

.doc-header-logo-left {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-header-title {
  text-align: center;
}

.doc-header-title h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1e3a8a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.branding-tvk .doc-header-title h2 {
  color: var(--tvk-maroon);
}

.doc-header-title p {
  font-size: 0.7rem;
  color: #4b5563;
  margin-top: 4px;
  font-weight: 600;
}

.branding-tvk .doc-header-title p {
  color: var(--tvk-maroon-dark);
}

.doc-header-leader {
  width: 70px;
  height: 85px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #d1d5db;
  position: relative;
  background: #f3f4f6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.branding-tvk .doc-header-leader {
  border: 1px solid var(--tvk-yellow-dark);
  background: linear-gradient(to bottom, #fff, rgba(248, 195, 1, 0.1));
}

.leader-photo-svg {
  width: 100%;
  height: 100%;
}

.leader-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(124, 10, 23, 0.85);
  color: #fff;
  font-size: 0.45rem;
  text-align: center;
  padding: 2px 0;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Document Meta Details */
.doc-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #4b5563;
  margin-bottom: 25px;
  font-weight: 500;
}

.doc-meta-id {
  font-family: monospace;
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 4px;
}

.branding-tvk .doc-meta-id {
  background: rgba(248, 195, 1, 0.1);
  color: var(--tvk-maroon-dark);
}

/* Document Body Content */
.doc-body {
  font-size: 0.85rem;
  color: #374151;
  margin-bottom: 30px;
  flex-grow: 1;
}

.doc-recipient {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 0.9rem;
}

.doc-recipient span {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 4px;
}

.doc-salutation {
  margin-bottom: 15px;
}

.doc-text-tamil {
  font-family: var(--font-tamil);
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 0.9rem;
}

.doc-text-english {
  margin-bottom: 20px;
  line-height: 1.5;
  color: #4b5563;
}

/* Quote/Highlight Box (for CM branding) */
.doc-leader-quote {
  margin: 20px 0;
  padding: 16px;
  background: rgba(248, 195, 1, 0.06);
  border-left: 4px solid var(--tvk-yellow);
  border-right: 4px solid var(--tvk-maroon);
  border-radius: 4px;
  font-style: italic;
  font-size: 0.8rem;
  color: #374151;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}

.doc-leader-quote-title {
  font-weight: 700;
  font-style: normal;
  color: var(--tvk-maroon);
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* Document Footer & Signatures */
.doc-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid #e5e7eb;
  padding-top: 20px;
  margin-top: auto;
}

.branding-tvk .doc-footer {
  border-top: 1px solid rgba(124, 10, 23, 0.15);
}

.doc-signature {
  text-align: center;
}

.signature-svg {
  width: 90px;
  height: 40px;
  margin-bottom: 4px;
}

.doc-signature p {
  font-size: 0.7rem;
  color: #4b5563;
  font-weight: 600;
}

.doc-signature strong {
  display: block;
  font-size: 0.75rem;
  color: #111827;
  font-weight: 700;
}

.doc-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.doc-qr svg {
  width: 60px;
  height: 60px;
}

.doc-qr span {
  font-size: 0.55rem;
  color: #9ca3af;
  font-family: monospace;
}

/* Omnichannel Delivery Column (Right Panel) */
.delivery-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Phone Mockup for WhatsApp Preview */
.phone-mockup {
  width: 100%;
  max-width: 320px;
  height: 520px;
  background: #111;
  border: 10px solid #222;
  border-radius: 36px;
  box-shadow: var(--shadow-premium);
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-screen {
  flex-grow: 1;
  background: #ece5dd; /* classic whatsapp background */
  background-image: radial-gradient(rgba(0, 0, 0, 0.04) 15%, transparent 15%), radial-gradient(rgba(0, 0, 0, 0.04) 15%, transparent 15%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 0; /* Prevents parent mockup height overflow */
}

.phone-header {
  background: #075e54;
  color: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-avatar {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.phone-contact-info {
  flex-grow: 1;
}

.phone-contact-name {
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.phone-contact-name svg {
  width: 12px;
  height: 12px;
  fill: #25d366; /* green tick */
}

.phone-contact-status {
  font-size: 0.65rem;
  color: #a5d6a7;
}

.phone-chat-area {
  flex-grow: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  overflow-y: auto;
  min-height: 0; /* Required to allow the flex container to shrink and scroll */
}

.phone-chat-area > .whatsapp-bubble:first-of-type {
  margin-top: auto; /* Push bubbles to the bottom, keeping scrollbar correct on overflow */
}

.whatsapp-bubble {
  background: #fff;
  border-radius: 8px 8px 8px 0;
  padding: 10px;
  max-width: 90%;
  font-size: 0.75rem;
  color: #303030;
  position: relative;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  align-self: flex-start;
}

.whatsapp-bubble.tvk-styled {
  border-left: 3px solid var(--tvk-maroon);
}

.whatsapp-pdf-attachment {
  margin-top: 8px;
  padding: 8px;
  background: #f0f0f0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e0e0e0;
}

.whatsapp-pdf-icon {
  color: #d32f2f;
  font-size: 1.2rem;
  font-weight: 800;
}

.whatsapp-pdf-details {
  flex-grow: 1;
  overflow: hidden;
}

.whatsapp-pdf-title {
  font-weight: 700;
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #333;
}

.whatsapp-pdf-size {
  font-size: 0.6rem;
  color: #777;
}

.whatsapp-time {
  text-align: right;
  font-size: 0.55rem;
  color: #999;
  margin-top: 4px;
}

/* WhatsApp Voice Note Bubble Styling */
.voice-note-container {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 210px;
  padding: 4px 0;
}

.voice-note-bubble {
  max-width: 95% !important;
  width: 245px;
}

.voice-note-play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.voice-note-play-btn:hover {
  transform: scale(1.05);
  background: #128c7e;
}

.voice-note-waveform-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.voice-note-progress {
  width: 100%;
  accent-color: #34b7f1;
  height: 3px;
  cursor: pointer;
}

.voice-note-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  color: #777;
}

.voice-note-mic-icon {
  font-size: 1.1rem;
  color: #34b7f1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-input-bar {
  background: #f0f0f0;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #999;
  border-top: 1px solid #e0e0e0;
}

.phone-input-placeholder {
  background: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  flex-grow: 1;
}

/* SMS Mockup styling */
.sms-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 15px;
}

.sms-header {
  font-size: 0.75rem;
  color: var(--tvk-yellow);
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.sms-body {
  font-size: 0.8rem;
  color: var(--text-primary);
  background: rgba(0,0,0,0.3);
  padding: 10px;
  border-radius: 6px;
  line-height: 1.4;
  border-left: 2px solid var(--tvk-yellow);
}

/* Brand Benefits Comparison Section */
.comparison-section {
  grid-column: 1 / -1;
  margin-top: 20px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

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

.comparison-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.comparison-box.bad {
  border-left: 4px solid #ef4444;
}

.comparison-box.good {
  border-left: 4px solid var(--tvk-yellow);
  background: linear-gradient(135deg, rgba(124, 10, 23, 0.05) 0%, rgba(248, 195, 1, 0.03) 100%);
}

.comparison-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comparison-box.bad h3 { color: #ef4444; }
.comparison-box.good h3 { color: var(--tvk-yellow); }

.comparison-list {
  list-style: none;
}

.comparison-list li {
  font-size: 0.9rem;
  margin-bottom: 12px;
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
}

.comparison-list li strong {
  color: var(--text-primary);
}

.comparison-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.comparison-box.bad .comparison-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  background-size: contain;
}

.comparison-box.good .comparison-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f8c301' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
}

/* Pitch Slide Deck Section */
.pitch-deck-section {
  grid-column: 1 / -1;
  margin-top: 40px;
}

.slide-deck {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.slide-header {
  background: linear-gradient(to right, var(--tvk-maroon), var(--tvk-maroon-dark));
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--tvk-yellow);
}

.slide-title-area h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.slide-title-area p {
  font-size: 0.75rem;
  color: var(--tvk-yellow);
  font-weight: 600;
}

.slide-counter {
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 30px;
  color: #fff;
}

.slide-content-area {
  flex-grow: 1;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slide {
  display: none;
  width: 100%;
  animation: fadeIn 0.4s ease-in-out forwards;
}

.slide.active {
  display: block;
}

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

.slide-layout-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .slide-layout-2col {
    grid-template-columns: 1fr;
  }
}

.slide-text h4 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--tvk-yellow);
  margin-bottom: 20px;
  line-height: 1.3;
}

.slide-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 24px;
}

.slide-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.slide-feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tvk-yellow);
  margin-top: 8px;
  flex-shrink: 0;
}

.feature-text strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.feature-text span {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Interactive elements in slides */
.slide-visual {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.6);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-box {
  text-align: center;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(248, 195, 1, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.stat-box:hover {
  border-color: var(--tvk-yellow);
  background: rgba(124, 10, 23, 0.05);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--tvk-yellow);
  line-height: 1.1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slide-controls {
  background: rgba(0, 0, 0, 0.4);
  padding: 16px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.slide-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.slide-btn:hover {
  background: var(--tvk-yellow);
  color: #000;
  border-color: var(--tvk-yellow);
}

.slide-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--tvk-yellow);
  transform: scale(1.3);
}

/* Call to Action Footer Section */
.pitch-footer {
  text-align: center;
  margin-top: 50px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(124, 10, 23, 0.2) 0%, rgba(248, 195, 1, 0.05) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.pitch-footer h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--tvk-yellow);
  margin-bottom: 12px;
}

.pitch-footer p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 24px;
}

.cta-button {
  display: inline-block;
  background: var(--tvk-yellow);
  color: #000;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(248, 195, 1, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-2px);
  background: var(--tvk-yellow-light);
  box-shadow: 0 12px 24px rgba(248, 195, 1, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

/* ==========================================================================
   TVK Digital Governance Pitch Landing Page Styles
   ========================================================================== */

/* Navigation Header */
.portal-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-brand h1 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 60%, var(--tvk-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-nav {
  display: flex;
  gap: 16px;
}

.tab-btn {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  color: #000;
  background: var(--tvk-yellow);
  border-color: var(--tvk-yellow);
  box-shadow: 0 4px 12px rgba(248, 195, 1, 0.25);
}

/* Tab Display Triggers */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

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

/* Pitch Landing Page Elements */
.pitch-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  box-sizing: border-box;
}

/* Hero Section */
.pitch-hero {
  text-align: center;
  padding: 60px 20px 80px;
  background: radial-gradient(circle at 50% 30%, rgba(124, 10, 23, 0.15) 0%, transparent 60%);
}

.pitch-badge {
  display: inline-block;
  background: rgba(248, 195, 1, 0.1);
  border: 1px solid var(--tvk-yellow);
  color: var(--tvk-yellow);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.pitch-hero h2 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 20px;
  background: linear-gradient(135deg, #ffffff 30%, #f3f4f6 60%, var(--tvk-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.pitch-hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.pitch-hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--tvk-maroon) 0%, #a21a28 100%);
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(124, 10, 23, 0.3);
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 10, 23, 0.5);
  background: linear-gradient(135deg, #96121f 0%, #b82231 100%);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Sections Structure */
.pitch-section {
  margin-bottom: 100px;
}

.pitch-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.pitch-section-header h3 {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin: 0 0 12px;
}

.pitch-section-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Utilities */
.pitch-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

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

/* Glassmorphism Cards */
.pitch-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pitch-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-premium);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.pitch-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin: 0 0 10px;
}

.pitch-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Problem Cards (Red Theme) */
.problem-card {
  border-left: 4px solid #ef4444;
}

.problem-card .card-icon {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
}

/* Solution Cards (Green Theme) */
.solution-card {
  border-left: 4px solid #10b981;
}

.solution-card .card-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
}

/* Impact Dashboard & Calculator */
.calc-card {
  background: linear-gradient(135deg, rgba(124, 10, 23, 0.1) 0%, rgba(10, 10, 15, 0.8) 100%);
  border: 1px solid rgba(124, 10, 23, 0.2);
  border-radius: 20px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 768px) {
  .calc-card {
    grid-template-columns: 1fr;
  }
}

.calc-selector-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-option-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 700;
  font-size: 0.85rem;
}

.calc-option-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.calc-option-btn.active {
  background: rgba(248, 195, 1, 0.08);
  border-color: var(--tvk-yellow);
  color: var(--tvk-yellow);
  box-shadow: 0 0 15px rgba(248, 195, 1, 0.05);
}

.calc-display-panel {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
}

.calc-scheme-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: white;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 14px;
}

.stat-label {
  font-size: 0.65rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
}

.stat-val.gold {
  color: var(--tvk-yellow);
}

.stat-val.green {
  color: #10b981;
}

.calc-saving-banner {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.72rem;
  color: #a7f3d0;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-action-row {
  display: flex;
  justify-content: flex-end;
}

.btn-simulate {
  background: var(--tvk-yellow);
  color: #000;
  font-weight: 800;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-simulate:hover {
  background: var(--tvk-yellow-light);
  transform: translateY(-1px);
}

/* Trust Showcase (Photo + Card layout) */
.trust-showcase {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .trust-showcase {
    grid-template-columns: 1fr;
  }
}

.trust-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 2px solid rgba(248, 195, 1, 0.15);
}

.trust-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.5s ease;
}

.trust-image-wrapper:hover img {
  transform: scale(1.03);
}

.trust-badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
}

.trust-content h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin: 0 0 16px;
}

.trust-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.trust-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.trust-bullet-icon {
  color: var(--tvk-yellow);
  font-size: 1rem;
  line-height: 1;
}

/* AI Integrity Section */
.ai-pipeline-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 36px;
}

.ai-pipeline-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 40px 0 20px;
}

@media (max-width: 768px) {
  .ai-pipeline-steps {
    flex-direction: column;
    gap: 30px;
  }
}

.ai-pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  width: 140px;
}

.ai-step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(248, 195, 1, 0.1);
  border: 2px solid var(--tvk-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--tvk-yellow);
  box-shadow: 0 0 15px rgba(248, 195, 1, 0.2);
}

.ai-pipeline-step.active .ai-step-circle {
  background: var(--tvk-yellow);
  color: #000;
  box-shadow: 0 0 25px rgba(248, 195, 1, 0.5);
}

.ai-step-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.ai-step-desc {
  font-size: 0.62rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.ai-pipeline-connector {
  position: absolute;
  top: 25px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: rgba(248, 195, 1, 0.25);
  z-index: 1;
}

@media (max-width: 768px) {
  .ai-pipeline-connector {
    display: none;
  }
}

/* Innovations Roadmap Presentation Console */
.innovations-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}

.innovations-option-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
  border-radius: 12px;
  color: var(--text-secondary);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.innovations-option-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: white;
  border-color: rgba(255,255,255,0.2);
}

.innovations-option-btn.active {
  background: rgba(248, 195, 1, 0.08);
  border-color: var(--tvk-yellow);
  color: var(--tvk-yellow);
  box-shadow: 0 0 15px rgba(248, 195, 1, 0.08);
  transform: translateY(-2px);
}

.innovations-option-btn .btn-icon {
  font-size: 1.35rem;
}

/* 5 Card Presentation Grid */
.roadmap-presentation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  perspective: 1000px;
}

.roadmap-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.roadmap-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-premium);
}

/* Phase Badges */
.stage-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.roadmap-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: white;
  margin: 0 0 12px;
}

.roadmap-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Color Coding for 5 Dimensions */
.card-problem {
  border-left: 4px solid #ef4444;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
}
.card-problem .stage-badge {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.card-impact {
  border-left: 4px solid #f97316;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
}
.card-impact .stage-badge {
  background: rgba(249, 115, 22, 0.12);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.card-challenges {
  border-left: 4px solid #3b82f6;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
}
.card-challenges .stage-badge {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.card-solution {
  border-left: 4px solid var(--tvk-yellow);
  background: linear-gradient(135deg, rgba(248, 195, 1, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
}
.card-solution .stage-badge {
  background: rgba(248, 195, 1, 0.12);
  color: var(--tvk-yellow);
  border: 1px solid rgba(248, 195, 1, 0.25);
}

.card-benefits {
  border-left: 4px solid #10b981;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
}
.card-benefits .stage-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* ==========================================================================
   AI Grievance Kiosk Simulator Styling
   ========================================================================== */
.kiosk-panel {
  border-top: 3px solid var(--tvk-yellow);
}

.kiosk-mic-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(248, 195, 1, 0.4) !important;
}

.kiosk-mic-btn:active {
  transform: scale(0.95);
}

@keyframes pulseWave {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.2;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@keyframes bounceWave {
  0% {
    height: 6px;
  }
  100% {
    height: 26px;
  }
}

.kiosk-document-frame {
  font-family: 'Inter', 'Noto Sans Tamil', sans-serif !important;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
}

.kiosk-document-frame table td {
  padding: 6px 4px;
}

.pulse-dot {
  animation: pulseDot 0.8s infinite alternate;
}

@keyframes pulseDot {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* ==========================================================================
   AI Grievance Kiosk Wizard Step Interface
   ========================================================================== */
.kiosk-step-container {
  display: none;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.kiosk-step-container.active-step {
  display: block;
}

.kiosk-welcome-card {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(35, 10, 15, 0.95) 100%);
  border: 1px solid rgba(248, 195, 1, 0.2);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
  max-width: 850px;
}

.kiosk-title-badge {
  background: rgba(248, 195, 1, 0.1);
  color: var(--tvk-yellow);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(248, 195, 1, 0.25);
  margin-bottom: 20px;
}

.kiosk-welcome-card h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin: 0 0 10px;
  background: linear-gradient(135deg, #ffffff 40%, var(--tvk-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.kiosk-welcome-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Category Grid Selection */
.kiosk-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 750px;
  margin: 0 auto 40px;
}

.kiosk-category-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.kiosk-category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: transparent;
  transition: all 0.3s ease;
}

.kiosk-category-card.selected-card::before {
  background: var(--tvk-yellow);
}

.kiosk-category-card.selected-card {
  background: rgba(248, 195, 1, 0.05);
  border-color: rgba(248, 195, 1, 0.4);
  box-shadow: 0 10px 20px rgba(248, 195, 1, 0.1);
  transform: translateY(-2px);
}

.kiosk-category-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.kiosk-category-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: white;
  margin: 0 0 6px;
}

.kiosk-category-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

/* Mic Section */
.kiosk-glow-mic-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: none;
  background: radial-gradient(circle, #7c0a17, #53000b);
  color: white;
  font-size: 2.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(124, 10, 23, 0.6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.kiosk-glow-mic-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(248, 195, 1, 0.5);
}

.kiosk-glow-mic-btn.recording {
  background: radial-gradient(circle, #ef4444, #b91c1c);
  animation: pulseMic 1.2s infinite alternate;
}

@keyframes pulseMic {
  0% { transform: scale(1); box-shadow: 0 0 20px rgba(239, 68, 68, 0.6); }
  100% { transform: scale(1.1); box-shadow: 0 0 40px rgba(239, 68, 68, 0.9); }
}

/* Voice command control info bar */
.kiosk-voice-command-bar {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 20px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: #a3a3a3;
  margin-top: 25px;
}

.kiosk-voice-command-bar span.mic-indicator {
  color: #10b981;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Step 2 Camera Simulator */
.kiosk-camera-preview {
  width: 100%;
  max-width: 440px;
  height: 280px;
  background: #111;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin: 0 auto 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.kiosk-camera-feed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: filter 0.3s ease;
}

.kiosk-camera-overlay {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 1px dashed rgba(248, 195, 1, 0.5);
  border-radius: 8px;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.kiosk-camera-overlay::before {
  content: 'PLACE ID CARD HERE / அடையாள அட்டையைக் காட்டவும்';
  font-size: 0.65rem;
  color: rgba(248, 195, 1, 0.8);
  font-weight: bold;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.kiosk-flash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.kiosk-flash.flash-active {
  animation: cameraFlash 0.4s ease-out;
}

@keyframes cameraFlash {
  0% { opacity: 0; }
  20% { opacity: 1; }
  100% { opacity: 0; }
}

/* Wizard Buttons */
.kiosk-nav-buttons {
  display: flex;
  justify-content: space-between;
  max-width: 850px;
  margin: 30px auto 0;
}

.kiosk-btn-prev {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.kiosk-btn-prev:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.kiosk-btn-next {
  background: linear-gradient(135deg, var(--tvk-yellow), #d9a300);
  color: #111;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kiosk-btn-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(248, 195, 1, 0.3);
}

.kiosk-btn-next:disabled {
  background: #4b5563;
  color: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Kiosk Review layout columns grid */
.kiosk-review-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
  padding: 0 20px;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .kiosk-review-layout {
    grid-template-columns: 1fr;
    max-width: 650px;
    gap: 24px;
  }
}

/* Perfect Doc Studio Orbit Node Styling */
.pds-orbit-node {
  background: rgba(25, 25, 30, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pds-orbit-node:hover {
  background: rgba(40, 40, 48, 0.95);
  border-color: rgba(248, 195, 1, 0.5);
  box-shadow: 0 0 15px rgba(248, 195, 1, 0.25);
  transform: scale(1.08);
}

.pds-orbit-node.active-node {
  background: rgba(124, 10, 23, 0.15);
  border-color: var(--tvk-yellow);
  box-shadow: 0 0 20px rgba(248, 195, 1, 0.4);
  transform: scale(1.1);
}

.pds-orbit-node.active-node div {
  color: var(--tvk-yellow) !important;
}

.pds-center-node:hover {
  transform: scale(1.03);
  box-shadow: 0 0 45px rgba(124, 10, 23, 0.95) !important;
}

/* AI Era layout columns grid - 25% Left / 75% Right */
.ai-era-layout {
  display: grid;
  grid-template-columns: 1.05fr 2.95fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
  padding: 0 20px;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .ai-era-layout {
    grid-template-columns: 1fr;
    max-width: 650px;
    gap: 20px;
  }
}

/* CMO Grievance Dashboard Badges & Table Styles */
.badge-sla-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #10b981;
  color: #34d399;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-block;
}

.badge-sla-warning {
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid #f97316;
  color: #fb923c;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-block;
}

.badge-sla-breached {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #f87171;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-block;
}

#cmoGrievancesTableBody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.2s ease;
}

#cmoGrievancesTableBody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Modal Overlay Styling */
.modal-overlay {
  transition: opacity 0.3s ease;
}

/* Media Intelligence Hub Severity Labels */
.crime-critical {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #f87171;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-block;
  text-transform: uppercase;
}

.crime-warning {
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid #f97316;
  color: #fb923c;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-block;
  text-transform: uppercase;
}

.appreciation-tag {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #34d399;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-block;
  text-transform: uppercase;
}

/* Pulsing match indicator */
@keyframes cmoPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.cmo-matched-badge {
  animation: cmoPulse 2s infinite ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid #3b82f6;
  color: #60a5fa;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
}
