/* ============================================
   TNCYBER — Modern Vibrant Redesign
   Dark Hero · Glassmorphism · Micro-animations
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --clr-bg: #fafbff;
  --clr-bg-alt: #f0f2f8;
  --clr-surface: #ffffff;
  --clr-primary: #6c5ce7;
  --clr-primary-light: #a29bfe;
  --clr-primary-dark: #5041c1;
  --clr-accent: #00cec9;
  --clr-accent-warm: #fd79a8;
  --clr-text: #2d3436;
  --clr-text-light: #636e72;
  --clr-danger: #ff6b6b;
  --clr-danger-bg: #fff5f5;
  --clr-success: #00b894;
  --clr-border: rgba(108, 92, 231, 0.1);
  --clr-border-light: rgba(0,0,0,0.06);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 12px rgba(108, 92, 231, 0.06);
  --shadow-md: 0 8px 30px rgba(108, 92, 231, 0.08);
  --shadow-lg: 0 20px 60px rgba(108, 92, 231, 0.12);
  --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.15);

  --container-width: 1080px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.wide-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.m-t-2 { margin-top: 2rem; }
.m-t-3 { margin-top: 3rem; }

/* --- Typography --- */
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
h1 {
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  background: linear-gradient(135deg, #ffffff 0%, #a29bfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  color: var(--clr-text);
}
.title-nowrap {
  white-space: nowrap;
  font-size: clamp(1.05rem, 4vw, 2.2rem);
}
h4 { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--clr-text); }
p { font-size: 1.05rem; color: var(--clr-text-light); margin-bottom: 1rem; line-height: 1.7; }

/* --- Section --- */
.section { padding: 4.5rem 0; position: relative; }
.bg-alt { background-color: var(--clr-bg-alt); }

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  width: 100%;
  text-align: center;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-light) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.45);
}

.btn-force {
  background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.btn-force:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.btn-teal {
  background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,184,148,0.35);
}
.btn-teal:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,184,148,0.55);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #ffffff;
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  border-color: #ffffff;
  color: #000000;
  background: #ffffff;
}

/* Shimmer effect on primary buttons */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  background: transparent;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}
.nav-logo i { color: var(--clr-accent); }

.nav-links {
  display: none;
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
  }
  .nav-links a {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
  }
  .nav-links a:hover {
    color: #fff;
  }
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: none;
}
@media (min-width: 640px) {
  .lang-switcher {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.35rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.25rem 0.65rem;
  border-radius: 30px;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.active {
  background: var(--clr-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(108, 92, 231, 0.4);
}

.btn-emergency {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 107, 107, 0.15);
  color: #ff8787;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 107, 107, 0.3);
  transition: var(--transition);
}
.btn-emergency i { width: 16px; height: 16px; }
.btn-emergency:hover {
  background: var(--clr-danger);
  color: #fff;
  border-color: var(--clr-danger);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

/* ============================
   HERO SECTION — Ultra Modern
   ============================ */
.hero {
  background-color: #05050A;
  position: relative;
  overflow: hidden;
  padding-bottom: 6rem;
  padding-top: 10rem;
  text-align: left;
}

.hero-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: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(60px);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr auto;
    gap: 4.5rem;
    align-items: center;
    justify-content: space-between;
  }
}
.hero-visual {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.hero-tamil-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 206, 201, 0.1);
  border: 1px solid rgba(0, 206, 201, 0.2);
  color: var(--clr-accent);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--clr-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--clr-accent);
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(0, 206, 201, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(0, 206, 201, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 206, 201, 0); }
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  background: none;
  -webkit-text-fill-color: initial;
}
.hero-title {
  white-space: nowrap;
}
.text-gradient {
  background: linear-gradient(135deg, #a29bfe 0%, #00cec9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 90%;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-cta { flex-direction: row; justify-content: flex-start; align-items: center; }
}
@media (min-width: 1024px) {
  .hero-cta { justify-content: flex-start; }
}

/* ── Mobile: center all hero content ── */
@media (max-width: 1023px) {
  .hero { text-align: center; }
  .hero-tamil-pill { margin-left: auto; margin-right: auto; }
  .hero h1 { margin-left: auto; margin-right: auto; }
  .hero p { margin-left: auto; margin-right: auto; max-width: 100%; }
  .hero-cta { align-items: center; justify-content: center; }
  .hero .security-banner { justify-content: center; text-align: center; }
  .hero-visual { justify-content: center; margin-top: 2rem; }
  .glass-card { transform: none; }
}

.btn-glow {
  box-shadow: 0 0 20px rgba(108, 92, 231, 0.4);
}
.btn-glow:hover {
  box-shadow: 0 0 30px rgba(108, 92, 231, 0.6);
}

.mt-3 { margin-top: 1.5rem; }
.hero .security-banner {
  display: flex;
  background: transparent;
  border: none;
  padding: 0;
  gap: 0.6rem;
  justify-content: flex-start;
  align-items: flex-start;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
}
.hero .security-banner i, .hero .security-banner svg {
  color: var(--clr-success);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

/* --- Glass Card Visual --- */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  transform: rotateY(-3deg) rotateX(3deg);
  transition: transform 0.4s ease, border-color 0.4s;
  perspective: 1000px;
}
.glass-card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-5px);
  border-color: rgba(255, 107, 107, 0.3);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.4), transparent 40%);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.5;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1.5rem;
}
.card-header h3 {
  color: #fff;
  font-size: 1.15rem;
  margin: 0;
  letter-spacing: 0;
}
.text-danger { color: #ff6b6b; }

.modern-alert-steps {
  list-style: none;
}
.modern-alert-steps li {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.modern-alert-steps li:last-child { margin-bottom: 0; }

.icon-box {
  width: 45px; height: 45px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #ff6b6b;
  flex-shrink: 0;
}
.step-text {
  display: flex; flex-direction: column;
}
.step-text strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}
.step-text span {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* ============================
   PROCESS / HOW IT WORKS SECTION
   ============================ */
/* ============================
   STATS BAR
   ============================ */
.stats-bar {
  background: linear-gradient(135deg, #0d0d1a 0%, #13132a 100%);
  border-top: 1px solid rgba(108,99,255,0.15);
  border-bottom: 1px solid rgba(108,99,255,0.15);
  padding: 1.75rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  width: 100%;
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #a89cff 0%, #00cec9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.stat-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.stat-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.stat-dot.live {
  background: #ff4757;
  box-shadow: 0 0 0 0 rgba(255,71,87,0.4);
  animation: livePulse 1.5s infinite;
}
.stat-dot.success { background: #00b894; }

@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,71,87,0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(255,71,87,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,71,87,0); }
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* Small phones: tighter numbers & labels */
@media (max-width: 480px) {
  .stat-number { font-size: 1.5rem; }
  .stat-label { font-size: 0.62rem; letter-spacing: 0.03em; }
  .stat-item { padding: 0.4rem 0.25rem; }
  .stat-divider { height: 32px; }
}


/* ============================
   PROCESS / HOW IT WORKS
   ============================ */
.process-section {

  background-color: var(--clr-bg);
}

.section-header {
  max-width: 600px;
  margin: 0 auto;
}
.badge-soft {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(108, 92, 231, 0.1);
  color: var(--clr-primary);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.process-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  z-index: 1;
  text-align: left;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(108, 92, 231, 0.08);
  border-color: rgba(108, 92, 231, 0.2);
}

.p-number {
  position: absolute;
  top: -20px;
  right: -5px;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(108, 92, 231, 0.03);
  line-height: 1;
  z-index: -1;
  transition: color 0.4s ease;
}
.process-card:hover .p-number {
  color: rgba(108, 92, 231, 0.06);
}

.p-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.1) 0%, rgba(0, 206, 201, 0.1) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
  border: 1px solid rgba(108, 92, 231, 0.1);
}
.p-icon i {
  color: var(--clr-primary);
  width: 24px;
  height: 24px;
}
.p-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--clr-text);
  font-weight: 800;
}
.p-content p {
  font-size: 0.95rem;
  color: var(--clr-text-light);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================
   FORM / COMPLAINT GENERATOR
   ============================ */
.form-container {
  background: var(--clr-surface);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--clr-border-light);
  box-shadow: 0 40px 80px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}

/* ============================
   PREMIUM DARK GENERATOR THEME
   ============================ */
#generator {
  background-color: #05050A;
  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: 50px 50px;
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

#generator::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

#generator .container {
  position: relative;
  z-index: 2;
}

#generator .form-container {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}

#generator .generator-header {
  border-color: rgba(255,255,255,0.1);
}

/* Force global readability across the section */
#generator {
  color: #fff;
}

#generator h1, #generator h2, #generator h3, #generator h4, #generator h5, #generator h6, #generator strong { 
  color: #fff; 
}
#generator label { 
  color: rgba(255,255,255,0.95); 
  font-weight: 600;
}
#generator p { 
  color: rgba(255,255,255,0.8); 
}
#generator small {
  color: #ffb8b8 !important; /* brighter red for errors on dark bg */
}

#generator .generator-header h2 {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
}

#generator .form-control {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
}
#generator .form-control::placeholder {
  color: rgba(255,255,255,0.3);
}
#generator .form-control:focus {
  background: rgba(0,0,0,0.6);
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.2), inset 0 2px 4px rgba(0,0,0,0.5);
}
#generator .form-control option {
  background: #111;
  color: #fff;
  padding: 0.5rem;
}

#generator .issue-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.1);
}
#generator .issue-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5); /* Dimmed default text */
  font-weight: 600;
  transition: all 0.3s ease;
}
#generator .issue-card:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.8);
}
#generator .issue-card.selected {
  background: rgba(108, 92, 231, 0.15);
  border-color: var(--clr-primary);
  color: #fff; /* High contrast white when selected */
  font-weight: 800;
}
#generator .issue-card i { color: var(--clr-primary); }
#generator .issue-card.selected i { color: #fff; }

/* Generator Buttons popping state */
#generator .btn-force:disabled,
#generator .btn-primary:disabled {
  background: rgba(255, 255, 255, 0.05) !important;
  color: rgba(255, 255, 255, 0.4) !important;
  border: 1px dashed rgba(255, 255, 255, 0.2) !important;
  opacity: 1;
  box-shadow: none !important;
}
#generator .btn-force:not(:disabled),
#generator .btn-primary:not(:disabled) {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 800;
  border: 1px solid #fff !important;
  box-shadow: 0 4px 15px rgba(255,255,255,0.2) !important;
}
#generator .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: transparent;
}
#generator .btn-outline:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}
#generator ::selection {
  background: rgba(108, 92, 231, 0.5);
  color: #fff;
}

#generator .wizard-tracker .step-num {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.1);
}
#generator .wizard-tracker .step.active .step-num {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
}
#generator .wizard-tracker .step.completed .step-num {
  background: var(--clr-success);
  border-color: var(--clr-success);
}
#generator .wizard-line { background: rgba(255,255,255,0.1); }
#generator .wizard-tracker .step.completed + .wizard-line { background: var(--clr-success); }


/* Generator Form Header */
.generator-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--clr-bg-alt);
}
.generator-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 0.6rem;
  background: linear-gradient(135deg, var(--clr-text) 0%, var(--clr-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.generator-header p {
  font-size: 1.05rem;
  color: var(--clr-text-light);
  max-width: 500px;
  margin: 0 auto;
}
.generator-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 184, 148, 0.1);
  color: var(--clr-success);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.generator-badge i { width: 14px; height: 14px; }

button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(80%);
}

/* Premium Wizard Tracker */
.wizard-tracker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding: 0 1rem;
}
.wizard-tracker .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}
.wizard-tracker .step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--clr-bg-alt);
  color: var(--clr-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: 2px solid var(--clr-bg-alt);
}
.wizard-tracker .step-txt {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--clr-text-light);
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}
.wizard-line {
  flex: 1;
  height: 4px;
  background: var(--clr-bg-alt);
  margin: 0 10px;
  position: relative;
  top: -12px;
  z-index: 1;
  transition: all 0.4s ease;
  border-radius: 3px;
}

/* Active State */
.wizard-tracker .step.active .step-num {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 5px rgba(108, 92, 231, 0.15);
}
.wizard-tracker .step.active .step-txt {
  color: var(--clr-primary);
}

/* Completed State */
.wizard-tracker .step.completed .step-num {
  background: var(--clr-success);
  color: #fff;
  border-color: var(--clr-success);
}
.wizard-tracker .step.completed .step-txt {
  color: var(--clr-success);
}
/* Fill the line *after* a completed step */
.wizard-tracker .step.completed + .wizard-line {
  background: var(--clr-success);
}

@media (max-width: 480px) {
  .wizard-tracker .step-txt { display: none; }
  .wizard-line { top: 0; }
}

/* Form Steps */
.form-step { display: none; animation: fadeIn 0.4s ease; }
.form-step.active { display: block; }

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

/* Issue Selection Grid */
.issue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.issue-card {
  padding: 1.15rem 1.25rem;
  border: 2px solid var(--clr-bg-alt);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: var(--clr-surface);
}
.issue-card i { 
  flex-shrink: 0; 
  color: var(--clr-text-light); 
  background: var(--clr-bg-alt);
  padding: 0.4rem;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  transition: all 0.3s ease;
}
.issue-card:hover {
  transform: translateY(-2px);
  border-color: var(--clr-primary-light);
  box-shadow: 0 8px 24px rgba(108, 92, 231, 0.08);
}
.issue-card.selected {
  border-color: var(--clr-primary);
  background: #fff;
  color: var(--clr-text);
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}
.issue-card.selected i { 
  color: #fff; 
  background: var(--clr-primary);
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

/* Form Controls */
label {
  display: block;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--clr-text);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1.5rem;
}
label:first-child { margin-top: 0; }
.form-control {
  width: 100%;
  padding: 1.15rem 1.4rem;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-text);
  background: #f8f9fa;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.form-control:hover {
  background: #f1f3f5;
  border-color: rgba(108, 92, 231, 0.2);
}
.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.15), 0 4px 12px rgba(108, 92, 231, 0.1);
  transform: translateY(-2px);
}

select.form-control { appearance: auto; }

/* Form Actions */
.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ============================
   PANIC CAPTURE
   ============================ */
.panic-capture {
  background: var(--clr-surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
  border: 1px solid rgba(255, 107, 107, 0.15);
  text-align: center;
  animation: slideUp 0.5s ease;
  box-shadow: var(--shadow-md);
}
.panic-warning {
  background: var(--clr-danger-bg);
  color: #c0392b;
  padding: 0.75rem 1rem;
  border-radius: 50px;
  font-weight: 800;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.5;
  display: inline-block;
}

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

/* ============================
   PRICING SECTION
   ============================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.pricing-card {
  background: var(--clr-surface);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--clr-border-light);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card.premium {
  border: 2px solid var(--clr-primary);
  background: linear-gradient(180deg, rgba(108, 92, 231, 0.03) 0%, var(--clr-surface) 100%);
  box-shadow: var(--shadow-lg);
  margin-top: 0.75rem;
}

.pricing-card h3 {
  font-size: 1.05rem;
  color: var(--clr-text);
  margin-bottom: 0.35rem;
}

.price-val {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-urgent {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 1.25rem;
  border-radius: 50px;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 1.25rem;
  width: 100%;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--clr-text-light);
  font-size: 0.82rem;
}
.pricing-features i {
  color: var(--clr-success);
  flex-shrink: 0;
  width: 18px; height: 18px;
}

.pricing-card .btn { margin-top: auto; }

/* ============================
   TRUST SECTION (Dark Theme)
   ============================ */
.trust-section {
  background: #09090e; /* Matches footer blend */
  color: #fff;
  padding: 5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.trust-title {
  color: #fff;
  margin-bottom: 3rem;
  font-size: clamp(2rem, 5vw, 2.5rem);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.trust-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  transition: all 0.4s ease;
  text-align: center;
  backdrop-filter: blur(10px);
}
.trust-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.05);
  border-color: rgba(108, 92, 231, 0.3);
}
.trust-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(108, 92, 231, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--clr-primary-light);
  border: 1px solid rgba(108, 92, 231, 0.2);
}
.trust-icon i {
  width: 28px;
  height: 28px;
}
.trust-card h4 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.trust-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin-bottom: 0;
}
.critical-warning {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 107, 107, 0.08);
  border: 2px solid rgba(255, 107, 107, 0.3);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}
.critical-warning .warning-icon {
  color: var(--clr-danger);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}
.critical-warning .warning-icon i { width: 100%; height: 100%; }
.critical-warning .warning-text {
  color: #ffc9c9;
  font-size: 0.95rem;
  line-height: 1.5;
}
.critical-warning .warning-text strong {
  display: block;
  color: var(--clr-danger);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0.05em;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: linear-gradient(160deg, #0c0c1d 0%, #1a1a3e 100%);
  padding: 3.5rem 0 2rem;
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.footer-brand h3 {
  margin-bottom: 0.25rem;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(135deg, #fff, var(--clr-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: rgba(255,255,255,0.5);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: var(--transition);
  padding: 0.2rem 0;
}
.footer-links a:hover { color: var(--clr-accent); }

.footer-copy {
  font-size: 0.78rem;
  opacity: 0.4;
  margin-top: 2rem;
  text-align: center;
  color: #fff;
}

/* ============================
   SCROLL ANIMATIONS
   ============================ */
.section:not(.hero) .container {
  animation: fadeInUp 0.6s ease both;
}

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

/* ============================
   RESPONSIVE
   ============================ */

/* Tablet (640px+) */
@media (min-width: 640px) {
  .container, .wide-container { padding: 0 2rem; }
  .btn { width: auto; }

  .hero-cta {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
  }
  .hero-cta .btn { width: auto; }

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

  .form-container { padding: 3rem 2.5rem; }
  .issue-grid { grid-template-columns: 1fr 1fr; }

  .form-actions {
    flex-direction: row;
    justify-content: space-between;
  }
  .form-actions .btn { width: auto; flex: 1; }

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

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
  .pricing-card { padding: 1.75rem 1.25rem; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-card { padding: 2.5rem 2rem; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
/* ====================================
   RECOVERY GUIDE MODAL — Premium
   ==================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.active { display: flex; animation: rgFadeIn 0.3s ease; }

.modal-content {
  background: #0e0e18;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 50px 120px rgba(0,0,0,0.7), 0 0 0 1px rgba(108,99,255,0.15);
  scrollbar-width: thin;
  scrollbar-color: rgba(108,99,255,0.3) transparent;
}

/* --- RG Header --- */
.rg-header {
  padding: 1.5rem 1.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rg-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.rg-badge {
  background: rgba(108,99,255,0.18);
  color: #a89cff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  border: 1px solid rgba(108,99,255,0.25);
}
.rg-close-btn {
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
}
.rg-close-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }
.rg-issue-tag {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.85rem;
  font-weight: 500;
}
.rg-progress-bar {
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 100px;
  overflow: hidden;
}
.rg-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6c63ff, #a89cff);
  border-radius: 100px;
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}

/* --- Slide Viewport --- */
.rg-viewport {
  overflow: hidden;
  padding: 0 1.75rem;
}
.rg-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

/* --- Individual Slide Card --- */
.rg-slide {
  min-width: 100%;
  padding: 1.5rem 0 1.25rem;
  animation: rgSlideIn 0.35s ease;
}
.rg-slide-num {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.rg-slide-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}
.rg-slide h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.rg-slide .rg-slide-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.rg-urgency-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}
.rg-urgency-pill.critical { background: rgba(255,60,60,0.15); color: #ff6b6b; border: 1px solid rgba(255,60,60,0.3); }
.rg-urgency-pill.high { background: rgba(255,165,0,0.12); color: #ffb347; border: 1px solid rgba(255,165,0,0.25); }
.rg-urgency-pill.medium { background: rgba(100,200,100,0.12); color: #6ddc8b; border: 1px solid rgba(100,200,100,0.25); }
.rg-urgency-pill.info { background: rgba(108,99,255,0.12); color: #a89cff; border: 1px solid rgba(108,99,255,0.25); }

/* Action list inside slide */
.rg-action-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.rg-action-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}
.rg-action-list li .rg-li-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  margin-top: 1px;
}
.rg-action-list li.do .rg-li-icon { background: rgba(100,220,140,0.15); color: #6ddc8b; }
.rg-action-list li.dont .rg-li-icon { background: rgba(255,80,80,0.15); color: #ff6b6b; }
.rg-li-text strong { display: block; font-weight: 700; color: #fff; font-size: 0.87rem; }

/* Warning box inside slide */
.rg-warn-box {
  background: rgba(255,165,0,0.08);
  border: 1px solid rgba(255,165,0,0.2);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1rem;
}
.rg-warn-box .rg-warn-icon { font-size: 1.3rem; flex-shrink: 0; }
.rg-warn-box p { margin: 0; font-size: 0.85rem; color: rgba(255,200,100,0.9); line-height: 1.5; }
.rg-warn-box strong { color: #ffb347; }

/* Helpline CTA */
.rg-helpline-cta {
  background: linear-gradient(135deg, rgba(255,60,60,0.12), rgba(255,100,100,0.06));
  border: 1px solid rgba(255,80,80,0.25);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1rem;
}
.rg-helpline-num {
  font-size: 2rem;
  font-weight: 900;
  color: #ff6b6b;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.rg-helpline-cta p { margin: 0; font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.5; }
.rg-helpline-cta strong { color: #fff; }

/* --- Nav Footer --- */
.rg-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 0.5rem;
}
.rg-dots { display: flex; gap: 0.5rem; align-items: center; }
.rg-dot {
  width: 8px; height: 8px;
  border-radius: 100px;
  background: rgba(255,255,255,0.12);
  cursor: pointer;
  transition: all 0.3s;
}
.rg-dot.active { width: 22px; background: #6c63ff; }
.rg-dot.done { background: rgba(108,99,255,0.4); }

.rg-nav-btns { display: flex; gap: 0.75rem; align-items: center; }
.rg-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.rg-btn-ghost {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.1);
}
.rg-btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.rg-btn-primary {
  background: linear-gradient(135deg, #6c63ff, #8b82ff);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108,99,255,0.35);
}
.rg-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 25px rgba(108,99,255,0.45); }

/* --- Filing Section --- */
.rg-filing {
  padding: 0 1.75rem 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 0.5rem;
  animation: rgFadeIn 0.4s ease;
}
.rg-filing-title {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 1rem; font-weight: 800; color: #fff;
  padding: 1.25rem 0 1rem;
}
.rg-filing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.rg-filing-card {
  background: rgba(255,255,255,0.03);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
  position: relative;
}
.rg-filing-card:hover { border-color: rgba(108,99,255,0.4); background: rgba(108,99,255,0.06); }
.rg-filing-card.active { border-color: #6c63ff; background: rgba(108,99,255,0.1); }
.rg-filing-icon { color: rgba(255,255,255,0.4); margin-bottom: 0.6rem; }
.rg-filing-card.active .rg-filing-icon { color: #a89cff; }
.rg-filing-label { font-size: 0.9rem; font-weight: 800; color: #fff; margin-bottom: 0.25rem; }
.rg-filing-sub { font-size: 0.72rem; color: rgba(255,255,255,0.4); }
.rg-filing-check {
  position: absolute; top: 8px; right: 10px;
  width: 20px; height: 20px;
  background: #6c63ff;
  border-radius: 50%;
  font-size: 0.7rem; line-height: 20px; text-align: center;
  color: #fff;
}

.rg-station-fields { display: flex; flex-direction: column; gap: 0.85rem; }
.rg-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}
.rg-field .form-control { margin-bottom: 0; background: rgba(255,255,255,0.05); }

.rg-generate-btn {
  width: 100%;
  margin-top: 1.25rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #6c63ff, #48c774);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  box-shadow: 0 6px 30px rgba(108,99,255,0.35);
  transition: all 0.25s;
}
.rg-generate-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(108,99,255,0.5); }
.rg-generate-btn:disabled { opacity: 0.6; transform: none; cursor: not-allowed; }

.rg-expert-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.rg-expert-link a { color: #a89cff; font-weight: 700; }

@keyframes rgFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rgSlideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* ==============================
   TAMIL LANGUAGE OVERRIDES
   Keep alert card same compact size as English
   ============================== */
body.lang-ta .card-header h3 {
  font-size: 0.95rem;
  line-height: 1.25;
}
body.lang-ta .modern-alert-steps li {
  margin-bottom: 1rem;
  align-items: flex-start;
}
body.lang-ta .step-text strong {
  font-size: 0.88rem;
  line-height: 1.3;
}
body.lang-ta .step-text span {
  font-size: 0.78rem;
  line-height: 1.35;
}
body.lang-ta .icon-box {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-top: 2px;
}
