/* --- Global Reset & Fonts --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif; /* Clean font jaisa image me hai */
}

body {
  background-color: #f9fafb;
}

/* --- Navbar Container --- */
.navbar {
  display: flex;
  justify-content: space-between; /* Logo left, links right */
  align-items: center;
  padding: 1rem 3rem; /* Thoda spacing side se */
  background-color: #ffffff;
  border-bottom: 1px solid #eaeaea; /* Halki line niche */
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* --- Logo Styling --- */
.logo img {
  height: 32px; /* Logo ka size adjust karein */
  width: auto;
  display: block;
}

/* --- Navigation Links (Right Side) --- */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px; /* Items ke beech ka space */
}

.nav-links li a {
  text-decoration: none;
  color: #1f2937; /* Dark Grey Text */
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav-links li a:hover {
  color: #2563eb; /* Hover par blue color */
}

/* --- Buttons Styling --- */

/* Login Button (Outline) */
.btn-outline {
  border: 1px solid #d1d5db;
  padding: 8px 18px;
  border-radius: 6px;
  color: #1f2937;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  border-color: #1f2937;
  background-color: #f3f4f6;
}

/* Try Now Button (Blue Filled) */
.btn-primary {
  background-color: #2563eb; /* Royal Blue exact jaisa image me hai */
  color: #ffffff !important; /* Text white rahega */
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  background-color: #1d4ed8; /* Darker blue on hover */
}

/* --- Theme Toggle Button --- */
#themeToggle {
  background: none;
  border: 1px solid #e5e7eb;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.2s;
  margin-left: -10px; /* Thoda adjust karne ke liye */
}

#themeToggle:hover {
  background-color: #f3f4f6;
}

/* --- Responsive (Mobile) --- */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Mobile menu logic baad me add kar sakte hain */
  }
}
/* --- Logo Styling (Updated) --- */
.logo img {
  height: 80px;  /* Ab ye kaafi bada dikhna chahiye */
  width: auto;   /* Width apne aap adjust hogi */
  display: block;
  object-fit: contain; /* Image ko stretch hone se rokega */
}

/* Agar navbar height kam pad rahi ho to padding adjust karein */
.navbar {
  padding: 1rem 3rem; /* Zaroorat ho to 1.5rem kar sakte hain */
  min-height: 100px; /* Navbar ki height safe rakhne ke liye */
}
/* --- Theme Toggle Button (New & Modern) --- */
#themeToggle {
  background-color: transparent;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  width: 40px;  /* Fixed width */
  height: 40px; /* Fixed height to make it round */
  border-radius: 50%; /* Pura gol (circle) */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 5px;
}

#themeToggle:hover {
  background-color: #f3f4f6;
  border-color: #d1d5db;
  color: #111827;
  transform: scale(1.05); /* Hover pe thoda sa bada hoga */
}

#themeToggle svg {
  width: 20px;
  height: 20px;
  stroke-width: 2; /* Icon thoda bold dikhega */
}
/* --- HERO SECTION --- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 3rem;
  background-color: #f9fafb; /* Light Grey Background */
  gap: 40px;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #111827;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-text p {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* --- HERO VISUAL (Mock Card) --- */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.mock-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  text-align: center;
  min-width: 280px;
  animation: float 6s ease-in-out infinite; /* Thoda animation */
}

.mock-card h3 {
  font-size: 0.875rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.mock-card .score {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
  margin-bottom: 10px;
}

.mock-card .risk {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mock-card .risk.low {
  background-color: #dcfce7;
  color: #166534; /* Green text for Low Risk */
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* --- SECTIONS COMMON STYLES --- */
section {
  padding: 5rem 3rem;
}

section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin-bottom: 3rem;
}

/* --- FEATURES GRID (Product Section) --- */
.features {
  background-color: #ffffff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #f3f4f6;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: #e5e7eb;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #111827;
}

.feature-card p {
  color: #6b7280;
  line-height: 1.5;
}

/* --- HOW IT WORKS --- */
.how-it-works {
  background-color: #f9fafb;
}

.steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 50px; /* Pill shape */
  border: 1px solid #e5e7eb;
  font-weight: 600;
  color: #374151;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* --- USE CASES --- */
.use-cases {
  background-color: #ffffff;
  text-align: center;
}

.usecase-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.usecase {
  background-color: #eff6ff; /* Light Blue bg */
  color: #1d4ed8; /* Blue text */
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
}

/* --- CTA SECTION --- */
.cta {
  background-color: #111827; /* Dark Background */
  text-align: center;
  color: white;
}

.cta h2 {
  color: white;
  margin-bottom: 2rem;
}

.btn-primary.large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* --- FOOTER --- */
.footer {
  text-align: center;
  padding: 2rem;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* --- RESPONSIVE MOBILE FIXES --- */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .navbar {
    padding: 1rem;
  }
  
  .steps {
    flex-direction: column;
  }
  
  .step {
    width: 100%;
    text-align: center;
  }
}
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px; /* Pehle 30px tha, ab 20px kar diya taaki sab fit ho jaye */
}
/* --- HERO SECTION (Updated Fix) --- */
.hero {
  display: flex;
  align-items: center; /* Vertical center for text */
  justify-content: space-between;
  padding: 4rem 5%;
  background-color: #f9fafb;
  gap: 40px;
  min-height: 85vh; /* Height badha di taaki image ko jagah mile */
  overflow: hidden; /* Agar image badi hoke bahar nikle to chup jaye */
}

/* --- Image Container (Left Side) --- */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center; /* Horizontally center */
  align-items: center;     /* Vertically center */
  height: 100%;
}

/* --- Lady Image Styling --- */
.lady-img {
  width: 100%;            /* Container ki full width lega */
  max-width: 650px;       /* SIZE BADHA DIYA: Pehle 450px tha, ab 650px hai */
  height: auto;           /* Height apne aap set hogi */
  display: block;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15)); /* Thoda shadow depth ke liye */
  
  /* Animation (Optional: Halki si entry animation) */
  animation: fadeIn 1.5s ease-out;
}

/* --- Text Styling (Right Side) --- */
.hero-text {
  flex: 1;
  max-width: 650px; /* Text area bhi thoda bada kiya */
  padding-left: 20px;
}

.hero-text h1 {
  font-size: 4rem; /* Heading thodi aur badi aur bold */
  font-weight: 800;
  line-height: 1.1;
  color: #111827;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-text p {
  font-size: 1.25rem;
  color: #4b5563;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 90%;
}

/* Animation Keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Mobile Responsive Fix --- */
@media (max-width: 900px) {
  .hero {
    flex-direction: column-reverse; /* Mobile pe Text neeche, Image upar */
    padding: 2rem 1.5rem;
    text-align: center;
    gap: 20px;
  }

  .hero-text {
    padding-left: 0;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .lady-img {
    max-width: 350px; /* Mobile pe wapas chota kar diya */
    margin-bottom: 20px;
  }
  
  .hero-visual {
      align-items: center;
  }
}
/* --- Hero Visual Container (Updated) --- */
.hero-visual {
  flex: 1;
  display: flex;
  flex-direction: column; /* Image aur Text upar-neeche ayenge */
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative; /* Badge positioning ke liye */
}

/* --- Lady Image (Wahi purana wala, bas margin set kiya) --- */
.lady-img {
  width: 100%;
  max-width: 550px; /* Size perfect rakhne ke liye */
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
  margin-bottom: -20px; /* Text ko image ke thoda kareeb lane ke liye */
  z-index: 1;
}

/* --- New AI Badge Design --- */
.ai-badge {
  background: #ffffff;
  padding: 12px 28px;
  border-radius: 50px; /* Pill shape */
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2); /* Blue shadow glow */
  border: 1px solid #eff6ff;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2; /* Image ke upar dikhe */
  transform: translateY(-20px); /* Image ke thoda upar overlap karega */
  animation: floatBadge 3s ease-in-out infinite; /* Floating animation */
}

.ai-badge p {
  margin: 0;
  font-size: 1.1rem;
  color: #374151;
  font-weight: 500;
}

.ai-badge strong {
  color: #2563eb; /* Brand Blue color */
  font-weight: 800;
}

/* --- Pulse Dot Animation (Green Dot) --- */
.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #22c55e; /* Green active color */
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #22c55e;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  opacity: 0.7;
}

/* --- Animations --- */
@keyframes floatBadge {
  0% { transform: translateY(-20px); }
  50% { transform: translateY(-30px); } /* Thoda upar jayega */
  100% { transform: translateY(-20px); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.5); opacity: 0; }
}
/* --- FEATURES GRID (Only Images Mode) --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  /* Height fix kar di taaki teeno barabar dikhe */
  height: 320px; 
  border-radius: 16px;
  border: 1px solid #f3f4f6;
  background-color: #ffffff;
  
  /* Flexbox se image ko perfectly center kiya */
  display: flex;
  align-items: center;
  justify-content: center;
  
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  padding: 20px; /* Thoda padding taaki image kinare na touch kare */
}

/* Hover Effect (Card Uthega) */
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
  border-color: transparent;
}

/* --- Image Container --- */
.card-img-holder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0; /* Margin hata diya */
}

/* --- Image Styling (Bada Size) --- */
.card-img-holder img {
  max-width: 100%;
  max-height: 100%; /* Container ke hisab se fit hogi */
  object-fit: contain; /* Image kategi nahi */
  transition: transform 0.5s ease;
}

/* Hover pe Image Zoom Hogi */
.feature-card:hover .card-img-holder img {
  transform: scale(1.1); /* Halka sa zoom */
}
/* --- HOW IT WORKS SECTION (Image Layout) --- */
.how-it-works {
  background-color: #f9fafb; /* Light Grey Background */
  text-align: center;
  padding: 5rem 2rem;
}

.how-it-works h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 3rem;
}

/* --- Image Container --- */
.how-visual-wrapper {
  max-width: 1000px; /* Image ki max width */
  margin: 0 auto;    /* Center karne ke liye */
  padding: 10px;
  perspective: 1000px; /* 3D effect ke liye */
}

/* --- The Image Styling --- */
.how-img {
  width: 100%;
  height: auto;
  display: block;
  
  /* Filter: Drop shadow sirf image ke shape par lagega (transparent BG ke liye best) */
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.05));
  
  /* Smooth Animation Setup */
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Hover Effect (Zoom + Float) --- */
.how-visual-wrapper:hover .how-img {
  transform: translateY(-15px) scale(1.03); /* Upar uthega aur thoda bada hoga */
  filter: drop-shadow(0 25px 35px rgba(37, 99, 235, 0.2)); /* Shadow Blue glow karegi */
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .how-it-works {
    padding: 3rem 1.5rem;
  }
  
  /* Mobile pe hover effect hata sakte hain ya simple rakh sakte hain */
  .how-visual-wrapper:hover .how-img {
    transform: none; 
  }
}
/* --- USE CASES (Professional Grid Design) --- */
.use-cases {
  background-color: #f8fafc; /* Very light blue-grey bg */
  text-align: center;
  padding: 5rem 2rem;
}

.use-cases h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 3rem;
}

/* Grid Layout */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* Auto adjust columns */
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Card Styling --- */
.usecase-card {
  background: #ffffff;
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  border: 1px solid #e5e7eb; /* Light grey border */
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smooth transition */
  position: relative;
  overflow: hidden;
}

/* Content Styling */
.usecase-card .icon {
  font-size: 3rem; /* Bada Emoji/Icon */
  display: block;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.usecase-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.usecase-card p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.5;
}

/* --- HOVER EFFECTS (The Magic) --- */
.usecase-card:hover {
  transform: translateY(-8px); /* Card upar uthega */
  border-color: #2563eb; /* Border Blue ho jayegi */
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1); /* Blue glow shadow */
}

/* Hover pe Icon thoda bounce karega */
.usecase-card:hover .icon {
  transform: scale(1.2);
}

/* Optional: Ek choti si colored line card ke upar */
.usecase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #2563eb;
  transform: scaleX(0); /* Pehle chupa rahega */
  transform-origin: left;
  transition: transform 0.3s ease;
}

.usecase-card:hover::before {
  transform: scaleX(1); /* Hover pe line aayegi */
}
/* --- WHY CHOOSE US SECTION (Bigger Horizontal Images) --- */
.why-section {
  background-color: #ffffff;
  padding: 4rem 2rem;
  text-align: center;
}

.why-section h2 {
  font-size: 3rem; /* Heading bhi thodi badi ki */
  font-weight: 800;
  color: #111827;
  margin-bottom: 4rem;
}

/* --- FLEX CONTAINER (Wider Layout) --- */
.why-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* Gap thoda kam kiya taaki bade cards fit ho */
  max-width: 1400px; /* Container ki width 1200 se 1400 kar di */
  margin: 0 auto;
  flex-wrap: wrap;
}

/* --- CARD STYLING (Increased Size) --- */
.why-card {
  flex: 1;
  min-width: 280px; /* Minimum width badha di (Pehle 200px thi) */
  max-width: 350px; /* Maximum width badha di (Pehle 250px thi) */
  height: 400px;    /* Height badha di (Pehle 220px thi) taaki badi image fit ho */
  
  background: transparent;
  border: none;
  box-shadow: none;
  
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* --- ICON BOX --- */
.icon-box {
  width: 100%;
  height: 100%;
  background: transparent;
  padding: 0; /* Padding hata di taaki full size mile */
  
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icon-box img {
  width: 100%;     /* Full width use karega */
  height: 100%;    /* Full height use karega */
  object-fit: contain; /* Ratio maintain karega */
}

/* --- HOVER EFFECT --- */
.why-card:hover .icon-box {
  transform: translateY(-15px) scale(1.08); /* Upar uthega aur thoda aur bada hoga */
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1)); /* Halka sa shadow */
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1024px) {
  /* Tablet/Small Laptop pe 2 upar 2 niche */
  .why-card {
    min-width: 45%; 
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  /* Phone pe ek ke niche ek */
  .why-grid {
    flex-direction: column;
    gap: 40px;
  }
  .why-card {
    min-width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1/1; /* Square shape */
  }
}
/* --- PROFESSIONAL FOOTER --- */
.footer {
  background-color: #111827; /* Dark Grey/Black background */
  color: #d1d5db; /* Light grey text */
  padding: 4rem 2rem 2rem 2rem;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr; /* Logo wala column thoda bada */
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #374151; /* Separator line */
}

/* --- Brand Column --- */
.brand-col p {
  margin-top: 1rem;
  line-height: 1.6;
  color: #9ca3af;
}

/* Magic Trick: Logo ko White karna */
.footer-logo {
  height: 35px;
  /* Agar logo black hai, to ye filter usse white bana dega */
  filter: brightness(0) invert(1); 
  opacity: 0.9;
}

/* --- Columns Styling --- */
.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  text-decoration: none;
  color: #9ca3af;
  transition: color 0.3s ease;
}

/* Hover effect on links */
.footer-col ul li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* --- Social Icons --- */
.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #9ca3af;
  background: #1f2937; /* Icon circle bg */
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.social-links a:hover {
  background: #2563eb; /* Hover pe Blue */
  color: #ffffff;
  transform: translateY(-3px);
}

/* --- Footer Bottom (Copyright) --- */
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  color: #6b7280;
  font-size: 0.85rem;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr; /* Sab ek ke niche ek */
    gap: 2rem;
    text-align: center;
  }
  
  .social-links {
    justify-content: center; /* Icons center mein */
  }
  
  .footer-logo {
    margin: 0 auto; /* Logo center mein */
  }
}
/* --- Footer Logo Styling (Updated Size) --- */
.footer-logo {
  height: 60px; /* SIZE BADHA DIYA: Pehle 35px tha, ab 60px kar diya */
  width: auto;  /* Width apne aap adjust hogi */
  
  /* Logo ko white karne ke liye filter */
  filter: brightness(0) invert(1); 
  opacity: 1; /* Transparency hata di taaki bright dikhe */
  
  display: block;
  margin-bottom: 15px; /* Logo ke niche thoda space */
  object-fit: contain; /* Image kategi nahi */
}
/* --- PREMIUM CTA SECTION --- */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, #1e3a8a 0%, #111827 100%); /* Deep Blue to Dark Grey */
  padding: 6rem 2rem;
  text-align: center;
  overflow: hidden; /* Glow bahar na nikle */
  color: #ffffff;
}

/* Background Glow Effect */
.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 1;
  pointer-events: none; /* Click block na kare */
}

/* --- Content Styling --- */
.cta-content {
  position: relative;
  z-index: 2; /* Glow ke upar rahega */
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3rem; /* Heading badi ki */
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(to right, #ffffff, #93c5fd); /* Text Gradient (White to Light Blue) */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub-headline {
  font-size: 1.25rem;
  color: #dbeafe; /* Light Blue-ish White */
  margin-bottom: 3rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* --- Button Styling --- */
.cta-btn {
  display: inline-block;
  background-color: #ffffff; /* White Button for high contrast */
  color: #2563eb; /* Blue Text */
  font-size: 1.125rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 50px; /* Pill shape */
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); /* Shadow */
}

.cta-btn:hover {
  transform: translateY(-5px); /* Button lift hoga */
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4); /* Blue Glow Shadow */
  background-color: #f8fafc;
}

/* --- Trust Note (Small Text) --- */
.cta-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #94a3b8; /* Muted text */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.check-icon {
  color: #22c55e; /* Green checkmark */
  font-weight: bold;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .cta-section {
    padding: 4rem 1.5rem;
  }
  .cta-content h2 {
    font-size: 2.2rem;
  }
  .sub-headline {
    font-size: 1.1rem;
  }
}
/* --- COMPARISON SECTION (Premium Look) --- */
.comparison-section {
  background-color: #ffffff;
  padding: 6rem 2rem;
  text-align: center;
}

.comparison-section h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4rem;
}

/* --- Wrapper (Cards ko center karega) --- */
.comparison-wrapper {
  display: flex;
  justify-content: center;
  align-items: center; /* Vertically center */
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  /* Mobile pe gap adjust hoga media query me */
}

/* --- COMMON CARD STYLES --- */
.compare-card {
  flex: 1;
  padding: 3.5rem 2.5rem;
  text-align: left;
  border-radius: 24px;
  position: relative;
  transition: all 0.4s ease;
}

/* --- BEFORE CARD (The "Problem" - Muted Red) --- */
.before-card {
  background-color: #fff1f2; /* Very light red/pink */
  border: 1px dashed #fda4af; /* Dashed border shows instability */
  color: #881337;
  margin-right: -20px; /* Overlap effect ke liye */
  z-index: 1;
  transform: scale(0.95); /* Thoda chota dikhega */
  opacity: 0.9; /* Thoda dull */
}

.before-card h3 {
  color: #9f1239;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Cross Icon Styling */
.before-card .icon.cross {
  background: #ffe4e6;
  color: #e11d48;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* --- AFTER CARD (The "Solution" - Clean White & Green) --- */
.after-card {
  background-color: #ffffff; /* Pure White pop karega */
  border: 2px solid #22c55e; /* Green Border */
  color: #1f2937; /* Dark Grey text for readability */
  z-index: 2; /* Before card ke upar */
  box-shadow: 0 25px 60px -15px rgba(22, 163, 74, 0.25); /* Strong Green Glow Shadow */
  transform: scale(1.1); /* Bada dikhega (Winner effect) */
  margin-left: -20px; /* Overlap adjust */
}

.after-card h3 {
  color: #166534;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

/* Check Icon Styling */
.after-card .icon.check {
  background: #22c55e; /* Solid Green Circle */
  color: #ffffff; /* White Tick */
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.4);
}

/* --- VS BADGE (Floating) --- */
.vs-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 55px;
  height: 55px;
  background: #111827; /* Dark Black Badge */
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #ffffff; /* White ring surrounding it */
  z-index: 10;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* --- BEST CHOICE TAG --- */
.best-choice-tag {
  position: absolute;
  top: -15px;
  right: 30px;
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 15px rgba(34, 197, 94, 0.4);
}

/* --- LIST ITEMS --- */
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 1.5rem;
}

.compare-list .text strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.compare-list .text p {
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.8;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
  .comparison-wrapper {
    flex-direction: column; /* Stack them */
    gap: 40px;
  }
  
  .before-card, .after-card {
    width: 100%;
    margin: 0; /* Reset margins */
    transform: none; /* Reset scaling */
  }

  .before-card {
    opacity: 1;
    background-color: #fff1f2;
  }
  
  .after-card {
    transform: scale(1.02); /* Slight pop even on mobile */
  }

  .vs-badge {
    position: relative;
    left: auto;
    top: auto;
    transform: rotate(90deg); /* Rotate text vertically if needed */
    margin: -30px auto; /* Pull it up */
  }
}
/* --- SECURITY & PRIVACY SECTION (Premium Interactive) --- */
.security-section {
  background-color: #f8fafc; /* Light background */
  padding: 6rem 2rem;
  text-align: center;
}

.security-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.security-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.security-header h2::before {
  content: '🔒'; /* Lock Icon */
  font-size: 2rem;
}

.security-header p {
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 4rem;
}

/* Grid Layout */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Columns */
  gap: 2rem;
}

/* --- THE CARD STYLING --- */
.security-item {
  background: #ffffff; /* White Card */
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid #e2e8f0; /* Light Grey Border */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Smooth Spring Animation */
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* --- THE ICON STYLING --- */
.sec-icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: #f1f5f9; /* Light Grey Circle */
  color: #475569; /* Grey Icon */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto; /* Center alignment */
  transition: all 0.4s ease;
}

.sec-icon-wrapper svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.5;
}

/* --- TEXT STYLING --- */
.sec-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.sec-text p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
}

/* --- HOVER EFFECTS (Jadoo Yahan Hai) --- */

/* 1. Card Uthega & Shadow Aayegi */
.security-item:hover {
  transform: translateY(-12px); /* Lift Up */
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15); /* Blue Glow Shadow */
  border-color: #3b82f6; /* Border turns Blue */
}

/* 2. Icon Circle Blue Ban Jayega */
.security-item:hover .sec-icon-wrapper {
  background-color: #2563eb; /* Blue Background */
  color: #ffffff; /* Icon White ho jayega */
  transform: scale(1.1) rotate(-5deg); /* Thoda bada aur tilt hoga */
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

/* 3. Heading bhi color change karegi */
.security-item:hover .sec-text h3 {
  color: #2563eb;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
  .security-grid {
    grid-template-columns: 1fr; /* Mobile pe ek ke neeche ek */
    max-width: 400px;
    margin: 0 auto;
  }
}
/* --- TRUST SIGNALS SECTION (Minimal & Serious) --- */
.trust-section {
  background-color: #ffffff;
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 1px solid #f3f4f6; /* Subtle separator */
}

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

/* "Seamlessly compatible..." Label */
.trust-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #9ca3af; /* Light Grey (Subtle) */
  margin-bottom: 1.5rem;
}

/* The Names Row */
.trust-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 1.5rem;
}

/* Individual Name Styling */
.trust-item {
  font-size: 1.5rem;
  font-weight: 700;
  color: #d1d5db; /* Default: Dull Grey */
  cursor: default;
  transition: all 0.3s ease;
}

/* Separator Dot */
.trust-item.separator {
  color: #e5e7eb;
  font-size: 1rem;
}

/* Hover Effect: Name lights up with Brand Color */
/* Note: Since it's text, we use a generic dark color for 'active' feel, 
   or you can specific colors if you want. Here we go Dark Grey for serious look. */
.trust-item:hover {
  color: #111827; /* Dark Black on hover */
  transform: scale(1.02);
}

/* Sub-text below */
.trust-sub {
  font-size: 1rem;
  color: #6b7280;
  margin-top: 1rem;
}

.trust-sub strong {
  color: #374151; /* Thoda dark highlight */
}

/* --- Mobile Responsive --- */
@media (max-width: 600px) {
  .trust-grid {
    gap: 10px;
  }
  .trust-item {
    font-size: 1.2rem;
  }
  .trust-item.separator {
    display: none; /* Mobile pe dots hata denge taaki wrap ho sake */
  }
  .trust-grid {
    flex-direction: column; /* Stack names vertically */
    gap: 0.5rem;
  }
}
/* --- TRUST SIGNALS (Premium Tech Style) --- */
.trust-section {
  background-color: #ffffff;
  padding: 4rem 2rem;
  text-align: center;
  border-bottom: 1px solid #f3f4f6;
}

.trust-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Label Styling */
.trust-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #94a3b8; /* Cool Grey */
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

/* Optional: Line below label */
.trust-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #e2e8f0;
  margin: 10px auto 0 auto;
}

/* The Grid/Row */
.trust-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* Items wrap honge agar screen choti ho */
  gap: 1.5rem 2.5rem; /* Row gap aur Column gap alag rakha */
  margin-bottom: 2rem;
}

/* Individual Item Styling */
.trust-item {
  font-size: 1.6rem; /* Size badha diya */
  font-weight: 700;  /* Bold kiya */
  color: #cbd5e1;    /* Default: Light Grey (Inactive) */
  cursor: default;
  position: relative;
  transition: all 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; /* System font for crispness */
}

/* Stylish Slash Separator (Code vibe) */
.trust-item:not(:last-child)::after {
  content: '/';
  position: absolute;
  right: -1.4rem;
  color: #f1f5f9; /* Very light grey separator */
  font-weight: 300;
  font-size: 1.4rem;
}

/* HOVER EFFECT - The Magic */
.trust-item:hover {
  color: #1e293b; /* Hover pe Dark Grey/Black */
  transform: translateY(-2px); /* Halka sa lift */
  text-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Subtle shadow text ke neeche */
}

/* Sub-text below */
.trust-sub {
  font-size: 1.05rem;
  color: #64748b;
  margin-top: 2.5rem;
}

.trust-sub strong {
  color: #0f172a; /* Darkest Black */
  border-bottom: 2px solid #bae6fd; /* Light Blue underline highlight */
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .trust-grid {
    gap: 1rem 1.5rem;
  }
  
  .trust-item {
    font-size: 1.25rem;
  }
  
  /* Mobile pe slash hata denge taaki clean lage */
  .trust-item:not(:last-child)::after {
    display: none;
  }
  
  .trust-label {
    letter-spacing: 1px;
  }
}
/* --- PRODUCT HERO SECTION --- */
.product-hero {
  background-color: #f8fafc; /* Light tech background */
  padding: 6rem 2rem 4rem 2rem;
  overflow: hidden; /* Blur blobs ko control karne ke liye */
  position: relative;
}

.product-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 4rem;
}

/* --- LEFT SIDE: CONTENT --- */
.ph-content {
  flex: 1;
  max-width: 550px;
}

/* Badge Pill */
.badge-pill {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid #dbeafe;
}

/* Heading */
.ph-content h1 {
  font-size: 3.2rem;
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.text-highlight {
  color: #2563eb; /* Brand Blue */
  background: -webkit-linear-gradient(45deg, #2563eb, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sub-heading */
.ph-sub {
  font-size: 1.2rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Feature Bullets (Pills) */
.ph-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ph-features li {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: #334155;
  font-size: 1.05rem;
}

.check-circle {
  color: #22c55e;
  background: #dcfce7;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 14px;
  font-weight: bold;
}

/* Buttons */
.ph-actions {
  display: flex;
  gap: 15px;
}

.btn-primary {
  background: #2563eb;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.btn-secondary {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: #334155;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
}

/* --- RIGHT SIDE: VISUAL (CSS MOCKUP) --- */
.ph-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

/* The Dashboard Card */
.dashboard-card {
  background: #ffffff;
  width: 100%;
  max-width: 450px;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); /* Deep Shadow */
  border: 1px solid #e2e8f0;
  position: relative;
  z-index: 2;
  animation: floatCard 6s ease-in-out infinite;
}

/* Dash Header */
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 20px;
}

.dash-label { color: #64748b; font-size: 0.9rem; font-weight: 600; }
.status-badge { 
  background: #dcfce7; color: #166534; 
  padding: 4px 12px; border-radius: 50px; 
  font-size: 0.85rem; font-weight: 700; 
}

/* Meter & Details Section */
.meter-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

/* CSS Circular Progress Chart */
.circular-chart {
  display: block;
  margin: 0 auto;
  max-width: 100px;
  max-height: 100px;
}
.circle-bg { fill: none; stroke: #eee; stroke-width: 3.8; }
.circle { fill: none; stroke-width: 2.8; stroke-linecap: round; animation: progress 1s ease-out forwards; }
.green .circle { stroke: #22c55e; }
.percentage { fill: #1e293b; font-family: sans-serif; font-weight: bold; font-size: 0.6em; text-anchor: middle; }
.score-label { text-align: center; font-size: 0.85rem; color: #64748b; margin-top: 5px; }

/* Audit Details List */
.audit-details { flex: 1; }
.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.detail-row .lbl { color: #64748b; }
.detail-row .val { font-weight: 600; }
.val.low { color: #22c55e; } /* Good */
.val.high { color: #2563eb; }

/* Explanation Box */
.dash-explanation {
  background: #f8fafc;
  padding: 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 20px;
  border-left: 3px solid #2563eb;
}

/* Dash Buttons */
.dash-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-dash {
  padding: 10px; border: none; border-radius: 6px; 
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
}
.btn-dash.approve { background: #2563eb; color: white; }
.btn-dash.flag { background: #fff1f2; color: #e11d48; }

/* Background Blobs (Glow Effect) */
.blur-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
  opacity: 0.6;
}
.blob-1 { top: -20px; right: -20px; width: 200px; height: 200px; background: #bfdbfe; }
.blob-2 { bottom: -30px; left: -30px; width: 150px; height: 150px; background: #dcfce7; }

@keyframes progress { 0% { stroke-dasharray: 0 100; } }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Responsive */
@media (max-width: 900px) {
  .product-hero-container { flex-direction: column; text-align: center; }
  .ph-content { margin-bottom: 2rem; }
  .ph-features { align-items: center; }
  .ph-actions { justify-content: center; }
  .dashboard-card { max-width: 100%; }
}
/* --- PROBLEM / RISK SECTION --- */
.problem-section {
  background-color: #ffffff;
  padding: 6rem 2rem;
  text-align: center;
}

.problem-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.problem-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1rem;
}

.problem-header p {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 4rem;
}

/* Grid for 3 Cards */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
}

/* Risk Card Styling */
.risk-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  /* Halka sa Red Border to show Warning/Risk */
  border: 1px solid #fee2e2; 
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Hover Effect */
.risk-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(225, 29, 72, 0.1); /* Red glow shadow */
  border-color: #fca5a5;
}

/* Red Icon Box */
.risk-icon-box {
  width: 60px;
  height: 60px;
  background: #fef2f2; /* Light Red BG */
  color: #ef4444; /* Red Icon */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.risk-icon-box svg {
  width: 28px;
  height: 28px;
}

.risk-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.risk-card p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
}

/* Closing Line (The Solution Bridge) */
.problem-closer {
  font-size: 1.5rem;
  font-weight: 500;
  color: #374151;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #f3f4f6;
}

.trust-highlight {
  color: #2563eb; /* Brand Blue */
  font-weight: 800;
  position: relative;
}

/* Underline decoration for 'Trust Layer' */
.trust-highlight::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: #bfdbfe;
  bottom: -2px;
  left: 0;
  opacity: 0.6;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .risk-grid {
    grid-template-columns: 1fr; /* Stack cards vertically on mobile */
    gap: 2rem;
  }
  .problem-closer {
    font-size: 1.2rem;
  }
}/* --- PROBLEM / RISK SECTION --- */
.problem-section {
  background-color: #ffffff;
  padding: 6rem 2rem;
  text-align: center;
}

.problem-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */
.problem-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1rem;
}

.problem-header p {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 4rem;
}

/* Grid for 3 Cards */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
}

/* Risk Card Styling */
.risk-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  /* Halka sa Red Border to show Warning/Risk */
  border: 1px solid #fee2e2; 
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Hover Effect */
.risk-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(225, 29, 72, 0.1); /* Red glow shadow */
  border-color: #fca5a5;
}

/* Red Icon Box */
.risk-icon-box {
  width: 60px;
  height: 60px;
  background: #fef2f2; /* Light Red BG */
  color: #ef4444; /* Red Icon */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.risk-icon-box svg {
  width: 28px;
  height: 28px;
}

.risk-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.risk-card p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
}

/* Closing Line (The Solution Bridge) */
.problem-closer {
  font-size: 1.5rem;
  font-weight: 500;
  color: #374151;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #f3f4f6;
}

.trust-highlight {
  color: #2563eb; /* Brand Blue */
  font-weight: 800;
  position: relative;
}

/* Underline decoration for 'Trust Layer' */
.trust-highlight::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: #bfdbfe;
  bottom: -2px;
  left: 0;
  opacity: 0.6;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .risk-grid {
    grid-template-columns: 1fr; /* Stack cards vertically on mobile */
    gap: 2rem;
  }
  .problem-closer {
    font-size: 1.2rem;
  }
}
/* --- CORE FEATURES SECTION --- */
.core-features {
  background-color: #f8fafc; /* Light Tech Background */
  padding: 6rem 2rem;
  overflow: hidden;
}

.core-features .container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  text-align: center;
  color: #2563eb;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 5rem;
}

/* --- FEATURE ROW (Zig-Zag Layout) --- */
.feature-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6rem; /* Space for next feature */
}

/* --- TEXT SIDE --- */
.feature-text {
  flex: 1;
}

.feature-number {
  font-size: 4rem;
  font-weight: 900;
  color: #e2e8f0; /* Very light grey number behind text */
  line-height: 1;
  display: block;
  margin-bottom: -20px;
  margin-left: -5px;
}

.feature-text h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.feature-def {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.feature-def strong {
  color: #0f172a;
  background: #dbeafe; /* Highlight text bg */
  padding: 0 4px;
}

/* Why It Matters Box */
.feature-benefit-box {
  background: #ffffff;
  border-left: 4px solid #2563eb;
  padding: 1.5rem;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.benefit-icon {
  font-size: 1.5rem;
}

.benefit-content strong {
  display: block;
  color: #1e293b;
  font-size: 1rem;
  margin-bottom: 4px;
}

.benefit-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #475569;
}

/* --- VISUAL SIDE (The Card) --- */
.feature-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.score-card-interactive {
  background: #ffffff;
  width: 320px;
  height: 360px;
  border-radius: 24px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid #f1f5f9;
}

/* Hover Effect on Card */
.score-card-interactive:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
}

/* --- SVG GAUGE ANIMATION --- */
.gauge-container {
  width: 200px;
  height: 200px;
  position: relative;
  margin-bottom: 2rem;
}

.gauge-svg {
  transform: rotate(-90deg); /* Start from top */
  width: 100%;
  height: 100%;
}

.gauge-bg {
  fill: none;
  stroke: #f1f5f9;
  stroke-width: 8;
}

.gauge-progress {
  fill: none;
  stroke: #2563eb; /* Brand Blue */
  stroke-width: 8;
  stroke-dasharray: 283; /* 2 * PI * 45 (approx) */
  stroke-dashoffset: 283; /* Start empty */
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s ease-out;
}

/* Hover pe Gauge Fill Hoga */
.score-card-interactive:hover .gauge-progress {
  stroke-dashoffset: 20; /* Fills up to ~93% */
  stroke: #22c55e; /* Changes color to Green on high score */
}

/* Value Text inside Gauge */
.gauge-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.gauge-value .number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #0f172a;
  display: block;
  line-height: 1;
}

.gauge-value .label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
}

/* Status Line */
.score-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #64748b;
  background: #f8fafc;
  padding: 8px 16px;
  border-radius: 20px;
}

.score-status .dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Background Decoration */
.bg-decoration {
  position: absolute;
  top: 20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
  border-radius: 50%;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .feature-row {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  
  .feature-benefit-box {
    text-align: left;
  }

  .feature-number {
    margin-left: 0;
  }
}
/* --- FEATURE ROW REVERSE (For Zig-Zag Pattern) --- */
.feature-row.reverse {
  flex-direction: row-reverse; /* Visual Left, Text Right */
}

/* --- VISUAL: SCANNER CARD (Hallucination) --- */
.scanner-card {
  background: #ffffff;
  width: 320px;
  height: 380px;
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden; /* Laser bahar na jaye */
  transition: transform 0.4s ease;
  z-index: 2;
}

.scanner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(225, 29, 72, 0.15); /* Red Shadow Glow */
  border-color: #fda4af;
}

/* Doc Header (Mac window style) */
.doc-header {
  background: #f8fafc;
  padding: 12px 16px;
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #f1f5f9;
}

.doc-header .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }

/* Text Lines Skeleton */
.doc-content { padding: 25px; display: flex; flex-direction: column; gap: 15px; }
.line {
  height: 12px;
  background: #e2e8f0;
  border-radius: 6px;
  width: 100%;
}
.line.short { width: 60%; }

/* The "Bad" Text Line */
.hallucination-trigger {
  background: transparent; /* Text dikhana hai */
  height: auto;
  position: relative;
  border: 1px dashed transparent;
  transition: all 0.3s ease;
}

.bad-text {
  background: #f1f5f9; /* Grey initially */
  color: transparent;
  display: block;
  height: 12px;
  border-radius: 6px;
  width: 80%;
  transition: all 0.4s ease;
}

/* Hover Action: Highlight the Bad Text */
.scanner-card:hover .bad-text {
  background: #fee2e2; /* Red Highlight */
  color: #b91c1c; /* Red Text Color */
  height: auto;
  padding: 4px 8px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 4px;
}

.scanner-card:hover .hallucination-trigger {
  border-color: #ef4444;
}

/* Tooltip (Hidden initially) */
.alert-tooltip {
  position: absolute;
  top: -65px;
  left: 0;
  background: #111827;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  width: 160px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.alert-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 20px;
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #111827 transparent transparent transparent;
}

/* Show Tooltip on Hover */
.scanner-card:hover .alert-tooltip {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s; /* Laser ke baad dikhega */
}

/* LASER SCANNING ANIMATION */
.scan-laser {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #ef4444, transparent); /* Red Laser */
  box-shadow: 0 0 15px #ef4444;
  opacity: 0;
  z-index: 10;
}

.scanner-card:hover .scan-laser {
  opacity: 1;
  animation: scanDown 2s ease-in-out infinite;
}

@keyframes scanDown {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* --- TEXT SIDE: SIGNALS LIST --- */
.feature-signals {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature-signals li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: transform 0.2s ease;
}

.feature-signals li:hover {
  transform: translateX(5px);
  border-color: #e2e8f0;
}

.sig-icon { font-size: 1.2rem; }

/* Left Aligned Background Blob */
.bg-decoration.left-aligned {
  right: auto;
  left: -30px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .feature-row.reverse {
    flex-direction: column; /* Wapas stack ho jayega */
  }
}
/* --- FEATURE 3: RISK MONITOR WIDGET --- */
.risk-levels-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 1.5rem;
}

.r-level {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #475569;
}
.r-level strong { color: #1e293b; }
.r-dot { width: 10px; height: 10px; border-radius: 50%; }

.r-level.low .r-dot { background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.4); }
.r-level.med .r-dot { background: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, 0.4); }
.r-level.high .r-dot { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, 0.4); }

/* Monitor Card */
.risk-monitor-card {
  background: #1e293b; /* Dark UI for Monitor */
  color: white;
  width: 320px;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.risk-monitor-card:hover { transform: translateY(-5px); }

.monitor-header {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.m-item {
  background: #334155;
  padding: 12px;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.m-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; }
.m-id { font-family: monospace; color: #cbd5e1; }

.m-badge { font-size: 0.7rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.m-badge.green { background: #22c55e; color: #fff; }
.m-badge.red { background: #ef4444; color: #fff; }
.m-badge.yellow { background: #f59e0b; color: #fff; }

.m-bar { height: 4px; background: #475569; border-radius: 2px; overflow: hidden; }
.m-bar .fill { height: 100%; border-radius: 2px; }
.fill.green { background: #22c55e; }
.fill.red { background: #ef4444; }
.fill.yellow { background: #f59e0b; }

/* Warning Popup Animation */
.risk-popup {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ef4444;
  color: white;
  padding: 10px;
  border-radius: 0 0 8px 8px;
  font-size: 0.85rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
}

/* Hover on High Risk Item */
.m-item.warning-trigger:hover {
  transform: scale(1.05);
  background: #451a1a; /* Dark Red tint */
  z-index: 5;
  border-radius: 8px 8px 0 0;
}

.m-item.warning-trigger:hover .risk-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --- FEATURE 4: DECISION ENGINE --- */
.decision-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.d-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  color: #334155;
  background: #fff;
  padding: 10px 15px;
  border-radius: 10px;
  border-left: 4px solid transparent;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.d-item strong { color: #0f172a; }
.d-item.green { border-left-color: #22c55e; }
.d-item.yellow { border-left-color: #f59e0b; }
.d-item.red { border-left-color: #ef4444; }

/* Decision Card Visual */
.decision-card {
  background: #ffffff;
  width: 300px;
  height: 300px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
}

.decision-card:hover { transform: translateY(-8px); }

.decision-loader {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Verdict Box & Animation */
.verdict-box {
  width: 140px;
  height: 140px;
  border: 4px dashed #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: #f8fafc;
  transition: all 0.3s ease;
}

.icon-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.allow-stamp { color: #22c55e; animation: stampIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
.block-stamp { color: #ef4444; display: none; } /* Hidden by default */

/* Hover Action: Change decision */
.decision-card:hover .verdict-box {
  border-color: #22c55e;
  background: #dcfce7;
  transform: scale(1.1);
}

.decision-note {
  font-size: 0.9rem;
  color: #64748b;
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 50px;
}

@keyframes stampIn {
  0% { transform: scale(3); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
/* --- HOW VERITY AI WORKS (Dark Tech Theme) --- */
.how-works-section {
  background-color: #0f172a; /* Dark Slate / Midnight Blue */
  padding: 6rem 2rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.how-works-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.hw-header {
  text-align: center;
  margin-bottom: 5rem;
}

.hw-badge {
  color: #60a5fa; /* Light Blue */
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hw-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.hw-header p {
  color: #94a3b8; /* Muted Grey */
  font-size: 1.1rem;
}

/* --- PIPELINE LAYOUT --- */
.pipeline-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}

/* Individual Step Card */
.hw-step {
  background: #1e293b; /* Card Background */
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 2rem;
  width: 280px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
  z-index: 2;
}

.hw-step:hover {
  transform: translateY(-10px);
  border-color: #475569;
}

/* Center Engine Card (Highlighted) */
.hw-step.main-engine {
  background: #1e293b;
  border-color: #3b82f6; /* Blue Border */
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.15); /* Blue Glow */
  transform: scale(1.05); /* Thoda bada */
}

.hw-step.main-engine:hover {
  transform: scale(1.05) translateY(-10px);
}

/* Icons */
.hw-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 1.5rem;
}

.input-icon { background: #334155; color: #94a3b8; }
.engine-icon { background: #2563eb; color: #fff; box-shadow: 0 0 15px #2563eb; }
.output-icon { background: #059669; color: #fff; } /* Green */

.hw-step h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* Lists inside steps */
.hw-list {
  list-style: none;
  padding: 0;
  text-align: left;
  background: #0f172a; /* Inner dark box */
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #334155;
}

.hw-list li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hw-list li::before {
  content: '•';
  color: #60a5fa;
  font-weight: bold;
}

.engine-status {
  font-size: 0.8rem;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  animation: blink 1.5s infinite;
}

@keyframes blink { 50% { opacity: 0.5; } }

/* --- CONNECTORS (Animated Lines) --- */
.hw-connector {
  flex: 1;
  height: 2px;
  background: #334155;
  position: relative;
  max-width: 100px; /* Line ki length */
  display: flex;
  align-items: center;
}

/* The moving dot */
.flow-dot {
  width: 8px;
  height: 8px;
  background: #60a5fa; /* Blue Dot */
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: -3px;
  box-shadow: 0 0 10px #60a5fa;
  animation: flowMove 2s linear infinite;
}

@keyframes flowMove {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .pipeline-wrapper {
    flex-direction: column; /* Vertical Stack */
    gap: 0;
  }
  
  .hw-connector {
    width: 2px;
    height: 60px; /* Vertical Line */
    max-width: 2px;
    margin: 10px 0;
  }
  
  .flow-dot {
    top: 0;
    left: -3px;
    animation: flowMoveVert 2s linear infinite;
  }

  @keyframes flowMoveVert {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }

  .hw-step { width: 100%; max-width: 350px; }
  .hw-step.main-engine { transform: none; }
}
/* --- EXPLAINABILITY SECTION --- */
.explain-section {
  background-color: #ffffff;
  padding: 6rem 2rem;
  overflow: hidden;
}

.explain-wrapper {
  display: flex;
  align-items: center;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- VISUAL SIDE (The Audit Card) --- */
.explain-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.explanation-card {
  background: #ffffff;
  width: 380px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  padding: 25px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.explanation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
}

/* Header */
.ex-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Score Row */
.ex-score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ex-big-score {
  font-size: 3rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1;
}

.ex-big-score .total {
  font-size: 1.2rem;
  color: #94a3b8;
  font-weight: 500;
}

.ex-status.badge-yellow {
  background: #fef3c7;
  color: #d97706;
  padding: 6px 12px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
}

.ex-divider {
  height: 1px;
  background: #f1f5f9;
  margin-bottom: 20px;
}

/* Reasons List */
.reason-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 15px;
}

.reason-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 10px;
  background: #f8fafc;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.reason-item:hover {
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.reason-item.warning { border-left: 4px solid #f59e0b; }
.reason-item.danger { border-left: 4px solid #ef4444; }
.reason-item.success { border-left: 4px solid #22c55e; }

.r-icon { font-size: 1.2rem; margin-top: 2px; }

.r-content strong {
  display: block;
  font-size: 0.95rem;
  color: #1e293b;
  margin-bottom: 2px;
}

.r-content p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

.point-deduction {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ef4444;
  margin-left: auto; /* Push to right */
  background: #fef2f2;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Trust Badge Float */
.trust-badge-float {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: #111827;
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.trust-badge-float svg { width: 16px; height: 16px; color: #22c55e; }

/* Blob */
.explain-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #dbeafe 0%, #f3f4f6 100%);
  border-radius: 50%;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* --- TEXT SIDE --- */
.explain-text {
  flex: 1;
}

.explain-desc {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.benefit-check-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
}

.benefit-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 1rem;
  color: #334155;
}

.b-check { color: #2563eb; font-size: 0.8rem; margin-top: 4px; }

.confidence-box {
  background: #f0f9ff;
  border-left: 4px solid #0ea5e9;
  padding: 15px 20px;
  border-radius: 0 8px 8px 0;
  font-weight: 600;
  color: #0369a1;
  font-style: italic;
}

/* Responsive */
@media (max-width: 900px) {
  .explain-wrapper {
    flex-direction: column-reverse; /* Text pehle, visual baad me mobile pe */
    gap: 3rem;
  }
  .explanation-card { width: 100%; }
}
/* --- CORE FEATURES SECTION (Perfect Alignment) --- */
.core-features {
  background-color: #f8fafc;
  padding: 6rem 2rem;
  overflow: hidden;
}

.core-features .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* --- THE ROW (Ye main box hai) --- */
.feature-row {
  display: flex;
  align-items: center; /* Isse Text aur Image vertically center honge */
  justify-content: space-between;
  gap: 5rem; /* Beech ka gap */
  margin-bottom: 8rem; /* Har feature ke baad space */
  position: relative;
  width: 100%;
}

/* --- REVERSE ROW (Zig-Zag ke liye Feature 2 & 4) --- */
.feature-row.reverse {
  flex-direction: row-reverse; /* Visual Left, Text Right */
}

/* --- TEXT SIDE STYLING --- */
.feature-text {
  flex: 1; /* Barabar jagah lega */
  max-width: 500px; /* Text ko zyada failne se rokega taaki clean dikhe */
  position: relative;
  z-index: 5;
}

/* Number Styling (01, 02...) */
.feature-number {
  font-size: 5rem;
  font-weight: 900;
  color: #f1f5f9; /* Halka Grey taaki text ke peeche subtle lage */
  line-height: 1;
  position: absolute;
  top: -40px;
  left: -20px;
  z-index: -1;
  opacity: 0.8;
}

.feature-text h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1.2rem;
  margin-top: 10px; /* Number ke saath overlap adjust */
}

/* --- VISUAL SIDE (Card Container) --- */
.feature-visual {
  flex: 1; /* Barabar jagah lega */
  display: flex;
  justify-content: center; /* Card ko box ke center me layega */
  align-items: center;
  position: relative;
}

/* --- COMMON CARD FIX (Taaki sab cards ek size/alignment ke lage) --- */
.score-card-interactive,
.scanner-card,
.risk-monitor-card,
.decision-card {
  margin: 0 auto; /* Extra safety for centering */
  background: #ffffff;
  /* Shadow thodi aur soft aur modern banayi hai */
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1); 
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 960px) {
  .feature-row, 
  .feature-row.reverse {
    flex-direction: column; /* Mobile pe sab ek ke neeche ek */
    text-align: center;
    gap: 3rem;
  }
  
  .feature-text {
    max-width: 100%;
  }

  /* Text aur Image ka order fix karein mobile ke liye */
  .feature-row.reverse .feature-visual {
    order: 1; /* Visual pehle */
  }
  .feature-row.reverse .feature-text {
    order: 2; /* Text baad me */
  }

  .feature-visual {
    width: 100%;
  }

  .feature-number {
    position: relative;
    top: auto;
    left: auto;
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
  }
}
/* --- CORE FEATURES SECTION (Fixed Alignment) --- */
.core-features {
  background-color: #f8fafc;
  padding: 6rem 2rem;
  overflow: hidden;
}

.core-features .container {
  max-width: 1100px;
  margin: 0 auto;
}

/* --- THE ROW (Main Wrapper) --- */
.feature-row {
  display: flex;
  align-items: center; /* Isse content vertically center hoga */
  justify-content: space-between; /* Beech ka gap maintain karega */
  gap: 4rem;
  margin-bottom: 8rem;
  width: 100%;
  position: relative;
}

/* --- IMPORTANT: ZIG-ZAG LOGIC FIXED --- */
/* Agar HTML mein pehle Image hai aur baad mein Text, 
   toh humein row-reverse karne ki zarurat NAHI hai. 
   Normal row hi Zig-Zag bana dega. */
.feature-row.reverse {
  flex-direction: row; /* Force Normal Row */
}

/* --- TEXT SIDE --- */
.feature-text {
  flex: 1; /* 50% width lega */
  max-width: 500px;
  position: relative;
  z-index: 5;
}

.feature-number {
  font-size: 5rem;
  font-weight: 900;
  color: #f1f5f9;
  line-height: 1;
  position: absolute;
  top: -40px;
  left: -20px;
  z-index: -1;
  opacity: 0.8;
}

.feature-text h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1.2rem;
  margin-top: 10px;
}

/* --- VISUAL SIDE --- */
.feature-visual {
  flex: 1; /* 50% width lega */
  display: flex;
  justify-content: center; /* Card ko center me rakhega */
  align-items: center;
  position: relative;
}

/* --- CARD CENTERING FIX --- */
/* Ye code ensure karega ki saare cards apne box me center rahein */
.score-card-interactive,
.scanner-card,
.risk-monitor-card,
.decision-card {
  margin: 0 auto;
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1); 
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 960px) {
  .feature-row, 
  .feature-row.reverse {
    flex-direction: column; /* Mobile pe ek ke neeche ek */
    text-align: center;
    gap: 3rem;
  }
  
  /* Mobile pe Text hamesha neeche aur Image upar achi lagti hai */
  .feature-row .feature-visual,
  .feature-row.reverse .feature-visual {
    order: 1;
  }
  .feature-row .feature-text,
  .feature-row.reverse .feature-text {
    order: 2;
  }

  .feature-text { max-width: 100%; }
  .feature-visual { width: 100%; }
  
  .feature-number {
    position: relative;
    top: auto;
    left: auto;
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
  }
}
/* --- FINAL CTA SECTION (Impressive End) --- */
.final-cta-section {
  position: relative;
  background: #020617; /* Ultra Dark Blue/Black */
  padding: 8rem 2rem;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

/* Background Grid Pattern (Tech Feel) */
.cta-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  z-index: 1;
}

/* Background Central Glow */
.cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(60px);
  z-index: 1;
  animation: pulseGlow 6s infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

/* Content Stacking */
.cta-content-wrapper {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

/* Headline Styling */
.final-headline {
  font-size: 4rem; /* Massive Text */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%); /* Blue to Purple */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtext */
.final-subtext {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 3rem;
  font-weight: 300;
}

/* Buttons */
.final-btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 2rem;
}

/* Primary Button (Glowing) */
.btn-glow-primary {
  background: #2563eb;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4); /* Neon Glow */
  border: 1px solid #3b82f6;
}

.btn-glow-primary:hover {
  background: #1d4ed8;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.6);
}

.btn-glow-primary svg { width: 20px; height: 20px; transition: transform 0.3s ease; }
.btn-glow-primary:hover svg { transform: translateX(5px); }

/* Secondary Button (Outline) */
.btn-outline-light {
  background: transparent;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

/* Micro Copy */
.final-micro {
  font-size: 0.9rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dot-green {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 5px #22c55e;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .final-headline { font-size: 2.5rem; }
  .final-btn-group { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto 2rem auto; }
  .btn-glow-primary, .btn-outline-light { justify-content: center; width: 100%; }
}
/* ================= REALISTIC WATER PIPELINE ================= */

/* --- The Main Pipe Body (Metal Texture) --- */
.connector-line {
  flex: 1;
  height: 24px; /* Pipe thoda mota kiya */
  position: relative;
  margin: 0 -5px; /* Cards ke thoda andar ghusega */
  z-index: 1; /* Cards ke peeche rahega */
  
  /* Realistic Metallic Gradient (3D Look) */
  background: linear-gradient(
    to bottom,
    #475569 0%,   /* Dark top edge */
    #94a3b8 20%,  /* Lighter metal */
    #e2e8f0 45%,  /* Bright highlight shiny streak */
    #94a3b8 80%,  /* Shadow side */
    #334155 100%  /* Dark bottom edge */
  );
  
  border-top: 1px solid #334155;
  border-bottom: 1px solid #1e293b;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1); /* Pipe ki shadow zameen par */
}

/* --- Pipe Joints/Flanges (Connecting rings at ends) --- */
/* Using pseudo-elements to create joints without adding HTML */
.connector-line::before,
.connector-line::after {
  content: '';
  position: absolute;
  top: -4px; /* Pipe se thoda uncha */
  width: 12px;
  height: 32px; /* Pipe se lamba */
  background: linear-gradient(to right, #64748b, #cbd5e1, #64748b); /* Ring texture */
  border-radius: 4px;
  border: 1px solid #475569;
  box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

.connector-line::before { left: -6px; } /* Left joint */
.connector-line::after { right: -6px; } /* Right joint */

/* --- THE WATER FLOW EFFECT (Inside the pipe) --- */
/* Hum purane dot ko ek "Glass Window" jaisa banayenge */
.moving-data-dot {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 14px; /* Metal pipe se thoda patla */
  
  /* Water effect background */
  background-color: #3b82f6; /* Base Blue Water */
  background-image: 
      /* Bubbles/Ripples Pattern */
      radial-gradient(circle at 20% 50%, rgba(255,255,255,0.7) 1px, transparent 3px),
      radial-gradient(circle at 50% 30%, rgba(255,255,255,0.6) 2px, transparent 4px),
      radial-gradient(circle at 80% 70%, rgba(255,255,255,0.5) 1px, transparent 3px),
      linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  
  background-size: 100px 100%, 100px 100%, 100px 100%, 200px 100%;
  border-radius: 0; /* Square edges inside the pipe */
  opacity: 0.9;
  mix-blend-mode: overlay; /* Metal texture ke sath blend karega */
  box-shadow: inset 0 0 5px rgba(59, 130, 246, 0.8); /* Inner glow */
  
  /* Animation of water flowing */
  animation: waterFlow 3s linear infinite;
}

/* Moving the bubble pattern */
@keyframes waterFlow {
  0% { background-position: 0 0, 0 0, 0 0, -200px 0; }
  100% { background-position: 100px 0, 100px 0, 100px 0, 0 0; }
}

/* --- RESPONSIVE FIX FOR VERTICAL PIPES --- */
@media (max-width: 900px) {
  .connector-line {
    width: 24px; /* Thoda mota vertical pipe */
    height: 60px;
    margin: -5px auto; /* Center and tuck in */
    /* Vertical metallic gradient */
    background: linear-gradient(
      to right,
      #475569 0%,
      #e2e8f0 45%,
      #334155 100%
    );
    border-left: 1px solid #334155;
    border-right: 1px solid #1e293b;
  }

  /* Vertical Joints */
  .connector-line::before,
  .connector-line::after {
    width: 32px;
    height: 12px;
    left: -4px;
    top: auto;
    background: linear-gradient(to bottom, #64748b, #cbd5e1, #64748b);
  }
  .connector-line::before { top: -6px; }
  .connector-line::after { bottom: -6px; }

  /* Vertical Water Flow */
  .moving-data-dot {
    width: 14px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-size: 100% 100px; /* Repeat vertically */
    animation: waterFlowVert 3s linear infinite;
  }

  @keyframes waterFlowVert {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
  }
}
/* --- HOW IT WORKS HERO SECTION --- */
.how-hero {
  position: relative;
  background-color: #ffffff;
  padding: 8rem 2rem 6rem 2rem;
  text-align: center;
  overflow: hidden;
  min-height: 80vh; /* Screen ka 80% cover karega */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background Grid Animation */
.hero-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(#e2e8f0 1px, transparent 1px),
    linear-gradient(90deg, #e2e8f0 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.6;
  z-index: 1;
  transform: perspective(500px) rotateX(20deg); /* 3D tilt effect */
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: perspective(500px) rotateX(20deg) translateY(0); }
  100% { transform: perspective(500px) rotateX(20deg) translateY(50px); }
}

/* Center Glow */
.hero-glow-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
}

/* Content Wrapper */
.how-hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

/* Badge */
.hero-badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  color: #475569;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid #e2e8f0;
  margin-bottom: 2rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #2563eb;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
  animation: pulseBlue 2s infinite;
}

@keyframes pulseBlue {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Heading */
.how-hero h1 {
  font-size: 4rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

/* Subtext */
.hero-subtext {
  font-size: 1.3rem;
  color: #64748b;
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto 4rem auto;
}

.highlight-red {
  color: #e11d48; /* Red for Hallucinations/Risk */
  font-weight: 600;
  position: relative;
}

.highlight-red::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fecdd3; /* Light pink underline */
  opacity: 0.6;
}

/* Scroll Indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .how-hero { padding: 6rem 1.5rem; min-height: auto; }
  .how-hero h1 { font-size: 2.5rem; }
  .hero-subtext { font-size: 1.1rem; }
}
/* ================= THE PIPELINE SECTION (COMPLETE FIX) ================= */
.pipeline-section {
  background-color: #f8fafc;
  padding: 6rem 2rem;
}

/* 1. Header Alignment Fix */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
}

.sub-text {
  font-size: 1.2rem;
  color: #64748b;
  line-height: 1.6;
}

/* 2. Process Wrapper (Ye Flexbox Zaroori Hai) */
.process-wrapper {
  display: flex; /* Sabse Important Line */
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  gap: 0; /* Gap 0 rakhein kyunki pipe connect karega */
}

/* 3. Cards Styling */
.process-step {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2rem;
  width: 300px; /* Fixed width zaroori hai */
  min-width: 280px; /* Text wrap na ho */
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  z-index: 10; /* Pipe ke upar dikhna chahiye */
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
}

/* Hero Engine Card */
.process-step.hero-engine {
  transform: scale(1.1);
  border-color: #3b82f6;
  box-shadow: 0 20px 50px -10px rgba(37, 99, 235, 0.15);
  z-index: 20; /* Sabse upar */
}

.process-step.hero-engine:hover {
  transform: scale(1.1) translateY(-5px);
}

.engine-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Icons & Text */
.step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}
.input-icon { background: #f1f5f9; color: #64748b; }
.engine-icon { background: #dbeafe; color: #2563eb; }
.output-icon { background: #dcfce7; color: #16a34a; }
.step-icon svg { width: 28px; height: 28px; }

.process-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

/* Data Lists */
.data-list {
  list-style: none;
  padding: 15px;
  text-align: left;
  background: #f8fafc;
  border-radius: 12px;
}
.data-list li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #475569;
}
.engine-checks { display: flex; flex-direction: column; gap: 10px; }
.check-item {
  background: #f0f9ff; border: 1px solid #bae6fd;
  padding: 10px; border-radius: 8px; font-size: 0.9rem;
  color: #0369a1; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}

/* 4. REALISTIC WATER PIPELINE (Fixed) */
.connector-line {
  flex: 1; /* Ye tabhi chalega jab parent display:flex ho */
  height: 24px;
  position: relative;
  margin: 0 -10px; /* Cards ke andar ghusega */
  z-index: 1; /* Cards ke peeche */
  
  /* Metallic Body */
  background: linear-gradient(
    to bottom,
    #475569 0%,   /* Dark top */
    #94a3b8 20%,  /* Light metal */
    #e2e8f0 45%,  /* Shiny highlight */
    #94a3b8 80%,  /* Shadow */
    #334155 100%  /* Dark bottom */
  );
  
  border-top: 1px solid #334155;
  border-bottom: 1px solid #1e293b;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* Pipe Joints */
.connector-line::before,
.connector-line::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 12px;
  height: 32px;
  background: linear-gradient(to right, #64748b, #cbd5e1, #64748b);
  border: 1px solid #475569;
  border-radius: 4px;
}
.connector-line::before { left: -5px; }
.connector-line::after { right: -5px; }

/* Water Flow Animation */
.moving-data-dot {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 14px;
  opacity: 0.9;
  mix-blend-mode: overlay;
  
  background-color: #3b82f6;
  background-image: 
      radial-gradient(circle at 50% 50%, rgba(255,255,255,0.8) 1px, transparent 2px),
      linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  background-size: 20px 20px, 200px 100%;
  
  animation: waterFlow 3s linear infinite;
}

@keyframes waterFlow {
  0% { background-position: 0 0, -200px 0; }
  100% { background-position: 40px 0, 200px 0; }
}

/* 5. Mobile Responsive */
@media (max-width: 900px) {
  .process-wrapper {
    flex-direction: column; /* Mobile pe vertical stack */
    gap: 0;
  }
  
  .process-step {
    width: 100%;
    max-width: 350px;
  }

  /* Vertical Pipe Fix */
  .connector-line {
    width: 24px;
    height: 60px;
    margin: -10px auto;
    
    background: linear-gradient(
      to right,
      #475569 0%,
      #e2e8f0 45%,
      #334155 100%
    );
  }

  .connector-line::before, 
  .connector-line::after {
    width: 32px; height: 12px;
    left: -4px; top: auto;
    background: linear-gradient(to bottom, #64748b, #cbd5e1, #64748b);
  }
  .connector-line::before { top: -5px; }
  .connector-line::after { bottom: -5px; }

  .moving-data-dot {
    width: 14px; height: 100%;
    top: 0; left: 50%;
    transform: translateX(-50%);
    animation: waterFlowVert 3s linear infinite;
  }

  @keyframes waterFlowVert {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
  }
  
  .process-step.hero-engine { transform: scale(1); }
}
/* ================= STEP-BY-STEP SECTION ================= */
.breakdown-section {
  background-color: #ffffff;
  padding: 6rem 2rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

/* --- STEP ROW LAYOUT --- */
.step-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- LEFT SIDE: TEXT --- */
.step-text {
  flex: 1;
}

.step-number {
  font-size: 0.9rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.step-text h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
}

.step-intro {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Method List */
.method-list h4 {
  font-size: 1rem;
  color: #1e293b;
  margin-bottom: 1rem;
}

.method-list ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 2.5rem;
}

.method-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  color: #334155;
}

.m-icon {
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Pinned Note (Important) */
.pinned-note {
  background: #fffbeb; /* Light Yellow */
  border-left: 4px solid #f59e0b; /* Orange Accent */
  padding: 15px 20px;
  border-radius: 0 8px 8px 0;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.pin-icon { font-size: 1.2rem; }

.pinned-note p {
  margin: 0;
  font-size: 0.95rem;
  color: #92400e; /* Dark Orange Text */
  line-height: 1.5;
}

/* --- RIGHT SIDE: VISUAL (Console) --- */
.step-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.input-console {
  background: #1e293b; /* Dark Slate Theme */
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
  z-index: 2;
  border: 1px solid #334155;
}

/* Console Header */
.console-header {
  background: #0f172a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #334155;
}

.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; }
.dots span:nth-child(1) { background: #ef4444; }
.dots span:nth-child(2) { background: #f59e0b; }
.dots span:nth-child(3) { background: #22c55e; }

.console-title {
  flex: 1;
  text-align: center;
  font-family: monospace;
  color: #64748b;
  font-size: 0.8rem;
  margin-right: 36px; /* Balance text */
}

/* Console Body */
.console-body { padding: 25px; display: flex; flex-direction: column; gap: 20px; }

.c-group label {
  display: block;
  color: #94a3b8;
  font-size: 0.8rem;
  margin-bottom: 8px;
  font-family: monospace;
}

.c-input {
  background: #0f172a;
  border: 1px solid #334155;
  color: #cbd5e1;
  padding: 12px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.9rem;
}

.response-area {
  height: 80px;
  color: #a5b4fc; /* Light Purple for AI text */
}

.cursor { animation: blink 1s infinite; border-right: 2px solid white; margin-left: 2px; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.c-btn-action {
  background: #2563eb;
  border: none;
  color: white;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
}

.c-btn-action:hover { background: #1d4ed8; }

/* Background Decoration */
.step-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  z-index: 1;
  border-radius: 50%;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
  .step-row { flex-direction: column; gap: 3rem; }
  .input-console { width: 100%; }
}
/* --- STEP ROW REVERSE (Zig-Zag) --- */
.step-row.reverse {
  flex-direction: row-reverse; /* Visual Left, Text Right */
  margin-top: 6rem; /* Gap between steps */
}

/* --- VISUAL: LAYERED SCANNER --- */
.layer-card {
  background: #ffffff;
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  padding: 20px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.layer-header {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.layer-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v-layer {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #f8fafc;
  transition: transform 0.3s ease;
}

.v-layer:hover { transform: scale(1.02); }

/* Color Themes for Layers */
.l-green { background: #f0fdf4; border-color: #bbf7d0; }
.l-green .icon { background: #dcfce7; }

.l-red { background: #fef2f2; border-color: #fecaca; }
.l-red .icon { background: #fee2e2; }

.l-yellow { background: #fffbeb; border-color: #fde68a; }
.l-yellow .icon { background: #fef3c7; }

.v-layer .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.v-layer .info strong {
  display: block;
  font-size: 0.95rem;
  color: #1e293b;
}

.v-layer .info span {
  font-size: 0.8rem;
  color: #64748b;
}

.layer-status {
  text-align: center;
  margin-top: 15px;
  font-size: 0.8rem;
  color: #3b82f6;
  font-family: monospace;
  animation: blinkText 1.5s infinite;
}

@keyframes blinkText { 50% { opacity: 0.5; } }

/* Scanning Bar Animation */
.scan-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  box-shadow: 0 0 15px #3b82f6;
  z-index: 10;
  animation: scanVertical 3s ease-in-out infinite;
  opacity: 0.8;
}

@keyframes scanVertical {
  0% { top: 10%; }
  50% { top: 90%; }
  100% { top: 10%; }
}

/* Background Blob Color Variant */
.step-blob.blob-blue {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
}

/* --- RIGHT SIDE: LIST STYLING --- */
.check-list-styled {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 2rem;
}

.check-list-styled li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: #334155;
}

.chk-icon {
  background: #f1f5f9;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Key Point Box */
.key-point-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 20px;
  border-radius: 12px;
  position: relative;
}

.kp-label {
  position: absolute;
  top: -10px;
  left: 20px;
  background: #0ea5e9;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.key-point-box p {
  margin: 0;
  color: #0369a1;
  font-size: 1rem;
  line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .step-row.reverse {
    flex-direction: column; /* Mobile pe wapas stack */
    margin-top: 4rem;
  }
}
/* --- STEP 3: CALCULATION CARD --- */
.score-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 1.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8fafc;
  padding: 10px 15px;
  border-radius: 8px;
  border-left: 4px solid #ccc;
}

.legend-item .range {
  font-family: monospace;
  font-weight: 700;
  font-size: 1rem;
  min-width: 70px;
}

.legend-item .desc { font-size: 0.9rem; color: #475569; }
.legend-item .desc strong { color: #1e293b; }

.legend-item.red { border-left-color: #ef4444; color: #991b1b; }
.legend-item.yellow { border-left-color: #f59e0b; color: #92400e; }
.legend-item.green { border-left-color: #22c55e; color: #166534; }

/* Visual Side: Math Card */
.calc-card {
  background: #1e293b; /* Dark Math Theme */
  color: #fff;
  width: 100%;
  max-width: 380px;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
  font-family: 'Courier New', Courier, monospace; /* Code font */
}

.calc-header {
  text-align: center;
  color: #94a3b8;
  border-bottom: 1px dashed #475569;
  padding-bottom: 15px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.math-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1rem;
}

.math-row.penalty { color: #f87171; } /* Red for minus */
.math-row .val { font-weight: 700; }

.divider-line {
  height: 2px;
  background: #fff;
  margin: 10px 0 20px 0;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fbbf24; /* Gold total */
}

.total-score { font-size: 2rem; }

.calc-badge {
  position: absolute;
  bottom: -12px;
  right: 20px;
  background: #2563eb;
  font-family: sans-serif;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

/* --- STEP 4: RISK SORTER (Traffic Light) --- */
.risk-sorter-card {
  background: #ffffff;
  width: 100%;
  max-width: 400px;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
  position: relative;
  z-index: 2;
}

.sorter-header {
  text-align: center;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}

.risk-bins {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.bin {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 15px 5px;
  text-align: center;
  opacity: 0.5; /* Inactive state */
  transition: all 0.3s ease;
}

.bin.active {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 10px 20px -5px rgba(0,0,0,0.1);
  border-color: transparent;
}

.bin.low.active { background: #dcfce7; color: #15803d; }
.bin.medium.active { background: #fef3c7; color: #b45309; }
.bin.high.active { background: #fee2e2; color: #b91c1c; }

.bin-icon { font-size: 1.5rem; margin-bottom: 5px; }
.bin-label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 4px; }
.bin-desc { font-size: 0.65rem; }

/* Action Arrow */
.action-arrow {
  background: #f1f5f9;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #475569;
  border-top: 2px solid #e2e8f0;
}

.blob-yellow {
  background: radial-gradient(circle, rgba(250, 204, 21, 0.1) 0%, transparent 70%);
}

/* Risk Text List */
.risk-benefits {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}

.risk-benefits li {
  font-size: 1rem;
  color: #475569;
  padding-left: 15px;
  border-left: 3px solid #e2e8f0;
}

.instant-box {
  background: #eff6ff;
  color: #1d4ed8;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  font-size: 0.9rem;
}
/* --- STEP ROW LAYOUT (Updated with Spacing) --- */
.step-row {
  display: flex;
  align-items: center;
  gap: 5rem; /* Text aur Image ke beech ka horizontal gap */
  max-width: 1100px;
  
  /* YAHAN CHANGE KIYA HAI: */
  margin: 0 auto 10rem auto; /* Neeche 10rem (bohot saara) space diya hai */
  
  position: relative;
}

/* Last step ke neeche extra space nahi chahiye */
.step-row:last-child {
  margin-bottom: 0;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
  .step-row, 
  .step-row.reverse {
    flex-direction: column;
    gap: 3rem;
    
    /* Mobile pe thoda kam space rakhenge */
    margin-bottom: 6rem;
  }
}
/* --- STEP 5: DECISION OUTPUT --- */

/* Text Side: Large List */
.decision-list-large {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 2rem;
}

.d-option {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  transition: transform 0.2s;
}

.d-option:hover {
  transform: translateX(5px);
  border-color: #cbd5e1;
}

.d-option .icon-box { font-size: 1.5rem; }

.d-option .text { display: flex; flex-direction: column; }
.d-option .text strong { color: #1e293b; font-size: 1rem; }
.d-option .text span { color: #64748b; font-size: 0.85rem; }

/* Highlight Borders for options */
.d-option.allow { border-left: 4px solid #22c55e; }
.d-option.review { border-left: 4px solid #f59e0b; }
.d-option.block { border-left: 4px solid #ef4444; }

/* No Ambiguity Box */
.no-guess-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 0;
  border-top: 1px solid #e2e8f0;
  width: 100%;
}
.ng-icon { font-size: 1.2rem; }

/* --- VISUAL SIDE: DECISION GATE CARD --- */
.decision-gate-card {
  background: #ffffff;
  width: 100%;
  max-width: 350px;
  border-radius: 20px;
  box-shadow: 0 20px 50px -10px rgba(34, 197, 94, 0.2); /* Green Shadow */
  padding: 30px;
  text-align: center;
  position: relative;
  z-index: 2;
  border: 1px solid #e2e8f0;
}

.gate-header {
  text-transform: uppercase;
  color: #64748b;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

/* Animated Checkmark */
.status-ring {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px auto;
}

.checkmark-svg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #fff;
  stroke-miterlimit: 10;
  box-shadow: inset 0 0 0 #22c55e;
  animation: fillGreen .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #22c55e;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke { 100% { stroke-dashoffset: 0; } }
@keyframes scale { 0%, 100% { transform: none; } 50% { transform: scale3d(1.1, 1.1, 1); } }
@keyframes fillGreen { 100% { box-shadow: inset 0 0 0 50px #22c55e; } }

.status-label {
  font-size: 2rem;
  font-weight: 800;
  color: #15803d; /* Dark Green */
  margin-bottom: 25px;
}

/* JSON Snippet Box */
.json-snippet {
  background: #1e293b;
  border-radius: 8px;
  padding: 15px;
  text-align: left;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.key { color: #94a3b8; }
.val-green { color: #4ade80; font-weight: 700; }
.val-str { color: #a5b4fc; }

.blob-green {
  background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .decision-gate-card { width: 100%; }
}
/* ================= EXPLAINABILITY SECTION (Premium & Interactive) ================= */
.explain-section {
  background-color: #f8fafc;
  padding: 8rem 2rem;
  overflow: hidden;
}

.explain-row {
  display: flex;
  align-items: center;
  gap: 6rem;
  max-width: 1150px;
  margin: 0 auto;
}

/* --- LEFT: VISUAL (The Inspector Card) --- */
.explain-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.inspector-card {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  /* Deep, layered shadow for depth */
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 
    0 8px 10px -6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  overflow: visible; /* Tooltips ke liye visible rakhna zaroori hai */
  position: relative;
  z-index: 5;
  transition: transform 0.3s ease;
}

.inspector-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(126, 34, 206, 0.15); /* Purple tint shadow */
}

/* 1. Document View (Paper Style) */
.doc-view {
  padding: 35px;
  font-family: 'Merriweather', 'Georgia', serif; /* Serif font for doc feel */
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.9;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  border-radius: 20px 20px 0 0;
}

.doc-line { margin-bottom: 12px; }

/* 2. Interactive Highlights (Tooltips) */
.highlight {
  padding: 2px 6px;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-block;
}

.highlight.error { 
  background: #fef2f2; 
  color: #b91c1c; 
  border-bottom: 2px solid #ef4444; 
}
.highlight.warning { 
  background: #fffbeb; 
  color: #b45309; 
  border-bottom: 2px solid #f59e0b; 
}

/* Hover Effects on Text */
.highlight:hover {
  transform: scale(1.05);
  z-index: 10;
}

.highlight.error:hover { background: #fee2e2; }
.highlight.warning:hover { background: #fef3c7; }

/* TOOLTIP MAGIC (CSS Only) */
.highlight::after {
  content: attr(data-tooltip); /* HTML se text uthayega */
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #1e293b;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: sans-serif;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
  margin-bottom: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Arrow for Tooltip */
.highlight::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  border: 6px solid transparent;
  border-top-color: #1e293b;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  margin-bottom: -4px;
}

.highlight:hover::after,
.highlight:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 3. Analysis Panel (Logs) */
.analysis-panel {
  background: #f8fafc;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-radius: 0 0 20px 20px;
}

.panel-header {
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.log-item {
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  border-left: 4px solid #ccc;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.log-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.log-item.error { border-left-color: #ef4444; }
.log-item.warning { border-left-color: #f59e0b; }

.log-title { 
  font-size: 0.9rem; 
  font-weight: 700; 
  color: #1e293b; 
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
}

.log-desc { font-size: 0.85rem; color: #64748b; line-height: 1.5; }

/* Blob Background */
.step-blob.blob-purple {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
  width: 350px;
  height: 350px;
  z-index: 1;
}

/* --- RIGHT: TEXT CONTENT --- */
.explain-text { flex: 1; }

.section-tag-purple {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #7e22ce; 
  background: #f3e8ff; 
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  border: 1px solid #e9d5ff;
}

.explain-text h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.explain-text .step-intro {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* Benefits List with Hover Effects */
.explain-benefits {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.explain-benefits li {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
}

.explain-benefits li:hover {
  transform: translateX(10px); /* Poora item right move karega */
}

.eb-icon {
  background: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

/* Icon Hover Effect */
.explain-benefits li:hover .eb-icon {
  background: #f3e8ff; /* Light Purple BG */
  border-color: #d8b4fe;
  transform: rotate(10deg) scale(1.1);
}

.explain-benefits strong {
  display: block;
  font-size: 1.15rem;
  color: #1e293b;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.explain-benefits li:hover strong {
  color: #7e22ce; /* Purple text on hover */
}

.explain-benefits p {
  margin: 0;
  font-size: 1rem;
  color: #64748b;
  line-height: 1.5;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 950px) {
  .explain-row { 
    flex-direction: column-reverse; 
    gap: 4rem; 
    text-align: center;
  }
  
  .explain-benefits li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .inspector-card {
    max-width: 100%;
  }
}
/* --- FINAL CTA: THE TRUST HORIZON --- */
.cta-horizon {
  position: relative;
  background: linear-gradient(180deg, #1e3a8a 0%, #172554 100%); /* Deep Royal Blue */
  padding: 8rem 2rem;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

/* Background Horizon Glow (Rising Sun Effect) */
.horizon-glow {
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.6) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 1;
  animation: horizonRise 4s ease-in-out infinite alternate;
}

@keyframes horizonRise {
  0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

/* Container */
.cta-container {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

/* Typography */
.cta-heading {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.gold-text {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%); /* Gold Gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

/* Optional: Shine effect on text */
.gold-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shineText 3s infinite;
}

@keyframes shineText {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}

.cta-sub {
  font-size: 1.25rem;
  color: #bfdbfe; /* Light Blue Text */
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Primary Button: White Pulse */
.btn-white-pulse {
  background: #ffffff;
  color: #172554; /* Dark Blue Text */
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-white-pulse:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
}

.btn-white-pulse svg { width: 20px; height: 20px; }

/* Secondary Button: Glass Style */
.btn-glass-outline {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-glass-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-3px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cta-heading { font-size: 2.5rem; }
  .cta-actions { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
  .btn-white-pulse, .btn-glass-outline { justify-content: center; width: 100%; }
}
/* ================= USE CASES HERO SECTION ================= */
.uc-hero {
  position: relative;
  background-color: #0f172a; /* Dark Slate Blue */
  padding: 8rem 2rem 6rem 2rem;
  text-align: center;
  overflow: hidden;
  min-height: 85vh; /* Covers most of the screen */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

/* Background Floating Words Animation */
.floating-words {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none; /* Mouse click pass through */
}

.f-word {
  position: absolute;
  color: rgba(255, 255, 255, 0.03); /* Very subtle transparent text */
  font-size: 4rem;
  font-weight: 800;
  white-space: nowrap;
  text-transform: uppercase;
  user-select: none;
  animation: floatWords 20s infinite linear;
}

/* Positioning random words */
.w1 { top: 10%; left: 5%; animation-duration: 25s; font-size: 5rem; }
.w2 { top: 20%; right: 10%; animation-duration: 30s; font-size: 3rem; }
.w3 { bottom: 15%; left: 15%; animation-duration: 22s; font-size: 4rem; }
.w4 { bottom: 30%; right: 5%; animation-duration: 28s; font-size: 6rem; }
.w5 { top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0; } /* Hidden center */

@keyframes floatWords {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Gradient Overlay for Spotlight effect */
.uc-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.4) 0%, #0f172a 90%);
  z-index: 2;
}

/* Content Styling */
.uc-hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
}

.uc-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
}

.uc-hero-content h1 {
  font-size: 4.5rem; /* Massive Heading */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.trust-highlight {
  color: #3b82f6; /* Bright Blue */
  position: relative;
  display: inline-block;
}

/* Underline animation for 'Trust' */
.trust-highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(59, 130, 246, 0.4);
  z-index: -1;
  transform: skewX(-10deg);
}

.uc-sub {
  font-size: 1.4rem;
  color: #cbd5e1; /* Light Grey */
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-weight: 300;
}

/* Explore Button */
.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #0f172a;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-explore:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
  background: #f8fafc;
}

.btn-explore svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn-explore:hover svg {
  transform: translateY(3px); /* Arrow moves down */
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .uc-hero h1 { font-size: 2.8rem; }
  .uc-sub { font-size: 1.1rem; }
  .f-word { font-size: 2rem; opacity: 0.05; } /* Words chote aur light */
}
/* ================= USE CASES HERO (Aurora Glass Theme) ================= */
.uc-hero-aurora {
  position: relative;
  background-color: #f8fafc; /* Very light grey base */
  padding: 8rem 2rem 6rem 2rem;
  overflow: hidden;
  text-align: center;
}

/* --- BACKGROUND AURORA ANIMATION --- */
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px); /* Heavy blur for soft look */
  opacity: 0.6;
  z-index: 0;
  animation: blobFloat 10s infinite alternate;
}

/* Blob Colors & Positions */
.b1 {
  width: 500px; height: 500px;
  background: #a78bfa; /* Soft Purple */
  top: -100px; left: -100px;
  animation-duration: 12s;
}

.b2 {
  width: 600px; height: 600px;
  background: #60a5fa; /* Soft Blue */
  bottom: -100px; right: -100px;
  animation-duration: 15s;
}

.b3 {
  width: 400px; height: 400px;
  background: #2dd4bf; /* Soft Teal */
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.4;
  animation-duration: 18s;
}

@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -30px) scale(1.1); }
}

.relative-z { position: relative; z-index: 2; }

/* --- TYPOGRAPHY & CONTENT --- */
.uc-center-content {
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

/* Glass Pill Badge */
.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.aurora-heading {
  font-size: 4rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.gradient-text-anim {
  background: linear-gradient(270deg, #2563eb, #7c3aed, #2563eb);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientTextMove 4s linear infinite;
}

@keyframes gradientTextMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.aurora-sub {
  font-size: 1.3rem;
  color: #64748b;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* Buttons */
.uc-actions-center {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-aurora-primary {
  background: #0f172a;
  color: white;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s;
  box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.3);
}

.btn-aurora-primary:hover {
  transform: translateY(-3px);
  background: #1e293b;
}

.btn-aurora-secondary {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: #334155;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
}

.btn-aurora-secondary:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.play-icon { font-size: 0.8rem; color: #2563eb; }

/* --- 3D GLASS CARD VISUAL --- */
.hero-glass-visual {
  perspective: 1000px; /* Essential for 3D effect */
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.glass-card-3d {
  width: 100%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.7); /* See-through white */
  backdrop-filter: blur(20px); /* The Frost Effect */
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 0;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5); /* Inner shine */
  transform: rotateX(10deg); /* Initial tilt */
  transition: transform 0.5s ease;
  overflow: hidden;
  position: relative;
}

.glass-card-3d:hover {
  transform: rotateX(0deg) scale(1.02); /* Straighten on hover */
}

/* Card Internals */
.gc-header {
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
}

.gc-dots { display: flex; gap: 6px; }
.gc-dots span { width: 10px; height: 10px; background: #cbd5e1; border-radius: 50%; }
.gc-title { flex: 1; text-align: center; color: #94a3b8; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; }

.gc-body { padding: 30px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

.chat-bubble {
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  max-width: 80%;
}

.chat-bubble.user {
  background: #f1f5f9;
  color: #334155;
  align-self: flex-end; /* Right side */
  border-radius: 12px 12px 0 12px;
}

.chat-bubble.ai {
  background: white;
  border: 1px solid #e2e8f0;
  color: #334155;
  border-radius: 12px 12px 12px 0;
  position: relative;
  width: 100%;
}

.ai-text-lines .line {
  display: block; height: 8px; background: #e2e8f0; border-radius: 4px; margin-bottom: 8px;
}
.l1 { width: 90%; } .l2 { width: 60%; }

/* Verified Badge Float */
.verified-badge-float {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #10b981; /* Emerald Green */
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
  animation: floatBadge 3s infinite ease-in-out;
}

.verified-badge-float svg { width: 14px; height: 14px; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Glass Shine Sweep */
.glass-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  animation: shineGlass 6s infinite;
}

@keyframes shineGlass {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

/* Mobile */
@media (max-width: 768px) {
  .aurora-heading { font-size: 2.5rem; }
  .aurora-blob { opacity: 0.4; }
  .glass-card-3d { transform: none; }
}
/* ================= USE CASE SECTIONS ================= */
.uc-section {
  padding: 6rem 2rem;
  background-color: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.uc-split-row {
  display: flex;
  align-items: center;
  gap: 5rem;
}

/* --- LEFT SIDE: CONTENT --- */
.uc-text { flex: 1; }

.persona-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.p-icon { font-size: 1.1rem; }

.uc-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.uc-desc {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* Lists Styling */
.uc-lists-wrapper {
  display: flex;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.uc-list-group h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.check-list-blue {
  list-style: none;
  padding: 0;
}

.check-list-blue li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #475569;
  font-size: 0.95rem;
}

.check-list-blue li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: bold;
}

/* Scenario Tags */
.scenario-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 250px;
}

.tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

/* Quote Box */
.uc-quote {
  border-left: 4px solid #2563eb;
  background: #eff6ff; /* Light Blue BG */
  padding: 15px 20px;
  color: #1e40af;
  font-style: italic;
  font-weight: 500;
  border-radius: 0 8px 8px 0;
  margin: 0;
}

/* --- RIGHT SIDE: VISUAL (Code Window) --- */
.uc-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.code-window {
  background: #1e293b; /* Dark Editor Theme */
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
  z-index: 2;
  font-family: 'Fira Code', monospace;
}

.window-header {
  background: #0f172a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
}

.dots { display: flex; gap: 6px; margin-right: 15px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; }
.dots .red { background: #ef4444; }
.dots .yellow { background: #f59e0b; }
.dots .green { background: #22c55e; }

.filename {
  color: #94a3b8;
  font-size: 0.8rem;
  font-family: sans-serif;
}

.code-body {
  padding: 20px;
  color: #e2e8f0;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Syntax Highlighting */
.kwd { color: #c084fc; } /* Purple for keywords */
.str { color: #a5f3fc; } /* Cyan for strings */
.func { color: #60a5fa; } /* Blue for functions */
.num { color: #fca5a5; } /* Red for numbers */
.cmt { color: #64748b; font-style: italic; } /* Grey for comments */

/* Execution Result Badge */
.exec-result {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  border: 1px solid #ef4444;
  color: #fca5a5;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1s ease-out;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 5px #ef4444;
}

/* Background Glow behind code */
.code-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, transparent 70%);
  z-index: 1;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .uc-split-row { flex-direction: column; gap: 3rem; }
  .uc-lists-wrapper { flex-direction: column; gap: 1.5rem; }
  .code-window { width: 100%; }
}
/* --- ZIG-ZAG LAYOUT (Reverse) --- */
.uc-split-row.reverse {
  flex-direction: row-reverse; /* Visual Left, Text Right */
}

/* --- PURPLE THEME VARIANTS --- */
.persona-badge.purple {
  background: #fbf7ff;
  border-color: #e9d5ff;
  color: #7e22ce;
}

.check-list-purple {
  list-style: none;
  padding: 0;
}

.check-list-purple li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #475569;
  font-size: 0.95rem;
}

.check-list-purple li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #9333ea; /* Purple Check */
  font-weight: bold;
}

.uc-quote.purple-quote {
  border-left-color: #9333ea;
  background: #faf5ff;
  color: #6b21a8;
}

/* --- VISUAL: GOVERNANCE DASHBOARD --- */
.gov-dashboard-card {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* Header */
.gov-header {
  background: #1e1b4b; /* Dark Indigo */
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gov-title { font-weight: 700; display: flex; gap: 8px; align-items: center; }
.shield-icon { font-size: 1.2rem; }

.live-indicator {
  font-size: 0.75rem;
  background: rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blink-dot {
  width: 6px; height: 6px; background: #22c55e; border-radius: 50%;
  animation: blinkLive 1.5s infinite;
}
@keyframes blinkLive { 50% { opacity: 0.3; } }

/* Body */
.gov-body { padding: 25px; }

.stats-row {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.stat-box {
  flex: 1;
  background: #f8fafc;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
  text-align: center;
}

.stat-box .label { font-size: 0.75rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-box .big-num { font-size: 1.8rem; font-weight: 800; line-height: 1.2; margin-top: 5px; }
.text-green { color: #16a34a; }
.text-red { color: #dc2626; }

/* Audit Log List */
.audit-log-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.log-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #f1f5f9;
  transition: transform 0.2s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.log-entry:hover { transform: translateX(5px); border-color: #e2e8f0; }

.log-icon {
  width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.9rem;
}
.log-icon.check { background: #dcfce7; color: #16a34a; }
.log-icon.warning { background: #fee2e2; color: #dc2626; }

.log-info { flex: 1; }
.log-info strong { display: block; font-size: 0.9rem; color: #1e293b; }
.log-info span { font-size: 0.75rem; color: #64748b; }

.time { font-size: 0.75rem; color: #94a3b8; }

/* Animated Shield Overlay */
.floating-shield {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.4);
  animation: floatShield 4s infinite ease-in-out;
}

.floating-shield svg { width: 30px; height: 30px; }

@keyframes floatShield {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Background Glow */
.gov-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, transparent 70%);
  z-index: 1;
}

/* Mobile Fix for Reverse Layout */
@media (max-width: 900px) {
  .uc-split-row.reverse {
    flex-direction: column; /* Mobile pe wapas stack, Visual top nahi chahiye toh order change karein */
  }
  
  /* Mobile pe Visual pehle, Text baad me */
  .uc-split-row.reverse .uc-visual { order: 1; }
  .uc-split-row.reverse .uc-text { order: 2; }
}
/* --- TEAL THEME VARIANTS (Students) --- */
.persona-badge.teal {
  background: #f0fdfa; /* Light Teal BG */
  border-color: #ccfbf1;
  color: #0d9488; /* Dark Teal Text */
}

.check-list-teal {
  list-style: none;
  padding: 0;
}

.check-list-teal li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #475569;
  font-size: 0.95rem;
}

.check-list-teal li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #14b8a6; /* Teal Check */
  font-weight: bold;
}

.uc-quote.teal-quote {
  border-left-color: #14b8a6;
  background: #f0fdfa;
  color: #0f766e;
}

/* --- VISUAL: RESEARCH PAPER CARD --- */
.research-paper-card {
  background: #ffffff;
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Toolbar */
.paper-toolbar {
  background: #f8fafc;
  padding: 12px 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.doc-name {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.doc-name::before { content: '📄'; font-size: 1rem; }

.tools { display: flex; gap: 8px; }
.tool-btn { font-size: 0.75rem; padding: 4px 10px; border-radius: 4px; background: #fff; border: 1px solid #cbd5e1; color: #64748b; cursor: default; }
.tool-btn.active { background: #0f172a; color: #fff; border-color: #0f172a; }

/* Body */
.paper-body {
  padding: 30px;
  font-family: 'Georgia', serif; /* Academic Feel */
  color: #334155;
  line-height: 1.6;
  font-size: 1rem;
  background: #fff;
}

.paper-body h3 {
  font-size: 1.2rem;
  color: #0f172a;
  margin-bottom: 15px;
  font-family: sans-serif;
  font-weight: 700;
}

.paper-text { margin-bottom: 15px; }

/* AI Highlight Box */
.ai-highlight-box {
  background: #f0f9ff; /* Very light blue background for AI text */
  padding: 2px;
  border-radius: 4px;
  position: relative;
  display: inline;
}

.error-mark {
  background: #fee2e2;
  color: #b91c1c;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: #ef4444;
  padding: 0 4px;
  border-radius: 2px;
  cursor: help;
}

/* Audit Popup */
.audit-popup {
  position: absolute;
  top: 100%;
  left: 0;
  width: 240px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
  z-index: 10;
  animation: slideUpFade 0.5s ease-out;
}

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

.popup-header {
  font-size: 0.8rem;
  color: #b91c1c;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.popup-msg {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  font-family: sans-serif;
  line-height: 1.4;
}

/* Grade Badge */
.grade-badge {
  position: absolute;
  top: 60px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(15deg);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  background: white;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.grade-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #14b8a6;
  color: #14b8a6;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.grade-badge span { font-size: 0.6rem; font-weight: 700; color: #64748b; text-transform: uppercase; }

/* Background Glow */
.research-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
  z-index: 1;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    /* Step 3 (Students) uses Normal layout, so no flex-reverse needed. 
       Standard stack logic from previous CSS will handle it. */
}
/* --- ORANGE THEME VARIANTS (Content Teams) --- */
.persona-badge.orange {
  background: #fff7ed; /* Light Orange BG */
  border-color: #ffedd5;
  color: #ea580c; /* Dark Orange Text */
}

.check-list-orange {
  list-style: none;
  padding: 0;
}

.check-list-orange li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #475569;
  font-size: 0.95rem;
}

.check-list-orange li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #f97316; /* Orange Check */
  font-weight: bold;
}

.uc-quote.orange-quote {
  border-left-color: #f97316;
  background: #fff7ed;
  color: #c2410c;
}

/* --- VISUAL: CMS EDITOR CARD --- */
.cms-editor-card {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

/* CMS Header */
.cms-header {
  background: #171717; /* Dark Grey (Modern CMS look) */
  color: #fff;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cms-title { font-family: monospace; font-size: 0.9rem; color: #a3a3a3; }

.cms-actions { display: flex; gap: 15px; align-items: center; }
.status-draft { font-size: 0.75rem; color: #fbbf24; font-style: italic; }

.btn-publish {
  background: #2563eb;
  color: white;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-publish.disabled {
  background: #404040;
  color: #a3a3a3;
  cursor: not-allowed;
  position: relative;
}

/* CMS Body */
.cms-body {
  display: flex;
  height: 300px;
  background: #f5f5f5;
}

.editor-sidebar {
  width: 60px;
  background: #e5e5e5;
  border-right: 1px solid #d4d4d4;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  gap: 20px;
}

.sidebar-item { font-size: 1.2rem; cursor: pointer; opacity: 0.5; }
.sidebar-item.active { opacity: 1; transform: scale(1.1); }

.editor-content {
  flex: 1;
  padding: 25px;
  background: #fff;
  position: relative;
}

.editor-content h1 { font-size: 1.4rem; color: #171717; margin-bottom: 15px; }
.content-para { font-size: 0.9rem; color: #525252; line-height: 1.6; margin-bottom: 12px; }

.verify-highlight {
  background: #dcfce7;
  border-bottom: 2px solid #22c55e;
  padding: 0 4px;
}

/* Verity Plugin Panel */
.verity-plugin-panel {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 220px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 12px;
  animation: slideInPanel 0.8s ease-out;
}

@keyframes slideInPanel {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.vp-header {
  font-size: 0.8rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 5px;
}

.vp-item { font-size: 0.75rem; margin-bottom: 8px; display: flex; gap: 6px; align-items: center; color: #4b5563; }
.vp-item.success .icon { color: #16a34a; }
.vp-item.warning .icon { color: #f59e0b; }

.vp-status {
  margin-top: 10px;
  font-size: 0.75rem;
  background: #f0fdf4;
  color: #166534;
  padding: 6px;
  text-align: center;
  border-radius: 4px;
}

/* Background Glow */
.cms-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
  z-index: 1;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .uc-split-row.reverse { flex-direction: column; }
  .uc-split-row.reverse .uc-visual { order: 1; }
  .uc-split-row.reverse .uc-text { order: 2; }
}
/* --- ORANGE THEME VARIANTS (Content Teams) --- */
.persona-badge.orange {
  background: #fff7ed; /* Light Orange BG */
  border-color: #ffedd5;
  color: #ea580c; /* Dark Orange Text */
}

.check-list-orange {
  list-style: none;
  padding: 0;
}

.check-list-orange li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #475569;
  font-size: 0.95rem;
}

.check-list-orange li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #f97316; /* Orange Check */
  font-weight: bold;
}

.uc-quote.orange-quote {
  border-left-color: #f97316;
  background: #fff7ed;
  color: #c2410c;
}

/* --- VISUAL: CMS EDITOR CARD --- */
.cms-editor-card {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

/* CMS Header */
.cms-header {
  background: #171717; /* Dark Grey (Modern CMS look) */
  color: #fff;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cms-title { font-family: monospace; font-size: 0.9rem; color: #a3a3a3; }

.cms-actions { display: flex; gap: 15px; align-items: center; }
.status-draft { font-size: 0.75rem; color: #fbbf24; font-style: italic; }

.btn-publish {
  background: #2563eb;
  color: white;
  border: none;
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-publish.disabled {
  background: #404040;
  color: #a3a3a3;
  cursor: not-allowed;
  position: relative;
}

/* CMS Body */
.cms-body {
  display: flex;
  height: 300px;
  background: #f5f5f5;
}

.editor-sidebar {
  width: 60px;
  background: #e5e5e5;
  border-right: 1px solid #d4d4d4;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  gap: 20px;
}

.sidebar-item { font-size: 1.2rem; cursor: pointer; opacity: 0.5; }
.sidebar-item.active { opacity: 1; transform: scale(1.1); }

.editor-content {
  flex: 1;
  padding: 25px;
  background: #fff;
  position: relative;
}

.editor-content h1 { font-size: 1.4rem; color: #171717; margin-bottom: 15px; }
.content-para { font-size: 0.9rem; color: #525252; line-height: 1.6; margin-bottom: 12px; }

.verify-highlight {
  background: #dcfce7;
  border-bottom: 2px solid #22c55e;
  padding: 0 4px;
}

/* Verity Plugin Panel */
.verity-plugin-panel {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 220px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 12px;
  animation: slideInPanel 0.8s ease-out;
}

@keyframes slideInPanel {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.vp-header {
  font-size: 0.8rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 5px;
}

.vp-item { font-size: 0.75rem; margin-bottom: 8px; display: flex; gap: 6px; align-items: center; color: #4b5563; }
.vp-item.success .icon { color: #16a34a; }
.vp-item.warning .icon { color: #f59e0b; }

.vp-status {
  margin-top: 10px;
  font-size: 0.75rem;
  background: #f0fdf4;
  color: #166534;
  padding: 6px;
  text-align: center;
  border-radius: 4px;
}

/* Background Glow */
.cms-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
  z-index: 1;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .uc-split-row.reverse { flex-direction: column; }
  .uc-split-row.reverse .uc-visual { order: 1; }
  .uc-split-row.reverse .uc-text { order: 2; }
}
/* --- PINK THEME (Educators) --- */
.persona-badge.pink {
  background: #fdf2f8; border-color: #fce7f3; color: #db2777;
}
.check-list-pink li::before { content: '✓'; position: absolute; left: 0; color: #db2777; font-weight: bold; }
.uc-quote.pink-quote { border-left-color: #db2777; background: #fdf2f8; color: #be185d; }

/* Visual: Classroom Tablet */
.classroom-card {
  position: relative; z-index: 2; width: 100%; max-width: 450px;
}
.tablet-frame {
  background: #1e293b; border-radius: 20px; padding: 15px;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.2);
}
.tablet-header {
  color: #94a3b8; font-size: 0.8rem; display: flex; justify-content: space-between; margin-bottom: 10px;
}
.tablet-screen {
  background: #fff; border-radius: 12px; padding: 20px; min-height: 250px; position: relative;
}
.chat-msg.ai {
  background: #f1f5f9; padding: 10px; border-radius: 8px; font-size: 0.9rem; margin-bottom: 20px; color: #334155;
}

.teacher-grade-box {
  background: #fdf2f8; border: 1px solid #fbcfe8; padding: 15px; border-radius: 8px;
  animation: popIn 0.5s ease-out;
}
.grade-header { font-size: 1rem; color: #be185d; margin-bottom: 8px; }
.grade-check { font-size: 0.8rem; color: #db2777; display: flex; gap: 5px; margin-bottom: 5px; }
.btn-approve {
  background: #db2777; color: white; border: none; width: 100%; padding: 8px;
  border-radius: 4px; font-weight: 600; cursor: pointer; margin-top: 5px;
}
.edu-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 300px; height: 300px; background: radial-gradient(circle, rgba(219, 39, 119, 0.15) 0%, transparent 70%); z-index: 1;
}

/* --- SLATE THEME (Safety Teams) --- */
.persona-badge.slate {
  background: #f8fafc; border-color: #e2e8f0; color: #475569;
}
.check-list-slate li::before { content: '✓'; position: absolute; left: 0; color: #475569; font-weight: bold; }
.uc-quote.slate-quote { border-left-color: #475569; background: #f8fafc; color: #1e293b; }

/* Visual: Safety Analytics */
.safety-dashboard-card {
  background: #ffffff; width: 100%; max-width: 480px; border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1); border: 1px solid #e2e8f0;
  position: relative; z-index: 2; overflow: hidden;
}
.dash-header {
  padding: 15px 20px; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center;
}
.dash-title { font-weight: 700; color: #1e293b; font-size: 0.9rem; }
.dash-tabs span { font-size: 0.75rem; padding: 4px 8px; cursor: pointer; color: #94a3b8; }
.dash-tabs span.active { background: #f1f5f9; color: #334155; border-radius: 4px; }

.graph-area { padding: 25px; position: relative; height: 200px; }
.graph-label { font-size: 0.8rem; color: #64748b; margin-bottom: 15px; }

/* Simple CSS Bar Graph */
.css-graph {
  display: flex; align-items: flex-end; justify-content: space-between; height: 120px; border-bottom: 2px solid #e2e8f0; position: relative;
}
.bar { width: 12%; background: #e2e8f0; border-radius: 4px 4px 0 0; transition: height 1s; }
.b1 { height: 80%; background: #fca5a5; } /* High risk */
.b2 { height: 65%; background: #fca5a5; }
.b3 { height: 50%; background: #fcd34d; }
.b4 { height: 35%; background: #fcd34d; }
.b5 { height: 20%; background: #86efac; }
.b6 { height: 10%; background: #4ade80; } /* Low risk */

.graph-x-axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 0.7rem; color: #94a3b8; }

.alert-ticker {
  background: #f0fdf4; padding: 12px 20px; font-size: 0.85rem; color: #166534; display: flex; align-items: center; gap: 8px; border-top: 1px solid #dcfce7;
}

.safety-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 300px; height: 300px; background: radial-gradient(circle, rgba(71, 85, 105, 0.15) 0%, transparent 70%); z-index: 1;
}

@keyframes popIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
/* ================= FINAL CTA SECTION (Dark Aurora) ================= */
.uc-final-cta {
  position: relative;
  background-color: #020617; /* Ultra Dark Navy/Black */
  padding: 8rem 2rem;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
}

/* Container styling */
.uc-cta-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* Heading */
.cta-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -1px;
}

.text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 3rem;
  font-weight: 300;
  line-height: 1.6;
}

/* Background Animated Orbs */
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 1;
}

.orb-1 {
  width: 400px; height: 400px;
  background: #4f46e5; /* Indigo */
  top: -100px; left: -100px;
  animation: floatOrb 10s infinite alternate;
}

.orb-2 {
  width: 500px; height: 500px;
  background: #7c3aed; /* Violet */
  bottom: -150px; right: -100px;
  animation: floatOrb 12s infinite alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0); opacity: 0.4; }
  100% { transform: translate(30px, 30px); opacity: 0.6; }
}

/* Buttons */
.cta-btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 2rem;
}

/* Solid Glow Button */
.btn-glow-solid {
  background: #ffffff;
  color: #0f172a;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-glow-solid:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
}

.btn-glow-solid .arrow { transition: transform 0.3s; }
.btn-glow-solid:hover .arrow { transform: translateX(5px); }

/* Glass Border Button */
.btn-glass-border {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-glass-border:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

/* Micro Text */
.cta-micro-text {
  font-size: 0.9rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.cta-micro-text .check { color: #22c55e; font-weight: bold; }

/* Mobile Responsive */
@media (max-width: 768px) {
  .cta-title { font-size: 2.5rem; }
  .cta-btn-group { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto 2rem auto; }
  .btn-glow-solid, .btn-glass-border { justify-content: center; width: 100%; }
}
/* ================= ABOUT PAGE STYLING ================= */

/* --- HERO SECTION --- */
.about-hero {
  position: relative;
  padding: 10rem 2rem 6rem 2rem;
  text-align: center;
  background-color: #ffffff;
  overflow: hidden;
}

.mission-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #4f46e5;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.mission-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  color: #0f172a;
  max-width: 900px;
  margin: 0 auto 2rem auto;
  position: relative;
  z-index: 2;
}

.highlight-text {
  background: linear-gradient(120deg, #4f46e5 0%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mission-sub {
  font-size: 1.4rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 300;
  position: relative;
  z-index: 2;
}

/* Aurora Background for About */
.about-aurora {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

/* --- STORY SECTION --- */
.story-section {
  padding: 6rem 2rem;
  background: #f8fafc;
}

.story-row {
  display: flex;
  align-items: center;
  gap: 5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.story-text { flex: 1; }

.story-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #1e293b;
}

.story-text p {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Quote Card */
.story-visual { flex: 1; }

.quote-card-large {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
  position: relative;
  border-left: 5px solid #4f46e5;
}

.quote-icon {
  font-size: 4rem;
  color: #e2e8f0;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: serif;
}

.quote-text {
  font-size: 1.4rem;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  font-family: 'Georgia', serif;
  font-style: italic;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: #cbd5e1; /* Placeholder */
  border-radius: 50%;
}

.author-info strong { display: block; color: #1e293b; font-size: 0.95rem; }
.author-info span { font-size: 0.85rem; color: #64748b; }

/* --- VALUES SECTION --- */
.values-section {
  padding: 8rem 2rem;
  background: #ffffff;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.value-card {
  padding: 30px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-color: #e2e8f0;
}

.v-icon { font-size: 2.5rem; margin-bottom: 20px; }

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #0f172a;
}

.value-card p {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
}

/* --- TEAM SECTION --- */
.team-section {
  padding: 6rem 2rem 8rem 2rem;
  background: #f8fafc;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 3rem auto 0 auto;
}

.team-card {
  text-align: center;
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.team-card:hover { transform: translateY(-5px); }

.member-img {
  width: 100px;
  height: 100px;
  background: #e2e8f0; /* Grey Placeholder */
  border-radius: 50%;
  margin: 0 auto 15px auto;
  background-size: cover;
  background-position: center;
}

/* Random images for demo using standard placeholders */
.img-1 { background-image: url('https://randomuser.me/api/portraits/men/32.jpg'); }
.img-2 { background-image: url('https://randomuser.me/api/portraits/women/44.jpg'); }
.img-3 { background-image: url('https://randomuser.me/api/portraits/men/85.jpg'); }
.img-4 { background-image: url('https://randomuser.me/api/portraits/women/65.jpg'); }

.team-card h4 { color: #1e293b; margin-bottom: 4px; }
.team-card span { color: #64748b; font-size: 0.85rem; }

/* Mobile Responsive */
@media (max-width: 900px) {
  .mission-title { font-size: 2.5rem; }
  .story-row { flex-direction: column; gap: 3rem; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ================= ABOUT BENTO GRID SECTION ================= */
.about-bento-section {
  padding: 8rem 2rem;
  background-color: #f8fafc; /* Light Grey Background to make white boxes pop */
}

/* The Grid Container */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  grid-template-rows: auto auto;
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Common Box Styles */
.bento-box {
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
}

/* --- 1. INTRO BOX (Spans Full Width) --- */
.intro-box {
  grid-column: 1 / -1; /* Span across both columns */
  background: #ffffff;
  border: 1px solid #e2e8f0;
  min-height: 300px;
  display: flex;
  align-items: center;
  position: relative;
}

.bento-tag {
  font-size: 0.8rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: block;
}

.intro-box h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 800px;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro-box p {
  font-size: 1.2rem;
  color: #475569;
  max-width: 700px;
  line-height: 1.6;
}

/* Decoration blob for Intro */
.intro-decoration {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  z-index: 0;
}

/* --- 2. PROBLEM BOX (Dark Theme) --- */
.problem-box {
  background: #1e293b; /* Dark Slate */
  color: #ffffff;
  border: 1px solid #334155;
}

.problem-box .box-icon-bg {
  font-size: 2rem;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.problem-box h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fca5a5; /* Light Red */
}

.problem-box p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.danger-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.danger-list li {
  background: rgba(239, 68, 68, 0.15); /* Red tint */
  color: #fca5a5;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* --- 3. SOLUTION BOX (White/Glass Theme) --- */
.solution-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  position: relative;
}

.solution-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, #2563eb, #2dd4bf);
}

.solution-box .box-icon-bg {
  font-size: 2rem;
  margin-bottom: 20px;
  background: #f0f9ff;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.solution-box h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #0f172a;
}

.solution-box p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.solution-tags span {
  background: #eff6ff; /* Light Blue */
  color: #2563eb;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid #dbeafe;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr; /* Stack everything */
  }
  
  .intro-box h2 {
    font-size: 1.8rem;
  }
}
/* --- UPDATED USP ICON STYLING (No Emojis, Only Images) --- */

.usp-icon-wrapper {
  width: 70px;  /* Thoda bada wrapper */
  height: 70px;
  background: #f8fafc;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
}

/* Image Icon Styling */
.usp-img-icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); /* Soft 3D Shadow */
  transition: transform 0.3s ease;
}

/* HOVER EFFECT: Wrapper Color Change */
.usp-card:hover .usp-icon-wrapper {
  background: #eff6ff; /* Light Blue tint */
  border-color: #dbeafe;
  transform: translateY(-3px); /* Halka sa jump */
}

/* HOVER EFFECT: Icon Zoom & Rotate */
.usp-card:hover .usp-img-icon {
  transform: scale(1.15) rotate(5deg); /* Icon bada hoga aur thoda ghumega */
}
/* ================= USP SECTION (Fixed Professional Layout) ================= */
.usp-section {
  padding: 6rem 2rem;
  background-color: #ffffff;
}

/* Header Styling */
.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.badge-pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 1rem;
}

.usp-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
}

.usp-section .sub-text {
  font-size: 1.1rem;
  color: #64748b;
}

/* --- THE GRID LAYOUT (CRITICAL FIX) --- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Force 4 Columns */
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- CARD STYLING --- */
.usp-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px 25px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%; /* Ensure equal height */
}

/* Card Hover Effect - Lift Up */
.usp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

/* --- ICON BOX STYLING --- */
.icon-box {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.icon-box svg {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

/* Specific Colors for Icons */
.blue-theme { background: #eff6ff; color: #2563eb; }
.green-theme { background: #f0fdf4; color: #16a34a; }
.amber-theme { background: #fffbeb; color: #d97706; }
.purple-theme { background: #faf5ff; color: #9333ea; }

/* Hover Interactions */
.usp-card:hover .icon-box {
  transform: scale(1.1); /* Slight zoom on icon box */
}
.usp-card:hover .blue-theme { background: #2563eb; color: #ffffff; }
.usp-card:hover .green-theme { background: #16a34a; color: #ffffff; }
.usp-card:hover .amber-theme { background: #d97706; color: #ffffff; }
.usp-card:hover .purple-theme { background: #9333ea; color: #ffffff; }

/* Text Styling */
.usp-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
  margin-top: 0;
}

.usp-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* --- RESPONSIVE FIX --- */
@media (max-width: 1024px) {
  .usp-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 Columns on Tablet */
  }
}

@media (max-width: 650px) {
  .usp-grid {
    grid-template-columns: 1fr; /* 1 Column on Mobile */
  }
  .usp-section {
    padding: 4rem 1.5rem;
  }
}
/* ================= WHO IS IT FOR SECTION ================= */
.who-section {
  padding: 6rem 2rem;
  background-color: #f8fafc; /* Light Grey background for contrast */
}

/* Grid Layout */
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card Styling */
.who-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 25px;
  text-decoration: none; /* Remove underline from links */
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

/* Icon Box */
.who-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

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

/* Theme Colors for Icons */
.blue-bg { background: #eff6ff; color: #2563eb; }
.purple-bg { background: #f3e8ff; color: #7c3aed; }
.teal-bg { background: #ccfbf1; color: #0d9488; }
.orange-bg { background: #ffedd5; color: #ea580c; }

/* Content Styling */
.who-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.who-content p {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Link Arrow */
.link-arrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: #2563eb; /* Default Blue Link */
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto; /* Push to bottom */
  transition: gap 0.3s ease;
}

/* --- HOVER EFFECTS --- */

.who-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(0,0,0,0.08);
}

.who-card:hover .link-arrow {
  gap: 10px; /* Arrow moves right */
}

/* Theme Specific Hover Borders & Text Colors */
.dev-card:hover { border-color: #2563eb; }
.dev-card:hover .link-arrow { color: #2563eb; }

.ent-card:hover { border-color: #7c3aed; }
.ent-card:hover .link-arrow { color: #7c3aed; }

.stu-card:hover { border-color: #0d9488; }
.stu-card:hover .link-arrow { color: #0d9488; }

.con-card:hover { border-color: #ea580c; }
.con-card:hover .link-arrow { color: #ea580c; }

/* Icon Scale on Hover */
.who-card:hover .who-icon {
  transform: scale(1.1);
}

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

@media (max-width: 600px) {
  .who-grid { grid-template-columns: 1fr; }
}
/* ================= VISION & MISSION SECTION ================= */
.mv-section {
  padding: 8rem 2rem;
  background-color: #ffffff;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Card Base Styling */
.mv-card {
  padding: 50px 40px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mv-card:hover {
  transform: translateY(-5px);
}

/* --- MISSION THEME (Blue) --- */
.mission-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
}

.mission-card .mv-icon-box {
  color: #0284c7;
  background: #ffffff;
}

.mission-card .mv-label { color: #0284c7; }
.highlight-mission { color: #0284c7; font-weight: 800; }

/* --- VISION THEME (Purple) --- */
.vision-card {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  border: 1px solid #e9d5ff;
}

.vision-card .mv-icon-box {
  color: #7e22ce;
  background: #ffffff;
}

.vision-card .mv-label { color: #7e22ce; }
.highlight-vision { color: #7e22ce; font-weight: 800; }

/* --- COMMON ELEMENTS --- */

/* Icon Box */
.mv-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

/* Label */
.mv-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* Main Heading */
.mv-card h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 15px;
}

/* Subtext */
.mv-card p {
  font-size: 1.1rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .mv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .mv-card {
    padding: 30px;
  }
  
  .mv-card h3 {
    font-size: 1.5rem;
  }
}
/* ================= TEAM DNA (Bento Layout) ================= */
.team-bento-section {
  padding: 6rem 2rem;
  background-color: #f8fafc;
}

.dna-grid {
  display: grid;
  grid-template-columns: 2fr 1fr; /* Left side wide, Right side narrow */
  grid-template-rows: auto auto;
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Card Base */
.dna-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.dna-card:hover { transform: translateY(-5px); }
.dna-card h3 { font-size: 1.4rem; color: #0f172a; margin-bottom: 10px; }
.dna-card p { color: #64748b; line-height: 1.6; }

/* 1. MAP CARD (Big Left Box) */
.map-card {
  grid-row: span 2; /* Takes full height */
  background: #1e293b; /* Dark Blue */
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
}

.map-card h3 { color: white; }
.map-card p { color: #cbd5e1; }

.location-tags { display: flex; gap: 10px; margin-top: 20px; }
.loc-tag {
  background: rgba(255,255,255,0.1);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Abstract Map Decoration */
.map-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: radial-gradient(#334155 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
  z-index: 0;
}
.card-content { position: relative; z-index: 1; }

/* 2. STACK CARD (Top Right) */
.stack-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stack-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.s-icon {
  background: #f1f5f9;
  color: #334155;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

/* 3. HIRING CARD (Bottom Right) */
.hiring-card {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #bfdbfe;
  display: flex;
  align-items: center;
}

.btn-hiring {
  display: inline-block;
  margin-top: 10px;
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}
.btn-hiring:hover { text-decoration: underline; }

/* ================= CLEAN FOOTER ================= */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 4rem 2rem;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.f-logo { font-size: 1.2rem; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.footer-brand p { color: #64748b; font-size: 0.9rem; margin-bottom: 5px; }
.copyright { font-size: 0.8rem; color: #94a3b8; margin-top: 20px; }

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

.f-col h4 { font-size: 0.9rem; color: #0f172a; margin-bottom: 15px; }
.f-col a {
  display: block;
  color: #64748b;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.f-col a:hover { color: #2563eb; }

/* Responsive */
@media (max-width: 768px) {
  .dna-grid { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; }
  .footer-links-group { flex-wrap: wrap; gap: 40px; }
}
/* ================= FOUNDERS SECTION (Professional Update) ================= */
.founders-section {
  padding: 8rem 2rem;
  background-color: #f8fafc;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.founder-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.founder-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.1);
  border-color: #cbd5e1;
}

/* Image Wrapper */
.founder-image-wrapper {
  width: 100%;
  height: 350px;
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
}

.f-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.founder-card:hover .f-img {
  transform: scale(1.05);
}

/* LinkedIn Badge (Clean SVG) */
.linkedin-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: #0077b5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.2s;
  cursor: pointer;
}

.linkedin-badge:hover { transform: scale(1.1); }

/* Content Area */
.founder-info {
  padding: 30px;
}

.founder-info h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 5px;
}

.f-role {
  display: block;
  font-size: 0.95rem;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.f-bio {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 25px;
}

/* --- SKILL PILLS (No Emojis, Just SVG + Text) --- */
.tech-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.skill-pill {
  display: flex;
  align-items: center;
  gap: 8px; /* Space between icon and text */
  background: #f1f5f9;
  color: #475569;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
}

.skill-pill svg {
  color: #94a3b8; /* Icon thoda soft grey */
}

/* Hover par thoda active feel */
.skill-pill:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}
.skill-pill:hover svg {
  color: #2563eb; /* Blue on hover */
}

/* Responsive */
@media (max-width: 768px) {
  .founders-grid { grid-template-columns: 1fr; }
  .founder-image-wrapper { height: 320px; }
}
/* ================= TRUST & ETHICS SECTION ================= */
.trust-section {
  padding: 8rem 2rem;
  background-color: #ffffff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Columns */
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Card Styling */
.trust-card {
  padding: 30px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #f1f5f9; /* Subtle border */
  transition: all 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
  border-color: #e2e8f0;
}

/* Icon Box */
.trust-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.trust-icon-box svg {
  width: 28px;
  height: 28px;
}

/* Icon Themes (Soft Colors) */
.teal-theme { background: #ccfbf1; color: #0f766e; } /* Privacy */
.blue-theme { background: #e0f2fe; color: #0369a1; } /* Transparency */
.indigo-theme { background: #e0e7ff; color: #4338ca; } /* Ethics */

/* Hover Animation on Icon */
.trust-card:hover .trust-icon-box {
  transform: scale(1.1) rotate(-5deg);
}

/* Text */
.trust-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 15px;
}

.trust-card p {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: 1fr; /* Stack cards on mobile */
    gap: 30px;
  }
}
/* ================= FINAL CTA (Premium Dark Card) ================= */
.about-cta-section {
  padding: 6rem 2rem 8rem 2rem;
  background-color: #ffffff;
}

.cta-card-premium {
  background: #0f172a; /* Dark Slate Blue */
  border-radius: 30px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.4);
}

/* Typography */
.cta-content-z {
  position: relative;
  z-index: 2; /* Ensures text stays above glow */
}

.cta-card-premium h2 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%); /* Gold Gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-card-premium p {
  font-size: 1.25rem;
  color: #94a3b8; /* Soft Grey */
  max-width: 600px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* Background Animated Orbs */
.glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: 1;
  animation: floatGlow 8s infinite alternate;
}

.left-orb {
  background: #4f46e5; /* Indigo */
  top: -100px;
  left: -100px;
}

.right-orb {
  background: #7c3aed; /* Purple */
  bottom: -100px;
  right: -100px;
  animation-delay: 2s;
}

@keyframes floatGlow {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.2); opacity: 0.6; }
}

/* Buttons */
.cta-btn-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-solid-white {
  background: #ffffff;
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-solid-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.btn-glass-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.2s;
}

.btn-glass-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .cta-card-premium h2 { font-size: 2.5rem; }
  .cta-btn-wrapper { flex-direction: column; }
  .btn-solid-white, .btn-glass-outline { justify-content: center; }
}
/* ================= HOW IT WORKS (Live Diagram) ================= */
.hiw-section {
  padding: 6rem 2rem;
  background-color: #f8fafc; /* Light background */
}

.diagram-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  margin: 4rem auto 0 auto;
  flex-wrap: wrap; /* Responsive */
}

/* --- COMMON CARD STYLES --- */
.diagram-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 25px;
  width: 300px; /* Uniform width */
  min-height: 340px;
  box-shadow: 0 10px 30px -5px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
}

.diagram-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}

.stage-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 15px;
}

/* --- STEP 1: INPUT STAGE --- */
.stage-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mock-msg {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
}

.user-msg { background: #f8fafc; }
.ai-msg { background: #ffffff; border-color: #e2e8f0; }

.msg-icon {
  width: 32px; height: 32px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  color: #64748b;
}
.ai-msg .msg-icon { background: #eff6ff; color: #2563eb; border-color: #dbeafe; }

.msg-content { flex: 1; }
.msg-content .label { display: block; font-size: 0.75rem; font-weight: 700; color: #1e293b; margin-bottom: 6px; }

.skeleton-lines .line {
  display: block;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  margin-bottom: 6px;
}
.w-80 { width: 80%; } .w-60 { width: 60%; } .w-90 { width: 90%; } .w-70 { width: 70%; } .w-40 { width: 40%; }


/* --- STEP 2: ENGINE STAGE --- */
.engine-visual {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.central-shield {
  width: 80px;
  height: 80px;
  background: #1e293b; /* Dark Blue */
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 20px rgba(30, 41, 59, 0.3);
}

.shield-text { font-size: 0.8rem; font-weight: 800; margin-top: -2px; }

/* Pulse Animation */
.shield-pulse {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid #3b82f6;
  animation: pulseRing 2s infinite;
  z-index: 1;
}

@keyframes pulseRing {
  0% { width: 100%; height: 100%; opacity: 1; }
  100% { width: 160%; height: 160%; opacity: 0; }
}

/* Surrounding Checks */
.check-item {
  position: absolute;
  background: white;
  border: 1px solid #e2e8f0;
  padding: 6px 10px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 6px;
}

.c-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
}

.top-left { top: 30px; left: -15px; }
.top-right { top: 30px; right: -15px; }
.bottom-center { bottom: 40px; }

/* --- STEP 3: OUTPUT STAGE --- */
.scorecard-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}

.score-row .s-label { font-size: 0.75rem; color: #64748b; font-weight: 600; display: block; margin-bottom: 5px; }
.score-row .s-value { font-size: 2.5rem; font-weight: 800; color: #0f172a; line-height: 1; margin-bottom: 10px; }
.s-small { font-size: 1rem; color: #94a3b8; font-weight: 500; }

.progress-bar { height: 6px; background: #f1f5f9; border-radius: 3px; overflow: hidden; }
.progress-bar .fill { height: 100%; background: #2563eb; border-radius: 3px; }

.risk-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f1f5f9; padding-bottom: 15px; }
.badge-low { 
    background: #dcfce7; color: #166534; font-size: 0.75rem; font-weight: 800; padding: 4px 10px; border-radius: 4px; letter-spacing: 0.5px;
    display: flex; align-items: center; gap: 4px;
}

.decision-box { text-align: center; margin-top: 5px; }
.d-label { font-size: 0.7rem; color: #94a3b8; font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; display: block; }
.stamp-allow {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid #16a34a; color: #16a34a;
  padding: 8px 20px;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 8px;
  text-transform: uppercase;
  transform: rotate(-2deg); /* Stamp effect */
}

.verified-footer {
    margin-top: auto;
    font-size: 0.7rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Arrow between cards */
.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .flow-arrow { display: none; }
  .diagram-container { flex-direction: column; gap: 30px; }
}
/* ================= REMOVE BOX & MAKE IMAGE FULL SIZE ================= */

/* 1. Jo container box tha, uska background aur size hata do */
.icon-box {
  width: auto !important;        /* Koi fixed chaudaai nahi */
  height: auto !important;       /* Koi fixed lambai nahi */
  background-color: transparent !important; /* Background gayab */
  border-radius: 0 !important;   /* Gol kinare hatao */
  padding: 0 !important;         /* Padding hatao */
  display: block !important;     /* Flex hata kar normal block banao */
  margin-bottom: 25px !important; /* Niche thodi jagah */
}

/* 2. Image ko ab khul kar bada hone do */
.icon-box img {
  width: 100% !important;        /* Card ki poori chaudaai le le */
  max-width: 180px !important;   /* Lekin 180px se zyada badi na ho (warna bahut badi ho jayegi) */
  height: auto !important;       /* Ratio kharab na ho */
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;     /* Center mein rakho */
}

/* 3. Card ka text center rakho */
.why-card {
  text-align: center !important;
  align-items: center !important;
}
/* ================= THEME VARIABLES (Light & Dark) ================= */
:root {
  /* LIGHT MODE (Default) */
  --bg-color: #ffffff;
  --text-color: #0f172a;
  --text-muted: #64748b;
  --nav-bg: rgba(255, 255, 255, 0.85); /* Glass Effect */
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --primary: #2563eb;
  --icon-bg: #f8fafc;
}

/* DARK MODE (Active when attribute is set) */
[data-theme="dark"] {
  --bg-color: #0b1120; /* Deep Navy Black */
  --text-color: #f8fafc;
  --text-muted: #94a3b8;
  --nav-bg: rgba(11, 17, 32, 0.85); /* Dark Glass */
  --card-bg: #1e293b;
  --border-color: #334155;
  --primary: #3b82f6;
  --icon-bg: #1e293b;
}

/* Apply Variables to Body */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth Transition */
}

/* ================= PREMIUM NAVBAR STYLING ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--nav-bg);
  backdrop-filter: blur(12px); /* Blur Effect */
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-color);
}
.logo-icon { color: var(--primary); display: flex; }
.text-blue { color: var(--primary); }

/* Links */
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

/* Right Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link-login {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
}

.btn-primary-sm {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s;
}
.btn-primary-sm:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); }

/* Toggle Button */
.theme-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: 50%; /* Circular */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-btn:hover {
  background: var(--icon-bg);
  color: var(--primary);
  border-color: var(--primary);
}

/* Icons Logic */
[data-theme="light"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: none; }

/* ================= DARK MODE OVERRIDES FOR CARDS ================= */
/* Ye zaroori hai taaki aapke cards bhi dark ho jayein */
[data-theme="dark"] .why-card, 
[data-theme="dark"] .diagram-card, 
[data-theme="dark"] .founder-card,
[data-theme="dark"] .trust-card {
  background-color: var(--card-bg);
  border-color: var(--border-color);
}

[data-theme="dark"] .icon-box,
[data-theme="dark"] .why-icon-box {
  background-color: rgba(255,255,255,0.05) !important;
}

[data-theme="dark"] h2, 
[data-theme="dark"] h3, 
[data-theme="dark"] h4 {
  color: #f8fafc;
}

[data-theme="dark"] p, 
[data-theme="dark"] .sub-text {
  color: #94a3b8;
}
/* ================= GLOBAL DARK MODE FIX (The Magic Code) ================= */

/* 1. Jab Dark Mode ON ho, toh Sun dikhao, Moon chupao */
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: block; color: #fbbf24; /* Golden Sun */ }

/* 2. Jab Light Mode ON ho, toh Moon dikhao, Sun chupao */
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; color: #64748b; /* Slate Moon */ }

/* 3. SAARI SECTIONS KO DARK KARO (Force Override) */
[data-theme="dark"] body,
[data-theme="dark"] section,
[data-theme="dark"] .hero-section,
[data-theme="dark"] .features-section,
[data-theme="dark"] .about-section,
[data-theme="dark"] .why-choose-section,
[data-theme="dark"] .footer-section,
[data-theme="dark"] .founders-section,
[data-theme="dark"] .trust-section {
    background-color: #0f172a !important; /* Deep Navy Background */
    color: #f8fafc !important;
}

/* 4. CARDS KO DARK KARO (Thoda sa lighter dark taaki alag dikhein) */
[data-theme="dark"] .feature-card,
[data-theme="dark"] .why-card,
[data-theme="dark"] .founder-card,
[data-theme="dark"] .trust-card,
[data-theme="dark"] .diagram-card,
[data-theme="dark"] .cta-card-premium {
    background-color: #1e293b !important; /* Lighter Slate */
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

/* 5. TEXT COLORS FIX IN DARK MODE */
[data-theme="dark"] h1, 
[data-theme="dark"] h2, 
[data-theme="dark"] h3, 
[data-theme="dark"] strong {
    color: #ffffff !important;
}

[data-theme="dark"] p, 
[data-theme="dark"] .sub-text, 
[data-theme="dark"] span {
    color: #94a3b8 !important; /* Soft Grey text */
}

/* 6. ICONS & LOGOS IN DARK MODE */
/* Agar koi kaali image logo hai, usse white filter karo */
[data-theme="dark"] .client-logo {
    filter: brightness(0) invert(1); 
    opacity: 0.7;
}

/* 7. TOGGLE BUTTON STYLING (Professional Circle) */
.theme-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    background-color: #f1f5f9;
    transform: rotate(15deg); /* Thoda sa ghumega hover pe */
}

/* Dark mode mein button ka border adjust */
[data-theme="dark"] .theme-btn {
    border-color: #334155;
}
[data-theme="dark"] .theme-btn:hover {
    background-color: #1e293b;
}
/* ================= TOGGLE BUTTON FIXED ================= */

/* Button Styling */
.theme-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #64748b; /* Default Icon Color */
}

.theme-btn:hover {
    background-color: #f1f5f9;
    color: #2563eb;
    border-color: #2563eb;
}

/* --- ICON SWITCHING LOGIC (Very Important) --- */

/* Default State (Light Mode): Moon dikhao, Sun chupao */
.icon-sun { display: none; }
.icon-moon { display: block; }

/* Dark Mode State: Sun dikhao, Moon chupao */
[data-theme="dark"] .icon-sun { 
    display: block; 
    color: #fbbf24; /* Golden Sun */
}
[data-theme="dark"] .icon-moon { 
    display: none; 
}

/* Dark Mode Button Styling */
[data-theme="dark"] .theme-btn {
    border-color: #334155;
    background-color: rgba(255,255,255,0.05);
}

[data-theme="dark"] .theme-btn:hover {
    background-color: rgba(255,255,255,0.1);
}
/* Sabhi sections ko Pure Black karein */
[data-theme="dark"] body,
[data-theme="dark"] section,
[data-theme="dark"] .hero-section,
[data-theme="dark"] .why-choose-section,
[data-theme="dark"] .hiw-section,
[data-theme="dark"] .founders-section,
[data-theme="dark"] .trust-section,
[data-theme="dark"] .premium-footer {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Cards ko subtle deep grey/black deein taaki wo float karein */
[data-theme="dark"] .why-card,
[data-theme="dark"] .diagram-card,
[data-theme="dark"] .founder-card,
[data-theme="dark"] .trust-card,
[data-theme="dark"] .cta-card-premium {
    background-color: #0a0a0a !important; 
    border: 1px solid #1a1a1a !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}
/* ================= FIXED PROFESSIONAL LAYOUT ================= */

.why-section {
    padding: 80px 2rem;
    background-color: #000000; /* Pure Black */
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 50px;
}

.why-grid {
    display: flex; /* Horizontal alignment ke liye */
    justify-content: center;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* Mobile friendly */
}

/* Card ka naya look */
.why-card {
    background: #0a0a0a; /* Dark Grey Card */
    border: 1px solid #1a1a1a;
    padding: 35px 25px;
    border-radius: 20px;
    width: 260px; /* Fixed width taaki alignment sahi rahe */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: #3b82f6; /* Blue glow on hover */
}

/* Icons ko center aur bada karne ke liye */
.pure-svg-icon {
    width: 65px;
    height: 65px;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pure-svg-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2.5px;
}

/* Typography Fixes */
.why-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.9rem;
    color: #a1a1aa; /* Grey text */
    line-height: 1.5;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .why-card {
        width: 100%; /* Mobile pe poori width */
        max-width: 350px;
    }
}
/* ================= IMPROVED LIGHT & DARK CONTRAST ================= */

/* LIGHT MODE (Default) */
[data-theme="light"] {
  --bg-color: #ffffff !important;
  --text-color: #0f172a !important;   /* Deep Navy for better readability */
  --text-muted: #475569 !important;   /* Darker grey for sub-text */
  --card-bg: #f8fafc !important;      /* Very light grey for cards */
  --border-color: #e2e8f0 !important;
  --icon-fill: #2563eb !important;    /* Bright blue icons */
}

/* DARK MODE (OLED Black) */
[data-theme="dark"] {
  --bg-color: #000000 !important;
  --text-color: #ffffff !important;
  --text-muted: #94a3b8 !important;   /* Lighter grey for dark mode */
  --card-bg: #0a0a0a !important;
  --border-color: #1a1a1a !important;
  --icon-fill: #3b82f6 !important;    /* Cyan blue for glow effect */
}
/* Section Backgrounds */
body, section {
    background-color: var(--bg-color) !important;
    color: var(--text-color) !important;
    transition: all 0.3s ease;
}

/* Why Section Cards Fix */
.why-card {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Icon (SVG) Contrast Fix */
.pure-svg-icon {
    color: var(--icon-fill) !important; /* SVG ka color yahan se control hoga */
    background: transparent !important;
    margin-bottom: 20px;
}

/* Specific text visibility */
.why-card h3 {
    color: var(--text-color) !important;
    margin-bottom: 15px;
}

.why-card p {
    color: var(--text-muted) !important;
}
/* Logo visibility across modes */
[data-theme="light"] .logo span {
    color: #0f172a !important;
}

[data-theme="light"] .nav-links a {
    color: #475569 !important;
}

[data-theme="light"] .nav-links a:hover {
    color: #2563eb !important;
}

/* Navigation buttons in Light Mode */
[data-theme="light"] .btn-primary-sm {
    background: #2563eb !important;
    color: #ffffff !important;
}
/* ================= HERO SECTION PREMIUM STYLING ================= */

.hero-section {
    padding: 120px 0 80px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Image left, Text right */
    align-items: center;
    gap: 50px;
}

/* --- Left Side: Visual --- */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-container {
    position: relative;
    max-width: 450px;
}

.lady-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.1));
    z-index: 1;
}

/* I am Verity AI Badge */
.ai-status-badge {
    position: absolute;
    top: 50%;
    right: -40px;
    background: var(--bg-color); /* Theme based color */
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    z-index: 10;
    white-space: nowrap;
}

.pulse-dot {
    width: 10px; height: 10px;
    background: #22c55e;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(3); opacity: 0; }
}

/* --- Right Side: Text --- */
.hero-text-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-color);
    letter-spacing: -2px;
}

.text-blue-gradient {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.btn-primary-glow {
    background: #2563eb;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.btn-secondary-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-secondary-outline:hover {
    background: var(--border-color);
}

.hero-trust-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Dark Mode Overrides */
[data-theme="dark"] .ai-status-badge {
    background: #0a0a0a;
    border-color: #333;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-visual { order: 2; }
    .hero-text-content { order: 1; }
    .hero-text-content h1 { font-size: 3rem; }
    .hero-buttons { justify-content: center; }
    .ai-status-badge { right: 0; top: 0; }
}
/* ================= WHAT VERITY DOES STYLING ================= */

.process-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 60px auto 0;
}

/* Card Styling */
.process-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 24px;
    flex: 1;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.process-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Icons with Neon Glow */
.process-icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: white;
}

.blue-glow { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3); }
.purple-glow { background: linear-gradient(135deg, #8b5cf6, #7c3aed); box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3); }
.green-glow { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3); }

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

/* Arrows */
.flow-arrow {
    color: var(--border-color);
    width: 40px;
    animation: slideRight 2s infinite ease-in-out;
}

@keyframes slideRight {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(10px); opacity: 1; }
}

/* Phase Badges */
.step-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
}

/* Mobile View */
@media (max-width: 992px) {
    .process-flow { flex-direction: column; }
    .flow-arrow { transform: rotate(90deg); margin: 20px 0; }
    @keyframes slideRight {
        0%, 100% { transform: translateY(0); opacity: 0.5; }
        50% { transform: translateY(10px); opacity: 1; }
    }
}
/* ================= HEADING VISIBILITY FIX ================= */

.process-section .section-title {
    position: relative;
    z-index: 10;                /* Taaki kisi background ke peeche na jaye */
    color: var(--text-color) !important; /* Theme ke hisaab se auto white/black */
    padding-top: 40px;          /* Navbar se thodi doori */
    display: block;             /* Visibility ensure karne ke liye */
    text-align: center;
    margin-bottom: 50px;
}

/* Agar aapne blue background wala header use kiya hai */
.text-highlight-bg {
    background-color: #2563eb;  /* Blue background from your image */
    color: #ffffff !important;
    padding: 5px 15px;
    border-radius: 4px;
}
/* Typography & Buttons */
.hero-text-content h1 {
    font-size: 5.5rem; /* Massive Headline */
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: 30px;
}

.hero-text-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #94a3b8; /* Slate Grey */
    margin-bottom: 45px;
}

/* Primary Button Glow */
.btn-primary-glow {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: 14px;
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
    transition: 0.3s all ease;
}

.btn-primary-glow:hover {
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.6);
    transform: translateY(-4px);
}
.logo-strip {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.strip-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #475569;
    margin-bottom: 25px;
}

.logo-flex {
    display: flex;
    justify-content: space-between;
    opacity: 0.5;
    font-size: 1.4rem;
    font-weight: 600;
    filter: grayscale(1);
}
/* ================= HERO PREMIUM FIX ================= */

.hero-premium {
    padding: 120px 0 60px 0;
    background: #000; /* Pure OLED Black */
    overflow: hidden;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* Left side alignment */
.hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin-bottom: 40px;
}

.lady-avatar {
    width: 100%;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.2));
}

.glow-sphere {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; height: 120%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    z-index: 1;
}

/* Badge fix */
.status-badge-float {
    position: absolute;
    bottom: 20px; right: -10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

/* Trust Bar Styling */
.hero-trust-bar {
    text-align: center;
    width: 100%;
}

.hero-trust-bar p {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #475569;
    margin-bottom: 15px;
}

.logo-grid-mini {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #94a3b8;
    opacity: 0.6;
}

/* Right Side Content */
.hero-right {
    flex: 1.2;
}

.hero-right h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 25px;
}

.gradient-blue {
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-right p {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-action-btns {
    display: flex;
    gap: 15px;
}

.btn-main {
    background: #2563eb;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn-ghost {
    border: 1px solid #334155;
    padding: 15px 35px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
/* ================= HERO PREMIUM ALIGNMENT FIX ================= */

.hero-premium {
    padding: 140px 0 80px 0;
    background: #000; /* OLED Pure Black */
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
}

/* --- LEFT SIDE: AVATAR & LOGOS --- */
.hero-visual-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.main-avatar-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px; /* Lady Avatar size bada kiya */
    margin-bottom: 50px;
}

.lady-avatar-big {
    width: 100%;
    z-index: 5;
    position: relative;
    filter: drop-shadow(0 20px 50px rgba(37, 99, 235, 0.2));
}

.aura-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 130%; height: 130%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    z-index: 1;
}

/* Status Badge positioning */
.floating-ai-tag {
    position: absolute;
    bottom: 40px; right: -20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    color: #fff;
}

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

/* Trust Logos Alignment */
.trust-logos-wrapper {
    width: 100%;
    text-align: center;
    opacity: 0.8;
}

.trust-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #475569;
    margin-bottom: 20px;
}

.logo-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #64748b;
}

/* --- RIGHT SIDE: CONTENT --- */
.hero-text-box {
    flex: 1.2;
}

.hero-text-box h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -3px;
}

.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.3rem;
    color: #94a3b8;
    margin-bottom: 45px;
    max-width: 550px;
    line-height: 1.6;
}

/* Buttons Styling */
.hero-cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.btn-primary-solid {
    background: #2563eb;
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    transition: 0.3s;
}

.btn-primary-solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.5);
}

.btn-outline-tech {
    background: transparent;
    border: 1px solid #334155;
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-outline-tech:hover {
    background: rgba(255,255,255,0.05);
}

.social-proof-note {
    font-size: 0.9rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-flex-container { flex-direction: column; text-align: center; }
    .hero-text-box h1 { font-size: 3.5rem; }
    .hero-cta-group { justify-content: center; }
    .hero-subtext { margin: 0 auto 40px auto; }
}/* --- Space & Repetition Fix --- */
.hero-premium {
    padding: 100px 0; /* Padding adjust ki taaki white space kam ho */
    margin: 0;
    min-height: auto; /* Extra height hatayi */
    display: flex;
    align-items: center;
}

.hero-flex-container {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

/* Ensure buttons don't float randomly */
.hero-cta-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* CSS variables check for white mode */
[data-theme="light"] .hero-premium {
    background-color: #ffffff !important;
}
/* ================= HERO BUTTONS LIGHT MODE FIX ================= */

/* 1. Outline Button (How it Works) Fix */
.btn-outline-tech {
    background: transparent;
    border: 1px solid var(--border-color); /* Theme based border */
    color: var(--text-color) !important;   /* Theme based text color */
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

/* 2. Light Mode specific overrides */
[data-theme="light"] .btn-outline-tech {
    border-color: #0f172a !important; /* Dark border for visibility */
    color: #0f172a !important;        /* Dark text for white background */
}

/* 3. Hover effect for Light Mode */
[data-theme="light"] .btn-outline-tech:hover {
    background-color: #f1f5f9 !important;
    border-color: #2563eb !important;
    color: #2563eb !important;
}

/* 4. Primary Button (Try Verity AI) check */
[data-theme="light"] .btn-primary-solid {
    background-color: #2563eb !important;
    color: #ffffff !important; /* Hamesha white rahega blue button par */
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}
/* ================= HERO SPACING FIX ================= */

.hero-premium {
    /* Navbar ki height (80px) ke baad extra space add karne ke liye */
    padding-top: 160px !important; 
    padding-bottom: 80px !important;
    background-color: var(--bg-color); /* Hamesha theme ke hisaab se rahega */
    margin: 0;
    display: flex;
    align-items: center;
    min-height: auto;
}

/* Ensure container has no extra top margin */
.hero-flex-container {
    margin-top: 0 !important;
    display: flex;
    align-items: center;
    gap: 60px;
    
}
/* ================= PREMIUM BUTTONS FIX ================= */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px; /* Buttons ke beech barabar space */
}

/* Remove default link styles */
.nav-actions a {
    text-decoration: none !important;
    transition: all 0.3s ease;
}

/* 1. Login Button: Simple text */
.btn-tertiary {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.8;
}
.btn-tertiary:hover { opacity: 1; }

/* 2. Sign Up Button: Thin border */
.btn-secondary-outline {
    border: 1px solid var(--border-color);
    padding: 10px 22px;
    border-radius: 10px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
}
.btn-secondary-outline:hover {
    background: rgba(0,0,0,0.05);
    border-color: var(--text-color);
}

/* 3. Try Now Button: Solid Blue with Glow */
.btn-primary-glow {
    background: #2563eb;
    color: white !important;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3); /* Subtle Blue Glow */
}
.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    background: #1d4ed8;
}

/* 4. Theme Toggle Button Fix */
.theme-switch-btn {
    background: none;
    border: 1px solid var(--border-color);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
/* ================= PREMIUM NAV BUTTONS FIX ================= */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px; /* Perfect spacing between buttons */
}

/* Base style for all nav links to remove purple underline */
.nav-actions a {
    text-decoration: none !important;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 1. Login: Ghost/Text Style */
.nav-btn-text {
    color: var(--text-color);
    padding: 8px 12px;
    opacity: 0.8;
}
.nav-btn-text:hover { opacity: 1; }

/* 2. Sign Up: Clean Outline */
.nav-btn-outline {
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 10px;
}
.nav-btn-outline:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--text-color);
}
[data-theme="dark"] .nav-btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* 3. Try Now: High-Contrast Primary */
.nav-btn-primary {
    background: #2563eb !important;
    color: white !important;
    padding: 10px 24px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}
.nav-btn-primary:hover {
    background: #1d4ed8 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

/* 4. Theme Toggle Button Fix */
.nav-theme-btn {
    background: none;
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-color);
}
/* --- Nav Actions Alignment --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px; /* Balanced spacing */
}

.nav-actions a {
    text-decoration: none !important; /* No purple underline */
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* 1. Login: Simple and Clean */
.btn-login {
    color: var(--text-color);
    padding: 8px 12px;
}

/* 2. Sign Up: Modern Outline */
.btn-signup {
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 10px 22px;
    border-radius: 10px;
}
.btn-signup:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* 3. Try Now: Solid Blue Action */
.btn-try {
    background: #2563eb !important;
    color: white !important;
    padding: 10px 24px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}
.btn-try:hover {
    background: #1d4ed8 !important;
    transform: translateY(-1px);
}

/* --- Theme Toggle Premium Styling --- */
.theme-toggle-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: 0.3s;
}

/* Theme Icons Visibility */
.sun-icon { display: none; }
.moon-icon { display: block; }

[data-theme="dark"] .sun-icon { display: block; color: #fbbf24; }
[data-theme="dark"] .moon-icon { display: none; }
/* ================= PURE BLACK PREMIUM NAV ================= */

/* Pure Black Background for Dark Mode */
[data-theme="dark"] .premium-nav,
[data-theme="dark"] nav {
    background-color: #000000 !important; /* Force Pure Black */
    border-bottom: 1px solid #1a1a1a !important; /* Very subtle border */
    backdrop-filter: none !important; /* Navy tint hatane ke liye blur off karein */
}

/* Scrolled state fix (Jab user niche scroll kare) */
[data-theme="dark"] .premium-nav.scrolled {
    background-color: rgba(0, 0, 0, 0.95) !important;
    border-bottom: 1px solid #333 !important;
}

/* Login and Sign Up Text Visibility */
[data-theme="dark"] .btn-login,
[data-theme="dark"] .nav-links a {
    color: #ffffff !important;
    opacity: 0.9;
}

/* Sign Up Button in Dark Mode */
[data-theme="dark"] .btn-signup {
    border: 1px solid #333 !important;
    background: #0a0a0a !important;
    color: #ffffff !important;
}

/* Try Now Blue Button Glow Fix */
[data-theme="dark"] .btn-try {
    background: #2563eb !important;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.3) !important;
}
[data-theme="dark"] .hero-premium,
[data-theme="dark"] .hero-section {
    background-color: #000000 !important;
}
/* --- Back Home Button Styling --- */
.back-home {
    position: absolute;
    top: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
    z-index: 1000;
}

.back-home:hover {
    color: #2563eb;
    transform: translateX(-5px);
}

.back-home svg {
    transition: 0.3s;
}
/* --- Floating Back Button Styling --- */
.back-home-btn {
    position: fixed; /* Hamesha screen par fix rahega */
    top: 25px;
    left: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.9); /* Glass effect */
    padding: 10px 18px;
    border-radius: 50px;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,1);
    z-index: 9999; /* Sabse upar dikhne ke liye */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-home-btn:hover {
    transform: translateX(-5px);
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    color: #2563eb;
}

.back-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: 0.3s;
}

.back-home-btn:hover .back-icon {
    transform: scale(1.1);
}
/* ================= HERO MERGE FIX ================= */

.hero-section, .hero-premium {
    /* Navbar ki height standard 80px hoti hai, 
       isliye hum 100px-120px extra padding denge */
    padding-top: 120px !important; 
    margin-top: 0 !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1; /* Navbar (1000) se niche rahega */
}

/* Agar aapka header fixed hai toh ye container ko sahi jagah rakhega */
.container {
    position: relative;
}

/* Audit Card Positioning */
.audit-card-wrapper {
    margin-top: 20px;
    z-index: 5;
}
.premium-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px; /* Fixed height maintain karein */
    background: var(--bg-color); /* OLED Black ya White */
    z-index: 1000; /* Hamesha content ke upar */
    border-bottom: 1px solid var(--border-color);
}
/* ================= WHY CHOOSE GRID FIX ================= */

.why-choose-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.choose-grid {
    display: grid;
    /* 3 equal columns layout - 4th card auto niche aayega */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    margin-top: 50px;
}

.choose-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Cards ki height barabar karne ke liye */
    height: 100%; 
}

.choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

/* Icon Styling */
.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 25px;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
}

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

.choose-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.choose-card p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}

/* Responsive: Mobile par 1 aur Tablet par 2 columns */
@media (max-width: 992px) {
    .choose-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .choose-grid { grid-template-columns: 1fr; }
}
/* ================= PREMIUM FEATURE CARDS ================= */

.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.choose-card {
    position: relative;
    background: var(--card-bg); /* Theme based background */
    border: 1px solid var(--border-color);
    padding: 50px 35px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    z-index: 1;
}

/* --- Hover Effects --- */
.choose-card:hover {
    transform: translateY(-12px); /* Card lifts up */
    border-color: #2563eb;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

/* Background Glow on Hover */
.card-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 70%);
    opacity: 0;
    transition: 0.4s opacity;
    z-index: -1;
}

.choose-card:hover .card-glow {
    opacity: 1;
}

/* Icon Animation */
.card-icon {
    width: 70px; height: 70px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    display: flex; align-items: center; justify-content: center;
    border-radius: 18px;
    margin: 0 auto 25px;
    transition: 0.4s all;
}

.choose-card:hover .card-icon {
    background: #2563eb;
    color: #ffffff;
    transform: rotateY(180deg); /* Icon flips on hover */
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

/* Typography */
.choose-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-color);
}

.choose-card p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    transition: 0.3s;
}

.choose-card:hover p {
    color: var(--text-color); /* Text becomes sharper on hover */
}
/* ================= HERO MASTER ALIGNMENT ================= */

.hero-premium {
    padding-top: 140px; /* Navbar se gap */
    background-color: var(--bg-color);
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* Avatar Styling */
.hero-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* Sab kuch center mein */
}

.avatar-stack {
    position: relative;
    width: 100%;
    max-width: 500px; /* Avatar size bada kiya */
    margin-bottom: 40px;
}

.avatar-img {
    width: 100%;
    position: relative;
    z-index: 5;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

.main-glow {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 130%; height: 130%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    z-index: 1;
}

/* Status Badge */
.status-chip {
    position: absolute;
    bottom: 15%; right: -10px;
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    align-items: center; gap: 8px;
    z-index: 10;
}

/* Trusted Logos */
.hero-trust { text-align: center; }
.hero-trust p { font-size: 0.75rem; letter-spacing: 2px; color: #94a3b8; margin-bottom: 20px; font-weight: 700; }
.trust-logos { display: flex; gap: 30px; font-size: 1.3rem; font-weight: 800; color: #cbd5e1; }

/* Right Content */
.hero-content { flex: 1.2; }
.hero-content h1 { font-size: 5.5rem; line-height: 1.1; margin-bottom: 25px; }
.gradient-blue { background: linear-gradient(135deg, #3b82f6, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-content p { font-size: 1.3rem; color: #64748b; margin-bottom: 40px; }

/* Buttons */
.hero-actions { display: flex; gap: 20px; }
.btn-primary-blue { background: #2563eb; color: white; padding: 18px 40px; border-radius: 12px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3); }
.btn-secondary-glass { border: 1.5px solid #e2e8f0; color: #1e293b; padding: 18px 40px; border-radius: 12px; text-decoration: none; display: flex; align-items: center; gap: 10px; }
/* ================= COMPATIBILITY SECTION FIX ================= */

.compatibility-section {
    padding: 100px 0;
    text-align: center;
    background: var(--bg-color);
}

.comp-header .sub-text {
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 15px;
}

.comp-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    color: var(--text-color);
}

/* Flex layout instead of messy slashes */
.model-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.model-item {
    font-size: 1.8rem;
    font-weight: 700;
    color: #cbd5e1; /* Default greyed out look */
    transition: 0.4s all;
    cursor: default;
}

/* Light mode specific visibility */
[data-theme="light"] .model-item {
    color: #94a3b8;
}

/* Hover effect: Highlight model on hover */
.model-item:hover {
    color: var(--text-color);
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.2));
}

/* LangChain active glow fix */
.active-glow {
    color: var(--text-color);
    position: relative;
}

.trust-footer {
    font-size: 1.1rem;
    color: #64748b;
}

.trust-footer .bold-text {
    color: var(--text-color);
    font-weight: 700;
    border-bottom: 2px solid #2563eb;
}
/* ================= COMPATIBILITY DARK MODE FIX ================= */

[data-theme="dark"] .model-marquee {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    padding: 20px;
}

[data-theme="dark"] .model-item {
    font-size: 1.8rem;
    font-weight: 800;
    color: #334155; /* Subtle grey in dark mode */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    letter-spacing: -0.5px;
}

/* Hover Effect: Pure Neon Glow */
[data-theme="dark"] .model-item:hover {
    color: #ffffff; /* Text becomes white */
    transform: scale(1.1) translateY(-5px);
    text-shadow: 0 0 15px rgba(37, 99, 235, 0.8), 
                 0 0 30px rgba(37, 99, 235, 0.4); /* Strong Blue Glow */
}

/* LangChain active glow fix */
[data-theme="dark"] .active-neon {
    color: #94a3b8;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 5px;
}

/* Light Mode Visibility Maintenance */
[data-theme="light"] .model-item {
    color: #94a3b8;
}
[data-theme="light"] .model-item:hover {
    color: #2563eb;
    transform: scale(1.05);
}
:root {
    --bg-color: #ffffff;
    --text-color: #0f172a;
}

[data-theme="dark"] {
    --bg-color: #000000; /* Pure Black OLED */
    --text-color: #ffffff;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease; /* Smooth shifting */
}
/* ================= PRODUCT HERO ADAPTIVE FIX ================= */

.product-hero {
    padding: 120px 0 80px;
    background-color: var(--bg-color); /* Auto-switch between White/Black */
    transition: background 0.3s ease;
}

/* Badge Styling */
.badge-premium {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Heading & Text Visibility */
.product-text h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-color); /* Light: Black, Dark: White */
}

.product-text p {
    font-size: 1.2rem;
    color: #64748b; /* Subtle grey for better readability */
    margin: 25px 0;
}

[data-theme="dark"] .product-text p {
    color: #94a3b8; /* Lighter grey for dark mode visibility */
}

/* Checklist Fix */
.check-list { list-style: none; margin-bottom: 40px; }
.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-color);
    opacity: 0.9;
}

/* Buttons for Dark Mode Contrast */
.btn-outline-product {
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    background: transparent;
}

[data-theme="dark"] .btn-outline-product {
    background: rgba(255, 255, 255, 0.05); /* Subtle glass effect */
}

/* Card Visual Positioning */
.audit-card-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.floating-card {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.1));
}

[data-theme="dark"] .floating-card {
    filter: drop-shadow(0 0 30px rgba(37, 99, 235, 0.15)); /* Soft Blue Glow */
}
/* ================= RISK SECTION DARK MODE FIX ================= */

.risk-section {
    padding: 100px 0;
    background-color: var(--bg-color); /* OLED Black/White */
    text-align: center;
}

.risk-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 20px;
}

.risk-section .section-header p {
    color: #64748b;
    font-size: 1.2rem;
    margin-bottom: 60px;
}

/* Card Styling */
.risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.risk-card {
    background: #ffffff; /* Light Mode default */
    border: 1px solid #e2e8f0;
    padding: 60px 40px;
    border-radius: 24px;
    transition: all 0.3s ease;
}

/* Dark Mode Card Overrides */
[data-theme="dark"] .risk-card {
    background: #0f172a; /* Deep Navy/Black */
    border-color: #1e293b;
}

.risk-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #64748b; /* Medium grey for readability */
}

[data-theme="dark"] .risk-card p {
    color: #94a3b8; /* Lighter grey for dark mode */
}

/* Red Icon Glow Fix */
.risk-icon {
    width: 60px; height: 60px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 30px;
    transition: 0.3s;
}

.risk-icon svg { width: 30px; height: 30px; }

[data-theme="dark"] .risk-icon {
    background: rgba(239, 68, 68, 0.15);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2); /* Neon Risk Glow */
}

.risk-card:hover {
    transform: translateY(-10px);
    border-color: #ef4444;
}
/* --- Product Hero Root Variables --- */
:root {
    --ph-bg: #ffffff;
    --ph-text: #111827;
    --ph-sub: #4b5563;
    --ph-card-bg: #ffffff;
    --ph-card-border: #e5e7eb;
    --ph-shadow: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    --ph-bg: #000000;
    --ph-text: #ffffff;
    --ph-sub: #94a3b8;
    --ph-card-bg: #0f172a;
    --ph-card-border: #1e293b;
    --ph-shadow: rgba(0, 0, 0, 0.4);
}

/* --- Hero Layout --- */
.product-hero {
    padding: 140px 0 100px;
    background-color: var(--ph-bg);
    transition: background 0.3s ease;
}

.product-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 20px;
}

/* Content Side */
.ph-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--ph-text);
    margin-bottom: 25px;
}

.ph-sub {
    font-size: 1.25rem;
    color: var(--ph-sub);
    margin-bottom: 40px;
    max-width: 550px;
}

/* --- Dashboard Card (The Fixed Part) --- */
.dashboard-card {
    background: var(--ph-card-bg);
    border: 1px solid var(--ph-card-border);
    border-radius: 24px;
    padding: 30px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 50px var(--ph-shadow);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Light Mode Card Contrast Fix */
[data-theme="light"] .dashboard-card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.dash-label { font-size: 0.85rem; color: #64748b; font-weight: 600; }

.status-badge.allow {
    background: #dcfce7;
    color: #166534;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
}

/* Meter & Details */
.meter-wrapper { display: flex; gap: 30px; align-items: center; margin-bottom: 25px; }

.score-circle { width: 100px; text-align: center; }

.audit-details { flex: 1; }
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--ph-card-border);
    font-size: 0.9rem;
}

.lbl { color: #64748b; }
.val { font-weight: 700; color: var(--ph-text); }
.val.low { color: #22c55e; }
.val.high { color: #2563eb; }

/* Explanation Box */
.dash-explanation {
    background: rgba(37, 99, 235, 0.05);
    border-left: 4px solid #2563eb;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--ph-sub);
    margin-bottom: 25px;
}

/* Actions */
.dash-actions { display: flex; gap: 12px; }
.btn-dash {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
}
.btn-dash.approve { background: #2563eb; color: white; }
.btn-dash.flag { background: #fee2e2; color: #991b1b; }

/* Blobs Fix */
.blur-blob {
    position: absolute;
    width: 300px; height: 300px;
    background: rgba(37, 99, 235, 0.15);
    filter: blur(80px);
    border-radius: 50%;
    z-index: 1;
}
.blob-1 { top: -50px; right: -50px; }
.percentage {
    fill: var(--ph-text); /* Auto-switch black/white */
    font-family: 'Inter', sans-serif;
    font-weight: 800;
}
/* --- Core Features Layout --- */
.core-features {
    padding: 100px 0;
    background-color: var(--bg-color);
    overflow: hidden;
}

.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 120px;
}

.feature-row.reverse { flex-direction: row-reverse; }

/* --- Feature Typography --- */
.feature-number {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(37, 99, 235, 0.08);
    display: block;
    line-height: 1;
    margin-bottom: -20px;
}

.feature-text h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 20px;
}

.feature-def {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 30px;
}

[data-theme="dark"] .feature-def { color: #94a3b8; }

/* --- Interactive Cards (Common Styling) --- */
.feature-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.score-card-interactive, .scanner-card, .risk-monitor-card, .decision-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    padding: 30px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    z-index: 2;
    transition: 0.3s;
}

[data-theme="dark"] .score-card-interactive, 
[data-theme="dark"] .scanner-card,
[data-theme="dark"] .risk-monitor-card,
[data-theme="dark"] .decision-card {
    background: #0f172a;
    border-color: #1e293b;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* --- Specific Section: Hallucination Scanner --- */
.hallucination-trigger {
    background: rgba(239, 68, 68, 0.05);
    border: 1px dashed #ef4444;
    padding: 10px;
    border-radius: 8px;
    position: relative;
}

.bad-text { color: #ef4444; font-weight: 700; }

.alert-tooltip {
    position: absolute;
    top: -60px; right: -20px;
    background: #ef4444;
    color: white;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 0.8rem;
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.2);
}

/* --- Risk Monitor --- */
.m-bar {
    height: 8px;
    background: #f1f5f9;
    border-radius: 10px;
    margin-top: 8px;
    overflow: hidden;
}

[data-theme="dark"] .m-bar { background: #1e293b; }

.fill.green { background: #22c55e; }
.fill.red { background: #ef4444; }
.fill.yellow { background: #f59e0b; }

/* --- Decision Stamps --- */
.verdict-box {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.icon-stamp {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.5rem;
}

.allow-stamp { color: #22c55e; }
.block-stamp { color: #ef4444; }

/* --- Background Decoration Blobs --- */
.bg-decoration {
    position: absolute;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
/* --- Feature Text & Typography --- */
.section-label {
    color: #2563eb;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    color: var(--text-color); /* Light: Black, Dark: White */
}

/* Benefit Box Fix */
.feature-benefit-box {
    background: #ffffff; /* Light Mode */
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2563eb;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    display: flex;
    gap: 15px;
}

[data-theme="dark"] .feature-benefit-box {
    background: rgba(15, 23, 42, 0.6); /* Translucent Navy for Dark Mode */
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.benefit-content p {
    color: #64748b; /* Medium grey */
}

[data-theme="dark"] .benefit-content p {
    color: #94a3b8; /* Lighter grey for Dark Mode visibility */
}

/* Visual Cards Fix */
.score-card-interactive, .scanner-card, .risk-monitor-card, .decision-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

[data-theme="dark"] .score-card-interactive,
[data-theme="dark"] .scanner-card,
[data-theme="dark"] .risk-monitor-card,
[data-theme="dark"] .decision-card {
    background: #0a0a0a; /* Pure OLED Black */
    border-color: #1e293b;
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.1); /* Subtle Blue Glow */
}

/* Feature Number Contrast */
.feature-number {
    color: rgba(37, 99, 235, 0.1);
}

[data-theme="dark"] .feature-number {
    color: rgba(255, 255, 255, 0.05);
}
/* --- Global Container Fix --- */
.container {
    max-width: 1200px;
    margin: 0 auto; /* Content ko center mein lane ke liye sabse zaruri line */
    padding: 0 40px;
}

/* --- Row Fix --- */
.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Text aur Image ke beech barabar space */
    gap: 100px;
    width: 100%;
    margin-bottom: 150px; /* Har feature ke beech ka gap */
}

/* Reverse Row alignment fix */
.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    max-width: 550px; /* Text ko bohot zyada failne se rokne ke liye */
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center; /* Card ko visual area mein center karne ke liye */
}
/* --- Heading & Numbers --- */
.section-title {
    text-align: center;
    font-size: 3.5rem;
    color: var(--text-color);
    margin-bottom: 80px;
}

[data-theme="dark"] .feature-number {
    color: rgba(255, 255, 255, 0.07); /* Dark background par halka sa dikhega background element ki tarah */
}

/* --- Interactive Cards (Visuals) --- */
/* Decision, Risk, aur Scanner cards ko OLED Black par chamkane ke liye */
[data-theme="dark"] .score-card-interactive, 
[data-theme="dark"] .scanner-card,
[data-theme="dark"] .risk-monitor-card,
[data-theme="dark"] .decision-card {
    background: #0f172a; /* Deep Navy/Black background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* List Items Visibility */
.decision-list li, .feature-signals li {
    background: #ffffff; /* Light Mode */
    border: 1px solid #e2e8f0;
}

[data-theme="dark"] .decision-list li, 
[data-theme="dark"] .feature-signals li {
    background: rgba(255, 255, 255, 0.03); /* Translucent dark look */
    border-color: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}
/* --- Global Container Fix --- */
.container {
    max-width: 1200px;
    margin: 0 auto; /* Content ko center karne ke liye */
    padding: 0 20px;
}

/* --- Row Alignment Fix --- */
.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px; /* Text aur visual ke beech gap */
    width: 100%;
    margin-bottom: 120px;
}

/* Reverse rows ke liye visual center fix */
.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    max-width: 500px; /* Text area limit */
}

.feature-visual {
    flex: 1.2; /* Visual ko thoda bada space dein */
    display: flex;
    justify-content: center; /* Card ko center mein rakhega */
    position: relative;
}

/* Mobile Responsive Fix */
@media (max-width: 992px) {
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    .feature-text {
        max-width: 100%;
    }
}
/* --- Master Container Centering --- */
.container {
    max-width: 1200px;
    margin: 0 auto !important; /* Screen ke beech mein rakhne ke liye sabse zaruri */
    padding: 0 50px;
    width: 100%;
    display: block; /* Ensure it's not flexed from parent */
}

/* --- Feature Row Fix --- */
.feature-row {
    display: flex;
    align-items: center;
    justify-content: center; /* Content ko center mein dhakelne ke liye */
    gap: 100px; /* Text aur Visual ke beech ka gap */
    width: 100%;
    margin: 0 auto 150px auto; /* Har row khud ko center karegi */
}

/* Reverse row ke liye centering logic */
.feature-row.reverse {
    flex-direction: row-reverse;
}

/* --- Individual Column Controls --- */
.feature-text {
    flex: 0 1 500px; /* Na zyada bada hoga, na chota */
    text-align: left;
}

.feature-row.reverse .feature-text {
    text-align: left; /* Reverse hone par bhi text left align rahega */
}

.feature-visual {
    flex: 0 1 500px;
    display: flex;
    justify-content: center; /* Card ko visual box ke center mein rakhega */
    align-items: center;
}

/* Dashboard Cards Centering */
.score-card-interactive, .scanner-card, .risk-monitor-card, .decision-card {
    margin: 0 auto; /* Ensure cards stay centered in their flex box */
}
/* Light mode card fix */
[data-theme="light"] .scanner-card, 
[data-theme="light"] .decision-card,
[data-theme="light"] .risk-monitor-card {
    background: #ffffff;
    border: 1px solid #d1d5db; /* Thoda dark border visibility ke liye */
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

/* Checklist visibility */
[data-theme="light"] .feature-signals li,
[data-theme="light"] .decision-list li {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #111827; /* Dark text for contrast */
}
/* --- Master Nav Styling --- */
.premium-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: var(--bg-color); /* Theme based */
    display: flex;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid var(--ph-card-border);
    transition: background 0.3s ease;
}

.nav-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Menu Links Fix --- */
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.3s;
}

/* --- Right Side Actions (Buttons) --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px; /* Buttons ke beech perfect gap */
}

/* Sign Up & Login Buttons */
.btn-login {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-signup {
    background: var(--ph-card-bg);
    border: 1px solid var(--ph-card-border);
    color: var(--text-color);
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}

/* Try Now Fix */
.btn-try {
    background: #2563eb;
    color: white !important;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

/* --- Theme Toggle Button Fix --- */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--ph-card-border);
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.theme-toggle-btn:hover {
    background: rgba(37, 99, 235, 0.1);
}
/* --- How It Works Section Base --- */
.how-works-section {
    padding: 100px 0;
    background-color: var(--bg-color); /* Auto switch background */
    text-align: center;
}

.hw-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color); /* Light: Black, Dark: White */
    margin-bottom: 15px;
}

.hw-header p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 60px;
}

/* --- Pipeline Wrapper & Steps --- */
.pipeline-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.hw-step {
    background: #ffffff; /* Light Mode default */
    border: 1px solid #e2e8f0;
    padding: 40px 30px;
    border-radius: 24px;
    width: 300px;
    position: relative;
    transition: 0.4s ease;
    z-index: 2;
}

/* Dark Mode Card Styles */
[data-theme="dark"] .hw-step {
    background: #111827; /* Deep Navy/Black */
    border-color: #1f2937;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* Featured Engine Card (Step 2) */
.main-engine {
    transform: scale(1.08);
    border-color: #2563eb;
    z-index: 5;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1);
}

/* --- Icons & Lists --- */
.hw-icon-box {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    color: #2563eb;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

[data-theme="dark"] .hw-icon-box {
    background: rgba(37, 99, 235, 0.15);
}

.hw-icon-box svg { width: 30px; height: 30px; }

.hw-step h3 { color: var(--text-color); margin-bottom: 15px; }

.hw-list { list-style: none; padding: 0; text-align: left; }
.hw-list li {
    font-size: 0.95rem;
    color: #475569; /* Light Mode text */
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="dark"] .hw-list li { color: #94a3b8; } /* Dark Mode text */

/* --- Connector Lines --- */
.hw-connector {
    width: 80px;
    height: 2px;
    background: #e2e8f0;
    position: relative;
}

[data-theme="dark"] .hw-connector { background: #1f2937; }

.flow-dot {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 8px; height: 8px;
    background: #2563eb;
    border-radius: 50%;
    box-shadow: 0 0 10px #2563eb;
}
/* --- How It Works Section Base --- */
.how-works-section {
    padding: 100px 0;
    background-color: var(--bg-color); /* Theme based */
}

/* Base Step Card Styling */
.hw-step {
    background: #ffffff; /* Light Mode default */
    border: 1px solid #e2e8f0;
    padding: 40px 30px;
    border-radius: 28px;
    transition: all 0.4s ease;
}

[data-theme="dark"] .hw-step {
    background: #111827; /* Dark Mode Navy */
    border-color: #1f2937;
}

/* Center Engine Card Highlighting */
.main-engine {
    transform: scale(1.05);
    border-color: #2563eb;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.08);
}

/* Icon & Small Box Fix (Sabse Important) */
.hw-icon-box {
    background: #f8fafc; /* Light Mode: Very light grey icons */
    color: #2563eb;
}

[data-theme="dark"] .hw-icon-box {
    background: rgba(37, 99, 235, 0.1); /* Dark Mode: Blue tint icons */
}

/* Inner List Box (Jahan text bura lag raha tha) */
.hw-list {
    background: #f9fafb; /* Light Mode: Soft white/grey background */
    border: 1px solid #f1f5f9;
    padding: 20px;
    border-radius: 16px;
}

[data-theme="dark"] .hw-list {
    background: #0a0f1d; /* Dark Mode: Deep navy box */
    border-color: #1e293b;
}

/* Text Visibility Fixes */
.hw-step h3 { color: var(--text-color); }

.hw-list li {
    color: #475569; /* Light Mode Text visibility */
    font-weight: 500;
}

[data-theme="dark"] .hw-list li {
    color: #94a3b8; /* Dark Mode Text visibility */
}
/* --- Middle Engine Card Fix (Light Mode) --- */
[data-theme="light"] .main-engine {
    background: #ffffff !important; /* Force white background */
    border: 2px solid #2563eb; /* High-contrast blue border */
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
}

/* Middle Card ke andar ka List Box fix */
[data-theme="light"] .main-engine .hw-list {
    background: #f8fafc !important; /* Soft grey instead of dark navy */
    border: 1px solid #e2e8f0;
}

/* Middle Card ke list items ka text color */
[data-theme="light"] .main-engine .hw-list li {
    color: #1e293b !important; /* Dark slate text for better readability */
}

/* Icons box in middle card */
[data-theme="light"] .engine-icon {
    background: #2563eb; /* Blue background for the middle icon */
    color: #ffffff; /* White icon inside */
}

/* Processing text fix */
[data-theme="light"] .engine-status {
    color: #2563eb;
    font-weight: 700;
}
/* --- Master Pipeline Styling --- */
.pipeline-section {
    padding: 100px 0;
    background-color: var(--bg-color);
    text-align: center;
}

/* Perfect Centering Logic */
.process-wrapper {
    display: flex;
    align-items: center;
    justify-content: center; /* Horizontally centers all content */
    max-width: 1200px;
    margin: 60px auto 0;
    width: 100%;
}

/* Card Styling: High Contrast for Light Mode */
.process-step {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 40px 25px;
    border-radius: 24px;
    flex: 0 0 320px; /* Lock card width */
    min-height: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.3s ease;
}

/* Dark Mode Card */
[data-theme="dark"] .process-step {
    background: #0f172a;
    border-color: #1e293b;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Connector Line Fix: Isse content center mein rahega */
.connector-line {
    flex: 1; /* Space barabar baantne ke liye */
    max-width: 80px;
    height: 3px;
    background: #e2e8f0;
    position: relative;
}

[data-theme="dark"] .connector-line {
    background: #2563eb;
}

/* Middle Card Highlighting */
.hero-engine {
    transform: scale(1.05);
    z-index: 5;
    border: 2px solid #2563eb;
    background: #ffffff;
}

[data-theme="dark"] .hero-engine {
    background: #0f172a;
}

/* Engine Badge Fix */
.engine-badge {
    position: absolute;
    top: -14px;
    background: #2563eb;
    color: white;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
}

/* Inner Body Visibility Fix */
.step-body {
    width: 100%;
    background: #f8fafc; /* Light Mode visibility */
    border-radius: 16px;
    padding: 20px;
    margin-top: auto;
    text-align: left;
}

[data-theme="dark"] .step-body {
    background: rgba(255, 255, 255, 0.05);
}

/* Data list text visibility */
.data-list li, .check-item {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 8px;
    list-style: none;
}

[data-theme="dark"] .data-list li, 
[data-theme="dark"] .check-item {
    color: #94a3b8;
}
/* --- Step 02 Section Master Fix --- */
.step-text {
    max-width: 600px;
    background-color: var(--bg-color); /* Light: White, Dark: Black */
    transition: all 0.3s ease;
}

.step-number {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #94a3b8; /* Subtle grey in both modes */
    margin-bottom: 15px;
}

.step-text h3 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-color); /* Auto-switch Black/White */
    margin-bottom: 20px;
}

.step-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #64748b; /* Medium grey for readability */
    margin-bottom: 40px;
}

[data-theme="dark"] .step-intro {
    color: #94a3b8; /* Lighter grey for Dark Mode */
}

/* --- Styled Check-list Fix --- */
.check-list-styled {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.check-list-styled li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 1.05rem;
    color: var(--text-color);
}

.chk-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.05); /* Light blue tint */
    border-radius: 50%;
}

[data-theme="dark"] .chk-icon {
    background: rgba(255, 255, 255, 0.08); /* Dark mode icon circle */
}

/* --- Key Point Box Fix --- */
.key-point-box {
    background: #f0f9ff; /* Light Mode: Soft Blue */
    border: 1px solid #bae6fd;
    padding: 25px;
    border-radius: 16px;
    position: relative;
    border-left: 5px solid #0ea5e9;
}

[data-theme="dark"] .key-point-box {
    background: rgba(14, 165, 233, 0.05); /* Dark Mode: Glassy Blue */
    border-color: rgba(14, 165, 233, 0.2);
}

.kp-label {
    background: #0ea5e9;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 12px;
}

.key-point-box p {
    color: #0369a1; /* Deep blue for Light Mode */
    font-size: 0.95rem;
    margin: 0;
}

[data-theme="dark"] .key-point-box p {
    color: #7dd3fc; /* Bright blue for Dark Mode */
}

.key-point-box strong {
    color: inherit;
    text-decoration: underline;
}
[data-theme="dark"] .visual-card {
    background: #000000; /* OLED Black center */
    border: 1px solid #1e293b;
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.1);
}
/* --- Master Hero Layout Fix --- */
.hero-section {
    padding: 120px 0;
    background-color: var(--bg-color); /* Light/Dark auto switch */
    transition: background 0.3s ease;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 0 40px;
}

/* --- Left Side: Avatar --- */
.hero-image-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-avatar {
    width: 100%;
    max-width: 420px;
    border-radius: 40px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

/* --- Right Side: Content & Logos --- */
.hero-content-side {
    flex: 1.3;
    text-align: left;
}

/* Company Logos Styling */
.trusted-by-text {
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.brand-logos {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: center;
}

.brand-logos span {
    font-weight: 700;
    font-size: 1.1rem;
    color: #64748b; /* Medium grey for light mode */
}

[data-theme="dark"] .brand-logos span {
    color: #94a3b8; /* Lighter grey for dark mode visibility */
}

/* Heading & Text */
.hero-content-side h1 {
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-color); /* Auto Black/White switch */
    margin-bottom: 25px;
}

.hero-content-side p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 45px;
    max-width: 550px;
}

[data-theme="dark"] .hero-content-side p {
    color: #94a3b8;
}

/* --- Buttons --- */
.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-main {
    background: #2563eb;
    color: white !important;
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-outline {
    border: 1px solid var(--ph-card-border);
    color: var(--text-color);
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
/* --- Hero Left Side Upgrade --- */
.hero-left-group {
    flex: 1.2; /* Avatar area ko thoda aur bada kiya */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.hero-image-side {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

/* Avatar ke peeche ka Glowing Background */
.hero-image-side::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%; /* Image se bada glow */
    height: 110%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    z-index: 1;
    filter: blur(40px);
}

[data-theme="dark"] .hero-image-side::before {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
}

.hero-avatar {
    width: 100%;
    max-width: 520px; /* Avatar ka size bada kiya */
    height: auto;
    border-radius: 40px;
    position: relative;
    z-index: 2; /* Glow ke upar rakhne ke liye */
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.15));
    transition: transform 0.5s ease;
}

.hero-avatar:hover {
    transform: translateY(-10px) scale(1.02); /* Subtle hover effect */
}

/* --- Companies Section Below Avatar --- */
.hero-trust-box {
    width: 100%;
    text-align: center;
    z-index: 2;
}

.trusted-label {
    font-size: 0.8rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.brand-logos {
    display: flex;
    gap: 35px;
    justify-content: center;
    align-items: center;
}

.brand-logos span {
    font-weight: 700;
    font-size: 1.1rem;
    color: #64748b;
    transition: color 0.3s;
}

[data-theme="dark"] .brand-logos span {
    color: #cbd5e1;
}/* --- Extra Large Hero Left Group --- */
.hero-left-group {
    flex: 1.5; /* Content side se zyada space avatar ko dedi */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-left: 20px;
}

.hero-image-side {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 60px; /* Logos se thoda zyada gap */
}

/* Big Glow Effect */
.hero-image-side::before {
    content: '';
    position: absolute;
    top: 45%; /* Slightly higher for face focus */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; /* Enormous glow for the big avatar */
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 75%);
    z-index: 1;
    filter: blur(60px);
}

.hero-avatar {
    width: 100%;
    max-width: 650px; /* Pehle 520px tha, ab kaafi bada hai */
    height: auto;
    border-radius: 50px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.2)); /* Heavier shadow for big image */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-avatar:hover {
    transform: scale(1.03); /* Soft zoom on hover */
}

/* --- Responsive Fix for Big Avatar --- */
@media (max-width: 1100px) {
    .hero-container {
        flex-direction: column; /* Tablet/Mobile par stack ho jayega */
        text-align: center;
    }
    .hero-avatar {
        max-width: 500px;
    }
}
/* --- Ultra-Size Avatar Container --- */
.hero-left-group {
    flex: 2; /* Avatar ko zyada space dene ke liye flex badha diya */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-right: 40px; /* Text se gap maintain karne ke liye */
}

.hero-image-side {
    position: relative;
    width: 100%;
    max-width: 800px; /* Ab ye kaafi bada ho jayega */
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

/* --- Premium Background Glow Fix --- */
.hero-image-side::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%; /* Image se bhi bada glow aura */
    height: 100%;
    /* Indigo Blue Glow Gradient */
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    z-index: 1;
    filter: blur(80px); /* Soft smooth edges */
    pointer-events: none;
}

.hero-avatar {
    width: 100%;
    max-width: 780px; /* Yahan se size control hoga */
    height: auto;
    border-radius: 60px; /* Thoda aur rounded modern look */
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.25)); /* Heavy shadow for XL image */
    transition: transform 0.6s ease;
}

.hero-avatar:hover {
    transform: translateY(-10px) scale(1.01);
}

/* --- Hero Right Content Balance --- */
.hero-right-content {
    flex: 1.2;
    padding-top: 40px; /* Big avatar ke saath align karne ke liye */
}
/* --- Call to Action Buttons Fix --- */
.cta-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
}

/* Try Verity AI Button */
.btn-primary-cta {
    background: #2563eb; /* Strong Blue for Light Mode visibility */
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
}

.btn-primary-cta:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

/* View Product Button */
.btn-secondary-cta {
    background: transparent;
    border: 1px solid #e2e8f0; /* Subtle border for Light Mode */
    color: #1e293b; /* Dark text for contrast */
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

[data-theme="dark"] .btn-secondary-cta {
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-secondary-cta:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Sub-text visibility (No credit card...) */
.cta-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #64748b; /* Medium grey for readability */
    font-size: 0.95rem;
}

.cta-note span {
    color: #22c55e; /* Green checkmark */
}
/* --- Use Cases Page Button Fix --- */
.use-case-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

/* Primary Button: Try Verity AI */
.btn-use-case-primary {
    background: #2563eb !important; /* Solid Blue for high visibility */
    color: #ffffff !important;
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.btn-use-case-primary:hover {
    background: #1d4ed8 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Secondary Button: View Product */
.btn-use-case-secondary {
    background: #ffffff; /* Light Mode: Solid white */
    border: 1px solid #d1d5db; /* Grey border for visibility */
    color: #1f2937 !important; /* Dark text */
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

[data-theme="dark"] .btn-use-case-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}

.btn-use-case-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* Success Note Fix */
.check-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: #4b5563; /* Darker grey for light mode */
    font-weight: 500;
}

[data-theme="dark"] .check-note {
    color: #94a3b8;
}

.check-note svg {
    color: #22c55e; /* Green checkmark */
}
/* --- Mobile Responsive Rules --- */
@media (max-width: 768px) {
    /* Header/Navbar fix */
    header {
        padding: 15px 20px;
        flex-direction: column; /* Logo aur buttons upar-niche */
        gap: 15px;
        text-align: center;
    }

    .header-links {
        display: none; /* Mobile par links hide kar dein (Menu icon chahiye hoga) */
    }

    /* Hero Section */
    .hero-section > div {
        flex-direction: column; /* Content aur Image upar-niche */
        text-align: center;
        padding: 60px 20px;
    }

    h1 {
        font-size: 2.5rem !important; /* Mobile par badi heading choti karein */
    }

    .btn-glow-primary {
        width: 100%; /* Button full width ho jaye */
        justify-content: center;
    }

    /* Trusted By Section */
    .logo-bar {
        gap: 30px; /* Logos ke beech ka gap kam karein */
        flex-wrap: wrap; /* Logos niche line mein aa jayein */
    }
    
    .partner-logo {
        height: 30px; /* Size chota karein mobile ke liye */
    }
}
@media (max-width: 768px) {
    footer > div {
        grid-template-columns: 1fr !important; /* 4 column se 1 column */
        text-align: center;
        gap: 40px;
    }

    footer div div {
        display: flex;
        flex-direction: column;
        align-items: center; /* Sab kuch center mein align karein */
    }

    .bottom-bar {
        flex-direction: column; /* Copyright aur links upar-niche */
        gap: 15px;
        text-align: center;
    }
}
/* Desktop Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: #fff;
}

/* Mobile Responsive Fix */
@media (max-width: 900px) {
    .menu-toggle {
        display: block; /* Mobile par icon dikhao */
        cursor: pointer;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: #333;
        transition: 0.3s;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: -100%; /* Shuruat mein screen se bahar */
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 0;
        z-index: 100;
    }

    .nav-links.active {
        left: 0; /* Click karne par andar aayega */
    }

    .nav-links a {
        margin: 15px 0;
    }
}
/* Mobile View CSS Check */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* By default hidden */
        /* ... baki styling ... */
    }

    /* Ye class JS add karega jab button dabega */
    .nav-links.active {
        display: flex; /* Ya block */
        flex-direction: column;
        /* ... position absolute wagera ... */
    }
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #2563eb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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