@import url('../fonts/inter.css');

/* ==========================================================================
   REALEXUS CAPITAL - Enterprise Fintech Design System
   Font: Inter (RSMS Local Engine) & Apple System Fallback
   ========================================================================== */

:root {
  /* --- Apple & Stripe Inspired Color System --- */
  --apple-bg: #f8fafc;
  --apple-canvas: #f1f5f9;
  --apple-card: #ffffff;
  --apple-dark-section: #0f172a;
  --apple-dark-card: #1e293b;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --text-inverse: #ffffff;

  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-dark: rgba(255, 255, 255, 0.15);

  /* --- Aligned Brand Accents --- */
  --primary: #0b5aa0;          /* Realexus Core Blue */
  --primary-accent: #0284c7;   /* Modern Sky Accent */
  --primary-light: #e0f2fe;
  --growth: #10b981;           /* Emerald Green */
  --growth-light: #dcfce7;
  --warning: #f59e0b;          /* Amber */
  --warning-light: #fef3c7;
  --danger: #ef4444;           /* Rose Red */
  --danger-light: #fee2e2;
  --gold: #f59e0b;

  /* --- Geometry & Elevation --- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 980px;
  --max-width: 1200px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 8px 24px rgba(2, 132, 199, 0.15);

  --transition-smooth: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-fast: all 0.15s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* --- Base & Inter Typography --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-family: 'InterVariable', 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--apple-bg);
  color: var(--text-primary);
  letter-spacing: -0.015em;
  overflow-x: clip;
  width: 100%;
}

body {
  line-height: 1.47059;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 0;
  overflow-x: clip;
  width: 100%;
  position: relative;
}

/* --- Flat Icon & SVG Boundary Utilities --- */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

svg.w-2\.5, svg[class*="w-2.5"], .w-2\.5 { width: 10px !important; height: 10px !important; }
svg.w-3, svg[class*="w-3"], .w-3 { width: 12px !important; height: 12px !important; }
svg.w-3\.5, svg[class*="w-3.5"], .w-3\.5 { width: 14px !important; height: 14px !important; }
svg.w-4, svg[class*="w-4"], .w-4 { width: 16px !important; height: 16px !important; }
svg.w-5, svg[class*="w-5"], .w-5 { width: 20px !important; height: 20px !important; }
svg.w-6, svg[class*="w-6"], .w-6 { width: 24px !important; height: 24px !important; }
svg.w-7, svg[class*="w-7"], .w-7 { width: 28px !important; height: 28px !important; }
svg.w-8, svg[class*="w-8"], .w-8 { width: 32px !important; height: 32px !important; }
svg.w-10, svg[class*="w-10"], .w-10 { width: 40px !important; height: 40px !important; }
svg.w-12, svg[class*="w-12"], .w-12 { width: 48px !important; height: 48px !important; }

svg.h-2\.5, svg[class*="h-2.5"], .h-2\.5 { height: 10px !important; }
svg.h-3, svg[class*="h-3"], .h-3 { height: 12px !important; }
svg.h-3\.5, svg[class*="h-3.5"], .h-3\.5 { height: 14px !important; }
svg.h-4, svg[class*="h-4"], .h-4 { height: 16px !important; }
svg.h-5, svg[class*="h-5"], .h-5 { height: 20px !important; }
svg.h-6, svg[class*="h-6"], .h-6 { height: 24px !important; }
svg.h-7, svg[class*="h-7"], .h-7 { height: 28px !important; }
svg.h-8, svg[class*="h-8"], .h-8 { height: 32px !important; }
svg.h-10, svg[class*="h-10"], .h-10 { height: 40px !important; }
svg.h-12, svg[class*="h-12"], .h-12 { height: 48px !important; }

.shrink-0 { flex-shrink: 0 !important; }
.inline-flex { display: inline-flex !important; }
.items-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.gap-0\.5, [class*="gap-0.5"] { gap: 2px !important; }
.gap-1 { gap: 4px !important; }
.gap-1\.5, [class*="gap-1.5"] { gap: 6px !important; }
.gap-2 { gap: 8px !important; }
.gap-3 { gap: 12px !important; }
.mt-0\.5, [class*="mt-0.5"] { margin-top: 2px !important; }

/* Color utilities for SVG stroke and fill */
.text-emerald-600, .text-emerald-500 { color: var(--growth, #10b981) !important; }
.text-emerald-700 { color: #047857 !important; }
.text-blue-600, .text-blue-500 { color: var(--primary, #0b5aa0) !important; }
.text-blue-700 { color: #0369a1 !important; }
.text-purple-600, .text-purple-500 { color: #9333ea !important; }
.text-amber-500, .text-amber-400 { color: var(--warning, #f59e0b) !important; }
.text-rose-600, .text-rose-500 { color: var(--danger, #ef4444) !important; }
.text-slate-300 { color: #cbd5e1 !important; }
.text-slate-400 { color: #94a3b8 !important; }
.text-slate-500 { color: #64748b !important; }
.text-slate-600 { color: #475569 !important; }
.text-slate-700 { color: #334155 !important; }
.text-white { color: #ffffff !important; }

.fill-amber-400, .fill-gold { fill: #f59e0b !important; }
.fill-emerald-500, .fill-growth { fill: #10b981 !important; }

.animate-spin {
  animation: spin 1s linear infinite !important;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Utility Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-tertiary); }
.text-growth { color: var(--growth); }
.text-primary { color: var(--primary); }

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(0, 113, 227, 0.08);
  color: var(--primary-accent);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

.badge-tag.green {
  background: var(--growth-light);
  color: #1b8a37;
}

/* Visibility Utilities */
.hidden-mobile { display: initial; }
.visible-mobile { display: none; }

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: var(--transition-fast);
}

/* Apple Typography Scale */
.hero-headline {
  font-size: clamp(28px, 5.5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.hero-headline span {
  background: linear-gradient(180deg, #0b5aa0 0%, #0071e3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
  overflow-wrap: break-word;
}

.section-subtitle {
  font-size: clamp(14.5px, 2vw, 18px);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px auto;
  font-weight: 450;
}

/* --- Apple Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.25);
}

.btn-primary:hover {
  background: #0077ed;
  transform: scale(1.02);
  color: #ffffff;
}

.btn-growth {
  background: #1d1d1f;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-growth:hover {
  background: #333336;
  transform: scale(1.02);
  color: #ffffff;
}

.btn-outline {
  background: rgba(0, 113, 227, 0.08);
  color: var(--primary-accent);
}

.btn-outline:hover {
  background: rgba(0, 113, 227, 0.15);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 17px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

/* --- Apple Glass Navbar --- */
.site-header {
  position: sticky !important;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  transition: var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo img {
  height: 58px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

a {
  text-decoration: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  opacity: 0.8;
  text-decoration: none !important;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  opacity: 1;
  color: var(--primary-accent);
  text-decoration: none !important;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --- Apple Minimalist Hero Section --- */
.hero-section {
  padding: 84px 0 92px 0;
  background: 
    radial-gradient(#94a3b8 0.65px, transparent 0.65px),
    radial-gradient(circle at 50% -10%, rgba(14, 116, 144, 0.09) 0%, rgba(2, 132, 199, 0.05) 30%, rgba(248, 250, 252, 0.95) 65%, #f8fafc 100%);
  background-size: 24px 24px, 100% 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero-subtitle {
  font-size: 21px;
  line-height: 1.38095;
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* --- Apple Precision Card --- */
.apple-card {
  background: var(--apple-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.apple-card:hover {
  transform: none;
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 0, 0, 0.12);
}

/* --- Quick Scanner Glass Box --- */
.hero-scanner-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.scanner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.scanner-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
}

.scanner-input-group {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 18px;
}

.scanner-input {
  flex: 1;
  padding: 14px 18px;
  background: var(--apple-canvas);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 15px;
  outline: none;
  transition: var(--transition-fast);
}

.scanner-input:focus {
  border-color: var(--primary-accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.stock-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stock-pill {
  background: var(--apple-canvas);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.stock-pill:hover {
  background: var(--primary-accent);
  color: #ffffff;
  border-color: var(--primary-accent);
}

/* --- Features Grid --- */
.section-padding {
  padding: 90px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--apple-canvas);
  color: var(--primary-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Audit Table --- */
/* --- Apple Segmented Control Tabs --- */
.segmented-control {
  background: var(--apple-canvas);
  padding: 4px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  gap: 4px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 24px;
  max-width: 100%;
  overflow-x: auto;
}

.segmented-tab {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.segmented-tab.active {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.filter-chips-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.filter-chip {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  background: var(--apple-canvas);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-chip.active, .filter-chip:hover {
  background: var(--primary-accent);
  color: #ffffff;
  border-color: var(--primary-accent);
}

.portfolio-dashboard {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.dashboard-header {
  padding: 24px 30px;
  background: var(--apple-canvas);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.dashboard-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.search-input {
  padding: 10px 16px 10px 38px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
}

.search-input:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.audit-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.audit-table thead {
  background: var(--apple-canvas);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.audit-table th {
  padding: 14px 20px;
  font-weight: 600;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0.05em;
}

.audit-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.audit-table tbody tr:hover {
  background-color: var(--apple-canvas);
}

.stock-symbol {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 15px;
}

.stock-sector {
  font-size: 13px;
  color: var(--text-tertiary);
}

.action-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 12px;
}

.badge-buy { background: var(--growth-light); color: #1b8a37; }
.badge-hold { background: var(--warning-light); color: #c26d00; }
.badge-review { background: var(--danger-light); color: var(--danger); }

/* --- Interactive Health Calculator --- */
.audit-tool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.health-score-card {
  background: #1d1d1f;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.score-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 8px solid var(--growth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 24px auto;
  background: rgba(255, 255, 255, 0.05);
}

.score-number {
  font-size: 44px;
  font-weight: 800;
  color: var(--gold);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-primary);
  font-size: 15px;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

/* --- Modals (Apple iOS Sheet Style) --- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: scale(0.95) translateY(10px);
  transition: var(--transition-smooth);
}

.modal-backdrop.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  background: var(--apple-canvas);
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  background: var(--apple-canvas);
  border: 1px solid var(--border-subtle);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-secondary);
}

.modal-body {
  padding: 28px;
}

/* --- Apple Light Footer --- */
.site-footer {
  background: var(--apple-canvas);
  color: var(--text-secondary);
  padding: 50px 0 30px 0;
  border-top: 1px solid var(--border-strong);
  margin-top: auto;
  font-size: 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 48px;
  width: auto;
}

.footer-brand p {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 12px;
  color: var(--text-secondary);
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 12px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-accent);
  text-decoration: underline;
}

.footer-disclaimer {
  border-top: 1px solid var(--border-strong);
  padding-top: 18px;
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 11px;
  color: var(--text-tertiary);
}

.footer-bottom a {
  color: var(--text-secondary);
  font-weight: 600;
}

/* --- Native App Bottom Bar (Mobile Only) --- */
.mobile-app-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  z-index: 1500;
  justify-content: space-around;
  align-items: center;
  padding-bottom: env(safe-area-inset-bottom);
}

.app-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

/* --- Google-Style Autocomplete & Dropzone CSS --- */
.autocomplete-container {
  position: relative;
  width: 100%;
}

.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 240px;
  overflow-y: auto;
  z-index: 1200;
  margin-top: 4px;
  display: none;
}

.autocomplete-dropdown.active {
  display: block;
}

.autocomplete-item {
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background: rgba(0, 113, 227, 0.05);
}

.autocomplete-line {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.autocomplete-symbol {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.autocomplete-sep {
  color: var(--text-tertiary);
  font-size: 12px;
}

.autocomplete-name {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-secondary);
}

/* Dropzone Styling */
.dropzone {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  text-align: center;
  background: var(--apple-canvas);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--primary-accent);
  background: var(--primary-light);
}

.dropzone-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

/* OTP Verification UI */
.otp-box-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}

.otp-digit {
  width: 48px;
  height: 54px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: #ffffff;
  outline: none;
}

.otp-digit:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.app-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
}

.app-bar-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-tertiary);
  transition: var(--transition-fast);
}

.app-bar-item.active, .app-bar-item:hover {
  color: var(--primary-accent);
}

.app-bar-item.active svg {
  stroke: var(--primary-accent);
}

/* --- Responsive Layout --- */
@media (max-width: 992px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .audit-tool-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { padding-bottom: 74px; } /* Room for mobile app bar */
  .mobile-app-bar { display: flex; }
  .nav-menu { display: none !important; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  
  .site-header {
    position: sticky !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
  }
  .site-header .header-container {
    height: 60px;
    padding: 0 16px;
  }
  .brand-logo img {
    height: 38px;
    width: auto;
    max-width: 160px;
  }
  
  /* Mobile Bottom Sheet Modal */
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .modal-card {
    max-width: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
  }
}

/* --- Mobile App Tool Card & Form Layout --- */
.mobile-form-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
}

.stock-search-field {
  margin-bottom: 12px;
}

.qty-price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.mobile-field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}

.mobile-input-field {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  font-size: 14px;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.mobile-input-field:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.search-icon-inside {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.5;
  pointer-events: none;
}

.mobile-add-btn {
  width: 100%;
  height: 46px;
  background: #1d1d1f;
  color: #ffffff;
  border-radius: 980px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mobile-add-btn:hover {
  background: #333336;
}

.mobile-tool-body {
  padding: 28px 24px;
}

/* --- Workstation Section & Precise Mobile 0px Margins / 10px & 30px Padding --- */
.workstation-section {
  padding: 40px 0 60px 0;
}

@media (max-width: 768px) {
  .workstation-section {
    padding: 0 !important;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  .workstation-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .mobile-tool-card {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    margin: 0 !important;
    width: 100% !important;
    box-shadow: none !important;
  }
  .mobile-tool-body {
    padding: 30px 10px !important;
  }
  .mobile-form-box {
    padding: 12px 10px !important;
  }
  .mobile-table-card {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x;
    border-radius: 14px !important;
    width: 100% !important;
  }
  .mobile-table-card .audit-table {
    min-width: 520px !important;
    width: 100% !important;
  }
  .mobile-table-card .audit-table th,
  .mobile-table-card .audit-table td {
    white-space: nowrap;
    padding: 10px 12px !important;
  }
  .mobile-table-card .audit-table th:first-child,
  .mobile-table-card .audit-table td:first-child {
    white-space: normal;
    min-width: 160px;
  }
  #auditResultsCard, #aiProcessingCard {
    border-radius: 16px !important;
    padding: 20px 10px !important; /* EXACTLY 10px left & right padding */
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  .assessment-title {
    font-size: 18px !important;
  }
  .pdf-box-title {
    font-size: 16px !important;
  }
}

/* Responsive Diagnostics Charts Layout & Anti-Overlapping Rules */
.sector-chart-layout,
.cap-chart-layout {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: center;
}

@media (max-width: 580px) {
  .sector-chart-layout,
  .cap-chart-layout {
    grid-template-columns: 1fr !important;
    justify-items: center;
    gap: 14px !important;
  }
}

.mobile-table-card {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}

.audit-table th,
.audit-table td {
  vertical-align: middle;
}

/* --- Widescreen Desktop Alignment (>= 992px) --- */
@media (min-width: 992px) {
  .workstation-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
  }
  .mobile-form-box {
    display: flex;
    align-items: flex-end;
    gap: 14px;
  }
  .stock-search-field {
    flex: 2.2;
    margin-bottom: 0;
  }
  .qty-price-row {
    flex: 2;
    margin-bottom: 0;
  }
  .mobile-add-btn {
    flex: 1.2;
    height: 44px;
  }
}

/* --- Mobile App Tool Card & Form Styling (Matching Mockup) --- */
.mobile-tool-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.mobile-tabs-wrap {
  display: flex;
  background: #f1f5f9;
  padding: 6px;
  border-bottom: 1px solid #e2e8f0;
  gap: 4px;
}

.mobile-tab-item {
  flex: 1;
  padding: 10px 12px;
  border-radius: 980px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.mobile-tab-item.active {
  background: #ffffff;
  color: #0284c7;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.step-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 980px;
  letter-spacing: 0.04em;
}

.mobile-form-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
}

.mobile-field-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}

.mobile-input-field {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  font-size: 14px;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.mobile-input-field:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.search-icon-inside {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  opacity: 0.5;
  pointer-events: none;
}

.mobile-add-btn {
  width: 100%;
  height: 46px;
  background: #1d1d1f;
  color: #ffffff;
  border-radius: 980px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-add-btn:hover {
  background: #333336;
}

.mobile-summary-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  margin-bottom: 12px;
}

.count-pill {
  background: #e0f2fe;
  color: #0284c7;
  padding: 2px 8px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 700;
}

.mobile-table-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
}

.mobile-submit-cta {
  width: 100%;
  height: 52px;
  background: #0071e3;
  color: #ffffff;
  border-radius: 980px;
  font-size: 15.5px;
  font-weight: 700;
  border: none;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* --- Apple Glass User Account Pill & Dropdown --- */
.user-account-dropdown {
  position: relative;
  display: inline-block;
}

.user-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid #e2e8f0;
  border-radius: 980px;
  padding: 4px 12px 4px 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.user-pill-btn:hover, .user-pill-btn:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15);
}

.user-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.user-pill-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.2;
}

.user-pill-name {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-pill-badge {
  font-size: 10px;
  font-weight: 600;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 4px;
}

.user-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.user-pill-chevron {
  width: 14px;
  height: 14px;
  color: #64748b;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.user-pill-btn[aria-expanded="true"] .user-pill-chevron {
  transform: rotate(180deg);
}

/* Floating Dropdown Card */
.user-dropdown-card {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 290px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 14px;
  z-index: 1050;
  animation: userDropFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-dropdown-card.show {
  display: block;
}

@keyframes userDropFadeIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.user-drop-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.user-drop-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0a2540 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25);
}

.user-drop-info {
  overflow: hidden;
  flex: 1;
}

.user-drop-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-drop-email {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.user-drop-tier {
  display: inline-block;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  margin-top: 5px;
}

.user-drop-links {
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.user-drop-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none !important;
  color: #334155;
  transition: all 0.15s ease;
}

.user-drop-link:hover {
  background: #f8fafc;
  color: #0284c7;
}

.user-drop-link.active {
  background: #f0f9ff;
  color: #0284c7;
}

.user-drop-icon {
  font-size: 16px;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.user-drop-link-text {
  display: flex;
  flex-direction: column;
}

.user-drop-link-text strong {
  font-size: 12px;
  font-weight: 700;
}

.user-drop-link-text small {
  font-size: 10px;
  color: #94a3b8;
}

.user-drop-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 6px 0;
}

.user-drop-footer {
  padding-top: 4px;
}

.user-drop-logout-btn {
  width: 100%;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #e11d48;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.user-drop-logout-btn:hover {
  background: #ffe4e6;
  border-color: #fda4af;
  color: #be123c;
}

.logout-icon {
  width: 14px;
  height: 14px;
}

/* Ensure user-account-dropdown is visible on mobile header */
@media (max-width: 768px) {
  .site-header .header-container {
    padding: 0 16px;
  }
  .site-header .user-account-dropdown {
    display: inline-block !important;
  }
  .site-header .header-cta {
    display: flex !important;
    gap: 8px;
  }
  .site-header .header-cta > .btn {
    display: none; /* Keep header clean on mobile, keep avatar dropdown visible */
  }
  .user-pill-text {
    display: none; /* Show circle avatar on mobile pill */
  }
  .user-pill-btn {
    padding: 3px 6px 3px 3px;
  }
  .user-dropdown-card {
    right: -10px;
    width: 270px;
  }
}

/* ==========================================================================
   1. MARKET OPPORTUNITY: SPLIT TREND STREAM & GROWTH SHOWCASE (Zoho Style)
   ========================================================================== */
.zoho-market-section {
  background: #ffffff;
  padding: 88px 0 98px 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.zoho-header-wrap {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 44px auto;
}

.zoho-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.zoho-title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin: 0 0 14px 0;
}

.zoho-subtitle {
  font-size: 16px;
  line-height: 1.65;
  color: #334155;
  max-width: 760px;
  margin: 0 auto;
  font-weight: 450;
}

.zoho-opp-split {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 24px;
}

.zoho-opp-visual {
  background: linear-gradient(145deg, #090e1a 0%, #0f172a 50%, #1e293b 100%);
  border-radius: 22px;
  padding: 34px 28px;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.12);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.zoho-opp-visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(2, 132, 199, 0.22);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.zoho-opp-visual-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 22px;
  letter-spacing: -0.015em;
}

.zoho-opp-stats-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
  justify-content: space-between;
}

.zoho-opp-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  transition: all 0.2s ease;
}

.zoho-opp-stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.zoho-opp-stat-num {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.zoho-opp-stat-num.blue { color: #38bdf8; }
.zoho-opp-stat-num.green { color: #4ade80; }
.zoho-opp-stat-num.indigo { color: #a5b4fc; }
.zoho-opp-stat-num.amber { color: #fbbf24; }

.zoho-opp-stat-desc {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 600;
  margin-bottom: 2px;
}

.zoho-opp-stream {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  justify-content: space-between;
}

.zoho-opp-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.zoho-opp-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateX(4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.zoho-opp-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.zoho-opp-item-icon.blue { background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; }
.zoho-opp-item-icon.green { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
.zoho-opp-item-icon.indigo { background: #eef2ff; border: 1px solid #c7d2fe; color: #4338ca; }
.zoho-opp-item-icon.amber { background: #fff7ed; border: 1px solid #fed7aa; color: #c2410c; }

.zoho-opp-item-content {
  flex-grow: 1;
}

.zoho-opp-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 8px;
  flex-wrap: wrap;
}

.zoho-opp-item-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.zoho-card-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.zoho-card-pill.blue { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.zoho-card-pill.green { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.zoho-card-pill.indigo { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }
.zoho-card-pill.amber { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.zoho-card-pill.rose { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }
.zoho-card-pill.purple { background: #faf5ff; color: #7e22ce; border: 1px solid #e9d5ff; }

.zoho-opp-item-text {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

.zoho-opp-item-text strong {
  color: #0f172a;
  font-weight: 700;
}

/* ==========================================================================
   2. THE PROBLEM & SOLUTION: HIGH-CONTRAST BATTLE BOARD (Zoho / Stripe Bento)
   ========================================================================== */
.zoho-problem-section {
  background: #f8fafc;
  padding: 90px 0 100px 0;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.zoho-problem-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.zoho-battle-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
  align-items: stretch;
}

.zoho-battle-col {
  border-radius: 22px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.zoho-battle-col.traps {
  background: #ffffff;
  border: 1px solid #fecdd3;
  box-shadow: 0 4px 24px rgba(225, 29, 72, 0.04);
}

.zoho-battle-col.resolution {
  background: #ffffff;
  border: 1px solid #a7f3d0;
  box-shadow: 0 10px 32px rgba(16, 185, 129, 0.07);
}

.zoho-battle-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.zoho-battle-col-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.015em;
}

.zoho-solution-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 9999px;
  margin-bottom: 6px;
}

.zoho-trap-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
  justify-content: space-between;
}

.zoho-trap-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.zoho-trap-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: #cbd5e1;
  transition: background 0.2s ease;
}

.zoho-trap-item.amber::before { background: #f59e0b; }
.zoho-trap-item.rose::before { background: #f43f5e; }
.zoho-trap-item.purple::before { background: #a855f7; }

.zoho-trap-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.zoho-trap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 8px;
}

.zoho-trap-title {
  font-size: 15.5px;
  font-weight: 750;
  color: #0f172a;
  margin: 0;
}

.zoho-trap-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.zoho-trap-text strong {
  color: #0f172a;
  font-weight: 700;
}

.zoho-resolution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  flex-grow: 1;
}

.zoho-resolution-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
}

.zoho-resolution-item:hover {
  background: #ffffff;
  border-color: #10b981;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.12);
  transform: translateY(-2px);
}

.zoho-res-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.zoho-res-icon.green { background: #ecfdf5; border: 1px solid #a7f3d0; color: #059669; }
.zoho-res-icon.blue { background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; }
.zoho-res-icon.indigo { background: #eef2ff; border: 1px solid #c7d2fe; color: #4338ca; }
.zoho-res-icon.teal { background: #f0fdfa; border: 1px solid #99f6e4; color: #0f766e; }

.zoho-res-title {
  font-size: 15px;
  font-weight: 750;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.zoho-res-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

/* ==========================================================================
   3. INVESTMENT MODELS: 2x2 SPACIOUS INSTITUTIONAL SUITE (Zoho / Stripe Style)
   ========================================================================== */
.zoho-models-section {
  background: #ffffff;
  padding: 90px 0 100px 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.zoho-models-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.zoho-matrix-deck {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
  align-items: stretch;
}

.zoho-matrix-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.zoho-matrix-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.zoho-matrix-card.blue::before { background: #0b5aa0; }
.zoho-matrix-card.amber::before { background: #ea580c; }
.zoho-matrix-card.indigo::before { background: #4f46e5; }
.zoho-matrix-card.green::before { background: #059669; }

.zoho-matrix-card:hover {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
  border-color: #cbd5e1;
}

.zoho-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.zoho-matrix-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
}

.zoho-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.zoho-matrix-badge.blue { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.zoho-matrix-badge.blue .zoho-badge-dot { background: #1d4ed8; }

.zoho-matrix-badge.amber { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.zoho-matrix-badge.amber .zoho-badge-dot { background: #ea580c; }

.zoho-matrix-badge.indigo { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }
.zoho-matrix-badge.indigo .zoho-badge-dot { background: #4f46e5; }

.zoho-matrix-badge.green { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.zoho-matrix-badge.green .zoho-badge-dot { background: #059669; }

.zoho-matrix-yield {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.zoho-matrix-yield .yield-val {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.zoho-matrix-yield .yield-sub {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
}

.zoho-matrix-yield.blue .yield-val { color: #0b5aa0; }
.zoho-matrix-yield.amber .yield-val { color: #ea580c; }
.zoho-matrix-yield.indigo .yield-val { color: #4f46e5; }
.zoho-matrix-yield.green .yield-val { color: #059669; }

.zoho-matrix-heading {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px 0;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.zoho-matrix-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.zoho-feature-item {
  font-size: 13.5px;
  line-height: 1.55;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.zoho-feature-bullet {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.zoho-feature-item strong {
  color: #0f172a;
  font-weight: 700;
}

.zoho-matrix-factbar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.zoho-fact-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.zoho-fact-divider {
  width: 1px;
  height: 28px;
  background: #e2e8f0;
  margin: 0 14px;
}

.zoho-fact-block .fact-k {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.zoho-fact-block .fact-v {
  font-size: 13px;
  font-weight: 750;
  color: #0f172a;
}

.zoho-fact-block .fact-v.blue-text { color: #0b5aa0; }
.zoho-fact-block .fact-v.amber-text { color: #ea580c; }
.zoho-fact-block .fact-v.indigo-text { color: #4f46e5; }
.zoho-fact-block .fact-v.green-text { color: #059669; }


/* ==========================================================================
   4. RISK MANAGEMENT: UNIFIED 6-NODE PERIMETER DEFENSE ARCHITECTURE
   ========================================================================== */
.zoho-risk-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 90px 0 100px 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.zoho-risk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.zoho-shield-arch {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  margin-top: 40px;
}

.zoho-shield-header {
  background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
  padding: 22px 30px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.zoho-shield-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.zoho-shield-node {
  padding: 28px 30px;
  border-right: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.zoho-shield-node:nth-child(3n) {
  border-right: none;
}

.zoho-shield-node:nth-child(n+4) {
  border-bottom: none;
}

.zoho-shield-node:hover {
  background: #f8fafc;
}

.zoho-node-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.zoho-node-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 6px;
}

.zoho-node-num.blue { background: #eff6ff; color: #1d4ed8; }
.zoho-node-num.indigo { background: #eef2ff; color: #4338ca; }
.zoho-node-num.green { background: #ecfdf5; color: #047857; }
.zoho-node-num.amber { background: #fff7ed; color: #c2410c; }
.zoho-node-num.rose { background: #fff1f2; color: #be123c; }
.zoho-node-num.teal { background: #f0fdfa; color: #0f766e; }

.zoho-node-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.zoho-node-body {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

/* ==========================================================================
   5. WHY CHOOSE REALEXUS: SPLIT FIDUCIARY GOVERNANCE & VALUE TIMELINE
   ========================================================================== */
.zoho-why-section {
  background: #ffffff;
  padding: 90px 0 100px 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.zoho-why-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #b45309;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.zoho-fiduciary-split {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 36px;
  align-items: stretch;
  margin-top: 40px;
  margin-bottom: 36px;
}

.zoho-fiduciary-seal {
  background: linear-gradient(145deg, #0b5aa0 0%, #0284c7 100%);
  border-radius: 22px;
  padding: 38px 32px;
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(11, 90, 160, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.zoho-fiduciary-seal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.zoho-fiduciary-seal-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}

.zoho-fiduciary-seal-text {
  font-size: 14px;
  line-height: 1.6;
  color: #e0f2fe;
  margin-bottom: 24px;
}

.zoho-fiduciary-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 22px 20px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 14px;
}

.zoho-fiduciary-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.zoho-fiduciary-stream {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.zoho-fiduciary-item {
  padding: 22px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex: 1;
  transition: all 0.2s ease;
}

.zoho-fiduciary-item:first-child {
  padding-top: 0;
}

.zoho-fiduciary-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.zoho-fiduciary-item-num {
  font-size: 26px;
  font-weight: 800;
  color: #cbd5e1;
  line-height: 1;
  width: 36px;
  flex-shrink: 0;
  padding-top: 2px;
}

.zoho-fiduciary-item:hover .zoho-fiduciary-item-num {
  color: #0b5aa0;
}

.zoho-fiduciary-item-body {
  flex-grow: 1;
}

.zoho-fiduciary-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 10px;
}

.zoho-fiduciary-item-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.zoho-fiduciary-item-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #334155;
  margin: 0;
}

.zoho-disclaimer-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 28px;
  position: relative;
  margin-top: 36px;
}

.zoho-disclaimer-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.zoho-disclaimer-text {
  font-size: 13px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

/* ==========================================================================
   MULTI-DEVICE RESPONSIVE BREAKPOINTS (Desktop, Laptop, Tablet, Mobile)
   ========================================================================== */
@media (max-width: 1199px) {
  .zoho-opp-split {
    grid-template-columns: 340px 1fr;
    gap: 24px;
  }
  .zoho-fiduciary-split {
    grid-template-columns: 340px 1fr;
    gap: 24px;
  }
  .zoho-matrix-deck {
    gap: 22px;
  }
}

@media (max-width: 991px) {
  .zoho-opp-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .zoho-opp-visual {
    position: static;
  }
  .zoho-battle-board {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .zoho-matrix-deck {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .zoho-shield-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .zoho-shield-node:nth-child(2n) {
    border-right: none;
  }
  .zoho-shield-node:nth-child(n+5) {
    border-bottom: none;
  }
  .zoho-fiduciary-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .zoho-fiduciary-seal {
    position: static;
  }
}

@media (max-width: 768px) {
  .hidden-mobile { display: none !important; }
  .visible-mobile { display: block !important; }
  
  .container {
    padding: 0 16px !important;
  }
  
  /* Hero Section Mobile Polish */
  .hero-section {
    padding: 44px 0 48px 0;
  }
  .hero-headline {
    font-size: clamp(24px, 6.8vw, 36px);
    line-height: 1.2;
    margin-top: 12px;
  }
  .hero-subtitle {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 22px;
    padding: 0 4px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 22px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 15px;
  }
  .hero-trust-proof {
    flex-direction: column;
    gap: 8px;
  }

  /* Section Padding Standardization */
  .zoho-market-section,
  .zoho-problem-section,
  .zoho-models-section,
  .zoho-risk-section,
  .zoho-why-section,
  .zoho-casestudy-section,
  .zoho-reviews-section,
  .zoho-cta-section {
    padding: 48px 0 54px 0;
  }

  .zoho-header-wrap {
    margin-bottom: 26px;
  }

  .zoho-title {
    font-size: clamp(22px, 5.8vw, 30px);
    margin-bottom: 10px;
  }

  .zoho-subtitle {
    font-size: 14px;
    line-height: 1.55;
  }

  /* Market Opportunity */
  .zoho-opp-visual {
    padding: 22px 16px;
    border-radius: 18px;
  }
  .zoho-opp-visual-title {
    font-size: 19px;
    margin-bottom: 16px;
  }
  .zoho-opp-stat-card {
    padding: 12px 14px;
    border-radius: 10px;
  }
  .zoho-opp-stat-num {
    font-size: 17px;
  }
  .zoho-opp-item {
    padding: 16px 14px;
    gap: 12px;
    border-radius: 14px;
  }
  .zoho-opp-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .zoho-opp-item-title {
    font-size: 14.5px;
  }
  .zoho-opp-item-text {
    font-size: 12.5px;
    line-height: 1.5;
  }

  /* Problem & Solution */
  .zoho-battle-col {
    padding: 22px 16px;
    border-radius: 18px;
  }
  .zoho-battle-col-title {
    font-size: 17px;
  }
  .zoho-trap-item {
    padding: 14px 14px;
    border-radius: 12px;
  }
  .zoho-trap-title {
    font-size: 14px;
  }
  .zoho-trap-text {
    font-size: 12.5px;
  }
  .zoho-resolution-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .zoho-resolution-item {
    padding: 14px 14px;
    border-radius: 12px;
  }
  .zoho-res-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 8px;
  }
  .zoho-res-title {
    font-size: 14px;
  }
  .zoho-res-desc {
    font-size: 12px;
  }

  /* Investment Models */
  .zoho-matrix-card {
    padding: 22px 16px;
    border-radius: 18px;
  }
  .zoho-matrix-heading {
    font-size: 17px;
    margin-bottom: 12px;
  }
  .zoho-feature-item {
    font-size: 12.5px;
    gap: 8px;
  }
  .zoho-matrix-factbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
  }
  .zoho-fact-divider {
    display: none;
  }
  .zoho-fact-block {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Risk Management */
  .zoho-shield-arch {
    border-radius: 16px;
    margin-top: 24px;
  }
  .zoho-shield-header {
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .zoho-shield-grid {
    grid-template-columns: 1fr;
  }
  .zoho-shield-node {
    border-right: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 16px 14px !important;
  }
  .zoho-shield-node:last-child {
    border-bottom: none !important;
  }
  .zoho-node-title {
    font-size: 14px;
  }
  .zoho-node-body {
    font-size: 12.5px;
  }

  /* Why Choose */
  .zoho-fiduciary-split {
    margin-top: 24px;
    margin-bottom: 20px;
  }
  .zoho-fiduciary-seal {
    padding: 22px 16px;
    border-radius: 18px;
  }
  .zoho-fiduciary-seal-title {
    font-size: 18px;
  }
  .zoho-fiduciary-seal-text {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .zoho-fiduciary-checks {
    padding: 14px 12px;
    gap: 8px;
  }
  .zoho-fiduciary-check-item {
    font-size: 12px;
  }
  .zoho-fiduciary-item {
    padding: 12px 0;
    gap: 12px;
  }
  .zoho-fiduciary-item-num {
    font-size: 20px;
    width: 24px;
  }
  .zoho-fiduciary-item-title {
    font-size: 15px;
  }
  .zoho-fiduciary-item-desc {
    font-size: 12.5px;
  }
  .zoho-disclaimer-box {
    padding: 14px 14px;
    margin-top: 20px;
  }
  .zoho-disclaimer-text {
    font-size: 11.5px;
  }

  /* Case Study */
  .apple-card {
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }
  .apple-card h3 {
    font-size: 20px !important;
  }
  .apple-card p {
    font-size: 13.5px !important;
  }
  .apple-card .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  .zoho-casestudy-section .text-center .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 14.5px;
  }

  /* Review Cards */
  .zoho-review-card {
    width: min(290px, 80vw);
    flex: 0 0 min(290px, 80vw);
    padding: 18px 16px;
    border-radius: 16px;
  }
  .zoho-review-quote {
    font-size: 12.5px;
    margin-bottom: 14px;
  }

  /* Final CTA */
  .zoho-cta-box {
    padding: 32px 16px;
    border-radius: 18px;
  }
  .zoho-cta-box h2 {
    font-size: clamp(20px, 5.5vw, 26px) !important;
  }
  .zoho-cta-box p {
    font-size: 13.5px !important;
    margin-bottom: 20px !important;
  }
  .zoho-cta-box div[style*="display: flex"] {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .zoho-cta-box .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 14.5px;
  }

  /* Footer */
  .site-footer {
    padding: 36px 0 84px 0;
  }
  .footer-grid {
    gap: 20px;
  }
}

/* ==========================================================================
   SMOOTH REVIEWS SLIDER SUITE (Zoho / Stripe Marquee Architecture)
   ========================================================================== */
.zoho-reviews-section {
  padding: 75px 0 85px 0;
  background: var(--apple-canvas);
  position: relative;
  overflow: hidden;
}

.zoho-reviews-slider-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 12px 0 24px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.zoho-reviews-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: smoothReviewsSlide 42s linear infinite;
}

.zoho-reviews-track:hover {
  animation-play-state: paused;
}

@keyframes smoothReviewsSlide {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.zoho-review-card {
  width: 360px;
  flex: 0 0 360px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 26px 26px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  user-select: none;
}

.zoho-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px -6px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  border-color: #cbd5e1;
}

.zoho-review-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #f59e0b;
  margin-bottom: 14px;
}

.zoho-review-quote {
  color: #1e293b;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 450;
  margin-bottom: 20px;
  flex-grow: 1;
}

.zoho-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.zoho-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.zoho-review-avatar.blue { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.zoho-review-avatar.green { background: #ecfdf5; border-color: #a7f3d0; color: #059669; }
.zoho-review-avatar.purple { background: #faf5ff; border-color: #e9d5ff; color: #9333ea; }
.zoho-review-avatar.amber { background: #fff7ed; border-color: #fed7aa; color: #ea580c; }
.zoho-review-avatar.indigo { background: #eef2ff; border-color: #c7d2fe; color: #4f46e5; }
.zoho-review-avatar.teal { background: #f0fdfa; border-color: #99f6e4; color: #0d9488; }
.zoho-review-avatar.rose { background: #fff1f2; border-color: #fecdd3; color: #e11d48; }

.zoho-review-info {
  display: flex;
  flex-direction: column;
}

.zoho-review-name {
  font-size: 14px;
  font-weight: 750;
  color: #0f172a;
}

.zoho-review-role {
  font-size: 12px;
  color: #64748b;
  margin-top: 1px;
}

/* ==========================================================================
   ZOHO / STRIPE STYLE LEADERSHIP TEAM SECTION
   ========================================================================== */
.zoho-team-section {
  background: #ffffff;
  padding: 80px 0 90px 0;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.zoho-team-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4338ca;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.zoho-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.zoho-team-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 20px 26px 20px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.zoho-team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.25s ease;
}

.zoho-team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  border-color: #cbd5e1;
}

.zoho-team-card.blue:hover::before { background: #0b5aa0; }
.zoho-team-card.indigo:hover::before { background: #4f46e5; }
.zoho-team-card.emerald:hover::before { background: #059669; }
.zoho-team-card.purple:hover::before { background: #7c3aed; }

.zoho-team-avatar-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, rgba(11, 90, 160, 0.12) 0%, rgba(99, 102, 241, 0.18) 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoho-team-card:hover .zoho-team-avatar-wrap {
  transform: scale(1.04);
  box-shadow: 0 12px 24px -4px rgba(11, 90, 160, 0.2);
}

.zoho-team-avatar-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoho-team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zoho-team-avatar-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.zoho-team-name {
  font-size: 17.5px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 6px 0;
}

.zoho-team-role {
  font-size: 13px;
  font-weight: 700;
  color: #0b5aa0;
  margin-bottom: 8px;
}

.zoho-team-credential {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.zoho-team-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  width: 100%;
}

@media (max-width: 991px) {
  .zoho-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .zoho-team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .zoho-team-card {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   PORTFOLIO TRANSFORMATION & CTA SECTIONS (Atmospheric Cadence)
   ========================================================================== */
.zoho-casestudy-section {
  background: #f8fafc;
  padding: 80px 0 90px 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.zoho-cta-section {
  padding: 80px 0 90px 0;
  background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%);
  position: relative;
}

.zoho-cta-box {
  background: linear-gradient(135deg, #0b5aa0 0%, #0284c7 50%, #0369a1 100%);
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 20px 40px -10px rgba(2, 132, 199, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.zoho-cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* ==========================================================================
   MODERN FORM CONTROLS & INPUT SUITE (Apple & Zoho Style)
   ========================================================================== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-size: 14.5px;
  font-family: inherit;
  color: #0f172a;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.form-control::placeholder {
  color: #94a3b8;
}

.form-control:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3.5px rgba(2, 132, 199, 0.14);
  background: #ffffff;
}

textarea.form-control {
  min-height: 105px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  padding-right: 42px;
  cursor: pointer;
}

/* ==========================================================================
   PORTFOLIO SOLUTIONS: 3-TIER MATRIX DECK
   ========================================================================== */
.zoho-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.zoho-solution-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 24px 28px 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.zoho-solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.25s ease;
}

.zoho-solution-card.blue::before { background: #0284c7; }
.zoho-solution-card.green::before { background: #10b981; }
.zoho-solution-card.purple::before { background: #8b5cf6; }

.zoho-solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  border-color: #cbd5e1;
}

.zoho-solution-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.zoho-solution-tier {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.zoho-solution-tier.blue { color: #0284c7; }
.zoho-solution-tier.green { color: #059669; }
.zoho-solution-tier.purple { color: #7c3aed; }

.zoho-solution-badge {
  font-size: 11px;
  font-weight: 750;
  padding: 4px 10px;
  border-radius: 9999px;
}

.zoho-solution-badge.blue { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.zoho-solution-badge.green { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.zoho-solution-badge.purple { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }

.zoho-solution-heading {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 12px;
}

.zoho-solution-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 22px;
}

.zoho-solution-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zoho-solution-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
}

.zoho-solution-bullet {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   PORTFOLIO BEFORE / AFTER BATTLE DECK
   ========================================================================== */
.zoho-battle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1060px;
  margin: 36px auto 0 auto;
}

.zoho-battle-card {
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.zoho-battle-card.danger {
  background: #ffffff;
  border: 1.5px solid #fecdd3;
  box-shadow: 0 4px 20px rgba(225, 29, 72, 0.05);
}

.zoho-battle-card.success {
  background: #ffffff;
  border: 1.5px solid #a7f3d0;
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.08);
}

.zoho-battle-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.zoho-battle-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.zoho-battle-icon-wrap.danger { background: #ffe4e6; color: #e11d48; border: 1px solid #fecdd3; }
.zoho-battle-icon-wrap.success { background: #dcfce7; color: #059669; border: 1px solid #a7f3d0; }

.zoho-battle-card-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 2px;
}

.zoho-battle-card.danger .zoho-battle-card-title { color: #9f1239; }
.zoho-battle-card.success .zoho-battle-card-title { color: #065f46; }

.zoho-battle-card-sub {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 500;
}

.zoho-battle-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zoho-battle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
}

.zoho-battle-card.danger .zoho-battle-row {
  background: #fff1f2;
  border: 1px solid #ffe4e6;
  color: #881337;
}

.zoho-battle-card.success .zoho-battle-row {
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  color: #064e3b;
}

/* ==========================================================================
   CONTACT US: SPLIT PANEL & ADVISORY DESK
   ========================================================================== */
.zoho-contact-section {
  background: #f8fafc;
  padding: 60px 0 75px 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
}

.zoho-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 32px;
  align-items: stretch;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.zoho-contact-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px 26px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.zoho-contact-panel .form-group {
  margin-bottom: 10px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.zoho-contact-panel .form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.zoho-contact-panel .form-control {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: block;
  min-height: 40px;
  height: 40px;
  padding: 8px 12px;
  font-size: 13.5px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.zoho-contact-panel textarea.form-control {
  height: auto;
  min-height: 54px;
  resize: vertical;
}

.zoho-contact-panel .form-control:focus {
  border-color: #0284c7;
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.zoho-contact-panel .btn-primary {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 44px;
  height: auto;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: normal;
  text-align: center;
  padding: 12px 18px;
}

.zoho-contact-item {
  display: flex;
  gap: 14px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  margin-bottom: 10px;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.zoho-contact-item > div:last-child {
  min-width: 0;
  flex: 1;
  overflow-wrap: break-word;
  word-break: break-word;
}

.zoho-contact-item:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.zoho-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.zoho-contact-icon.blue { background: #e0f2fe; color: #0284c7; }
.zoho-contact-icon.green { background: #dcfce7; color: #059669; }
.zoho-contact-icon.purple { background: #f5f3ff; color: #7c3aed; }

/* ==========================================================================
   ABOUT US: 3 PILLARS OF FIDUCIARY GOVERNANCE
   ========================================================================== */
.zoho-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
  width: 100%;
  box-sizing: border-box;
}

.zoho-pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.zoho-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.zoho-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.zoho-pillar-icon.green { background: #ecfdf5; border: 1px solid #a7f3d0; color: #059669; }
.zoho-pillar-icon.blue { background: #e0f2fe; border: 1px solid #bae6fd; color: #0284c7; }
.zoho-pillar-icon.purple { background: #f5f3ff; border: 1px solid #ddd6fe; color: #7c3aed; }

.zoho-pillar-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  word-break: break-word;
}

.zoho-pillar-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
  word-break: break-word;
}

/* ==========================================================================
   RESPONSIVE LAYOUT BREAKPOINTS FOR ABOUT, PORTFOLIO & CONTACT
   ========================================================================== */
@media (max-width: 991px) {
  .zoho-solutions-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .zoho-battle-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .zoho-contact-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 24px; width: 100% !important; max-width: 100% !important; }
  .zoho-pillars-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
  .zoho-solution-card { padding: 22px 16px; border-radius: 18px; width: 100%; min-width: 0; box-sizing: border-box; }
  .zoho-battle-card { padding: 22px 16px; border-radius: 18px; width: 100%; min-width: 0; box-sizing: border-box; }
  .zoho-battle-row { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 12px; }
  .zoho-contact-section { 
    padding: 32px 0 48px 0 !important; 
    width: 100% !important; 
    max-width: 100vw !important; 
    overflow-x: hidden !important; 
    box-sizing: border-box !important; 
  }
  .zoho-contact-section .container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .zoho-contact-grid { 
    grid-template-columns: minmax(0, 1fr) !important; 
    gap: 20px !important; 
    width: 100% !important; 
    max-width: 100% !important; 
    margin: 0 auto !important; 
    box-sizing: border-box !important; 
  }
  .zoho-contact-panel { 
    padding: 20px 16px !important; 
    border-radius: 18px !important; 
    height: auto !important; 
    width: 100% !important; 
    max-width: 100% !important; 
    min-width: 0 !important; 
    box-sizing: border-box !important; 
    overflow: hidden !important;
  }
  .zoho-contact-item { 
    padding: 12px 14px !important; 
    border-radius: 12px !important; 
    width: 100% !important; 
    max-width: 100% !important; 
    min-width: 0 !important; 
    box-sizing: border-box !important; 
  }
  .zoho-contact-item > div:last-child {
    min-width: 0 !important;
    flex: 1 !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .zoho-contact-panel .form-group {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .zoho-contact-panel .form-control { 
    width: 100% !important; 
    max-width: 100% !important; 
    min-width: 0 !important; 
    box-sizing: border-box !important; 
    min-height: 44px !important; 
    height: 44px !important; 
    font-size: 14px !important; 
    border-radius: 10px !important; 
  }
  .zoho-contact-panel textarea.form-control { 
    min-height: 56px !important; 
    height: auto !important; 
    font-size: 13.5px !important; 
  }
  .zoho-contact-panel .btn-primary { 
    width: 100% !important; 
    max-width: 100% !important; 
    min-width: 0 !important; 
    box-sizing: border-box !important; 
    min-height: 46px !important; 
    height: auto !important; 
    font-size: 14.5px !important; 
    white-space: normal !important; 
    text-align: center !important; 
    padding: 12px 16px !important; 
    line-height: 1.35 !important; 
    border-radius: 12px !important; 
  }
  .zoho-pillar-card { padding: 22px 16px; border-radius: 18px; width: 100%; min-width: 0; box-sizing: border-box; }
  .form-control { min-height: 44px; font-size: 14px; }
  .zoho-solution-features { gap: 10px; margin-bottom: 22px; }
  .zoho-solution-heading { font-size: 18px; }
  .zoho-battle-card-title { font-size: 16.5px; }
}

/* Generic hidden utility */
.hidden, [hidden] {
  display: none !important;
}

.auth-pane {
  display: none;
}
.auth-pane.active {
  display: block;
}

/* ==========================================================================
   CENTERED AUTHENTICATION CARD SYSTEM (APPLE / FINTECH DESIGN)
   ========================================================================== */
.auth-center-section {
  background: radial-gradient(circle at 50% 8%, rgba(2, 132, 199, 0.05), transparent 50%), #f8fafc;
  padding: 64px 0 90px 0;
  min-height: calc(100vh - 74px - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: hidden;
}

.auth-center-container {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  box-sizing: border-box;
}

.auth-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 44px 44px 38px 44px;
  box-shadow: 0 10px 32px -4px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  position: relative;
}

.auth-tab-switch {
  background: #f1f5f9;
  padding: 5px;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 30px;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
}

.auth-tab-btn {
  border: none;
  background: transparent;
  color: #64748b;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
  font-family: inherit;
  user-select: none;
}

.auth-tab-btn:hover:not(.active) {
  color: #0f172a;
}

.auth-tab-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.07);
  font-weight: 700;
}

.auth-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.15;
}

.auth-subtitle {
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
  margin-bottom: 24px;
}

.auth-field {
  margin-bottom: 18px;
  width: 100%;
  box-sizing: border-box;
}

.auth-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #334155;
  margin-bottom: 6px;
}

.auth-input-wrap {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.auth-input,
.auth-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 48px;
  min-height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  padding: 0 16px;
  font-size: 15px;
  outline: none;
  transition: all 0.18s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.auth-input::placeholder {
  color: #94a3b8;
}

.auth-input:focus,
.auth-select:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14);
}

.auth-password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: #0284c7;
  font-size: 13px;
  font-weight: 600;
  padding: 4px;
  cursor: pointer;
  font-family: inherit;
}

.auth-password-toggle:hover {
  color: #0369a1;
}

.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
  margin: 6px 0 22px;
  cursor: pointer;
  user-select: none;
}

.auth-checkbox input {
  width: 16px;
  height: 16px;
  min-height: 16px;
  accent-color: #0284c7;
  cursor: pointer;
}

.auth-primary-btn {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 50px;
  height: auto;
  border: none;
  border-radius: 12px;
  background: #0284c7;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
  transition: all 0.18s ease;
  font-family: inherit;
  box-sizing: border-box;
  text-decoration: none;
}

.auth-primary-btn:hover {
  background: #0369a1;
  color: #ffffff;
  transform: translateY(-1px);
}

.auth-primary-btn.btn-green {
  background: #10b981;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.auth-primary-btn.btn-green:hover {
  background: #059669;
}

.auth-secondary-btn {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  height: auto;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 12px;
  color: #334155;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  box-sizing: border-box;
  font-family: inherit;
}

.auth-secondary-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 22px 0 18px;
  gap: 12px;
}

.auth-divider-line {
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.auth-divider-text {
  font-size: 12.5px;
  color: #94a3b8;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
}

.auth-under {
  text-align: center;
  color: #64748b;
  font-size: 13px;
  margin: 20px 0 0;
}

.auth-under a {
  color: #0284c7;
  text-decoration: none;
  font-weight: 600;
}

.auth-under a:hover {
  text-decoration: underline;
}

.auth-admin-box {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
  font-size: 12.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.auth-admin-box a {
  color: #64748b;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.auth-admin-box a:hover {
  color: #0284c7;
}

.auth-legal {
  margin-top: 20px;
  color: #94a3b8;
  font-size: 11.5px;
  line-height: 1.5;
  text-align: center;
}

.auth-legal a {
  color: #64748b;
  text-decoration: none;
}

.auth-legal a:hover {
  text-decoration: underline;
}

.auth-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.auth-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .auth-center-section {
    padding: 16px 0 36px 0 !important;
    background: #ffffff !important;
  }
  .auth-center-container,
  .auth-center-section .container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .auth-card {
    padding: 18px 16px 28px 16px !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .auth-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 4px !important;
  }
  .auth-subtitle {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    color: #64748b !important;
    margin-bottom: 18px !important;
  }
  .auth-tab-switch {
    margin-bottom: 22px !important;
    padding: 4px !important;
    border-radius: 12px !important;
    background: #f1f5f9 !important;
  }
  .auth-tab-btn {
    font-size: 13.5px !important;
    padding: 9px 8px !important;
    border-radius: 9px !important;
  }
  .auth-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 5px !important;
    text-transform: none !important;
  }
  .auth-field {
    margin-bottom: 14px !important;
  }
  .auth-input,
  .auth-select {
    height: 48px !important;
    min-height: 48px !important;
    font-size: 15px !important;
    border-radius: 11px !important;
    padding: 0 14px !important;
    background: #f8fafc !important;
  }
  .auth-input:focus,
  .auth-select:focus {
    background: #ffffff !important;
  }
  .auth-primary-btn {
    min-height: 48px !important;
    height: 48px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
  }
  .auth-secondary-btn {
    min-height: 46px !important;
    height: 46px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
  }
  .auth-split {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}










