/* Dentisim Landing Page Stylesheet (Light Theme) */

:root {
  --primary: #31a9c4;
  --primary-hover: #288ea5;
  --primary-light: #e6f6f9;
  --accent: #31a9c4;
  --slate-dark: #0f172a;
  --slate-body: #334155;
  --slate-muted: #64748b;
  --bg-main: #ffffff;
  --bg-slate: #f8fafc;
  --border-light: #e2e8f0;
  --font-family: 'Poppins', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px -2px rgba(49, 169, 196, 0.12);
  --shadow-lg: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.light-theme {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--slate-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography & Links */
a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

h1, h2, h3, h4 {
  color: var(--slate-dark);
  font-weight: 700;
  line-height: 1.25;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.max-w-3xl {
  max-width: 768px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-primary, .btn-accent {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(49, 169, 196, 0.25);
}

.btn-primary:hover, .btn-accent:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(49, 169, 196, 0.35);
}

.btn-outline {
  background-color: #ffffff;
  border-color: var(--border-light);
  color: var(--slate-dark);
}

.btn-outline:hover {
  background-color: var(--bg-slate);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-body);
}

.header-nav a:not(.btn):hover {
  color: var(--primary);
}

/* Mobile nav toggle (hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #ffffff;
  cursor: pointer;
  flex: none;
  z-index: 210;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--slate-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  z-index: 190;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-backdrop.active {
  display: block;
  opacity: 1;
}

/* Hero Section */
.hero-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--slate-dark);
}

.hero-subtitle {
  font-size: 16px;
  color: var(--slate-body);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.trust-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.metric-label {
  font-size: 12px;
  color: var(--slate-muted);
}

.metric-divider {
  width: 1px;
  height: 32px;
  background-color: var(--border-light);
}

/* Hero Preview Card */
.hero-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

/* Hero Video Card with animated glow border */
@property --glow-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.hero-video-card {
  position: relative;
  border-radius: 26px;
  padding: 3px;
}

.glow-border {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  padding: 3px;
  background: conic-gradient(from var(--glow-angle), #31a9c4, #7fe3f0, #ef7c8e, #31a9c4);
  animation: rotate-glow 6s linear infinite;
}

@keyframes rotate-glow {
  to { --glow-angle: 360deg; }
}

.video-inner {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  z-index: 1;
}

.hero-video-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
  aspect-ratio: 4 / 3;
  background: #0f172a;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.card-header-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-muted);
  margin-bottom: 16px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.demo-preview-box {
  background-color: var(--bg-slate);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-light);
}

.before-after-tag {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-left { color: var(--slate-muted); }
.tag-right { color: var(--primary); }

.preview-img-wrapper {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}

.preview-svg {
  width: 100%;
  height: auto;
  display: block;
}

.sim-highlights {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sim-chip {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-dark);
}

/* Sections */
.section {
  padding: 80px 0;
}

.bg-slate {
  background-color: var(--bg-slate);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px auto;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.section-header h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--slate-muted);
  font-size: 15px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 32px;
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--slate-muted);
  line-height: 1.6;
}

/* How It Works Steps */
.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background-color: var(--bg-slate);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
}

.step-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.8;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--slate-muted);
}

/* Demo Request Form */
.demo-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.demo-card-header {
  text-align: center;
  margin-bottom: 36px;
}

.demo-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-dark);
  margin-bottom: 6px;
}

.form-group .required {
  color: #e11d48;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-family);
  font-size: 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: var(--slate-dark);
  transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(49, 169, 196, 0.15);
}

.form-group input.input-error,
.form-group textarea.input-error {
  border-color: #e11d48;
  background-color: #fff1f2;
}

.form-group input.input-error:focus,
.form-group textarea.input-error:focus {
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
}

.field-error {
  display: block;
  min-height: 16px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #e11d48;
}

.feedback-msg {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  display: none;
}

.feedback-msg.success {
  display: block;
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.feedback-msg.error {
  display: block;
  background-color: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
}

/* Footer (Requirement 3) */
.site-footer {
  background-color: var(--bg-slate);
  border-top: 1px solid var(--border-light);
  padding: 72px 0 32px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Each footer section is now a full-width stacked row, in this order:
   logo -> description -> contact info (inline) -> nav links (inline) -> copyright */
.footer-row {
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer-row-logo {
  margin-bottom: 20px;
}

.footer-logo-box {
  display: inline-block;
}

.footer-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.footer-row-desc {
  margin-bottom: 28px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-muted);
  max-width: 560px;
}

.footer-row-contact {
  margin-bottom: 22px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 28px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--slate-body);
}

.footer-contact-list svg {
  color: var(--primary);
  flex: none;
}

.footer-contact-list a {
  color: var(--slate-body);
  font-weight: 500;
}

.footer-contact-list a:hover {
  color: var(--primary);
}

.footer-row-nav {
  margin-bottom: 32px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 24px;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-body);
  width: fit-content;
}

.footer-nav a:hover {
  color: var(--primary);
}

.footer-hr {
  width: 100%;
  border: none;
  border-top: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.footer-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-muted);
}

.footer-policies {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-trigger {
  background: none;
  border: none;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.modal-trigger:hover {
  color: var(--primary);
  text-decoration: underline;
}

.policy-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--slate-muted);
  display: inline-block;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 85vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-slate);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--slate-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.modal-box h3 {
  font-size: 22px;
  margin-bottom: 4px;
  color: var(--slate-dark);
}

.modal-updated {
  font-size: 12px;
  color: var(--slate-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.modal-body h4 {
  font-size: 14.5px;
  margin: 20px 0 6px 0;
  color: var(--slate-dark);
}

.modal-body p {
  font-size: 13.5px;
  color: var(--slate-body);
  line-height: 1.7;
}

.modal-body p a {
  font-weight: 600;
}

/* Nav Portal Link */
.nav-portal-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary) !important;
  background-color: var(--primary-light);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(49, 169, 196, 0.2);
}

.nav-portal-link:hover {
  background-color: var(--primary);
  color: #ffffff !important;
}

/* Growth & Benefits Section (Gradient Box with rounded corners) */
.benefits-gradient-box {
  background: linear-gradient(135deg, #31a9c4 0%, #1e788e 100%);
  border-radius: 24px;
  padding: 56px 40px;
  color: #ffffff;
  box-shadow: 0 20px 40px -10px rgba(49, 169, 196, 0.35);
}

.benefits-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.benefits-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.benefits-content h2 {
  color: #ffffff;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.benefits-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin: 0 auto 48px auto;
  line-height: 1.6;
}

.benefits-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: left;
  transition: transform 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.18);
}

.stat-num {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  display: block;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* Become a Partner Section (Gradient Box, matches Growth & Benefits styling) */
.partner-gradient-box {
  background: linear-gradient(135deg, #31a9c4 0%, #1e788e 100%);
  border-radius: 24px;
  padding: 56px 40px;
  color: #ffffff;
  box-shadow: 0 20px 40px -10px rgba(49, 169, 196, 0.35);
}

.partner-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.partner-content h2 {
  color: #ffffff;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.partner-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin: 0 auto 48px auto;
  line-height: 1.6;
}

.partner-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.partner-option-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: left;
  transition: transform 0.2s ease;
}

.partner-option-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.18);
}

.partner-option-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  margin-bottom: 20px;
}

.partner-option-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.partner-option-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 20px;
}

.partner-option-card .btn {
  background-color: #ffffff;
  color: var(--primary-dark, #1e788e) !important;
  border: none;
}

.partner-option-card .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.partner-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 100%);
  margin: 40px 0 32px;
}

.partner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary-dark, #1e788e) !important;
  border: 1px solid #ffffff;
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

/* WordPress Plugin Section */
.wp-plugin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.wp-subtitle {
  font-size: 15px;
  color: var(--slate-body);
  margin-bottom: 24px;
}

.wp-features-list {
  list-style: none;
  margin-bottom: 32px;
}

.wp-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--slate-dark);
}

.wp-features-list code {
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 13px;
}

.wp-mock-window {
  background: #1e293b;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid #334155;
}

.wp-window-header {
  background: #0f172a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.wp-dot.red { background-color: #ef4444; }
.wp-dot.yellow { background-color: #f59e0b; }
.wp-dot.green { background-color: #10b981; }

.wp-title {
  font-size: 11px;
  color: #94a3b8;
  font-family: monospace;
  margin-left: 8px;
}

.wp-window-body {
  padding: 28px;
  color: #f8fafc;
}

.wp-plugin-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.wp-logo-badge {
  width: 44px;
  height: 44px;
  background-color: #21759b;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  font-family: serif;
}

.wp-plugin-banner h4 {
  color: #ffffff;
  font-size: 16px;
}

.wp-plugin-banner p {
  font-size: 12px;
  color: #94a3b8;
}

.wp-code-box {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.wp-code-box code {
  color: #38bdf8;
  font-family: monospace;
  font-size: 13px;
}

.wp-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #34d399;
  border-radius: 50%;
}

.wp-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}

.wp-activated-row {
  font-size: 12.5px;
  color: #34d399;
  margin-bottom: 14px;
  font-weight: 600;
}

.wp-lead-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  padding: 9px 0;
  border-top: 1px solid #334155;
  color: #e2e8f0;
}

.wp-lead-row:first-of-type { border-top: none; margin-top: 12px; }

.wp-pill {
  background: rgba(49, 169, 196, 0.18);
  color: #7fe3f0;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}

/* WP stacked screenshot gallery */
.wp-screenshot-stack {
  position: relative;
  height: 420px;
}

.wp-shot {
  background: #1e293b;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid #334155;
  position: absolute;
  width: 82%;
  transition: transform 0.3s ease;
}

.wp-shot-body { padding: 22px; color: #f8fafc; }

.wp-shot-back {
  top: 0;
  right: 0;
  transform: rotate(4deg);
  z-index: 1;
}

.wp-shot-mid {
  top: 60px;
  left: 4%;
  transform: rotate(-2deg);
  z-index: 2;
  width: 88%;
}

.wp-shot-front {
  top: 190px;
  right: 2%;
  transform: rotate(2deg);
  z-index: 3;
  width: 78%;
}

.wp-screenshot-stack:hover .wp-shot-back { transform: rotate(6deg) translateY(-4px); }
.wp-screenshot-stack:hover .wp-shot-mid { transform: rotate(-3deg) translateY(-4px); }
.wp-screenshot-stack:hover .wp-shot-front { transform: rotate(3deg) translateY(-4px); }

.wp-widget-mini-badge {
  background: var(--primary-light);
  color: var(--primary);
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.wp-widget-mini-compare {
  display: flex;
  gap: 6px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.wp-mini-before, .wp-mini-after {
  flex: 1;
  border-radius: 6px;
}

.wp-mini-before { background: linear-gradient(135deg, #334155, #1e293b); }
.wp-mini-after { background: linear-gradient(135deg, #31a9c4, #1c7286); }

.wp-widget-mini-btn {
  background: #ef7c8e;
  color: #4B1528;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  padding: 9px;
  border-radius: 8px;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(49, 169, 196, 0.4);
}

.pricing-card.featured {
  background: linear-gradient(180deg, var(--primary-light) 0%, #ffffff 42%);
  border: 2px solid var(--primary);
  box-shadow: 0 20px 45px -12px rgba(49, 169, 196, 0.4);
  transform: scale(1.045);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.045) translateY(-4px);
}

.li-check {
  color: var(--primary);
  flex: none;
  margin-right: 8px;
  vertical-align: -3px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 50px;
}

.plan-header h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.plan-header p {
  font-size: 13px;
  color: var(--slate-muted);
  margin-bottom: 20px;
  min-height: 40px;
}

.plan-price {
  font-size: 40px;
  font-weight: 800;
  color: var(--slate-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price .currency {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
}

.plan-price .period {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-muted);
}

.plan-setup {
  font-size: 12.5px;
  color: var(--slate-muted);
  margin-top: -18px;
  margin-bottom: 24px;
  font-weight: 500;
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 13px;
  color: var(--slate-body);
  margin-bottom: 12px;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #7fe3f0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card:hover::before {
  transform: scaleX(1);
}

.stars {
  display: flex;
  gap: 3px;
  color: var(--primary);
  margin-bottom: 16px;
}

.quote {
  font-size: 14px;
  color: var(--slate-dark);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.author-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-dark);
}

.author-role {
  display: block;
  font-size: 12px;
  color: var(--slate-muted);
}

/* Testimonial avatar + slider */
.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
  flex: none;
}

.testi-slider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-viewport {
  overflow: hidden;
  flex: 1;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials-track .testimonial-card {
  flex: 0 0 calc(33.333% - 19px);
  width: calc(33.333% - 19px);
  margin-right: 28px;
}

.testi-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #fff;
  color: var(--slate-dark);
  font-size: 20px;
  cursor: pointer;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.testi-arrow:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.testi-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: background 0.2s ease;
}

.testi-dots .dot.active {
  background: var(--primary);
  width: 22px;
  border-radius: 50px;
}

/* Patient quote / social proof card */
.patient-quote-card {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  padding: 3%;
  background: #f8fafc;
  border-radius: var(--radius-lg);
  text-align: right;
}

.patient-quote-icon {
  position: absolute;
  top: 18px;
  left: 28px;
  color: #64748b;
  opacity: 0.18;
  line-height: 0;
  pointer-events: none;
}

.patient-quote-text {
  position: relative;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  font-style: italic;
  max-width: 100%;
  margin: 0 auto 24px;
  text-align: right;
  padding-left: 4.5%;
}

.patient-quote-author {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.patient-quote-name {
  font-size: 12px;
  font-weight: 700;
}

.patient-quote-role {
  font-size: 10px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.75);
}

@media (max-width: 640px) {
  .patient-quote-card {
    padding: 40px 24px;
  }
  .patient-quote-text {
    font-size: 17px;
  }
}

/* Before/After transformation gallery */
.ba-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ba-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ba-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ba-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 30px;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
}

/* ============================================================
   Scroll Reveal Animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.reveal-left { transform: translateX(-32px); }
.reveal.reveal-right { transform: translateX(32px); }
.reveal.reveal-up { transform: translateY(28px); }

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-d1 { transition-delay: 0.05s; }
.reveal-d2 { transition-delay: 0.15s; }
.reveal-d3 { transition-delay: 0.25s; }
.reveal-d4 { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.reveal-left, .reveal.reveal-right, .reveal.reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .glow-border, .hero-orb, .pulse-dot {
    animation: none !important;
  }
}

/* ============================================================
   Hero AI ambient field (decorative, replaces video glow)
   ============================================================ */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-ai-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(49, 169, 196, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 169, 196, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 40%, transparent 90%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: orb-float 10s ease-in-out infinite;
}

.hero-orb-a {
  width: 340px;
  height: 340px;
  top: -80px;
  right: 8%;
  background: radial-gradient(circle, #31a9c4, transparent 70%);
}

.hero-orb-b {
  width: 260px;
  height: 260px;
  bottom: -60px;
  left: 4%;
  background: radial-gradient(circle, #7fe3f0, transparent 70%);
  animation-delay: -5s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-16px, 18px) scale(1.08); }
}

.hero-grid, .hero-content, .hero-video-card {
  position: relative;
  z-index: 1;
}

/* ============================================================
   WordPress plugin image placeholder (Requirement 5)
   ============================================================ */
.wp-showcase {
  width: 100%;
}

.wp-showcase-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  display: block;
}

.wp-showcase-img.img-fallback {
  display: none;
}

.wp-showcase-placeholder span {
  font-size: 15px;
  font-weight: 700;
  color: #f8fafc;
}

.wp-showcase-placeholder small {
  font-size: 12px;
  color: #94a3b8;
  max-width: 260px;
}

.wp-showcase-placeholder code {
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 11px;
}

/* ============================================================
   Before / After overlay compare slider (Requirement 8)
   ============================================================ */
.ba-slider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ba-compare-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  user-select: none;
  transition: box-shadow 0.25s ease;
}

.ba-compare:hover .ba-compare-frame {
  box-shadow: var(--shadow-md);
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ba-compare-clip {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}

.ba-compare-clip .ba-img-before {
  max-width: none;
}

.ba-tag {
  position: absolute;
  top: 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: 50px;
  z-index: 2;
  pointer-events: none;
}

.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #ffffff;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.1);
}

.ba-handle::after {
  content: '';
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.ba-handle svg {
  position: relative;
  z-index: 2;
  color: var(--primary);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
  -webkit-appearance: none;
  appearance: none;
}

.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 36px;
  height: 36px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .steps-wrapper {
    grid-template-columns: 1fr;
  }
  .benefits-stats-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .partner-options-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
  .wp-plugin-grid {
    grid-template-columns: 1fr;
  }
  .wp-showcase {
    margin-top: 40px;
  }
  .testimonials-track .testimonial-card {
    flex-basis: 100%;
    width: 100%;
    margin-right: 0;
  }
  .ba-slider-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 30px;
  }
  .demo-form .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .nav-toggle {
    display: flex;
  }
  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 88px 24px 32px;
    box-shadow: -8px 0 30px rgba(15, 23, 42, 0.12);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 200;
    overflow-y: auto;
  }
  .header-nav.active {
    transform: translateX(0);
  }
  .header-nav a:not(.btn) {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
  }
  .header-nav a.nav-portal-link {
    justify-content: flex-start;
  }
  .header-nav .btn {
    margin-top: 12px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .demo-card {
    padding: 24px;
  }
  .benefits-gradient-box, .partner-gradient-box {
    padding: 32px 20px;
  }
  .partner-actions {
    flex-direction: column;
    width: 100%;
  }
  .partner-actions .btn {
    width: 100%;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .testimonials-track .testimonial-card {
    flex-basis: 100%;
    width: 100%;
    margin-right: 0;
  }
  .testi-arrow {
    display: none;
  }
  .ba-slider-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .modal-box {
    padding: 28px 20px;
  }
}

/* Utility class to hide the form fields */
.is-hidden {
  display: none !important;
}

/* Base feedback message styling */
.feedback-msg {
  display: none;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  transition: opacity 0.3s ease-in-out;
}

/* Success alert layout (acts as a standalone confirmation card) */
.feedback-msg.success {
  display: block;
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
  padding: 2.5rem 1.5rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Error alert layout (inline notification) */
.feedback-msg.error {
  display: block;
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}