/* ================================
   DentaLab Marketing - Modern CSS
   ================================ */

:root {
  --primary: #667eea;
  --primary-dark: #5568d3;
  --secondary: #764ba2;
  --accent: #f093fb;
  --bg: #ffffff;
  --bg-soft: #fafbff;
  --bg-mute: #f3f4fb;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --green: #10b981;
  --red: #ef4444;
  --gold: #f59e0b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.04);
  --shadow: 0 8px 24px rgba(102,126,234,.10);
  --shadow-lg: 0 20px 60px rgba(102,126,234,.18);
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-soft: linear-gradient(135deg, rgba(102,126,234,.08), rgba(118,75,162,.05));
  --radius: 14px;
  --radius-lg: 22px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}
.logo span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-link {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
  position: relative;
}
.nav-link:hover { color: var(--primary); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform .2s;
  border-radius: 2px;
}
.nav-link:hover::after { transform: scaleX(1); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch { position: relative; }
.lang-btn {
  background: var(--bg-mute);
  border: none;
  color: var(--text);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}
.lang-btn:hover { background: var(--bg-soft); }
.lang-drop {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  min-width: 140px;
  padding: 6px;
  display: none;
}
.lang-drop.open { display: block; }
.lang-drop a {
  display: block;
  padding: 8px 12px;
  color: var(--text);
  border-radius: 6px;
  font-size: 14px;
}
.lang-drop a:hover { background: var(--bg-mute); }
.lang-drop a.active { background: var(--gradient-soft); color: var(--primary); font-weight: 600; }
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 6px 20px rgba(102,126,234,.30);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102,126,234,.40);
  color: white;
}
.btn-outline {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--gradient);
  color: white;
  border-color: transparent;
}
.btn-ghost {
  background: var(--bg-mute);
  color: var(--text);
}
.btn-ghost:hover { background: var(--gradient-soft); }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: 12px; }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.btn-full { width: 100%; }

/* ===== SECTIONS ===== */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.section-head p {
  font-size: 18px;
  color: var(--text-muted);
}

/* ===== HERO ===== */
.hero {
  padding: 100px 0 120px;
  background:
    radial-gradient(circle at 20% 10%, rgba(102,126,234,.08), transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(240,147,251,.08), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: var(--gradient);
  opacity: .08;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-content {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.hero-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}
.hero-subtitle {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-stat-num {
  font-size: 36px;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== WITHOUT/WITH ===== */
.without-with { background: var(--bg-soft); }
.ww-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.ww-card {
  background: white;
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.ww-card.bad { border-top: 4px solid var(--red); }
.ww-card.good { border-top: 4px solid var(--green); }
.ww-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -.01em;
}
.ww-card.bad .ww-title { color: var(--red); }
.ww-card.good .ww-title { color: var(--green); }
.ww-list { list-style: none; }
.ww-list li {
  padding: 14px 0 14px 32px;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-muted);
}
.ww-list li:last-child { border-bottom: none; }
.ww-list li::before {
  position: absolute;
  left: 0; top: 14px;
  font-weight: 700;
  font-size: 16px;
}
.ww-card.bad .ww-list li::before { content: '✕'; color: var(--red); }
.ww-card.good .ww-list li::before { content: '✓'; color: var(--green); }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  padding: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.feature-icon {
  width: 60px; height: 60px;
  background: var(--gradient-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== DEMO SHOWCASE ===== */
.demo-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
}
.demo-section h2 { color: white; font-size: 38px; font-weight: 800; margin-bottom: 16px; }
.demo-section p { color: rgba(255,255,255,.7); font-size: 18px; margin-bottom: 32px; }
.demo-login {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 16px 28px;
  display: inline-block;
  margin-bottom: 28px;
  font-size: 15px;
}
.demo-login code {
  background: rgba(255,255,255,.12);
  padding: 3px 10px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #f093fb;
}
.demo-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 60px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.screenshot-card {
  background: rgba(255,255,255,.04);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
}
.screenshot-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.screenshot-card img { width: 100%; display: block; }
.screenshot-card .caption {
  padding: 14px 18px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  text-align: left;
}
.demo-note {
  margin-top: 30px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.price-card {
  background: white;
  padding: 40px 32px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: var(--transition);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, white 0%, var(--bg-soft) 100%);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.price-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.price-name {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.price-num {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-currency { font-size: 18px; font-weight: 600; color: var(--text-muted); }
.price-period { font-size: 14px; color: var(--text-muted); margin-bottom: 4px; }
.price-save { font-size: 13px; color: var(--green); font-weight: 600; margin-bottom: 24px; min-height: 18px; }
.price-features {
  list-style: none;
  margin: 24px 0 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.price-features li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 14px;
}
.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 10px;
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
}
.price-trial {
  text-align: center;
  margin-top: 60px;
  padding: 32px;
  background: var(--gradient-soft);
  border-radius: var(--radius);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.price-trial h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.price-trial p { color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  gap: 16px;
}
.faq-q::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--primary);
  transition: transform .2s;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s, padding .3s;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.open .faq-a { padding: 0 22px 22px; max-height: 400px; }

/* ===== CTA ===== */
.cta-section {
  text-align: center;
  background: var(--gradient);
  color: white;
  padding: 80px 24px;
  border-radius: var(--radius-lg);
  margin: 0 24px 80px;
  position: relative;
  overflow: hidden;
}
.cta-section::before, .cta-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta-section::before { width: 300px; height: 300px; top: -100px; left: -80px; }
.cta-section::after { width: 200px; height: 200px; bottom: -80px; right: -50px; }
.cta-section h2 { color: white; font-size: 36px; font-weight: 800; margin-bottom: 12px; position: relative; }
.cta-section p { color: rgba(255,255,255,.85); font-size: 18px; margin-bottom: 32px; position: relative; }
.cta-section .btn-primary {
  background: white;
  color: var(--primary);
  position: relative;
}
.cta-section .btn-primary:hover { background: var(--bg-soft); }
.cta-section .btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,.4);
  position: relative;
}
.cta-section .btn-outline:hover { background: rgba(255,255,255,.1); border-color: white; }

/* ===== CONTACT ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
}
.contact-form {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: white;
  color: var(--text);
  transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(102,126,234,.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-agree { font-size: 13px; color: var(--text-muted); margin: 16px 0 24px; }
.contact-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-card svg {
  width: 24px; height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-card .label { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.contact-card .value { font-size: 16px; font-weight: 600; color: var(--text); }
.contact-card .value a { color: var(--text); }
.contact-card .value a:hover { color: var(--primary); }
.success-msg, .error-msg {
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 15px;
}
.success-msg { background: rgba(16,185,129,.10); color: #047857; border: 1px solid rgba(16,185,129,.3); }
.error-msg { background: rgba(239,68,68,.10); color: #b91c1c; border: 1px solid rgba(239,68,68,.3); }

/* ===== LEGAL PAGES (terms, privacy) ===== */
.legal-page { max-width: 820px; margin: 0 auto; padding: 60px 24px; }
.legal-page h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.legal-updated { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }
.legal-intro {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 40px;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}
.legal-section { margin-bottom: 36px; }
.legal-section h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.legal-section p, .legal-section div { color: var(--text-muted); font-size: 16px; line-height: 1.75; }
.legal-section a { color: var(--primary); font-weight: 500; }

/* ===== ABOUT ===== */
.about-hero { text-align: center; padding: 80px 0 60px; }
.about-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.about-hero p { color: var(--text-muted); font-size: 18px; max-width: 600px; margin: 0 auto; }
.story-card {
  background: white;
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  max-width: 820px;
  margin: 0 auto 80px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}
.story-card h2 { color: var(--text); margin-bottom: 20px; font-size: 24px; font-weight: 700; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.value-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow); }
.value-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.value-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.value-card p { color: var(--text-muted); font-size: 14px; }

/* ===== FOOTER ===== */
.site-footer {
  background: #0f0f1e;
  color: #a0a4b8;
  padding: 80px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { color: white; margin-bottom: 16px; }
.footer-brand .logo span { color: white; background: none; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.5); max-width: 280px; }
.footer-col h4 {
  font-size: 14px;
  color: white;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.6);
  padding: 6px 0;
  font-size: 14px;
  transition: color .2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== ANIMATIONS ===== */
.anim {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s, transform .6s;
}
.anim.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform .3s;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav .nav-link { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .main-nav .nav-link:last-child { border-bottom: none; }
  .hamburger { display: flex; }
  .ww-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 60px 0 80px; }
  .hero-stats { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  section { padding: 60px 0; }
  .header-actions .btn-primary { display: none; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-page { padding: 40px 20px; }
  .legal-page h1 { font-size: 30px; }
  .contact-form, .story-card { padding: 28px 20px; }
  .cta-section { padding: 60px 20px; }
  .cta-section h2 { font-size: 28px; }
}
/* ===== POS RECEIPT SHOWCASE ===== */
.pos-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  position: relative;
  overflow: hidden;
}
.pos-section::before {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(102,126,234,.10), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.pos-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.pos-info {
  max-width: 540px;
}
.pos-badge {
  display: inline-block;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.pos-info h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.pos-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.65;
}
.pos-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pos-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pos-feat-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  color: white;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(102,126,234,.25);
}
.pos-feat h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}
.pos-feat p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* The receipt mock */
.pos-receipt-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.pos-receipt-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pos-receipt {
  background: #ffffff;
  width: 320px;
  padding: 24px 18px;
  border-radius: 4px 4px 12px 12px;
  box-shadow:
    0 20px 50px rgba(0,0,0,.12),
    0 1px 0 rgba(0,0,0,.04);
  position: relative;
  transform: rotate(-1.5deg);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.pos-receipt:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow:
    0 30px 70px rgba(0,0,0,.18),
    0 1px 0 rgba(0,0,0,.04);
}
.pos-receipt::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 12px;
  background:
    linear-gradient(135deg, transparent 33.333%, white 33.333%, white 66.667%, transparent 66.667%),
    linear-gradient(45deg, transparent 33.333%, white 33.333%, white 66.667%, transparent 66.667%);
  background-size: 12px 12px;
  background-position: 0 0;
}
.pos-receipt::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 12px;
  background:
    linear-gradient(135deg, white 33.333%, transparent 33.333%, transparent 66.667%, white 66.667%),
    linear-gradient(45deg, white 33.333%, transparent 33.333%, transparent 66.667%, white 66.667%);
  background-size: 12px 12px;
  background-position: 0 100%;
}
.pos-receipt pre {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px;
  line-height: 1.5;
  color: #1a1a2e;
  margin: 0;
  white-space: pre;
  overflow-x: auto;
  letter-spacing: 0;
}
.pos-receipt-caption {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  max-width: 260px;
}

@media (max-width: 900px) {
  .pos-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .pos-receipt {
    transform: none;
  }
  .pos-receipt:hover {
    transform: translateY(-4px);
  }
}

/* ============================================
   DENTALAB DESIGN ADDITIONS (from Claude Design)
   Eyebrow, page-head, hero-blob, story, accent-block,
   values, team, reveal, mobile-sheet
   ============================================ */

:root {
  --gradient-text: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r-xl: 28px;
  --r-pill: 999px;
  --container-narrow: 920px;
  --section-py: 96px;
  --grid-gap: 24px;
  --card-py: 32px;
}

/* Eyebrow micro-label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

/* Heading classes (design system) */
.h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: 0;
}
.h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
.lede {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
  margin: 16px 0 0;
}
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Page head (about, features, pricing inner heros) */
.page-head {
  position: relative;
  padding: 100px 0 60px;
  text-align: center;
  overflow: hidden;
}
.page-head .eyebrow { margin-bottom: 20px; }
.page-head .h1 { max-width: 820px; margin: 0 auto; }
.page-head .lede { max-width: 640px; margin: 20px auto 0; }

/* Hero decorative blobs */
.hero-blob {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  z-index: 0;
}
.hero-blob.a {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(102,126,234,.55) 0%, transparent 70%);
  top: -80px; left: -120px;
}
.hero-blob.b {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(240,147,251,.45) 0%, transparent 70%);
  top: -40px; right: -160px;
}
.hero-blob.c {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(118,75,162,.35) 0%, transparent 70%);
  bottom: -200px; left: 50%;
  transform: translateX(-50%);
}

/* Section utilities */
.section-tight { padding: 60px 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head .h2 { margin-bottom: 16px; }

/* Story (about page) */
.story {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .story { grid-template-columns: 1fr; } }
.story p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px;
}
.story .accent-block {
  background: var(--gradient-soft);
  border: 1px solid rgba(102, 126, 234, .25);
  border-radius: var(--r-lg);
  padding: 28px;
}
.story .accent-num {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.story .accent-lbl {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
}
.story .stat-trio {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.story .stat-trio > div .num {
  font-size: 28px; font-weight: 800; letter-spacing: -.02em;
}
.story .stat-trio > div .lbl {
  font-size: 12px; color: var(--text-muted); margin-top: 2px;
}

/* Values grid */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}
@media (max-width: 880px) { .values { grid-template-columns: 1fr; } }
.value-card {
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.value-card .feature-icon {
  margin-left: auto; margin-right: auto;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--gradient-soft);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--primary);
}
.value-card .feature-icon svg { width: 26px; height: 26px; }
.value-card h3 {
  font-size: 18px; font-weight: 700; margin: 0 0 8px;
}
.value-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

/* Team grid */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
}
@media (max-width: 880px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team { grid-template-columns: 1fr; } }
.member {
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 18px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.member:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.member-av {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--gradient);
  margin: 0 auto 14px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
}
.member-name { font-size: 16px; font-weight: 700; }
.member-role { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Member labs grid (clients) */
.member-labs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
@media (max-width: 720px) { .member-labs { grid-template-columns: 1fr; } }
.lab-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.lab-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(102, 126, 234, .35);
}
.lab-mark {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.lab-info .lab-name {
  font-size: 15px; font-weight: 700; color: var(--text);
}
.lab-info .lab-meta {
  font-size: 12px; color: var(--text-muted); margin-top: 2px;
}

/* Trust strip on home (logo wall replacement) */
.trust-strip {
  text-align: center;
  padding: 36px 0 12px;
}
.trust-strip-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.trust-marks {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.trust-mark:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}
.trust-mark::before {
  content: '';
  display: inline-block;
  width: 24px; height: 24px;
  border-radius: 7px;
  background: var(--gradient);
}

/* CTA banner override (rounded gradient inside container) */
.cta-banner {
  position: relative;
  background: var(--gradient);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 80px 56px;
  text-align: center;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.cta-banner::before, .cta-banner::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  filter: blur(60px);
  z-index: 0;
}
.cta-banner::before { top: -150px; left: -100px; }
.cta-banner::after { bottom: -200px; right: -100px; }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2, .cta-banner .h2 { color: #fff; margin: 0 0 12px; }
.cta-banner p {
  max-width: 540px;
  margin: 12px auto 0;
  font-size: 18px;
  color: rgba(255, 255, 255, .85);
}
.cta-banner .hero-ctas {
  margin-top: 32px;
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
}
@media (max-width: 720px) {
  .cta-banner { padding: 56px 28px; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Reduced motion: instantly visible */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
