/* Global CSS Variables - Light Theme (Default for Main Site) */
:root,
body.theme-light {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --border-color: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(99, 102, 241, 0.45);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --navbar-bg: rgba(255, 255, 255, 0.85);
  --footer-bg: rgba(248, 250, 252, 0.95);
  --code-bg: #f1f5f9;
  --code-color: #4f46e5;
  --hero-gradient: linear-gradient(135deg, #0f172a 20%, #334155 100%);
  --btn-secondary-bg: rgba(15, 23, 42, 0.05);
  --btn-secondary-hover: rgba(15, 23, 42, 0.1);
  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  --card-shadow-hover: 0 12px 28px -4px rgba(15, 23, 42, 0.12);
  --radial-1: rgba(99, 102, 241, 0.06);
  --radial-2: rgba(168, 85, 247, 0.04);
  --accent-primary: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.25);
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.1);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.1);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.1);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

/* Dark Theme (Used for Admin Section) */
body.theme-dark {
  --bg-primary: #0a0e17;
  --bg-secondary: #131b2e;
  --bg-card: rgba(26, 38, 65, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 102, 241, 0.4);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --navbar-bg: rgba(10, 14, 23, 0.85);
  --footer-bg: rgba(10, 14, 23, 0.5);
  --code-bg: rgba(10, 14, 23, 0.8);
  --code-color: #a5b4fc;
  --hero-gradient: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
  --btn-secondary-bg: rgba(255, 255, 255, 0.06);
  --btn-secondary-hover: rgba(255, 255, 255, 0.1);
  --card-shadow: none;
  --card-shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.35);
  --radial-1: rgba(99, 102, 241, 0.08);
  --radial-2: rgba(168, 85, 247, 0.06);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(circle at 15% 20%, var(--radial-1) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, var(--radial-2) 0%, transparent 40%);
  background-attachment: fixed;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background: var(--navbar-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-logo-badge {
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.nav-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.nav-links {
  display: flex;
  gap: 0.75rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: var(--btn-secondary-bg);
}

.nav-link.active {
  color: var(--accent-primary);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  flex: 1;
  width: 100%;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 3.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--accent-primary);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  box-shadow: var(--card-shadow);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.badge-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-success .badge-dot { background: var(--success); }

.badge-warning {
  background: var(--warning-bg);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.badge-warning .badge-dot { background: var(--warning); }

.badge-danger {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.badge-danger .badge-dot { background: var(--danger); }

/* Key-Value Details */
.meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.meta-table tr {
  border-bottom: 1px solid var(--border-color);
}

.meta-table tr:last-child {
  border-bottom: none;
}

.meta-table td {
  padding: 0.55rem 0;
}

.meta-table td:first-child {
  color: var(--text-muted);
  font-weight: 500;
}

.meta-table td:last-child {
  color: var(--text-primary);
  text-align: right;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Code Snippet Box */
.code-box {
  background: var(--code-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88rem;
  color: var(--code-color);
  overflow-x: auto;
  margin-top: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--btn-secondary-hover);
  border-color: var(--border-hover);
}

/* Footer */
.footer {
  padding: 2.25rem 2rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--border-color);
  background: var(--footer-bg);
  margin-top: auto;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-primary);
}

/* ==========================================================================
   HyperCalls Brand & Visual Design System
   ========================================================================== */

:root {
  --hc-navy: #051329;
  --hc-navy-dark: #020b18;
  --hc-cyan: #00f0d4;
  --hc-blue: #0e62e4;
  --hc-blue-hover: #084bbb;
  --hc-light-bg: #f8fafc;
  --hc-text-main: #0b1324;
  --hc-text-muted: #5d718b;
  --font-display: "Figtree", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.theme-light {
  background-color: #f7f9fc;
  color: var(--hc-text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: none;
}

/* Base Headings & Titles use Figtree Display */
h1, h2, h3, h4, h5, h6,
.hc-brand-name,
.hc-hero-title,
.hc-section-title,
.hc-framework-heading,
.hc-feature-title,
.hc-stat-number,
.hc-savings-value,
.hc-savings-title,
.hc-cta-title,
.hc-auth-hero-title,
.hc-auth-card-title {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

/* UI & Body Elements use Inter */
p, span, a, input, select, textarea, button,
.hc-nav-link,
.hc-pill-btn,
.hc-pill-highlight,
.hc-card-desc,
.hc-hero-sub,
.hc-feature-p,
.hc-feature-p-dark,
.hc-testimonial-quote,
.hc-testimonial-name,
.hc-testimonial-biz,
.hc-stat-label,
.hc-footer-desc,
.hc-footer-links a,
.hc-auth-hero-sub,
.hc-auth-input,
.hc-auth-consent-label {
  font-family: var(--font-body);
}

/* Gradient Text */
.gradient-cyan {
  background-image: linear-gradient(90deg, var(--hc-cyan) 0%, var(--hc-blue) 100%);
  background-size: 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  display: inline-block;
}

/* Top Navigation */
.hc-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  width: 100%;
}

.hc-nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hc-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.hc-brand-icon {
  width: 38px;
  height: 38px;
}

.hc-brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--hc-navy);
  letter-spacing: -0.03em;
}

.hc-brand-light {
  color: #ffffff;
}

.hc-admin-pill {
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.hc-nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.hc-nav-link {
  color: #1e293b;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.hc-nav-link:hover, .hc-nav-link.active {
  color: var(--hc-blue);
}

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

/* Standard Buttons */
.hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.65rem;
  border-radius: 9999px;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1.2;
}

.hc-btn-outline-dark {
  background: transparent;
  color: var(--hc-navy);
  border: 1.5px solid var(--hc-navy);
}

.hc-btn-outline-dark:hover {
  background: var(--hc-navy);
  color: #fff;
  transform: translateY(-2px);
}

.hc-btn-blue {
  background: var(--hc-blue);
  color: #ffffff;
  border: 1.5px solid var(--hc-blue);
  box-shadow: 0 4px 14px rgba(14, 98, 228, 0.3);
}

.hc-btn-blue:hover {
  background: var(--hc-blue-hover);
  border-color: var(--hc-blue-hover);
  transform: translateY(-2px);
}

.hc-btn-cyan-gradient {
  background: linear-gradient(135deg, var(--hc-cyan) 0%, var(--hc-blue) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 240, 212, 0.35);
}

.hc-btn-cyan-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 240, 212, 0.45);
}

.hc-btn-outline-white {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.hc-btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.hc-btn-dark-navy {
  background: var(--hc-navy);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 16px rgba(3, 22, 53, 0.25);
}

.hc-btn-dark-navy:hover {
  background: #062354;
  transform: translateY(-2px);
}

/* Main Flow Layout */
.hc-main-flow {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  padding-bottom: 2rem;
}

.hc-section {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Section */
.hc-hero-section {
  margin-top: 1.5rem;
}

.hc-hero-card {
  background: var(--hc-navy);
  border: 1.5px solid rgba(0, 240, 212, 0.35);
  border-radius: 28px;
  padding: 4.5rem 4rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(3, 22, 53, 0.25);
  background-image: 
    radial-gradient(circle at 85% 20%, rgba(0, 240, 212, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(14, 98, 228, 0.15) 0%, transparent 55%);
}

.hc-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hc-hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.06;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hc-hero-subtitle {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.hc-hero-description {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 540px;
  margin-bottom: 2.25rem;
}

.hc-hero-ctas {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hc-hero-visual {
  text-align: center;
  position: relative;
}

.hc-hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.45));
}

.hc-hero-trust-bar {
  margin-top: 4rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.hc-trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.hc-trust-tag svg {
  color: var(--hc-cyan);
}

/* 2. Metrics Counter Section */
.hc-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 1.5rem 0;
  text-align: center;
}

.hc-metric-col {
  position: relative;
  padding: 1rem;
}

.hc-metric-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(15, 23, 42, 0.15);
}

.hc-metric-number {
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--hc-navy);
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}

.hc-metric-label {
  font-size: 1.05rem;
  line-height: 1.4;
  color: #475569;
}

.hc-metric-label strong {
  color: #0f172a;
}

.hc-center-badge-wrapper {
  margin-top: 3.5rem;
  text-align: center;
}

.hc-cyan-pill-badge {
  background: var(--hc-cyan);
  color: var(--hc-navy);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 0.55rem 1.75rem;
  border-radius: 9999px;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(0, 240, 212, 0.3);
}

/* 3. Framework & Navy Container Cards */
.hc-navy-card {
  background: var(--hc-navy);
  border: 1.5px solid rgba(0, 240, 212, 0.3);
  border-radius: 28px;
  padding: 4.5rem 4rem;
  color: #ffffff;
  box-shadow: 0 25px 60px rgba(3, 22, 53, 0.2);
  position: relative;
  overflow: hidden;
}

.hc-outline-badge {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  padding: 0.4rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e2e8f0;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hc-card-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 3.5rem;
  color: #ffffff;
}

.hc-framework-header {
  text-align: center;
}

.hc-framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.hc-outcome-col {
  padding: 1.5rem 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hc-outcome-col:first-child {
  border-left: none;
}

.hc-outcome-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--hc-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(14, 98, 228, 0.4);
}

.hc-outcome-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
  color: #ffffff;
}

.hc-outcome-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 1.75rem;
}

.hc-funnel-pill {
  background: rgba(14, 98, 228, 0.3);
  border: 1px solid rgba(0, 240, 212, 0.35);
  color: var(--hc-cyan);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  display: inline-block;
}

.hc-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hc-checklist li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1rem;
  color: #e2e8f0;
}

.hc-check-icon {
  color: var(--hc-cyan);
  font-weight: 800;
  font-size: 1.1rem;
}

.hc-framework-ctas {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

/* 4. Platform Overview Section */
.hc-section-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}

.hc-headline-lg {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.12;
  color: var(--hc-navy);
  letter-spacing: -0.03em;
  margin-top: 1.25rem;
}

.hc-subheadline {
  font-size: 1.25rem;
  color: #475569;
  margin-top: 0.65rem;
}

.hc-feature-card {
  margin-bottom: 3.5rem;
}

.hc-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.hc-feature-grid-reverse {
  direction: rtl;
}

.hc-feature-grid-reverse > * {
  direction: ltr;
}

.hc-feature-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.35rem;
}

.hc-feature-title-dark {
  color: var(--hc-navy);
}

.hc-feature-subtitle-dark {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hc-navy);
  margin-bottom: 1.25rem;
}

.hc-feature-p {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.hc-feature-p-dark {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.5rem;
}

.hc-feature-p-highlight {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #f1f5f9;
  margin-bottom: 2rem;
}

.hc-feature-actions {
  margin-top: 1.75rem;
}

.hc-feature-tags {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hc-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  padding: 0.45rem 1.15rem;
  font-size: 0.88rem;
  color: #e2e8f0;
  font-weight: 500;
}

.hc-pill-tag svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--hc-cyan);
}

.hc-pill-tag-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 0.45rem 1.15rem;
  font-size: 0.88rem;
  color: #334155;
  font-weight: 600;
}

.hc-pill-tag-light svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--hc-blue);
}

.hc-light-card {
  background: #ffffff;
  border: 1.5px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  padding: 4.5rem 4rem;
  box-shadow: 0 15px 45px rgba(15, 23, 42, 0.05);
}

.hc-contained-center {
  max-width: 900px;
  margin: 0 auto;
}

.hc-justify-center {
  justify-content: center;
}

.hc-text-center {
  text-align: center;
}

.hc-feature-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 16px;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.15));
}

/* 5. Platform Consolidation Section */
.hc-consolidation-quad {
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.hc-quad-icon {
  color: var(--hc-blue);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.hc-quad-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.hc-quad-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: #cbd5e1;
  font-size: 0.95rem;
}

/* 6. Savings Grid */
.hc-savings-grid {
  max-width: 1000px;
  margin: 3.5rem auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.hc-savings-col {
  position: relative;
  padding: 1.5rem;
  text-align: center;
}

.hc-savings-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(15, 23, 42, 0.15);
}

.hc-savings-num {
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--hc-navy);
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}

.hc-savings-label {
  font-size: 1.2rem;
  color: #475569;
  font-weight: 600;
}

.hc-savings-cta {
  margin-top: 1.5rem;
}

/* 7. Testimonials Section */
.hc-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.hc-testimonial-card {
  background: #ffffff;
  border: 1.5px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hc-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.hc-testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.hc-author-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--hc-cyan);
}

.hc-author-name {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--hc-navy);
}

.hc-author-role {
  font-size: 0.88rem;
  color: #64748b;
}

.hc-author-company {
  font-size: 0.88rem;
  color: var(--hc-blue);
  font-weight: 700;
}

.hc-testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #334155;
  font-style: italic;
  margin-bottom: 1.75rem;
}

.hc-verified-badge {
  font-size: 0.82rem;
  color: #10b981;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 8. Pre-Footer CTA Banner */
.hc-cta-banner {
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  padding: 6.5rem 3.5rem;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 25px 60px rgba(3, 22, 53, 0.3);
  border: 1.5px solid rgba(0, 240, 212, 0.3);
  position: relative;
  overflow: hidden;
}

.hc-cta-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hc-cta-subtitle {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.hc-cta-desc {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2.75rem;
}

.hc-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hc-tag-ribbon {
  max-width: 1100px;
  margin: 3.5rem auto 0;
  text-align: center;
}

.hc-ribbon-heading {
  font-size: 1.15rem;
  color: var(--hc-navy);
  margin-bottom: 1.5rem;
}

.hc-ribbon-tags {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--hc-navy);
}

.hc-pill-highlight {
  background: var(--hc-cyan);
  color: var(--hc-navy);
  padding: 0.35rem 1rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.95rem;
}

.hc-sep {
  color: #cbd5e1;
  font-weight: 400;
}

/* 9. Compact Rich Footer */
.hc-footer {
  background: var(--hc-navy);
  color: #94a3b8;
  padding: 3rem 2rem 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3.5rem;
  width: 100%;
}

.hc-footer-inner {
  max-width: 1360px;
  margin: 0 auto;
}

.hc-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.25rem;
}

.hc-footer-grid-staging {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.hc-footer-grid-staging .hc-footer-brand-col {
  max-width: 480px;
}

.hc-footer-desc {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.5;
  margin-top: 0.85rem;
}

.hc-footer-heading {
  color: var(--hc-cyan);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hc-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hc-footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.hc-footer-links a:hover {
  color: var(--hc-cyan);
}

.hc-social-icons {
  display: flex;
  gap: 0.85rem;
}

.hc-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--hc-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.hc-social-btn:hover {
  background: var(--hc-cyan);
  color: var(--hc-navy);
  transform: translateY(-3px);
}

.hc-footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.hc-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hc-footer-tagline {
  color: #cbd5e1;
}

.hc-footer-divider {
  color: rgba(255, 255, 255, 0.2);
}

.hc-footer-admin-link {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.hc-footer-admin-link:hover {
  color: var(--hc-cyan);
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .hc-hero-title { font-size: 3.2rem; }
  .hc-hero-grid { grid-template-columns: 1fr; }
  .hc-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .hc-metric-col:nth-child(2)::after { display: none; }
  .hc-framework-grid { grid-template-columns: 1fr; }
  .hc-outcome-col { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 2rem; }
  .hc-outcome-col:first-child { border-top: none; }
  .hc-feature-grid { grid-template-columns: 1fr; }
  .hc-consolidation-quad { grid-template-columns: repeat(2, 1fr); }
  .hc-savings-grid { grid-template-columns: 1fr; }
  .hc-savings-col:not(:last-child)::after { display: none; }
  .hc-savings-col { border-bottom: 1px solid rgba(15, 23, 42, 0.1); }
  .hc-testimonials-grid { grid-template-columns: 1fr; }
  .hc-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hc-nav-menu { display: none; }
  .hc-hero-card { padding: 3rem 1.5rem 2rem; }
  .hc-hero-title { font-size: 2.5rem; }
  .hc-metric-number { font-size: 3.5rem; }
  .hc-metrics-grid { grid-template-columns: 1fr; }
  .hc-metric-col::after { display: none; }
  .hc-metric-col { border-bottom: 1px solid rgba(15, 23, 42, 0.1); }
  .hc-headline-lg { font-size: 2.4rem; }
  .hc-card-title { font-size: 2.2rem; }
  .hc-feature-title { font-size: 2rem; }
  .hc-consolidation-quad { grid-template-columns: 1fr; }
  .hc-cta-title { font-size: 2.5rem; }
  .hc-footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   AUTHENTICATION & USER SESSION DASHBOARD STYLES
   ========================================================================== */

/* Navbar User State Elements */
.hc-btn-nav-user {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-weight: 600;
  border-color: rgba(14, 98, 228, 0.3);
  background: rgba(14, 98, 228, 0.04);
}

.hc-btn-nav-user:hover {
  background: rgba(14, 98, 228, 0.08);
  border-color: var(--hc-blue);
}

.hc-nav-user-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.hc-btn-nav-logout {
  padding: 0.6rem 1rem;
  color: #64748b;
  font-size: 0.9rem;
}

.hc-btn-nav-logout:hover {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.05);
}

/* ==========================================================================
   AUTHENTICATION PAGES (LOGIN & REGISTER)
   ========================================================================== */

body.auth-page-view {
  background-color: #f4f6fb;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

body.auth-page-view .auth-main-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hc-auth-backdrop {
  min-height: 100vh;
  width: 100%;
  background: #f4f6fb;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.hc-auth-container {
  width: 100%;
  max-width: 1180px;
  border-radius: 28px;
  border: 1.5px solid rgba(14, 98, 228, 0.65);
  background: radial-gradient(ellipse at 25% 30%, rgba(4, 14, 45, 0.92) 0%, rgba(2, 6, 20, 0.98) 100%), 
              url('../images/cta-bg.png') center/cover no-repeat;
  box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 240, 212, 0.12);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.25rem 2.75rem;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Left Hero Column */
.hc-auth-hero-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-right: 1rem;
}

.hc-auth-brand-row {
  margin-bottom: 1.25rem;
}

.hc-auth-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.hc-auth-brand-icon {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  flex-shrink: 0;
  display: block;
}

.hc-auth-brand-name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hc-auth-hero-main {
  margin: auto 0;
}

.hc-auth-hero-title {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hc-auth-cyan-word {
  color: var(--hc-cyan);
  font-weight: 700;
  text-shadow: 0 0 24px rgba(0, 240, 212, 0.35);
}

.hc-auth-hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  max-width: 480px;
  margin: 0 0 1.5rem;
}

.hc-auth-hero-foot {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
}

/* Right Card */
.hc-auth-card-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.hc-auth-card {
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hc-auth-card-header {
  background: linear-gradient(135deg, var(--hc-blue) 0%, var(--hc-blue-hover) 100%);
  padding: 1.25rem 1.75rem;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.hc-auth-card-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hc-auth-card-subtitle {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 400;
  line-height: 1.35;
}

.hc-auth-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--hc-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hc-cyan);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0, 240, 212, 0.25);
}

.hc-auth-card-icon svg {
  width: 20px;
  height: 20px;
}

.hc-auth-card-body {
  padding: 1.35rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hc-auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Inputs */
.hc-auth-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
}

.hc-auth-input {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  padding: 0 1rem;
  font-size: 0.95rem;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.hc-auth-input::placeholder {
  color: #94a3b8;
  font-size: 0.9rem;
}

.hc-auth-input:focus {
  border-color: var(--hc-blue);
  box-shadow: 0 0 0 3px rgba(14, 98, 228, 0.12);
}

.hc-auth-input-error {
  border-color: #ef4444 !important;
}

.hc-auth-err-msg {
  font-size: 0.8rem;
  color: #dc2626;
  font-weight: 600;
  padding-left: 0.25rem;
}

/* Two Column Grid */
.hc-auth-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

/* Options Row on Login */
.hc-auth-opts-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.hc-auth-link-blue {
  color: var(--hc-blue);
  text-decoration: none;
  font-weight: 500;
}

.hc-auth-link-blue:hover {
  text-decoration: underline;
}

.hc-auth-check-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

.hc-auth-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  accent-color: var(--hc-blue);
  cursor: pointer;
}

/* Role Selector Box */
.hc-auth-role-box {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.6rem 0.85rem;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hc-auth-role-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

.hc-auth-role-radios {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hc-auth-radio-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
}

.hc-auth-radio {
  width: 15px;
  height: 15px;
  accent-color: var(--hc-blue);
  cursor: pointer;
}

/* Phone Group with Country Pill */
.hc-auth-phone-group {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.hc-auth-country-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  user-select: none;
  height: 44px;
}

.hc-auth-phone-input {
  flex: 1;
}

/* Select Dropdown */
.hc-auth-select-wrap {
  position: relative;
  width: 100%;
}

.hc-auth-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.5rem;
}

.hc-auth-select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748b;
}

/* Consent Box */
.hc-auth-consent-box {
  margin-top: 0.15rem;
}

.hc-auth-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
  cursor: pointer;
}

/* Pill Submit Button */
.hc-auth-pill-btn {
  height: 48px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #05142e 0%, #082259 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0.25rem;
  box-shadow: 0 6px 18px rgba(4, 11, 82, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hc-auth-pill-btn:hover {
  background: var(--hc-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 98, 228, 0.35);
}

.hc-auth-card-footer {
  text-align: center;
  font-size: 0.92rem;
  color: #475569;
  margin-top: 0.35rem;
}

.hc-auth-link-bold {
  color: var(--hc-blue);
  font-weight: 700;
  text-decoration: none;
  margin-left: 0.35rem;
}

.hc-auth-link-bold:hover {
  text-decoration: underline;
}

/* Alerts */
.hc-auth-alert {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
}

.hc-auth-alert-info {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
}

.hc-auth-alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Responsive */
@media (max-width: 1120px) {
  .hc-auth-container {
    grid-template-columns: 1fr;
    padding: 2.25rem 1.75rem;
  }
  .hc-auth-hero-title {
    font-size: 2.75rem;
  }
  .hc-auth-card-wrapper {
    justify-content: center;
  }
  .hc-auth-card {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .hc-auth-container {
    padding: 1.75rem 1rem;
    border-radius: 20px;
  }
  .hc-auth-hero-title {
    font-size: 2.25rem;
  }
  .hc-auth-card-header {
    padding: 1.15rem 1.25rem;
  }
  .hc-auth-card-body {
    padding: 1.25rem 1.25rem;
  }
  .hc-auth-grid-2 {
    grid-template-columns: 1fr;
  }
  .hc-auth-role-radios {
    flex-direction: column;
    align-items: flex-start;
  }
  .hc-auth-pill-btn {
    height: 46px;
    font-size: 1rem;
  }
}

/* Auth Page Wrapper (Fallback / Legacy) */
.hc-auth-wrapper {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background: radial-gradient(circle at 50% 10%, rgba(14, 98, 228, 0.06) 0%, transparent 60%);
}

.hc-auth-card {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 20px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.3s ease;
}

.hc-auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.hc-auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: rgba(14, 98, 228, 0.07);
  border: 1px solid rgba(14, 98, 228, 0.15);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--hc-blue);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hc-auth-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hc-cyan);
  box-shadow: 0 0 6px var(--hc-cyan);
}

.hc-auth-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--hc-navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hc-auth-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.5;
}

/* Auth Alerts */
.hc-auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

.hc-auth-alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.hc-auth-alert-info {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0369a1;
}

.hc-auth-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

/* Forms */
.hc-auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hc-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hc-form-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.hc-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
}

.hc-label-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hc-required {
  color: #ef4444;
}

.hc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.hc-input {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  color: #0f172a;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.hc-input:focus {
  border-color: var(--hc-blue);
  box-shadow: 0 0 0 4px rgba(14, 98, 228, 0.12);
}

.hc-input-error {
  border-color: #ef4444 !important;
  background: #fffbfb;
}

.hc-field-error {
  font-size: 0.8rem;
  color: #ef4444;
  font-weight: 500;
}

.hc-field-hint {
  font-size: 0.78rem;
  color: #94a3b8;
}

.hc-password-wrap .hc-input {
  padding-right: 2.8rem;
}

.hc-toggle-password {
  position: absolute;
  right: 0.85rem;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.hc-toggle-password:hover {
  color: #0f172a;
}

/* Checkbox */
.hc-form-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.hc-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--hc-blue);
}

.hc-checkbox-label {
  font-size: 0.88rem;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

/* Auth Buttons */
.hc-btn-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  margin-top: 0.5rem;
  cursor: pointer;
}

.hc-auth-terms {
  font-size: 0.8rem;
  color: #94a3b8;
  text-align: center;
  line-height: 1.45;
}

.hc-auth-terms a {
  color: #64748b;
  text-decoration: underline;
}

/* Auth Features Pill Group */
.hc-auth-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.hc-auth-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 500;
}

.hc-auth-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #94a3b8;
}

.hc-auth-footer-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: #64748b;
}

.hc-link-bold {
  color: var(--hc-blue);
  font-weight: 700;
  text-decoration: none;
  margin-left: 0.35rem;
}

.hc-link-bold:hover {
  text-decoration: underline;
}

.hc-link-subtle {
  font-size: 0.82rem;
  color: var(--hc-blue);
  text-decoration: none;
}

.hc-link-subtle:hover {
  text-decoration: underline;
}

/* ==========================================================================
   USER CONFIGURATION DASHBOARD
   ========================================================================== */
.hc-dashboard-wrapper {
  background: #f7f9fc;
  min-height: calc(100vh - 160px);
  padding: 3rem 1.5rem 5rem;
}

.hc-dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Dashboard Header */
.hc-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--hc-navy);
  color: #ffffff;
  padding: 2.25rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(3, 22, 53, 0.15);
}

.hc-dashboard-user-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hc-user-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--hc-blue) 0%, var(--hc-cyan) 100%);
  color: var(--hc-navy);
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 240, 212, 0.3);
}

.hc-dashboard-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--hc-cyan);
  margin-bottom: 0.35rem;
}

.hc-status-dot-active {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hc-cyan);
  box-shadow: 0 0 8px var(--hc-cyan);
}

.hc-dashboard-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.hc-dashboard-email {
  font-size: 0.95rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.hc-dashboard-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hc-btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hc-btn-logout:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

/* Stat Grid */
.hc-dash-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hc-dash-stat-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
}

.hc-dash-stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.4rem;
}

.hc-dash-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.hc-text-cyan { color: #0284c7; }
.hc-text-green { color: #059669; }

.hc-dash-stat-sub {
  font-size: 0.82rem;
  color: #94a3b8;
}

/* Main Dashboard Grid */
.hc-dash-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.hc-card-panel {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.hc-panel-mt {
  margin-top: 0.5rem;
}

.hc-panel-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

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

.hc-panel-icon-blue {
  background: rgba(14, 98, 228, 0.1);
  color: var(--hc-blue);
}

.hc-panel-icon-cyan {
  background: rgba(0, 191, 165, 0.12);
  color: #00897b;
}

.hc-panel-icon-purple {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}

.hc-panel-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--hc-navy);
  margin-bottom: 0.25rem;
}

.hc-panel-subtitle {
  font-size: 0.85rem;
  color: #64748b;
}

/* Config Table */
.hc-table-responsive {
  overflow-x: auto;
}

.hc-config-table {
  width: 100%;
  border-collapse: collapse;
}

.hc-config-table tr {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.hc-config-table tr:last-child {
  border-bottom: none;
}

.hc-config-table td {
  padding: 0.85rem 0.5rem;
  font-size: 0.88rem;
  vertical-align: middle;
}

.hc-table-key {
  font-weight: 600;
  color: #475569;
  width: 40%;
}

.hc-table-val {
  color: #0f172a;
}

.hc-session-id-code {
  background: #f1f5f9;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-family: monospace;
  font-size: 0.82rem;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

.hc-copy-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: 0.5rem;
  color: #475569;
  transition: all 0.15s ease;
}

.hc-copy-btn:hover {
  background: #f8fafc;
  color: var(--hc-blue);
  border-color: var(--hc-blue);
}

.hc-pill-teal {
  background: rgba(0, 191, 165, 0.1);
  color: #00796b;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  display: inline-block;
}

.hc-pill-green {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  display: inline-block;
}

.hc-ua-text {
  font-size: 0.78rem !important;
  color: #64748b !important;
  line-height: 1.4;
  word-break: break-all;
}

/* Webhook Box */
.hc-webhook-box {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.hc-webhook-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #475569;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.hc-webhook-input-group {
  display: flex;
  gap: 0.5rem;
}

.hc-webhook-input {
  font-family: monospace;
  font-size: 0.82rem;
  background: #ffffff;
}

.hc-webhook-hint {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.45rem;
}

.hc-config-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hc-btn-save {
  padding: 0.8rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
}

.hc-btn-sm {
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.hc-profile-save-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.hc-member-since {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Responsive Dashboard */
@media (max-width: 960px) {
  .hc-dash-stat-grid { grid-template-columns: 1fr; }
  .hc-dash-main-grid { grid-template-columns: 1fr; }
  .hc-form-row-3 { grid-template-columns: 1fr; }
  .hc-dashboard-header { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   PLAIN LEGAL DOCUMENT VIEWER STYLES
   ========================================================================== */
.hc-legal-wrapper {
  background-color: #ffffff;
  padding: 40px 20px 80px;
  min-height: 70vh;
}

.hc-legal-inner {
  max-width: 800px;
  margin: 20px auto;
  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  color: #000000;
}

.hc-legal-company {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #222222;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
}

.hc-legal-address {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #000000;
}

.hc-legal-content {
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.hc-legal-content h1 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #222222;
  font-weight: bold;
  color: #000000;
}

.hc-legal-content h2,
.hc-legal-content h3,
.hc-legal-content h4 {
  color: #000000;
  font-weight: bold;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.hc-legal-content h2 {
  font-size: 1.2rem;
}

.hc-legal-content h3 {
  font-size: 1.1rem;
}

.hc-legal-content h4 {
  font-size: 1rem;
}

.hc-legal-content p {
  margin-bottom: 1rem;
  color: #000000;
}

.hc-legal-content strong {
  font-weight: bold;
  color: #000000;
}

.hc-legal-content ul,
.hc-legal-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
  color: #000000;
}

.hc-legal-content li {
  margin-bottom: 0.25rem;
}

.hc-legal-content a {
  color: #0000ee;
  text-decoration: underline;
}

.hc-legal-content hr {
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 20px 0;
}


/* Footer Company Details */
.hc-footer-company-details {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #94a3b8;
}

.hc-footer-company-details p {
  margin: 0.25rem 0;
}

.hc-footer-contact-link {
  color: var(--hc-cyan);
  text-decoration: none;
  transition: opacity 0.2s;
}

.hc-footer-contact-link:hover {
  text-decoration: underline;
}

.hc-footer-bottom-copy p {
  margin: 0.2rem 0;
}

.hc-footer-trademark-note {
  font-size: 0.8rem;
  color: #64748b;
}


