/* ========================================================================
   ViViD Email Verification System — Design System
   Premium dark theme with glassmorphism, gradients, and micro-animations
   ======================================================================== */

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

:root {
  /* Colors — Dark Palette matching ViViD */
  --bg-primary: #0b0b0f;
  --bg-secondary: #0f0f14;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --bg-input: rgba(255, 255, 255, 0.06);
  
  --border-subtle: rgba(251, 191, 36, 0.2);
  --border-glass: rgba(251, 191, 36, 0.4);
  --border-active: rgba(249, 115, 22, 0.8);

  --text-primary: #ffffff;
  --text-secondary: #e2e8f0;
  --text-muted: #cbd5e1;
  --text-accent: #fde047;

  /* Status Colors */
  --color-valid: #22c55e;
  --color-invalid: #ef4444;
  --color-risky: #f59e0b;
  --color-unknown: #38bdf8;
  --color-role: #fbbf24;
  --color-disposable: #f43f5e;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 50px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: clip;
}

/* Ambient background glow — matches vividappstudio.in style */
.ambient-glow {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: 
    radial-gradient(ellipse 600px 500px at 10% 30%, rgba(139, 92, 246, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 500px 400px at 90% 60%, rgba(249, 115, 22, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 700px 600px at 50% 100%, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ========================================================================
   LOGIN OVERLAY (ViViD STYLE)
   ======================================================================== */
.login-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 4rem 1rem;
}

.login-overlay.hidden {
  display: none;
}

.login-card {
  background: rgba(15, 20, 35, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.8rem 1.2rem 1.8rem;
  width: 100%;
  max-width: 530px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
  text-align: center;
  margin: auto;
}

.login-logo {
  margin-bottom: 0;
}

.login-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.login-form .input-group {
  text-align: left;
  margin-bottom: 1.25rem;
}

.login-form label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}

.forgot-link, .signup-link {
  color: var(--text-accent);
  text-decoration: none;
}
.forgot-link:hover, .signup-link:hover { text-decoration: underline; }

.login-form input {
  width: 100%;
  padding: 13px 14px;
  background: var(--bg-input);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 0.95rem;
  transition: all 0.2s;
  outline: none;
}
.login-form input:focus {
  border-color: var(--text-accent);
  box-shadow: 0 0 0 2px rgba(192, 132, 252, 0.2);
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.2s;
}
.btn-primary:hover { background: #e4e4e7; }

.separator-text {
  margin: 1.5rem 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}
.separator-text::before, .separator-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 10px;
}

.auth-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 1.5rem;
}
.btn-outline {
  flex: 1;
  padding: 12px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.05);
}

/* Redesigned Google & Login Modal Styles (Clean & Luxury UI) */
.google-auth-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 12px 0 16px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
.google-auth-card:hover {
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

/* Inbuilt Prominent Card for Recommended Badge (Theme Style) */
.google-recommended-card {
  background: #131a2a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid #f97316;
  border-radius: 10px;
  padding: 8px 14px;
  margin-bottom: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.google-recommended-card span {
  background: linear-gradient(135deg, #fbbf24, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-google-highlight {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}
.btn-google-highlight:hover {
  background: #fdf8f6;
  border-color: #fbbf24;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.25);
  color: #d97706;
}

.google-desc-text {
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 12px 0 0 0;
  line-height: 1.4;
  font-weight: 500;
}

.btn-muted-signin {
  width: 100%;
  padding: 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  margin-top: 0.75rem;
  transition: all 0.2s ease;
}
.btn-muted-signin:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fbbf24;
}

.signup-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.login-footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
}
.login-footer-links .row {
  display: flex;
  gap: 8px;
}
.login-footer-links button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: var(--radius-sm);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.2s;
}
.login-footer-links button:hover { opacity: 0.8; }
.btn-dark { background: rgba(255,255,255,0.1); }
.btn-blue { background: #fbbf24; }
.btn-red { background: #ef4444; }
.btn-dark.full { width: 100%; }

/* ========================================================================
   LANDING PAGE (HOME)
   ======================================================================== */
.hero { display: flex; align-items: center; justify-content: space-between; gap: 40px; max-width: 1300px; margin: 90px auto; padding: 0 40px; position: relative; z-index: 1; }
.hero-content { flex: 1; max-width: 650px; }
.badge { display: inline-block; padding: 6px 16px; background: rgba(249, 115, 22, 0.15); color: #fde047; border-radius: 50px; font-size: 0.85rem; font-weight: 700; margin-bottom: 28px; border: 1px solid rgba(249, 115, 22, 0.3); text-transform: uppercase; letter-spacing: 1px; }
.hero h1 { font-size: 3.2rem; line-height: 1.1; font-weight: 800; margin-bottom: 28px; color: white; }
.text-gradient { background: linear-gradient(135deg, #f97316, #fbbf24); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 46px; line-height: 1.7; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; }
.btn-ghost { 
  padding: 10px 24px; 
  color: white; 
  text-decoration: none; 
  font-weight: 600; 
  font-size: 0.95rem; 
  border: 1px solid rgba(255,255,255,0.2); 
  border-radius: 9999px; 
  transition: background 0.2s; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  box-sizing: border-box; 
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); }
.login-helper-text { font-size: 0.8rem; color: var(--text-muted); }
.hero-visual { flex: 1.2; display: flex; justify-content: flex-end; position: relative; width: 100%; }
.mock-window { 
  width: 100%; 
  max-width: 580px; 
  background: rgba(15, 20, 35, 0.88); 
  border: 1px solid rgba(255, 255, 255, 0.14); 
  border-radius: 16px; 
  overflow: hidden; 
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(249, 115, 22, 0.15); 
  backdrop-filter: blur(16px); 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mock-window:hover {
  transform: translateY(-5px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7), 0 0 60px rgba(249, 115, 22, 0.25);
}
.mock-header { height: 44px; background: rgba(0, 0, 0, 0.6); display: flex; align-items: center; padding: 0 18px; gap: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.mock-header .dot { width: 11px; height: 11px; border-radius: 50%; background: #4ade80; }
.mock-header .dot:nth-child(2) { background: #fbbf24; }
.mock-header .dot:nth-child(3) { background: #f87171; }
.mock-item { padding: 20px 22px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.mock-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mock-icon.green { background: rgba(74, 222, 128, 0.18); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.35); }
.mock-icon.red { background: rgba(248, 113, 113, 0.18); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.35); }
.mock-icon.gold { background: rgba(251, 191, 36, 0.18); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.35); }
.mock-text { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.mock-line-1, .mock-line-2 { height: 10px; background: rgba(255, 255, 255, 0.12); border-radius: 5px; }
.mock-line-1 { width: 85%; }
.mock-line-2 { width: 45%; }
.status-badge { display: inline-block; padding: 6px 12px; border-radius: 6px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.5px; }
.status-badge.valid { background: rgba(74, 222, 128, 0.2); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.4); }
.status-badge.invalid { background: rgba(248, 113, 113, 0.2); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.4); }
.status-badge.catchall { background: rgba(251, 191, 36, 0.2); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.4); }

.features-section { max-width: 1300px; margin: 100px auto; padding: 0 40px; text-align: center; }
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 60px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 40px 30px; text-align: left; transition: transform 0.2s, background 0.2s; }
.feature-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.09); border-color: rgba(249, 115, 22, 0.3); }
.feature-icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(255,255,255,0.03); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.feature-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.feature-card p { color: var(--text-secondary); line-height: 1.6; font-size: 0.95rem; }

.partner-banner { max-width: 1000px; margin: 100px auto; background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(251, 191, 36, 0.1)); border: 1px solid rgba(249, 115, 22, 0.2); border-radius: 20px; padding: 60px 40px; text-align: center; }
.partner-banner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.partner-banner p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 30px; }

@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; padding-top: 40px; gap: 50px; }
  .hero-content { align-items: center; }
  .hero-actions { align-items: center !important; }
  .hero-visual { justify-content: center; width: 100%; margin-top: 15px; }
  .mock-window { max-width: 100%; width: 100%; margin: 0 auto; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); }
  .features-grid { grid-template-columns: 1fr; }
}

/* ========================================================================
   MAIN APPLICATION
   ======================================================================== */
.app-hidden {
  display: none !important;
}

/* ── Gradient Top Bar ── */
.top-bar {
  height: 4px;
  background: linear-gradient(135deg, #f43f5e, #fb923c, #fbbf24);
}

/* ── Shared Header ── */
header { display: flex; justify-content: space-between; align-items: center; padding: 16px 40px; border-bottom: 1px solid rgba(255,255,255,0.05); position: sticky; top: 0; background: rgba(5, 5, 8, 0.8); backdrop-filter: blur(20px); z-index: 1000; }
.logo-container { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
/* ── Universal Oval Logo Ratio (1.31 : 1) across ALL pages ── */
img[src*="ViViDApp-Oval-1.png"], .logo-container img, .logo-img, .mobile-menu-logo {
  aspect-ratio: 1.31 / 1 !important;
  width: auto !important;
  border-radius: 0 !important;
  object-fit: contain !important;
}
.logo-container img { height: 40px; }
.logo-text { 
  font-size: 1.35rem; 
  font-weight: 800; 
  letter-spacing: -0.5px; 
  background: linear-gradient(135deg, #f59e0b, #f43f5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { color: #fff9e6; text-decoration: none !important; font-size: 0.95rem; font-weight: 700; transition: color 0.3s; }
.nav-links a:hover { color: white; }

.btn-gradient {
  box-sizing: border-box;
  background: linear-gradient(135deg, #f43f5e, #fb923c);
  color: #fff;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(236, 72, 153, 0.25);
}
.btn-golden {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
  color: #fff;
}
.btn-golden:hover {
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}

/* ── Legacy Navbar (To be replaced but kept for safety) ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5, 5, 8, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 2rem;
}
.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.navbar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
}
.navbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.navbar-links {
  display: flex;
  gap: 8px;
  list-style: none;
}
.nav-btn {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  color: white;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.nav-btn:hover { background: rgba(255,255,255,0.1); }
.nav-btn.blue { background: rgba(251, 191, 36, 0.2); color: #fb923c; }
.nav-btn.orange { background: rgba(249, 115, 22, 0.2); color: #fb923c; }

/* User Profile */
.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.user-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #f97316;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.user-info { display: flex; flex-direction: column; }
.user-name { font-size: 0.85rem; font-weight: 600; line-height: 1.2; }
.user-status { font-size: 0.65rem; color: #4ade80; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px;}
.logout-icon { color: var(--text-muted); transition: color 0.2s; padding: 4px; }
.logout-icon:hover { color: #ef4444; }

/* ── Main Layout ── */
.main-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0.25rem 2rem 2rem 2rem;
  position: relative;
  z-index: 1;
}
.app-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}
.app-layout > * {
  width: 100%;
}
.app-layout #controlsCard {
  max-width: 650px;
  transition: max-width 0.3s ease;
}
.app-layout.layout-bulk #controlsCard {
  max-width: 1300px;
}
.app-layout #resultsCard {
  max-width: 100%;
}

/* ── Glass Card ── */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  overflow: hidden;
}
.card-gradient-top {
  height: 3px;
  background: linear-gradient(90deg, #fbbf24, #f97316);
}

/* ── Controls Panel ── */
.controls-panel { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }

.module-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ── Redesigned Controls Panel ── */
.verification-category {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 8px;
}
.standard-category {
  border-color: rgba(249, 115, 22, 0.2);
}
.premium-category {
  border: 1px solid rgba(245, 158, 11, 0.3);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, rgba(0,0,0,0.2) 100%);
}

.category-header {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.premium-text {
  color: #f59e0b;
}

.action-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px !important;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  color: white !important;
  margin: 0 !important;
}
.action-card:hover {
  background: rgba(255,255,255,0.08);
}
.action-card.active {
  background: rgba(249, 115, 22, 0.15) !important;
  border-color: rgba(249, 115, 22, 0.4) !important;
}
.premium-card.active {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
}

.action-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f97316;
  flex-shrink: 0;
}
.premium-card .action-icon {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

.action-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: white;
}
.action-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.premium-card .action-text p {
  color: rgba(245, 158, 11, 0.7);
}

.module-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 4px;
}

.premium-title {
  color: #f59e0b !important;
  font-weight: 700;
}
.tab-nav {
  display: flex;
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-md);
  padding: 4px;
}
.tab-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn.active {
  background: rgba(255,255,255,0.1);
  color: white;
}
.tab-content { display: none; animation: fadeIn 0.3s; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* Verification Modes */
.verify-modes {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.mode-box {
  flex: 1;
  padding: 24px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.2s;
}
.mode-box:hover { background: rgba(255,255,255,0.06); }
.mode-box.active {
  background: rgba(249, 115, 22, 0.1);
  border-color: #f97316;
}
.mode-icon { font-size: 2rem; }
.mode-title { font-size: 1.1rem; font-weight: 700; color: white; }
.mode-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.4; margin-top: 2px;}

.email-input-wrapper { position: relative; }
.email-input {
  width: 100%;
  padding: 16px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: white;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.email-input:focus { border-color: #f97316; }

.file-upload-zone {
  position: relative;
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 2rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: block;
}
.file-upload-zone:hover { border-color: #fbbf24; background: rgba(251, 191, 36, 0.05); }
.file-upload-icon { color: var(--text-secondary); margin-bottom: 10px; }

.separator {
  text-align: center; margin: 1rem 0; font-size: 0.75rem; color: var(--text-muted); font-weight: 700; letter-spacing: 1px;
}

.bulk-textarea {
  width: 100%;
  height: 120px;
  padding: 12px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: white;
  font-family: monospace;
  font-size: 0.85rem;
  resize: vertical;
  outline: none;
}
.bulk-textarea:focus { border-color: #f97316; }

.verify-btn {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  display: block;
  padding: 16px 40px;
  background: linear-gradient(135deg, #f97316, #fbbf24);
  border: none;
  border-radius: var(--radius-md);
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.2s;
}
.verify-btn:hover { box-shadow: 0 0 20px rgba(249, 115, 22, 0.4); transform: translateY(-1px); }
.verify-btn:active { transform: translateY(0); }
.verify-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-loading { display: none; align-items: center; justify-content: center; gap: 8px;}
.verify-btn.loading .btn-text { display: none; }
.verify-btn.loading .btn-loading { display: flex; }
.spinner { width: 18px; height: 18px; border: 2px solid white; border-top-color: transparent; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.action-bar { display: flex; justify-content: space-between; align-items: center; }
.clear-btn { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: white; padding: 6px 12px; border-radius: var(--radius-sm); cursor: pointer; font-size: 0.8rem; font-weight: 600;}
.export-buttons { display: flex; gap: 6px; }
.export-btn { padding: 6px 12px; border-radius: var(--radius-sm); border: none; color: white; font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.export-btn.csv { background: #16a34a; }
.export-btn.xls { background: #dc2626; } /* Used for PDF now */
.export-btn.txt { background: #4b5563; }

/* ── Results Panel ── */
.results-panel { padding: 2rem; min-height: 500px; display: flex; flex-direction: column;}
.results-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1.5rem;}
.results-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 4px; }
.results-subtitle { color: var(--text-secondary); font-size: 0.9rem; }
.results-stats { display: flex; gap: 15px; align-items: center; }
.stat-box { text-align: right; }
.stat-label { font-size: 0.7rem; color: var(--text-muted); font-weight: 700; letter-spacing: 1px; }
.stat-value { font-size: 1.5rem; font-weight: 800; color: white; font-variant-numeric: tabular-nums; }
.progress-circle { width: 48px; height: 48px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.1); border-top-color: #fbbf24; display: flex; align-items: center; justify-content: center; }
.progress-circle-inner { font-size: 0.7rem; font-weight: 700; }

.empty-state { flex: 1; display: flex; align-items: center; justify-content: center; }

/* Result Card UI */
.result-card { animation: fadeIn 0.3s; }
.result-status { display: flex; align-items: center; gap: 12px; margin-bottom: 2rem; padding-left: 1rem; border-left: 4px solid var(--border-active); }
.status-icon { font-size: 2rem; }
.status-label { font-size: 1.8rem; font-weight: 800; text-transform: uppercase;}
.status-message { font-size: 1rem; color: var(--text-secondary); }

.status-valid { color: var(--color-valid); border-color: var(--color-valid); }
.status-valid .status-icon::after { content: '✓'; }
.status-invalid { color: var(--color-invalid); border-color: var(--color-invalid); }
.status-invalid .status-icon::after { content: '✗'; }
.status-risky { color: var(--color-risky); border-color: var(--color-risky); }
.status-risky .status-icon::after { content: '⚠'; }
.status-role_based { color: var(--color-role); border-color: var(--color-role); }
.status-role_based .status-icon::after { content: '?'; }
.status-disposable { color: var(--color-disposable); border-color: var(--color-disposable); }
.status-disposable .status-icon::after { content: '🗑'; }

.confidence-section { margin-bottom: 2rem; }
.confidence-bar-container { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; position: relative; overflow: hidden; }
.confidence-bar-bg { position: absolute; top: 0; left: 0; height: 100%; opacity: 0.2; transition: width 1s; }
.confidence-score { font-size: 3rem; font-weight: 900; position: relative; z-index: 1; }
.confidence-label-text { font-size: 1rem; font-weight: 700; color: white; position: relative; z-index: 1; margin-top: 4px; }
.confidence-desc { font-size: 0.85rem; color: var(--text-secondary); position: relative; z-index: 1; }

.detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 2rem;}
.detail-item { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.05); border-radius: var(--radius-md); padding: 16px; }
.detail-item.span-2 {
  grid-column: span 2;
  border-color: rgba(245, 158, 11, 0.2);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(0,0,0,0.2) 100%);
}
.detail-item.span-2 .detail-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f59e0b;
}
@media (max-width: 600px) {
  .detail-item.span-2 {
    grid-column: span 1;
  }
}
.detail-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.detail-value { font-size: 1rem; font-weight: 600; word-break: break-all; }
.positive { color: #4ade80; }
.negative { color: #f87171; }
.warning { color: #fbbf24; }
.neutral { color: white; }

/* Logs Terminal Section */
.logs-section { margin-top: 2rem; }
.logs-header { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; gap: 8px; }
.logs-container {
  background: #000;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-family: monospace;
  font-size: 0.8rem;
  color: #a1a1aa;
  max-height: 250px;
  overflow-y: auto;
  line-height: 1.5;
}
.log-line { margin-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 4px;}
.log-time { color: #fb923c; margin-right: 8px; }
.log-success { color: #4ade80; }
.log-warn { color: #fbbf24; }
.log-error { color: #f87171; }
.log-highlight { color: #f59e0b; }

/* Bulk Results Table */
.bulk-results-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 1.5rem; }
.summary-badge { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); padding: 1rem; text-align: center; }
.summary-badge-count { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.summary-badge-label { font-size: 0.75rem; color: var(--text-secondary); font-weight: 600; text-transform: uppercase; }

.table-wrapper { overflow-x: auto; margin-top: 1.5rem; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.1); }
.log-scroll-box::-webkit-scrollbar { display: none; }
.log-scroll-box { -ms-overflow-style: none; scrollbar-width: none; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { background: rgba(255,255,255,0.05); padding: 12px 16px; font-size: 0.8rem; color: var(--text-secondary); text-transform: uppercase; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.1); }
td { padding: 12px 16px; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.status-badge { display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
.status-badge.valid { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.status-badge.invalid { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.status-badge.risky, .status-badge.role_based { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.status-badge.disposable { background: rgba(244, 63, 94, 0.2); color: #fb7185; }

.type-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}
.type-badge.public-id {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}
.type-badge.corporate-id {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.progress-container { display: none; margin-bottom: 1.5rem; }
.progress-bar-outer { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.progress-bar-fill { height: 100%; background: var(--color-valid); width: 0%; transition: width 0.3s; }
.progress-text { font-size: 0.8rem; color: var(--text-secondary); text-align: center; }

/* ── Shared Footer ── */
footer {
  margin-top: auto;
  padding: 40px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  background: rgba(5, 5, 8, 0.5);
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--text-main);
}
.copyright {
  color: #64748b;
  font-size: 0.9rem;
  text-align: center;
}

/* ── Toast ── */
.toast { position: fixed; bottom: 20px; right: 20px; background: #3f3f46; color: white; padding: 12px 20px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; box-shadow: 0 4px 12px rgba(0,0,0,0.3); transform: translateY(100px); opacity: 0; transition: all 0.3s; z-index: 10000; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: #dc2626; }
.toast.success { background: #16a34a; }

/* ── Curvy Arrow ── */
.curvy-arrow-container {
  position: absolute;
  right: -150px;
  top: 40px;
  width: 200px;
  height: 250px;
  opacity: 0.8;
  animation: float 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulseArrow {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6)); }
}

/* ========================================================================
   GLOBAL RESPONSIVENESS OVERRIDES
   ======================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  /* ── 1. ALL Sections & Containers: Force 100% Full Width with minimal edge padding on mobile ── */
  body, html {
    overflow-x: clip !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .main-container,
  .main-content,
  .hero,
  .features-section,
  .partner-banner,
  .cta-section,
  .pricing-section,
  .testimonials,
  .faq-section,
  .footer,
  .app-layout,
  .section-container,
  .content-wrapper,
  .page-identity,
  .table-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* ── 2. ALL Cards & Parts Separately Adjusted to Full Screen Width (Edge-to-Edge) ── */
  .app-layout > *,
  .app-layout #controlsCard,
  .app-layout.layout-bulk #controlsCard,
  .app-layout #resultsCard,
  #resultsCard,
  #controlsCard,
  .glass-card,
  .result-card,
  .results-panel,
  .controls-panel,
  .feature-card,
  .action-card,
  .premium-card,
  .step-card,
  .stat-box,
  .tool-card,
  .status-engine,
  .quick-stats,
  .contact-card,
  .form-card,
  .legal-card,
  .policy-content,
  .faq-item,
  .testimonial-card,
  .pricing-card,
  .partner-card,
  .module-card,
  .profile-card-wide,
  .google-auth-card,
  .google-recommended-card,
  .bulk-results-summary,
  .detail-grid,
  .logs-section,
  .easy-logs-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 12px !important;
  }
  .controls-panel,
  .results-panel,
  .feature-card,
  .tool-card,
  .status-engine,
  .contact-card,
  .form-card,
  .legal-card,
  .policy-content,
  .pricing-card,
  .testimonial-card,
  .faq-item {
    padding: 14px 10px !important;
  }
  
  /* ── Header & Navbar Mobile Optimization ── */
  header, .status-navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background: rgba(8, 1, 18, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 14px !important;
    gap: 10px !important;
  }
  .logo-container img, .logo-img {
    height: 45px !important;
    width: auto !important;
    aspect-ratio: 1.31 / 1 !important;
  }
  .logo-text, .logo-link {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }
  .nav-links {
    display: none !important;
  }
  .nav-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
  }
  
  /* Hide unnecessary header elements on mobile to prevent crushing */
  .help-dropdown-container, .user-info {
    display: none !important;
  }
  .user-profile {
    padding: 4px !important;
    gap: 0 !important;
    background: transparent !important;
    border: none !important;
  }
  .user-avatar {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.95rem !important;
  }

  /* Move Tab Navigation (Single/Bulk/SMTP) to second line on mobile and force 1 line */
  .nav-actions .tab-nav,
  header .tab-nav,
  .tab-nav {
    order: 100 !important;
    width: 100% !important;
    margin: 8px 0 0 0 !important;
    padding: 6px !important;
    background: rgba(15, 23, 42, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .tab-nav::-webkit-scrollbar {
    display: none !important;
  }
  .tab-nav .tab-btn, .tab-nav a {
    flex: 1 0 auto !important;
    text-align: center !important;
    padding: 8px 10px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* ── 3. ALL Button Cards, Button Rows & Button Containers across the WHOLE WEBSITE (All Pages): Strictly 1 Line (No 2-line wrapping!) ── */
  .action-bar,
  .export-buttons,
  .button-group,
  .btn-group,
  .action-buttons,
  .modal-actions,
  .card-actions,
  .tools-actions,
  .profile-actions,
  .export-buttons-wrapper,
  .bulk-actions,
  .nav-actions,
  .pricing-actions,
  .plan-actions,
  .plan-footer,
  .invoice-actions,
  .print-actions,
  .form-actions,
  .contact-actions,
  .modal-footer,
  .modal-buttons,
  .dialog-actions,
  .status-actions,
  .tool-actions,
  .login-actions,
  .auth-actions,
  .nav-right,
  .nav-left,
  .navbar-right,
  .navbar-left,
  .header-right,
  .header-left,
  .menu-right,
  .menu-left,
  .top-right,
  .top-left,
  .nav-links,
  .footer-links,
  div[class*="button"],
  div[class*="btn-"],
  div[class*="-btn"],
  div[class*="actions"]:not(.hero-actions),
  div[class*="bar"],
  div[style*="display: flex"][style*="gap"]:not(.bulk-input-row):not(.app-layout):not(.detail-grid):not(.cards-grid):not(.features-grid) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .action-bar::-webkit-scrollbar,
  .export-buttons::-webkit-scrollbar,
  .button-group::-webkit-scrollbar,
  div[class*="button"]::-webkit-scrollbar,
  div[class*="actions"]::-webkit-scrollbar {
    display: none !important;
  }
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .btn,
  .tab-btn,
  .export-btn,
  .clear-btn,
  .verify-btn,
  .plan-btn,
  .btn-primary,
  .btn-outline,
  .btn-ghost,
  .nav-btn,
  .submit-btn,
  .btn-print,
  .btn-gradient,
  .btn-golden,
  .btn-dark,
  .btn-blue,
  .btn-red,
  .btn-google-highlight,
  .btn-muted-signin,
  .modes-modal-close,
  .close-mobile-menu-btn,
  .universal-mobile-menu-btn,
  a[class*="btn"],
  button[class*="btn"],
  .action-bar button,
  .export-buttons button,
  .tab-nav button,
  .tab-nav a,
  .hero-actions a,
  .nav-actions a,
  .nav-actions button {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    text-overflow: ellipsis !important;
    max-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* ── File Drag/Upload & Email Feed Box Vertically Stacked on Mobile ("upar neeche") ── */
  .bulk-input-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }
  .bulk-input-row > .file-upload-zone {
    width: 100% !important;
    height: 180px !important;
    flex: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  .bulk-input-row > div:nth-child(2) {
    flex-direction: row !important;
    width: 100% !important;
    height: auto !important;
    padding: 6px 0 !important;
    justify-content: center !important;
  }
  .bulk-input-row > div:nth-child(2) > div {
    width: 35% !important;
    height: 1px !important;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2)) !important;
  }
  .bulk-input-row > div:nth-child(2) > div:last-child {
    background: linear-gradient(to left, transparent, rgba(255,255,255,0.2)) !important;
  }
  .bulk-input-row > textarea,
  .bulk-input-row > .bulk-textarea {
    width: 100% !important;
    height: 200px !important;
    flex: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }



  /* ── Verification Logs Card & Checklist Contents Vertically Stacked 1x1 on Mobile ("upar neeche") ── */
  .easy-logs-wrapper > div[style*="grid-template-columns"],
  .logs-section,
  .logs-container,
  .log-scroll-box {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 8px !important;
  }
  .easy-logs-wrapper > div[style*="grid-template-columns"] > div {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 8px 10px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 6px !important;
    border-left: 2px solid rgba(249, 115, 22, 0.6) !important;
    word-break: break-word !important;
  }
  .log-line {
    word-break: break-word !important;
    white-space: normal !important;
    padding: 6px 4px !important;
  }

  .login-card, .mock-window {
    width: 90% !important;
    max-width: 500px !important;
    margin: 0 auto;
  }

  /* ── 1x1 Vertically Stacked Card Grids ("cards ko upar neeche") ── */
  .cards-grid,
  .speed-grid,
  .stats-grid,
  .metrics-grid,
  .profile-layout-grid,
  .profile-form-grid,
  .steps-container,
  .detail-grid,
  .bulk-results-summary,
  .results-glossary-grid,
  .features-grid,
  .responsive-cards-grid,
  .features-section div[style*="grid-template-columns"],
  .partner-banner div[style*="grid-template-columns"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    gap: 14px !important;
  }

  .action-card,
  .step-card,
  .stat-box,
  .summary-badge,
  .detail-item,
  .detail-item.span-2,
  .profile-form-grid .full-width,
  .profile-form-grid .input-group {
    grid-column: span 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* ── Results Stacked Vertically ("results bhi upar neeche") ── */
  .results-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  .results-stats {
    width: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
  }
  .result-status {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 12px !important;
  }

  /* Bulk Verification Table Responsive Card Conversion */
  .table-wrapper {
    border: none !important;
    background: transparent !important;
    overflow-x: visible !important;
    margin-top: 1rem !important;
  }
  .table-wrapper table,
  .table-wrapper thead,
  .table-wrapper tbody,
  .table-wrapper tr,
  .table-wrapper th,
  .table-wrapper td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .table-wrapper thead {
    display: none !important;
  }
  .table-wrapper tbody tr {
    margin-bottom: 16px !important;
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    padding: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  }
  .table-wrapper tbody td {
    padding: 8px 10px !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    text-align: right !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px !important;
    word-break: break-all !important;
  }
  .table-wrapper tbody td:last-child {
    border-bottom: none !important;
    justify-content: center !important;
    padding-top: 10px !important;
  }
  .table-wrapper tbody tr td:nth-child(1)::before { content: "Email ID"; color: var(--text-muted); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; }
  .table-wrapper tbody tr td:nth-child(2)::before { content: "Email Type"; color: var(--text-muted); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; }
  .table-wrapper tbody tr td:nth-child(3)::before { content: "Platform"; color: var(--text-muted); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; }
  .table-wrapper tbody tr td:nth-child(4)::before { content: "Score"; color: var(--text-muted); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; }
  .table-wrapper tbody tr td:nth-child(5)::before { content: "Status"; color: var(--text-muted); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; }
  .table-wrapper tbody tr td:nth-child(6)::before { content: "Assessment"; color: var(--text-muted); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; }
  .table-wrapper tbody tr td:nth-child(7)::before { content: "Role-Based"; color: var(--text-muted); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; }
  .table-wrapper tbody tr td:nth-child(8)::before { content: "Syntax"; color: var(--text-muted); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; }
  .table-wrapper tbody tr td:nth-child(9)::before { content: "Domain (NS)"; color: var(--text-muted); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; }
  .table-wrapper tbody tr td:nth-child(10)::before { content: "MX Records"; color: var(--text-muted); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; }
  .table-wrapper tbody tr td:nth-child(11)::before { content: "DMARC"; color: var(--text-muted); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; }
  .table-wrapper tbody tr td:nth-child(12)::before { content: "SMTP Result"; color: var(--text-muted); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; }
  .table-wrapper tbody tr td:nth-child(13)::before { content: "SMTP Status"; color: var(--text-muted); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; }
  .table-wrapper tbody tr td:nth-child(14)::before { content: "Catch-All"; color: var(--text-muted); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; }
  .table-wrapper tbody tr td:nth-child(15)::before { content: "Action"; color: var(--text-muted); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; white-space: nowrap; }

  .partner-banner {
    padding: 2.5rem 1.25rem 2rem !important;
    margin: 50px auto 30px !important;
    border-radius: 18px !important;
  }

  .vividly-assist-box {
    padding: 2rem 1.25rem 1.5rem !important;
    margin-top: 2.5rem !important;
    border-radius: 16px !important;
  }

  .curvy-arrow-container {
    display: none;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 10px !important;
  }
  
  .footer-links span {
    display: none; /* Hide the dot separators on mobile when stacked */
  }
}

@media (max-width: 600px) {
  .hero { padding: 0 20px; margin-top: 40px; }
  .hero h1 { font-size: 1.9rem; }
  .partner-banner h2 { font-size: 2rem !important; }
  .vividly-assist-box h3 { font-size: 1.5rem !important; }
  .section-title { font-size: 1.8rem; }
  
  .login-card {
    padding: 1.5rem !important;
  }

  .partner-banner {
    padding: 2rem 1rem 1.5rem !important;
  }

  .vividly-assist-box {
    padding: 1.5rem 1rem 1rem !important;
  }
}

/* ========================================================================
   WIDE PROFILE MODAL (PREMIUM DESIGN)
   ======================================================================== */
.profile-card-wide {
  background: rgba(8, 8, 8, 0.96);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 95%;
  max-width: 880px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  position: relative;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: white;
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
}

@keyframes modalScaleIn {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.profile-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.profile-sidebar {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-avatar-container {
  position: relative;
  margin-bottom: 1rem;
}

.profile-avatar-container img {
  height: 96px;
  width: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f59e0b;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
  transition: transform 0.3s ease;
}

.profile-avatar-container:hover img {
  transform: scale(1.05);
}

.profile-stats-box {
  width: 100%;
  margin-top: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-main {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
}

.profile-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #f97316;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-section-title span {
  color: #f59e0b;
}

.profile-form-grid label {
  color: #fbbf24 !important;
  font-weight: 700 !important;
}

#profileAddressDisplay {
  border: 1px solid rgba(249, 115, 22, 0.35) !important;
}

#syncIconSvg {
  transform-origin: center center;
}

.spinning-arrow {
  animation: spin 0.7s linear infinite !important;
  transform-origin: center center;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
}

.profile-form-grid .full-width {
  grid-column: span 2;
}

/* Custom Sleek Scrollbar for profile form if needed */
.profile-form-grid::-webkit-scrollbar {
  width: 6px;
}
.profile-form-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.profile-form-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
.profile-form-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.5);
}

@media (max-width: 850px) {
  .profile-layout-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .profile-card-wide {
    padding: 1.5rem !important;
    max-height: 90vh;
    overflow-y: auto;
  }
  .profile-form-grid {
    grid-template-columns: 1fr;
  }
  .profile-form-grid .full-width {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .nav-actions > .btn-gradient {
    display: none !important;
  }
  .user-info {
    display: none !important;
  }
  .user-profile {
    padding: 4px 6px !important;
    gap: 0 !important;
  }
}

/* ========================================================================
   UNIVERSAL MOBILE MENU & LOGO RESPONSIVENESS
   ======================================================================== */
.universal-mobile-menu-btn {
  display: none !important;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #f97316, #ec4899);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.35);
}

.public-clean-nav {
  display: none !important;
}

.universal-mobile-menu-btn:hover, .universal-mobile-menu-btn:active {
  background: linear-gradient(135deg, #ea580c, #db2777);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .universal-mobile-menu-btn {
    display: inline-flex !important;
  }
  
  /* On mobile public pages, hide standard navigation items except clean nav & hamburger button */
  .nav-actions.has-public-clean-nav > *:not(#universalMobileMenuBtn):not(#publicCleanNav),
  .nav-actions:has(#publicCleanNav) > *:not(#universalMobileMenuBtn):not(#publicCleanNav) {
    display: none !important;
  }
  
  #publicCleanNav {
    display: flex !important;
    align-items: center;
    gap: 16px;
    margin-right: 6px;
  }
  
  .public-top-link {
    color: #fff9e6 !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 0.3s;
    white-space: nowrap;
  }
  .public-top-link:hover {
    color: #ffffff !important;
  }
}

.universal-mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 1, 18, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 999999;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.universal-mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu-content {
  max-width: 500px;
  margin: 0 auto;
  padding: 25px 20px 50px 20px;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 25px;
}

.mobile-menu-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.mobile-menu-logo {
  height: 36px !important;
  width: auto !important;
  aspect-ratio: 1.31 / 1 !important;
  border-radius: 0 !important;
}

.close-mobile-menu-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.close-mobile-menu-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: #ef4444;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-section-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  padding-left: 4px;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #f8fafc;
  text-decoration: none !important;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s;
}

.mobile-menu-item:hover, .mobile-menu-item:active {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.4);
  transform: translateX(4px);
  color: #fbbf24;
}

.mobile-menu-highlight {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.25), rgba(251, 191, 36, 0.15)) !important;
  border: 1px solid rgba(249, 115, 22, 0.6) !important;
  color: #fbbf24 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
}

@media (max-width: 400px) {
  .logo-text, .logo-link {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
  }
  .logo-container img, .logo-img {
    height: 40px !important;
  }
  .universal-mobile-menu-btn span {
    display: none !important;
  }
  .universal-mobile-menu-btn {
    padding: 6px 10px !important;
  }
}

/* ── Standardized Policy Pages Width & Styling (Matching Normal Pages) ── */
.policy-container,
.progress-container,
.jurisdiction-box {
  max-width: 1200px !important;
  width: 92% !important;
  margin: 60px auto !important;
  padding: 50px 50px !important;
  background: var(--bg-card) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
  position: relative !important;
  z-index: 10 !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px) {
  .policy-container,
  .progress-container,
  .jurisdiction-box {
    width: 94% !important;
    max-width: 94% !important;
    margin: 30px auto !important;
    padding: 32px 22px !important;
    border-radius: 20px !important;
  }
}

@media (max-width: 600px) {
  .policy-container,
  .progress-container,
  .jurisdiction-box {
    width: 96% !important;
    max-width: 96% !important;
    margin: 20px auto !important;
    padding: 24px 16px !important;
    border-radius: 16px !important;
  }
  
  .footer-links {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 15px !important;
  }
  
  .footer-links span {
    display: none !important; /* Hide the bullets (•) on mobile */
  }
  
  footer div, footer .copyright {
    text-align: left !important;
  }
}

/* ── Standardized Back Link Styling for all Legal / Policy Pages ── */
.back-link,
a.back-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #fb923c !important; /* Bright warm orange */
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  margin-bottom: 25px !important;
  transition: color 0.3s ease, transform 0.2s ease !important;
}

.back-link:hover,
a.back-link:hover {
  color: #f43f5e !important; /* Rose highlight on hover */
  transform: translateX(-3px) !important;
}

/* Align text to left inside the feature cards */
.responsive-cards-grid > div {
  text-align: left !important;
}
