:root {
  --bg: #eef6ff;
  --paper: #ffffff;
  --text: #071a33;
  --muted: #5d7190;
  --primary: #0b63f6;
  --primary-dark: #073b94;
  --primary-light: #dcecff;
  --accent: #00c2ff;
  --accent-light: #d8f6ff;
  --line: #c9d9ef;
  --success: #22d3ee;
  --ink: #041225;
  --cream: #f7fbff;
  --gradient-1: linear-gradient(135deg, #0b63f6 0%, #00c2ff 100%);
  --gradient-2: linear-gradient(135deg, #031022 0%, #062a63 54%, #0076ff 100%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 54px rgba(0, 132, 255, 0.34);
}

* {
  box-sizing: border-box;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 194, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 92% 0%, rgba(11, 99, 246, 0.14), transparent 30rem),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav-wrap {
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-1);
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(11, 99, 246, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 99, 246, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    display: none;
    border-radius: 0 0 20px 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

.wrap {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: 10rem 0 8rem;
  margin-top: 60px;
  text-align: center;
  overflow: hidden;
  background: var(--gradient-2);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(11, 99, 246, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 194, 255, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(11, 99, 246, 0.15) 0%, transparent 50%);
}

/* Animated grid pattern */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(11, 99, 246, 0.1) 0%, rgba(0, 194, 255, 0.1) 100%);
  animation: float 20s ease-in-out infinite;
  filter: blur(40px);
}

.hero-shape:nth-child(1) {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.hero-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  animation-delay: -5s;
}

.hero-shape:nth-child(3) {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 10%;
  animation-delay: -10s;
}

.hero-shape:nth-child(4) {
  width: 200px;
  height: 200px;
  top: 20%;
  right: 10%;
  animation-delay: -15s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -30px) scale(1.05); }
  50% { transform: translate(-10px, 20px) scale(0.95); }
  75% { transform: translate(30px, 10px) scale(1.02); }
}

.hero .wrap {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  background: rgba(11, 99, 246, 0.1);
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  border: 1px solid rgba(11, 99, 246, 0.2);
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.gradient-text {
  background: linear-gradient(105deg, #dff7ff 0%, #6fd5ff 34%, #1684ff 68%, #00c2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.switch-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: left;
  backdrop-filter: blur(8px);
}
.switch-banner-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.switch-banner p {
  flex: 1;
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}
.switch-banner p strong {
  color: #fff;
}
.switch-banner-link {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #38bdf8;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.switch-banner-link:hover { color: #7dd3fc; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-primary svg {
  transition: transform 0.3s;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: white;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 auto 3rem;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  line-height: 1.7;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: white;
  color: var(--text);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-secondary svg {
  opacity: 0.8;
}

/* ============================================
   SECTION BADGES
   ============================================ */
.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.section-badge-primary {
  color: var(--primary);
  background: var(--primary-light);
}

/* ============================================
   PROBLEM/SOLUTION SECTION
   ============================================ */
.problem-section {
  padding: 7rem 0;
  background: var(--paper);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.problem-content,
.solution-content {
  padding: 3rem;
  border-radius: 24px;
}

.problem-content {
  background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 100%);
  border: 1px solid #fecaca;
}

.solution-content {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid #86efac;
}

.problem-content h2,
.solution-content h2 {
  font-size: 1.75rem;
  margin: 0 0 2rem;
  color: var(--text);
  font-weight: 800;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.problem-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.problem-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 3;
  fill: none;
}

.problem-icon-bad {
  background: #fecaca;
}

.problem-icon-bad svg {
  stroke: #dc2626;
}

.problem-icon-good {
  background: #86efac;
}

.problem-icon-good svg {
  stroke: #16a34a;
}

.problem-item strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.problem-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison {
  padding: 7rem 0;
  background: var(--bg);
}

.comparison-table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.comparison-table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--muted);
  font-size: 0.9rem;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text);
}

.comparison-table tbody tr:hover {
  background: rgba(11, 99, 246, 0.03);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.perry-col {
  background: linear-gradient(180deg, rgba(11, 99, 246, 0.08) 0%, rgba(0, 194, 255, 0.05) 100%) !important;
}

.perry-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: var(--text);
  font-size: 1rem;
}

.perry-badge {
  background: var(--gradient-1);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.check-yes {
  color: #16a34a;
  font-weight: 600;
}

.check-no {
  color: var(--muted);
}

@media (max-width: 768px) {
  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 1rem;
  }
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--muted);
  font-size: 1.2rem;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features {
  background: var(--paper);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg);
  border: 1px solid transparent;
}

.feature-card:hover {
  background: white;
  border-color: var(--line);
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(11, 99, 246, 0.2);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 15px 40px rgba(11, 99, 246, 0.3);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1000px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PRODUCT SHOWCASE
   ============================================ */
.showcase {
  padding: 6rem 0;
  background: var(--bg);
  position: relative;
}

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

.showcase-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--line);
}

.showcase-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}

.showcase-screen {
  height: 260px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.showcase-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.02), transparent);
}

.showcase-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.showcase-info {
  padding: 2rem;
}

.showcase-info h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 700;
}

.showcase-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(11, 99, 246, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  position: relative;
}

.benefit-item {
  text-align: center;
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--accent-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.benefit-item h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.benefit-item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  background: var(--bg);
  padding: 6rem 0;
}

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

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--line);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 6rem;
  color: var(--primary-light);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.testimonial-card.featured {
  background: linear-gradient(135deg, rgba(11, 99, 246, 0.05) 0%, rgba(0, 194, 255, 0.05) 100%);
  border-color: var(--primary-light);
  transform: scale(1.03);
}

.testimonial-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-author strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.testimonial-author span {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 550px;
    margin: 0 auto;
  }
}

/* ============================================
   IMPLEMENTATION SECTION
   ============================================ */
.implementation {
  background: var(--gradient-2);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.implementation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 50% 80% at 20% 40%, rgba(11, 99, 246, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 50% 80% at 80% 60%, rgba(0, 194, 255, 0.1) 0%, transparent 50%);
}

.implementation .section-header h2,
.implementation .section-header p {
  color: white;
}

.implementation .section-header p {
  color: rgba(255,255,255,0.7);
}

.implementation-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.implementation-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), rgba(255,255,255,0.2), transparent);
}

.impl-step {
  text-align: center;
  color: white;
  position: relative;
}

.impl-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.impl-step h3 {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.impl-step p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .implementation-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .implementation-steps::before {
    display: none;
  }
}

@media (max-width: 500px) {
  .implementation-steps {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  background: var(--paper);
  padding: 6rem 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.faq-item {
  background: var(--bg);
  padding: 2rem 2.5rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.faq-item:hover {
  background: white;
  border-color: var(--line);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.faq-item h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 700px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--bg);
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form, .contact-info {
  background: white;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.contact-form h3,
.contact-info h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin: 0 0 2rem;
  font-weight: 700;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(11, 99, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  margin-top: 0.5rem;
  background: var(--gradient-1);
  color: white;
  border-radius: 12px;
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
  box-shadow: 0 4px 15px rgba(11, 99, 246, 0.3);
}

.btn-submit:hover {
  box-shadow: 0 6px 25px rgba(11, 99, 246, 0.4);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-status {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  min-height: 1.5rem;
  font-weight: 500;
}

.form-status--success {
  color: var(--success);
}

.form-status--error {
  color: #ef4444;
}

/* Contact Info */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
}

.contact-info-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
}

.contact-info-item a:hover {
  text-decoration: underline;
}

.contact-info-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta {
  background: var(--gradient-2);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(11, 99, 246, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(0, 194, 255, 0.15) 0%, transparent 50%);
}

.final-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: white;
  margin: 0 0 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.final-cta p {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.8);
  margin: 0 0 2.5rem;
  line-height: 1.6;
}

.final-cta .cta-group {
  margin-bottom: 2rem;
}

.cta-note {
  font-size: 0.95rem !important;
  color: rgba(255,255,255,0.5) !important;
  margin: 0 !important;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0a0f1a;
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 1rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact a,
.footer-contact span {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-contact a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-links,
  .footer-contact {
    align-items: center;
  }
}

/* ============================================
   PAGE HEADER (for inner pages)
   ============================================ */
.page-header {
  background: var(--gradient-2);
  padding: 10rem 0 5rem;
  margin-top: 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(11, 99, 246, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0, 194, 255, 0.15) 0%, transparent 50%);
}

.page-header .wrap {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin: 0 0 1rem;
}

.page-header p {
  font-size: 1.25rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   PRICING PAGE STYLES
   ============================================ */
.pricing-section {
  padding: 5rem 0;
  background: var(--paper);
}

.pricing-card {
  max-width: 650px;
  margin: 0 auto;
  background: white;
  border-radius: 32px;
  padding: 4rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-1);
}

.pricing-card h2 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.pricing-card .price {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pricing-card > p {
  color: var(--muted);
  line-height: 1.7;
}

.pricing-features {
  text-align: left;
  margin: 2.5rem 0;
  list-style: none;
  padding: 0;
}

.pricing-features li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
}

.pricing-features li::before {
  content: '✓';
  color: white;
  background: var(--success);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.quote-calculator {
  margin: 5rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
  gap: 2rem;
  align-items: stretch;
}

.quote-copy {
  padding: 2rem 0;
}

.quote-copy h2 {
  margin: 1.2rem 0 1rem;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  color: var(--text);
}

.quote-copy p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.quote-disclaimer {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(11, 99, 246, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(220, 236, 255, 0.8), rgba(216, 246, 255, 0.55));
  font-size: 0.92rem !important;
}

.quote-panel {
  border: 1px solid rgba(7, 26, 51, 0.11);
  border-radius: 34px;
  padding: 1.2rem;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 194, 255, 0.2), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 246, 255, 0.96));
  box-shadow: 0 34px 90px rgba(7, 26, 51, 0.14);
}

.quote-inputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.quote-field {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid rgba(11, 99, 246, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.quote-field span {
  color: #405a80;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quote-field input {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(11, 99, 246, 0.16);
  background: transparent;
  color: var(--text);
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.quote-field input:focus {
  outline: none;
  border-bottom-color: var(--primary);
}

.quote-results {
  margin-top: 1rem;
  padding: 1.15rem;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(3, 16, 34, 0.98), rgba(6, 42, 99, 0.96) 55%, rgba(0, 95, 210, 0.94));
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(216, 246, 255, 0.1);
}

.quote-result-main {
  padding: 1rem 1rem 1.15rem;
  border-bottom: 1px solid rgba(216, 246, 255, 0.13);
}

.quote-result-main span,
.quote-result-grid span {
  display: block;
  color: rgba(233, 247, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.quote-result-main strong {
  display: block;
  margin-top: 0.3rem;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
  color: #9be7ff;
}

.quote-result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 -0.15rem;
  padding: 1.1rem 0;
}

.quote-result-grid > div {
  padding: 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.quote-result-grid strong {
  display: block;
  margin-top: 0.45rem;
  color: white;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.quote-assumptions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(0, 194, 255, 0.16);
  border-radius: 18px;
  color: rgba(233, 247, 255, 0.74);
  background: rgba(0, 194, 255, 0.08);
  font-size: 0.88rem;
}

.quote-assumptions strong {
  color: #9be7ff;
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.quote-actions .btn {
  flex: 1;
  justify-content: center;
  min-width: 190px;
  border: 0;
  cursor: pointer;
}

.quote-copy-status {
  margin: 0.8rem 0 0;
  color: #9be7ff;
  white-space: pre-wrap;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .quote-calculator {
    grid-template-columns: 1fr;
  }

  .quote-copy {
    padding-bottom: 0;
  }

  .quote-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pricing-card {
    padding: 2rem 1.35rem;
  }

  .quote-calculator {
    margin-top: 3rem;
  }

  .quote-panel {
    padding: 0.75rem;
    border-radius: 26px;
  }

  .quote-inputs,
  .quote-result-grid {
    grid-template-columns: 1fr;
  }

  .quote-result-main strong {
    font-size: 3rem;
  }
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */
.about-section {
  padding: 5rem 0;
  background: var(--paper);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 1.75rem;
  color: var(--text);
  margin: 3rem 0 1.25rem;
  font-weight: 700;
}

.about-content h2:first-of-type {
  margin-top: 0;
}

.about-content p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.about-value {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg);
  border-radius: 20px;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.about-value:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.about-value h3 {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.about-value p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--muted);
}

@media (max-width: 700px) {
  .about-values {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FEATURE DETAIL SECTIONS
   ============================================ */
.feature-detail {
  padding: 6rem 0;
  background: var(--paper);
}

.feature-detail.alt {
  background: var(--bg);
}

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

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

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

.feature-badge {
  display: inline-block;
  background: var(--gradient-1);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-detail-content h2 {
  font-size: 2.25rem;
  color: var(--text);
  margin: 0 0 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-detail-content p {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 0.75rem 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
}

.feature-list li::before {
  content: '✓';
  color: white;
  background: var(--success);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.feature-detail-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}

@media (max-width: 900px) {
  .feature-detail-grid,
  .feature-detail-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 3rem;
  }

  .feature-detail-image {
    order: -1;
  }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--gradient-2);
  padding: 6rem 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(11, 99, 246, 0.2) 0%, transparent 60%);
}

.cta-section .wrap {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin: 0 0 1rem;
  color: white;
  font-weight: 800;
}

.cta-section p {
  font-size: 1.25rem;
  opacity: 0.8;
  margin: 0 0 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-primary {
  background: white;
  color: var(--text);
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

.cta-section .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(255,255,255,0.2);
}

.cta-section .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   FEATURES EXTRA SECTION
   ============================================ */
.features-extra {
  padding: 6rem 0;
  background: var(--bg);
}

/* ============================================
   MIGRATION SECTION
   ============================================ */
.migration {
  background: var(--paper);
  padding: 7rem 0;
  position: relative;
}
.migration::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.migration-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.migration-promise {
  background: var(--gradient-2);
  border-radius: 28px;
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.migration-promise::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(14,165,233,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 15% 100%, rgba(56,189,248,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 85% 100%, rgba(56,189,248,0.10) 0%, transparent 55%);
  pointer-events: none;
}
.migration-promise-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #38bdf8;
  margin: 0 0 1rem;
  position: relative;
  z-index: 1;
}
.migration-promise-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 1.25rem;
  position: relative;
  z-index: 1;
}
.migration-promise-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.7;
  margin: 0 0 3rem;
  max-width: 560px;
  position: relative;
  z-index: 1;
}
.migration-promise-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 3rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.migration-stat {
  padding: 1.75rem 2.5rem;
  text-align: center;
  flex: 1;
}
.migration-stat strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.migration-stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.migration-stat-divider {
  width: 1px;
  height: 3rem;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .migration-cards { grid-template-columns: repeat(2, 1fr); }
  .migration-promise { padding: 3.5rem 2rem; }
  .migration-promise-stats { flex-wrap: wrap; }
  .migration-stat { min-width: 40%; }
  .migration-stat-divider { display: none; }
}
@media (max-width: 600px) {
  .migration-cards { grid-template-columns: 1fr; }
  .migration-stat { padding: 1.25rem 1rem; }
}

/* ============================================
   NUVORA BLUE IDENTITY PASS
   Installed front-end-design skill direction:
   premium blue medical command center, glass workflow,
   cinematic depth, one memorable operating-console hero.
   ============================================ */
.main-nav {
  background: rgba(247, 251, 255, 0.82);
  border-bottom: 1px solid rgba(6, 42, 99, 0.1);
  box-shadow: 0 18px 48px rgba(4, 18, 37, 0.08);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: none;
  -webkit-text-fill-color: initial;
}

.nav-wordmark {
  color: var(--ink);
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.nav-links a {
  color: #4e6688;
  font-weight: 700;
}

.nav-links a::after {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.nav-cta {
  background: linear-gradient(135deg, #041225 0%, #073b94 60%, #0b63f6 100%);
  box-shadow: 0 18px 44px rgba(11, 99, 246, 0.25);
}

.hero {
  padding: 9.4rem 0 6.8rem;
  text-align: left;
  background:
    linear-gradient(105deg, rgba(3, 16, 34, 0.99) 0%, rgba(5, 33, 79, 0.96) 52%, rgba(0, 76, 170, 0.9) 100%),
    var(--gradient-2);
}

.hero::before {
  background:
    radial-gradient(circle at 17% 20%, rgba(0, 194, 255, 0.34), transparent 22rem),
    radial-gradient(circle at 78% 14%, rgba(42, 116, 255, 0.42), transparent 24rem),
    radial-gradient(circle at 62% 92%, rgba(148, 211, 255, 0.14), transparent 26rem);
}

.hero::after {
  opacity: 0.52;
  background-image:
    linear-gradient(rgba(216, 246, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 246, 255, 0.055) 1px, transparent 1px);
}

.hero .wrap {
  max-width: 1180px;
}

.hero-badge {
  color: #c8f5ff;
  background: rgba(0, 104, 255, 0.2);
  border-color: rgba(0, 194, 255, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero-badge .pulse {
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(0, 194, 255, 0.13), 0 0 22px rgba(0, 194, 255, 0.5);
}

h1,
.section-header h2,
.page-header h1,
.final-cta h2,
.cta-section h2,
.migration-promise-headline,
.pricing-card h2 {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.065em;
}

.hero h1 {
  max-width: 940px;
  font-size: clamp(3.5rem, 8vw, 7.6rem);
  line-height: 0.86;
  letter-spacing: -0.085em;
  word-spacing: 0.06em;
  text-shadow: 0 20px 70px rgba(0, 194, 255, 0.22);
}

.gradient-text {
  background: linear-gradient(105deg, #dff7ff 0%, #6fd5ff 34%, #1684ff 68%, #00c2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  margin-left: 0;
  max-width: 760px;
  color: rgba(233, 247, 255, 0.78);
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
}

.cta-group {
  justify-content: flex-start;
}

.btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #dff7ff 100%);
  color: var(--ink);
}

.btn-primary:hover {
  box-shadow: 0 18px 52px rgba(0, 194, 255, 0.24), var(--shadow-glow);
}

.btn-secondary {
  color: var(--cream);
  border-color: rgba(216, 246, 255, 0.26);
  background: rgba(216, 246, 255, 0.09);
}

.hero-console {
  max-width: 980px;
  margin: 0 0 2.5rem;
  border: 1px solid rgba(216, 246, 255, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(0, 194, 255, 0.16), rgba(216, 246, 255, 0.05)),
    rgba(3, 16, 34, 0.64);
  box-shadow: 0 36px 100px rgba(0, 18, 55, 0.44), 0 0 0 1px rgba(0, 194, 255, 0.08);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.console-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(216, 246, 255, 0.12);
  color: rgba(233, 247, 255, 0.76);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-header strong {
  margin-left: auto;
  color: #9be7ff;
}

.console-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.15), 0 0 24px rgba(0, 194, 255, 0.55);
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(216, 246, 255, 0.12);
}

.console-card {
  min-height: 9.2rem;
  padding: 1.15rem;
  background: rgba(3, 16, 34, 0.66);
}

.console-card.active {
  background: linear-gradient(150deg, rgba(0, 118, 255, 0.58), rgba(3, 16, 34, 0.68));
}

.console-card span {
  display: block;
  margin-bottom: 1.05rem;
  color: #9be7ff;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
}

.console-card strong {
  display: block;
  color: var(--cream);
  font-size: 1rem;
}

.console-card p {
  margin: 0.55rem 0 0;
  color: rgba(233, 247, 255, 0.62);
  font-size: 0.86rem;
  line-height: 1.45;
}

.switch-banner {
  margin-left: 0;
  margin-right: 0;
  background: rgba(216, 246, 255, 0.08);
  border-color: rgba(216, 246, 255, 0.16);
}

.switch-banner-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.switch-banner-link {
  color: #9be7ff;
}

.hero-stats {
  justify-content: flex-start;
  border-top-color: rgba(216, 246, 255, 0.14);
}

.stat-number {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  color: #9be7ff;
}

.section-badge {
  color: var(--primary-dark);
  background: var(--primary-light);
}

.section-badge-primary {
  color: var(--primary-dark);
  background: var(--accent-light);
}

.feature-card,
.testimonial-card,
.impl-step,
.pricing-card,
.contact-form,
.contact-info {
  border: 1px solid rgba(7, 26, 51, 0.09);
  box-shadow: 0 22px 64px rgba(7, 26, 51, 0.08);
}

.feature-icon,
.benefit-icon,
.contact-info-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.cta-section,
.final-cta,
.migration-promise {
  background:
    radial-gradient(circle at 78% 18%, rgba(0, 194, 255, 0.26), transparent 20rem),
    var(--gradient-2);
}

.footer {
  background: #041225;
}

@media (max-width: 900px) {
  .hero {
    text-align: center;
    padding: 7.5rem 0 5rem;
  }

  .hero .wrap,
  .lead,
  .hero-console,
  .switch-banner {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-group,
  .hero-stats {
    justify-content: center;
  }

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

@media (max-width: 600px) {
  .nav-wordmark {
    display: none;
  }

  .hero {
    padding-top: 6.5rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
    word-spacing: 0.05em;
  }

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

  .console-card {
    min-height: auto;
  }

  .switch-banner {
    align-items: flex-start;
  }
}

/* ============================================
   ACCOUNT PORTAL
   ============================================ */
/* ── Account / Login ──────────────────────────────────────── */

.account-page {
  min-height: 100vh;
  background: #f5f9ff;
  position: relative;
  overflow-x: hidden;
}

.account-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 700px at -8% 0%, rgba(11, 99, 246, 0.09) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 108% 85%, rgba(0, 194, 255, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 500px 400px at 55% 45%, rgba(11, 99, 246, 0.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.account-shell {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 8.6rem 0 5rem;
  position: relative;
  z-index: 1;
}

.account-panel {
  border: 1px solid rgba(7, 26, 51, 0.08);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 48px 120px rgba(7, 26, 51, 0.11),
    0 8px 28px rgba(7, 26, 51, 0.07);
  padding: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  position: relative;
}

/* gradient accent bar at top of panel */
.account-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(11, 99, 246, 0.5) 15%,
    rgba(0, 194, 255, 0.8) 50%,
    rgba(11, 99, 246, 0.5) 85%,
    transparent 100%);
}

.account-topbar,
.account-header,
.client-card-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.account-topbar {
  margin-bottom: 2.4rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(7, 26, 51, 0.07);
}

.account-topbar h1,
.account-header h2,
.account-intro h2 {
  margin: 0;
  color: var(--ink);
}

.account-topbar h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
}

.account-login-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 420px);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.account-intro {
  padding: 0.5rem 0;
}

.account-intro h2 {
  max-width: 520px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.65rem, 2.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.account-intro p {
  max-width: 460px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

.account-note {
  max-width: 460px;
  margin-top: 1.6rem;
  padding: 0.9rem 1.1rem 0.9rem 1.25rem;
  border: 1px solid rgba(11, 99, 246, 0.12);
  border-left: 3px solid rgba(11, 99, 246, 0.45);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(135deg, rgba(220, 236, 255, 0.45), rgba(216, 246, 255, 0.28));
  color: #3a5373;
  font-size: 0.86rem;
  line-height: 1.65;
}

.account-card,
.client-card,
.data-section,
.metric {
  border: 1px solid rgba(7, 26, 51, 0.08);
  background: #ffffff;
}

.account-card {
  border-radius: 24px;
  padding: clamp(1.75rem, 3.5vw, 2.25rem);
  box-shadow:
    0 0 0 1px rgba(7, 26, 51, 0.06),
    0 28px 70px rgba(7, 26, 51, 0.11),
    0 6px 16px rgba(7, 26, 51, 0.07);
}

.account-card h2 {
  margin: 0 0 0.25rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.account-card .muted,
.account-header .muted,
.client-card .muted,
.data-section .muted {
  color: var(--muted);
}

.account-form {
  margin-top: 1.6rem;
}

.account-form label {
  display: block;
  margin: 0 0 0.4rem;
  color: #3d4f66;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.account-form input {
  width: 100%;
  margin: 0 0 1.1rem;
  border: 1.5px solid rgba(7, 26, 51, 0.13);
  border-radius: 12px;
  background: #f9fbfe;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.account-form input:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(11, 99, 246, 0.1);
}

.account-submit,
.account-action {
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.account-submit {
  width: 100%;
  margin-top: 0.3rem;
}

/* Override global btn-primary for the account submit button */
.account-page .account-submit.btn-primary {
  background: linear-gradient(135deg, #0b63f6 0%, #0353d4 100%);
  color: #ffffff;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(11, 99, 246, 0.32), 0 1px 4px rgba(11, 99, 246, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.account-page .account-submit.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #1a6fff 0%, #0460e8 100%);
  box-shadow: 0 6px 22px rgba(11, 99, 246, 0.42), 0 2px 8px rgba(11, 99, 246, 0.25);
  transform: translateY(-1px);
}

.account-page .account-submit.btn-primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(11, 99, 246, 0.3);
}

.account-page .btn-secondary {
  color: var(--primary-dark);
  border: 1px solid rgba(11, 99, 246, 0.18);
  background: rgba(220, 236, 255, 0.75);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
}

.account-page .btn-secondary:hover {
  background: rgba(220, 236, 255, 1);
  transform: none;
}

.account-page .btn:disabled {
  cursor: wait;
  opacity: 0.6;
}

.alert {
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  line-height: 1.55;
  font-size: 0.875rem;
}

.alert-error {
  border: 1px solid #fecdd3;
  background: #fff1f2;
  color: #9f1239;
}

.alert-success {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.hidden {
  display: none !important;
}

/* ── Dashboard ─────────────────────────────────────────── */

.account-dashboard {
  display: grid;
  gap: 1.25rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.metric {
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 2px 12px rgba(7, 26, 51, 0.06);
}

.metric-label {
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.metric-value {
  margin-top: 0.5rem;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.metric-detail {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.account-list {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.client-card {
  border-radius: 20px;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  box-shadow: 0 4px 20px rgba(7, 26, 51, 0.07);
}

.client-card h2,
.data-section h3 {
  margin: 0 0 0.4rem;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(11, 99, 246, 0.08);
  color: #0b63f6;
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: capitalize;
  letter-spacing: 0.02em;
}

.client-app-link {
  margin-top: 0.85rem;
}

.tables-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.data-section {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(7, 26, 51, 0.06);
}

.data-section h3 {
  padding: 0.85rem 1.1rem;
  background: #f8fbff;
  border-bottom: 1px solid rgba(7, 26, 51, 0.07);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.data-section > .muted {
  padding: 0.75rem 1.1rem 1rem;
}

.table-wrap {
  overflow-x: auto;
}

.table-wrap table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.table-wrap th,
.table-wrap td {
  text-align: left;
  padding: 0.78rem 1rem;
  border-bottom: 1px solid rgba(7, 26, 51, 0.07);
  vertical-align: top;
  font-size: 0.875rem;
}

.table-wrap th {
  color: var(--muted);
  font-size: 0.69rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 800;
  background: #f8fbff;
}

@media (max-width: 900px) {
  .account-login-grid {
    grid-template-columns: 1fr;
  }

  .account-intro {
    padding: 0;
  }
}

@media (max-width: 640px) {
  .account-shell {
    width: min(100% - 1.5rem, 1180px);
    padding-top: 7.2rem;
  }

  .account-panel {
    border-radius: 24px;
    padding: 1.75rem 1.5rem;
  }

  .account-topbar h1 {
    font-size: 0.95rem;
  }

  .account-intro h2 {
    font-size: 1.5rem;
  }
}

/* ============================================
   ACCOUNT PORTAL V2
   ============================================ */
.account-shell-v2 {
  width: min(1320px, 94vw);
}

.account-panel-v2 {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96)),
    #ffffff;
}

.account-panel-v2.owner-mode {
  background:
    radial-gradient(circle at 16% 0%, rgba(11, 99, 246, 0.12), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.97));
}

.account-panel-v2.client-mode {
  background:
    radial-gradient(circle at 82% 0%, rgba(0, 194, 255, 0.14), transparent 25rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 253, 255, 0.97));
}

.account-panel-v2 .account-topbar h1 {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.portal-login {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}

.portal-login-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 30rem;
  padding: clamp(1rem, 2vw, 1.4rem) 0;
}

.portal-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  border: 1px solid rgba(11, 99, 246, 0.16);
  border-radius: 999px;
  background: rgba(220, 236, 255, 0.68);
  color: var(--primary-dark);
  padding: 0.42rem 0.72rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-login-copy h2 {
  max-width: 760px;
  margin: 0;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.5rem, 6.2vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.085em;
  line-height: 0.9;
  color: var(--ink);
}

.portal-login-copy p {
  max-width: 620px;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.portal-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
  max-width: 840px;
}

.portal-preview-grid > div {
  border: 1px solid rgba(7, 26, 51, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  padding: 1rem;
  box-shadow: 0 14px 38px rgba(7, 26, 51, 0.06);
}

.portal-preview-grid strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
}

.portal-preview-grid span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.portal-login-card {
  align-self: center;
}

.portal-dashboard-header {
  padding: 1rem;
  border: 1px solid rgba(7, 26, 51, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.portal-dashboard-header h2 {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.owner-dashboard,
.client-dashboard {
  display: grid;
  gap: 1.1rem;
}

.owner-hero,
.client-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.8fr);
  gap: 1rem;
  border-radius: 28px;
  overflow: hidden;
}

.owner-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 194, 255, 0.28), transparent 18rem),
    linear-gradient(135deg, #041225 0%, #062a63 62%, #0b63f6 100%);
  color: #ffffff;
  padding: clamp(1.4rem, 3.5vw, 2.5rem);
  box-shadow: 0 28px 72px rgba(4, 18, 37, 0.22);
}

.owner-hero-copy h2,
.client-hero-copy h2 {
  margin: 0;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.95;
}

.owner-hero-copy h2 {
  max-width: 720px;
  color: #ffffff;
  font-size: clamp(2rem, 4.8vw, 4.7rem);
}

.owner-hero-copy p {
  max-width: 720px;
  margin: 1rem 0 0;
  color: rgba(233, 247, 255, 0.76);
  line-height: 1.7;
}

.owner-pulse {
  display: grid;
  gap: 0.75rem;
  align-content: center;
}

.metric.portal-metric {
  position: relative;
}

.portal-metric.dark {
  border-color: rgba(216, 246, 255, 0.18);
  background: rgba(3, 16, 34, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.portal-metric.dark .metric-label,
.portal-metric.dark .metric-detail {
  color: rgba(233, 247, 255, 0.68);
}

.portal-metric.dark .metric-value {
  color: #ffffff;
}

.portal-metric.accent {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(239, 247, 255, 0.88));
}

.portal-metric.accent::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 16px 0 0 16px;
}

.portal-metric.compact {
  padding: 0.85rem 0.95rem;
  box-shadow: none;
}

.portal-metric.compact .metric-value {
  font-size: 1.25rem;
}

.owner-metric-grid,
.client-metric-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.portfolio-operating-grid,
.client-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.client-support-grid {
  grid-template-columns: 1fr 1fr;
}

.portfolio-panel {
  border: 1px solid rgba(7, 26, 51, 0.08);
  border-radius: 20px;
  background: #ffffff;
  padding: 1.1rem;
  box-shadow: 0 16px 42px rgba(7, 26, 51, 0.06);
}

.portfolio-panel-highlight {
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 194, 255, 0.15), transparent 12rem),
    #ffffff;
}

.portfolio-panel h3,
.portfolio-section-header h3 {
  margin: 0 0 0.9rem;
  color: var(--ink);
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.12rem;
  letter-spacing: -0.04em;
}

.status-breakdown,
.age-list {
  display: grid;
  gap: 0.65rem;
}

.mini-fact,
.age-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 14px;
  background: #f8fbff;
  padding: 0.72rem 0.82rem;
}

.mini-fact span,
.age-row span {
  color: var(--muted);
  font-size: 0.82rem;
}

.mini-fact strong,
.age-row strong {
  color: var(--ink);
  font-size: 0.9rem;
  text-align: right;
}

.portfolio-section-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-top: 0.3rem;
}

.portfolio-section-header p {
  max-width: 560px;
  margin: 0;
  text-align: right;
}

.portfolio-client-list {
  display: grid;
  gap: 1rem;
}

.portfolio-client-card {
  border: 1px solid rgba(7, 26, 51, 0.08);
  border-radius: 24px;
  background: #ffffff;
  padding: clamp(1rem, 2vw, 1.35rem);
  box-shadow: 0 18px 48px rgba(7, 26, 51, 0.08);
}

.portfolio-client-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.portfolio-client-header h3 {
  margin: 0;
  color: var(--ink);
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  letter-spacing: -0.045em;
}

.portfolio-client-header p {
  margin: 0.3rem 0 0;
}

.client-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0;
}

.portfolio-spend-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.portal-action-row {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 1rem 0 0;
}

.portal-link {
  border-radius: 12px;
}

.account-page .portal-link.btn-primary {
  background: linear-gradient(135deg, #041225 0%, #073b94 62%, #0b63f6 100%);
  color: #ffffff;
}

.status-badge.warning {
  background: #fff7ed;
  color: #9a3412;
}

.status-badge.good {
  background: #ecfdf5;
  color: #047857;
}

.client-hero-card {
  background:
    radial-gradient(circle at 90% 0%, rgba(0, 194, 255, 0.18), transparent 20rem),
    linear-gradient(135deg, #ffffff, #eff8ff);
  border: 1px solid rgba(7, 26, 51, 0.08);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 22px 58px rgba(7, 26, 51, 0.08);
}

.client-hero-copy h2 {
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 4.2rem);
}

.client-hero-copy p {
  max-width: 650px;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.client-hero-facts {
  display: grid;
  gap: 0.7rem;
  align-content: center;
}

.portal-data-section {
  box-shadow: 0 10px 32px rgba(7, 26, 51, 0.05);
}

.portal-tables {
  margin-top: 1.1rem;
}

@media (max-width: 1180px) {
  .owner-metric-grid,
  .client-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portfolio-spend-row,
  .client-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .portal-login,
  .owner-hero,
  .client-hero-card,
  .portfolio-operating-grid,
  .client-support-grid {
    grid-template-columns: 1fr;
  }

  .portal-login-copy {
    min-height: auto;
  }

  .portal-preview-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-section-header {
    display: block;
  }

  .portfolio-section-header p {
    margin-top: 0.4rem;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .account-panel-v2 {
    padding: 1.3rem;
  }

  .account-panel-v2 .account-topbar h1 {
    font-size: 1.55rem;
  }

  .portal-login-copy h2,
  .owner-hero-copy h2,
  .client-hero-copy h2 {
    font-size: clamp(2rem, 12vw, 3rem);
    letter-spacing: -0.065em;
  }

  .owner-metric-grid,
  .client-metric-grid,
  .portfolio-spend-row,
  .client-fact-grid {
    grid-template-columns: 1fr;
  }

  .mini-fact,
  .age-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .mini-fact strong,
  .age-row strong {
    text-align: left;
  }
}

/* ============================================
   ACCOUNT PORTAL CRM V3
   ============================================ */
.owner-crm-dashboard,
.client-simple-dashboard {
  gap: 1.25rem;
}

.owner-crm-hero {
  border-radius: 22px;
}

.crm-workboard-grid,
.client-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.crm-workboard-grid > .crm-panel:first-child {
  grid-column: span 2;
}

.client-action-grid {
  grid-template-columns: minmax(270px, 0.85fr) minmax(300px, 1fr) minmax(340px, 1.15fr);
}

.crm-panel {
  border: 1px solid rgba(7, 26, 51, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(7, 26, 51, 0.07);
  padding: 1rem;
}

.crm-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.crm-panel-header h3 {
  margin: 0;
  color: var(--ink);
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.08rem;
  letter-spacing: -0.04em;
}

.crm-panel-header p {
  max-width: 330px;
  margin: 0;
  text-align: right;
  font-size: 0.8rem;
  line-height: 1.45;
}

.crm-list {
  display: grid;
  gap: 0.65rem;
}

.crm-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: -0.25rem 0 0.85rem;
}

.crm-filter-btn {
  border: 1px solid rgba(7, 26, 51, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: #3d4f66;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  padding: 0.5rem 0.68rem;
}

.crm-filter-btn.active,
.crm-filter-btn:hover {
  border-color: rgba(11, 99, 246, 0.28);
  background: var(--primary-light);
  color: var(--primary-dark);
}

.crm-request-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(7, 26, 51, 0.07);
  border-radius: 14px;
  background: #f8fbff;
  padding: 0.78rem 0.85rem;
}

.crm-request-row strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.25;
}

.crm-request-row span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.crm-request-description {
  margin: 0.45rem 0 0;
  color: #334155;
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: pre-line;
}

.crm-request-byline {
  display: block;
  margin-top: 0.45rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
}

.crm-row-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
  width: 100%;
}

.request-action-btn {
  border: 1px solid rgba(11, 99, 246, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary-dark);
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  padding: 0.4rem 0.58rem;
}

.request-action-btn:hover:not(:disabled) {
  border-color: rgba(11, 99, 246, 0.34);
  background: var(--primary-light);
}

.request-action-btn:disabled {
  cursor: wait;
  opacity: 0.55;
}

.invoice-amount {
  color: var(--primary-dark);
  font-size: 0.92rem;
}

.portal-empty {
  margin: 0;
  border: 1px dashed rgba(7, 26, 51, 0.14);
  border-radius: 14px;
  background: #f8fbff;
  padding: 1rem;
}

.crm-client-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.crm-client-card {
  border: 1px solid rgba(7, 26, 51, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(7, 26, 51, 0.07);
  padding: 1.05rem;
}

.crm-client-card-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.crm-client-card-header h3 {
  margin: 0;
  color: var(--ink);
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.045em;
}

.crm-client-card-header p {
  margin: 0.3rem 0 0;
}

.health-score {
  min-width: 74px;
  border-radius: 16px;
  padding: 0.55rem 0.7rem;
  text-align: center;
  background: #ecfeff;
  color: #155e75;
}

.health-score.watch {
  background: #fff7ed;
  color: #9a3412;
}

.health-score.risk {
  background: #fff1f2;
  color: #9f1239;
}

.health-score span {
  display: block;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.health-score strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.35rem;
  line-height: 1;
}

.crm-client-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
}

.client-account-home {
  border-radius: 22px;
}

.bill-card {
  display: grid;
  gap: 0.65rem;
}

.bill-breakdown {
  display: grid;
  gap: 0.45rem;
  margin: 0.25rem 0;
}

.bill-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bill-amount {
  color: var(--ink);
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.provider-request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.provider-field {
  display: grid;
  gap: 0.35rem;
  color: #3d4f66;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.provider-field:last-of-type {
  grid-column: 1 / -1;
}

.provider-field input,
.provider-field select,
.provider-field textarea {
  width: 100%;
  border: 1.5px solid rgba(7, 26, 51, 0.13);
  border-radius: 12px;
  background: #f9fbfe;
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.78rem 0.9rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.provider-field textarea {
  min-height: 6.6rem;
  resize: vertical;
}

.provider-field input:focus,
.provider-field select:focus,
.provider-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(11, 99, 246, 0.1);
}

.provider-submit {
  grid-column: 1 / -1;
  margin-top: 0.2rem;
}

.support-request-form .provider-field:nth-of-type(3),
.support-request-form .provider-field:nth-of-type(4) {
  grid-column: 1 / -1;
}

.portal-notice {
  margin: 0;
}

@media (max-width: 1180px) {
  .crm-workboard-grid,
  .crm-client-list {
    grid-template-columns: 1fr;
  }

  .crm-workboard-grid > .crm-panel:first-child {
    grid-column: auto;
  }

  .client-action-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .crm-panel-header {
    display: block;
  }

  .crm-panel-header p {
    margin-top: 0.35rem;
    max-width: none;
    text-align: left;
  }

  .crm-request-row {
    grid-template-columns: 1fr;
  }

  .crm-row-meta {
    justify-content: flex-start;
  }

  .request-actions {
    justify-content: flex-start;
  }

  .crm-client-card-header {
    display: block;
  }

  .health-score {
    margin-top: 0.8rem;
    width: fit-content;
  }

  .crm-client-facts,
  .provider-request-form {
    grid-template-columns: 1fr;
  }
}
