/* ============================================
   SMSTAKE — Enterprise SaaS Landing Page
   ============================================ */

:root {
  --primary: #64c6f1;
  --primary-dark: #45a8d8;
  --primary-light: #5fd2fa;
  --secondary: #5fd2fa;
  --accent: #5fd2fa;
  --accent-dark: #4ab5dc;
  --logo-blue: #64c6f1;
  --bg: #FFFFFF;
  --bg-gray: #F8FAFC;
  --bg-gray-dark: #F1F5F9;
  --text: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --border-light: rgba(255, 255, 255, 0.6);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 24px 64px rgba(100, 198, 241, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Poppins', var(--font);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --button-dark: var(--logo-blue);
  --button-dark-hover: var(--primary-dark);
  --header-h: 72px;
  --header-total: var(--header-h);
  --section-y: 72px;
  --section-y-sm: 44px;
  --section-y-compact: 36px;
  --section-header-gap: 36px;
  --section-stack: 40px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul { list-style: none; }

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

.container-narrow {
  max-width: 960px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-top: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: var(--section-header-gap);
}

.section-header .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: var(--section-y) 0;
}

.section-gray {
  background: var(--bg-gray);
}

/* Tighter vertical rhythm between stacked sections */
main .platform-highlights + .trusted,
main .trusted + .section,
main .section + .section,
main .section + .section-gray,
main .section-gray + .section,
main .section-gray + .section-gray,
main .contact.section + .cta-talk {
  padding-top: var(--section-stack);
}

main .platform-highlights + .trusted,
main .trusted + .section,
main .section + .section,
main .section + .section-gray,
main .section-gray + .section,
main .section-gray + .section-gray,
main .contact.section:has(+ .cta-talk) {
  padding-bottom: var(--section-stack);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 7px 16px;
  border-radius: 5px;
  border: 2px solid var(--button-dark);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
  box-shadow: none;
}

.btn-sm { padding: 6px 14px; font-size: 0.75rem; }
.btn-lg { padding: 8px 20px; font-size: 0.875rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--button-dark);
  color: #fff;
  border-color: var(--button-dark);
  box-shadow: 0 8px 18px rgba(100, 198, 241, 0.22);
}

.btn-primary:hover {
  background: var(--button-dark-hover);
  border-color: var(--button-dark-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(69, 168, 216, 0.24);
}

.btn-outline {
  background: #ffffff;
  color: var(--button-dark);
  border: 2px solid var(--button-dark);
}

.btn-call-accent {
  background: #ffffff;
  color: var(--button-dark);
  border: 2px solid var(--button-dark);
  box-shadow: none;
}

.btn-call-accent:hover {
  background: #f8fafc;
  border-color: var(--button-dark-hover);
  color: var(--button-dark-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(100, 198, 241, 0.14);
}

.btn-call-accent span[aria-hidden="true"] {
  color: currentColor;
}

.btn-outline:hover {
  border-color: var(--button-dark-hover);
  color: var(--button-dark-hover);
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(100, 198, 241, 0.14);
}

.nav-actions .btn-ghost {
  color: #545454;
  font-weight: 700;
}

.btn-ghost {
  background: transparent;
  color: var(--button-dark);
  border: none;
  padding: 8px 16px;
  box-shadow: none;
}

.btn-ghost:hover { color: var(--button-dark-hover); }

/* ---- Glass Card ---- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.glass-card-sm {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* ---- Header / Nav ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
  padding: 10px 0;
  line-height: 0;
}

.logo:hover { opacity: 0.92; }

.logo-img {
  display: block;
  width: auto;
  height: auto;
  max-height: calc(var(--header-h) - 22px);
  max-width: min(168px, 38vw);
  object-fit: contain;
  object-position: left center;
}

.footer-logo {
  height: 44px;
  max-width: 200px;
  margin-bottom: 4px;
}

.section-sm { padding: var(--section-y-sm) 0; }

.trusted-label {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #545454;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(100, 198, 241, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

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

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

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: calc(var(--header-total) + 20px) 0 40px;
  overflow: hidden;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
}

.trust-chip .material-symbols-rounded {
  font-size: 15px;
  color: var(--primary);
}

.hero-cta-icon {
  font-size: 1.125rem;
  vertical-align: -3px;
  margin-right: 2px;
}

.btn-expert-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-expert-call-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  text-align: left;
}

.btn-expert-call-number {
  font-weight: 700;
  font-size: 0.9375rem;
  color: inherit;
}

.btn-expert-call-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-ctas .btn span:last-child {
  margin-left: 2px;
}

.hero-sub {
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  color: #475569;
  margin: 12px 0 22px;
  max-width: 520px;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

.hero-sub strong {
  color: #545454;
  font-weight: 600;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(100, 198, 241, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 90% 50%, rgba(95, 210, 250, 0.08), transparent),
    radial-gradient(ellipse 40% 30% at 10% 80%, rgba(95, 210, 250, 0.06), transparent);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(100, 198, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 198, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(100, 198, 241, 0.15);
  top: -100px;
  right: -100px;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(95, 210, 250, 0.12);
  bottom: 0;
  left: -80px;
  animation-delay: -4s;
}

.hero-curve {
  position: absolute;
  border: 1px solid rgba(100, 198, 241, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.hero-curve--1 {
  width: 520px;
  height: 520px;
  top: 8%;
  right: -12%;
  border-color: rgba(100, 198, 241, 0.08);
}

.hero-curve--2 {
  width: 380px;
  height: 380px;
  bottom: -8%;
  left: 38%;
  border-style: dashed;
  border-color: rgba(95, 210, 250, 0.12);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(170px, 205px) minmax(230px, 255px);
  gap: 18px;
  align-items: center;
  position: relative;
}

/* ---- Hero chatbot (between copy & phone) ---- */
.hero-robo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  align-self: stretch;
}

.hero-robo-scene {
  position: relative;
  width: 100%;
  max-width: 228px;
  height: min(500px, calc(100svh - var(--header-total) - 80px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.hero-robo-stage {
  position: relative;
  width: 220px;
  height: 248px;
  flex-shrink: 0;
  margin-bottom: 6px;
}

.hero-robo-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -42%);
  width: 148px;
  height: 185px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.robo-orbit {
  --robo-orbit-items: 6;
  --robo-orbit-radius: 102px;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.robo-orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transform: rotate(calc(var(--i) * (360deg / var(--robo-orbit-items)))) translateY(calc(-1 * var(--robo-orbit-radius))) rotate(calc(var(--i) * (-360deg / var(--robo-orbit-items))));
  animation: roboOrbitFloat 4s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.35s);
}

.robo-orbit-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(100, 198, 241, 0.18);
  box-shadow: 0 4px 14px rgba(100, 198, 241, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.robo-orbit-icon .material-symbols-rounded {
  font-size: 18px;
}

.robo-orbit-label {
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  white-space: nowrap;
}

.robo-orbit-node--sms .robo-orbit-icon {
  color: #64c6f1;
  border-color: rgba(100, 198, 241, 0.28);
}

.robo-orbit-node--rcs .robo-orbit-icon {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.28);
}

.robo-orbit-node--wa .robo-orbit-icon {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.28);
}

.robo-orbit-node--voice .robo-orbit-icon {
  color: #f97316;
  border-color: rgba(249, 115, 22, 0.28);
}

.robo-orbit-node--api .robo-orbit-icon {
  color: #7c3aed;
  border-color: rgba(124, 58, 237, 0.28);
}

.robo-orbit-node--otp .robo-orbit-icon {
  color: #7c3aed;
  border-color: rgba(124, 58, 237, 0.28);
}

@keyframes roboOrbitFloat {
  0%, 100% { filter: drop-shadow(0 2px 6px rgba(100, 198, 241, 0.1)); }
  50% { filter: drop-shadow(0 6px 14px rgba(100, 198, 241, 0.22)); }
}

.hero-robo-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 172px;
  height: 172px;
  margin: -86px 0 0 -86px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 210, 250, 0.2) 0%, rgba(100, 198, 241, 0.06) 50%, transparent 72%);
  animation: roboAuraPulse 4.5s ease-in-out infinite;
  pointer-events: none;
}

.hero-robo-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(100, 198, 241, 0.14);
  animation: roboRingSpin 22s linear infinite;
  pointer-events: none;
}

.hero-robo-ring--outer {
  width: 188px;
  height: 188px;
  margin: -94px 0 0 -94px;
}

.hero-robo-ring--inner {
  width: 148px;
  height: 148px;
  margin: -74px 0 0 -74px;
  border-style: dashed;
  border-color: rgba(95, 210, 250, 0.22);
  animation-direction: reverse;
  animation-duration: 16s;
}

@keyframes roboAuraPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes roboRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-robo-figure {
  position: relative;
  z-index: 2;
  width: 148px;
  height: auto;
  animation: roboFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 12px 28px rgba(100, 198, 241, 0.22));
}

.robo-channel {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px 8px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(100, 198, 241, 0.16);
  border: 1px solid rgba(100, 198, 241, 0.14);
  animation: roboChannelFloat 3.6s ease-in-out infinite;
}

.robo-channel-label {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  line-height: 1;
}

.robo-channel-msg {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.15;
  white-space: nowrap;
}

.robo-channel--sms {
  top: 6px;
  left: 0;
  animation-delay: 0s;
}

.robo-channel--rcs {
  top: 0;
  right: 0;
  animation-delay: -1.2s;
}

.robo-channel--wa {
  bottom: 36px;
  right: 2px;
  animation-delay: -2.4s;
  border-color: rgba(37, 211, 102, 0.22);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.14);
}

.robo-channel--wa .robo-channel-label {
  color: #25D366;
}

@keyframes roboChannelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes roboFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.robo-antenna {
  animation: roboAntenna 2.2s ease-in-out infinite;
}

.robo-eye {
  animation: roboBlink 4.5s ease-in-out infinite;
}

.robo-arm--left {
  transform-origin: 35px 108px;
  animation: roboArmLeft 3.2s ease-in-out infinite;
}

.robo-arm--right {
  transform-origin: 125px 108px;
  animation: roboArmRight 3.2s ease-in-out infinite;
  animation-delay: -1.6s;
}

.robo-bar--1 { animation: roboBarPulse 2.4s ease-in-out infinite; }
.robo-bar--2 { animation: roboBarPulse 2.4s ease-in-out infinite 0.35s; }
.robo-bar--3 { animation: roboBarPulse 2.4s ease-in-out infinite 0.7s; }

@keyframes roboAntenna {
  0%, 100% { fill: #5fd2fa; }
  50% { fill: #64c6f1; }
}

@keyframes roboBlink {
  0%, 42%, 44%, 100% { transform: scaleY(1); }
  43% { transform: scaleY(0.1); }
}

@keyframes roboArmLeft {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-10deg); }
}

@keyframes roboArmRight {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(10deg); }
}

@keyframes roboBarPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(100, 198, 241, 0.1);
  border: 1px solid rgba(100, 198, 241, 0.15);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 10px;
}

.hero-badge-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(100, 198, 241, 0.2);
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
}

#hero-heading {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1;
}

.hero-title-top {
  display: block;
  font-size: clamp(1.0625rem, 2.2vw, 1.375rem);
  font-weight: 600;
  color: #545454;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.hero-title-accent {
  display: block;
  font-size: clamp(1.875rem, 4.2vw, 2.875rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

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

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-ctas .btn {
  pointer-events: auto;
  padding: 8px 18px;
  font-size: 0.8125rem;
}

.hero-ctas .btn-primary {
  background: var(--button-dark);
  color: #ffffff;
  border: 2px solid var(--button-dark);
  box-shadow: 0 8px 18px rgba(100, 198, 241, 0.22);
}

.hero-ctas .btn-primary:hover {
  background: var(--button-dark-hover);
  border-color: var(--button-dark-hover);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(69, 168, 216, 0.24);
}

.hero-ctas .btn-expert-call {
  gap: 8px;
}

.hero-ctas .btn-expert-call .hero-cta-icon {
  color: currentColor;
  font-size: 0.875rem;
}

.hero-ctas .btn-expert-call-number {
  color: currentColor;
  font-size: 0.75rem;
}

.hero-ctas .btn-expert-call-label {
  color: currentColor;
  opacity: 0.72;
  font-size: 0.5625rem;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.hero-stat span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---- Hero Mobile Visual ---- */
.hero-visual {
  --phone-height: min(460px, calc(100svh - var(--header-total) - 80px));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: var(--phone-height);
  max-height: calc(100svh - var(--header-total) - 12px);
  min-height: 0;
  width: 100%;
  overflow: visible;
}

.phone-showcase {
  position: relative;
  height: 100%;
  width: calc(var(--phone-height) * 0.49);
  max-width: 240px;
  margin: 0 0 0 auto;
}

.phone-3d {
  position: relative;
  width: 100%;
  height: 100%;
}

.phone-shadow {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 16px;
  background: radial-gradient(ellipse, rgba(82, 82, 91, 0.18) 0%, transparent 72%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}

.phone-glow {
  display: none;
}

.phone-device {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 3px;
  border-radius: 46px;
  background: #fafafa;
  border: 1px solid #d4d4d8;
  box-shadow:
    0 14px 36px -10px rgba(24, 24, 27, 0.14),
    0 0 0 0.5px rgba(255, 255, 255, 0.9) inset;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.phone-device::before,
.phone-device::after {
  display: none;
}

.phone-bezel {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 42px;
  overflow: hidden;
  background: #18181b;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 0 1px #71717a;
}

.phone-island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 20px;
  background: #09090b;
  border-radius: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 9px;
  border: 1px solid #3f3f46;
}

.phone-island-cam {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #52525b 0%, #09090b 70%);
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.08);
}

.phone-display {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  background: #f4f4f5;
  padding: 32px 9px 0;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.phone-display *,
.phone-display *::before,
.phone-display *::after {
  box-sizing: border-box;
}

.phone-inbox {
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.phone-home-bar {
  flex-shrink: 0;
  height: 14px;
  background: #f4f4f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px;
}

.phone-home-bar span {
  width: 30%;
  max-width: 96px;
  height: 3px;
  background: #a1a1aa;
  border-radius: 100px;
}

/* ---- Phone Message Demo ---- */
.phone-inbox-head {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  margin-bottom: 7px;
  width: 100%;
  max-width: 100%;
}

.phone-brand-name {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #3f3f46;
  line-height: 1.15;
}

.phone-verified-tick {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Real Android-style SMS (hero + channel SMS tab) */
.phone-messages .real-sms,
.channel-phone-showcase .real-sms {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e4e4e7;
  background: #fff;
}

.phone-display .demo-msg--sms.active {
  padding: 0;
}

.real-sms-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px 5px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.real-sms-bar__icon {
  font-size: 13px;
  color: #475569;
  flex-shrink: 0;
}

.real-sms-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d1d5db;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.real-sms-avatar .material-symbols-rounded {
  font-size: 12px;
}

.real-sms-sender {
  font-size: 0.5625rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42%;
}

.real-sms-verified {
  width: 11px;
  height: 11px;
  font-size: 0.4375rem;
}

.real-sms-menu {
  margin-left: auto;
}

.real-sms-feed {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #f5f7fa;
  padding: 6px 6px 0;
}

.real-sms-unread {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
  color: #1a73e8;
  font-size: 0.4rem;
  font-weight: 600;
}

.real-sms-unread::before,
.real-sms-unread::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #1a73e8;
}

.real-sms-time {
  text-align: center;
  font-size: 0.4rem;
  color: #64748b;
  margin: 0 0 6px;
}

.real-sms-bubble {
  align-self: flex-start;
  max-width: 94%;
  background: #e4e1ec;
  border-radius: 14px 14px 14px 4px;
  padding: 8px 9px;
}

.real-sms-bubble p {
  font-size: 0.4375rem;
  line-height: 1.5;
  color: #1e293b;
  margin: 0;
}

.real-sms-bubble strong {
  font-weight: 700;
}

.real-sms-meta {
  align-self: flex-start;
  margin: 4px 0 0 4px;
  font-size: 0.4rem;
  color: #64748b;
}

.real-sms-reply-banner {
  margin-top: auto;
  background: #dceefd;
  border-radius: 12px 12px 0 0;
  padding: 8px 8px 7px;
  font-size: 0.4rem;
  color: #334155;
  text-align: center;
  line-height: 1.45;
}

.real-sms-reply-banner a {
  color: #1a73e8;
  font-weight: 600;
  text-decoration: none;
}

/* Real Android-style RCS (hero + channel RCS tab) */
.phone-messages .real-rcs,
.channel-phone-showcase .real-rcs {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e4e4e7;
  background: #fff;
}

.phone-display .demo-msg--rcs.active {
  padding: 0;
}

.real-rcs-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px 5px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.real-rcs-bar__icon {
  font-size: 13px;
  color: #475569;
  flex-shrink: 0;
}

.real-rcs-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}

.real-rcs-avatar--mosaic {
  background:
    linear-gradient(135deg, #f97316 0 25%, transparent 25%),
    linear-gradient(225deg, #8b5cf6 0 25%, transparent 25%),
    linear-gradient(315deg, #22c55e 0 25%, transparent 25%),
    linear-gradient(45deg, #3b82f6 0 25%, transparent 25%);
  background-color: #fef3c7;
  background-size: 9px 9px;
  background-position: 0 0, 0 4px, 4px -4px, -4px 0;
}

.real-rcs-sender {
  font-size: 0.5625rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 38%;
}

.real-rcs-verified {
  width: 11px;
  height: 11px;
  font-size: 0.4375rem;
}

.real-rcs-menu {
  margin-left: auto;
}

.real-rcs-feed {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #e8edf2;
  padding: 5px;
}

.real-rcs-card {
  background: #f8f9fb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
  border: 1px solid #e2e8f0;
}

.real-rcs-img {
  width: 100%;
  height: 58px;
  object-fit: cover;
  display: block;
}

.real-rcs-body {
  padding: 5px 7px;
}

.real-rcs-body p {
  font-size: 0.4rem;
  line-height: 1.4;
  color: #334155;
  margin: 0 0 4px;
}

.real-rcs-list {
  list-style: none;
  margin: 3px 0 4px;
  padding: 0;
  font-size: 0.4rem;
  color: #475569;
}

.real-rcs-list li {
  margin-bottom: 1px;
}

.real-rcs-sign {
  font-size: 0.375rem !important;
  color: #64748b !important;
  margin-bottom: 0 !important;
  line-height: 1.35 !important;
}

.real-rcs-actions span {
  display: block;
  padding: 5px 8px;
  text-align: center;
  font-size: 0.4375rem;
  font-weight: 600;
  color: #1a73e8;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

.real-rcs-compose {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 5px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

.real-rcs-compose-plus {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-size: 0.625rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.real-rcs-compose-field {
  flex: 1;
  min-width: 0;
  background: #f1f5f9;
  border-radius: 14px;
  padding: 4px 8px;
  font-size: 0.375rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.real-rcs-compose-icons {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.real-rcs-compose-icons .material-symbols-rounded {
  font-size: 12px;
  color: #64748b;
}

.real-rcs-compose-voice {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.real-rcs-compose-voice .material-symbols-rounded {
  font-size: 11px;
}

.phone-inbox-meta {
  min-width: 0;
  flex: 1;
}

.phone-inbox-title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #3f3f46;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-inbox-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.625rem;
  color: #71717a;
  font-weight: 500;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-dot-inline {
  width: 5px;
  height: 5px;
  background: #a1a1aa;
  border-radius: 50%;
}

.phone-dlt-badge {
  font-size: 0.5rem;
  font-weight: 600;
  color: #64c6f1;
  background: rgba(100, 198, 241, 0.1);
  padding: 2px 6px;
  border-radius: 100px;
  border: 1px solid rgba(100, 198, 241, 0.25);
  flex-shrink: 0;
  white-space: nowrap;
}

.phone-channel-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  flex-shrink: 0;
  margin-bottom: 7px;
  width: 100%;
}

.phone-pill {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 2px;
  font-family: var(--font);
  font-size: 0.5625rem;
  font-weight: 600;
  color: #71717a;
  background: #fafafa;
  border: 1px solid #d4d4d8;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  overflow: hidden;
  letter-spacing: 0.02em;
}

.phone-pill.active,
.phone-pill[data-demo="sms"].active {
  color: #fff;
  background: #64c6f1;
  border-color: #64c6f1;
  box-shadow: 0 2px 8px rgba(100, 198, 241, 0.35);
}

.phone-pill[data-demo="rcs"].active {
  color: #fff;
  background: linear-gradient(135deg, #64c6f1 0%, #5fd2fa 100%);
  border-color: #5fd2fa;
  box-shadow: 0 2px 8px rgba(95, 210, 250, 0.35);
}

.phone-pill[data-demo="wa"].active {
  color: #fff;
  background: #25D366;
  border-color: #25D366;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}

.phone-pill[data-demo="voice"].active {
  color: #fff;
  background: #7C3AED;
  border-color: #7C3AED;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35);
}

.phone-messages {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-display .demo-msg.active {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.phone-display .demo-msg-label {
  margin-bottom: 4px;
  font-size: 0.5rem;
  flex-shrink: 0;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.04em;
  color: #64c6f1;
  font-weight: 600;
}

.phone-display .demo-sms-card,
.phone-display .demo-rcs-card,
.phone-display .demo-wa-card,
.phone-display .demo-voice-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid #e4e4e7;
  box-shadow: none;
}

.phone-display .demo-sms-card {
  padding: 9px;
  flex: 1;
  min-height: 0;
  background: linear-gradient(180deg, #f0f9ff 0%, #fafafa 100%);
  border-color: rgba(100, 198, 241, 0.25);
}

.phone-display .demo-sms-header strong {
  color: #64c6f1;
}

.phone-display .demo-sms-body strong {
  color: #45a8d8;
}

.phone-display .demo-sms-meta span {
  background: #f0f9ff;
  color: #64748b;
  border: 1px solid rgba(100, 198, 241, 0.2);
}

.phone-display .demo-sms-meta span:first-child {
  color: #25D366;
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.25);
}

.phone-display .demo-rcs-card {
  border-width: 1px;
  border-color: rgba(100, 198, 241, 0.25);
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #f0f9ff 0%, #fafafa 100%);
  box-shadow: none;
}

.phone-display .demo-rcs-top {
  border-bottom: 1px solid rgba(100, 198, 241, 0.15);
}

.phone-display .demo-rcs-brand {
  color: #64c6f1;
}

.phone-display .demo-verified {
  color: #25D366;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.25);
}

.phone-display .demo-rcs-banner {
  height: 52px;
  flex-shrink: 0;
}

.phone-display .demo-rcs-banner-overlay {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.5) 100%);
}

.phone-display .demo-rcs-sale,
.phone-display .demo-rcs-sale-sub {
  color: #fafafa;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.phone-display .demo-rcs-sale {
  font-size: 0.875rem;
}

.phone-display .demo-rcs-sale-sub {
  font-size: 0.5rem;
  margin-top: 1px;
}

.phone-display .demo-rcs-content h4 {
  color: #3f3f46;
}

.phone-display .demo-rcs-content p {
  color: #71717a;
}

.phone-display .demo-rcs-actions span {
  border: 1px solid #d4d4d8;
}

.phone-display .demo-rcs-actions span:first-child {
  background: linear-gradient(135deg, #64c6f1, #5fd2fa);
  color: #fff;
  border-color: #64c6f1;
}

.phone-display .demo-rcs-actions span:last-child {
  background: #fff;
  color: #64c6f1;
  border-color: rgba(100, 198, 241, 0.35);
}

.phone-display .demo-wa-header {
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

.phone-display .demo-wa-avatar {
  background: #25D366;
}

.phone-display .demo-wa-chat {
  background: #e5ddd5;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4cdc4' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.phone-display .demo-wa-bubble--out {
  background: #d9fdd3;
  color: #111b21;
}

.phone-display .demo-wa-link {
  color: #128C7E;
}

.phone-display .demo-voice-card {
  background: linear-gradient(180deg, #f5f3ff 0%, #fafafa 100%);
  border: 1px solid rgba(124, 58, 237, 0.2);
  box-shadow: none;
  color: #3f3f46;
  flex: 1;
  min-height: 0;
}

.phone-display .demo-voice-avatar {
  background: linear-gradient(135deg, #7C3AED, #a78bfa);
  border: none;
  animation: none;
}

.phone-display .demo-voice-avatar .material-symbols-rounded {
  color: #fff;
}

.phone-display .demo-voice-status {
  color: #7C3AED;
}

.phone-display .demo-voice-caller {
  color: #64c6f1;
}

.phone-display .demo-voice-number {
  color: #64748b;
}

.phone-display .demo-voice-wave {
  background: linear-gradient(90deg, #64c6f1 20%, #5fd2fa 50%, #64c6f1 80%);
}

.phone-display .demo-voice-otp {
  color: #7C3AED;
}

.phone-display .demo-voice-otp strong {
  color: #64c6f1;
}

.phone-display .demo-voice-btn--decline {
  background: #fff;
  border: 1px solid #e4e4e7;
  box-shadow: none;
}

.phone-display .demo-voice-btn--accept {
  background: linear-gradient(135deg, #64c6f1, #5fd2fa);
  border: 1px solid #64c6f1;
  box-shadow: 0 2px 8px rgba(100, 198, 241, 0.35);
}

.phone-display .demo-sms-body {
  margin-bottom: 5px;
  font-size: 0.625rem;
  line-height: 1.4;
}

.phone-display .demo-sms-meta {
  padding-top: 5px;
  gap: 4px;
}

.phone-display .demo-sms-meta span {
  font-size: 0.5rem;
  padding: 2px 6px;
}

.phone-display .demo-rcs-card {
  border-width: 1px;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.phone-display .demo-rcs-top {
  padding: 7px 9px;
}

.phone-display .demo-rcs-content {
  padding: 7px 9px;
  flex: 1;
  min-height: 0;
}

.phone-display .demo-rcs-content h4 {
  font-size: 0.6875rem;
  margin-bottom: 2px;
}

.phone-display .demo-rcs-content p {
  font-size: 0.5625rem;
  margin-bottom: 5px;
  line-height: 1.3;
}

.phone-display .demo-rcs-actions {
  display: flex;
  gap: 4px;
}

.phone-display .demo-rcs-actions span {
  flex: 1;
  min-width: 0;
  font-size: 0.5rem;
  padding: 4px 3px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-display .demo-rcs-dots {
  display: none;
}

.phone-display .demo-wa-card {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.phone-display .demo-wa-header {
  padding: 7px 10px;
  flex-shrink: 0;
}

.phone-display .demo-wa-avatar {
  width: 26px;
  height: 26px;
  font-size: 0.6875rem;
}

.phone-display .demo-wa-header strong {
  font-size: 0.6875rem;
}

.phone-display .demo-wa-header span {
  font-size: 0.5625rem;
}

.phone-display .demo-wa-chat {
  padding: 7px 8px;
  gap: 5px;
  flex: 1;
  min-height: 0;
}

.phone-display .demo-wa-bubble {
  padding: 7px 9px;
  font-size: 0.6875rem;
  line-height: 1.4;
}

.phone-display .demo-wa-bubble--out p {
  margin-bottom: 3px;
}

.phone-display .demo-wa-link {
  font-size: 0.5625rem;
  margin-top: 2px;
}

.phone-display .demo-wa-ticks {
  font-size: 0.5rem;
  margin-top: 2px;
  color: #34B7F1;
}

.phone-display .demo-voice-card {
  padding: 10px 8px 8px;
}

.phone-display .demo-voice-avatar {
  width: 30px;
  height: 30px;
  margin-bottom: 5px;
}

.phone-display .demo-voice-status {
  font-size: 0.5625rem;
  margin-bottom: 2px;
}

.phone-display .demo-voice-caller {
  font-size: 0.75rem;
}

.phone-display .demo-voice-number {
  font-size: 0.625rem;
  margin-bottom: 8px;
}

.phone-display .demo-voice-wave {
  height: 18px;
  margin-bottom: 5px;
}

.phone-display .demo-voice-otp {
  font-size: 0.5625rem;
  margin-bottom: 8px;
}

.phone-display .demo-voice-actions {
  gap: 14px;
}

.phone-display .demo-voice-btn {
  width: 28px;
  height: 28px;
}

.demo-msg {
  display: none;
  animation: demoFadeIn 0.45s ease;
}

.demo-msg.active {
  display: block;
}

@keyframes demoFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-msg-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding: 0 2px;
}

.demo-msg-label .material-symbols-rounded {
  font-size: 14px;
}

/* SMS demo */
.demo-sms-card {
  background: white;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border);
}

.demo-sms-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.demo-sms-header strong {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.demo-time {
  font-size: 0.625rem;
  color: var(--text-light);
}

.demo-sms-body {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 12px;
}

.demo-sms-body strong {
  font-size: 1.125rem;
  color: var(--primary);
  letter-spacing: 0.15em;
}

.demo-sms-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

.demo-sms-meta span {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(95, 210, 250, 0.1);
  padding: 3px 8px;
  border-radius: 100px;
}

.demo-sms-meta span:last-child {
  color: var(--text-muted);
  background: var(--bg-gray);
}

/* RCS demo */
.demo-rcs-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(100, 198, 241, 0.15);
  border: 2px solid rgba(100, 198, 241, 0.12);
}

.demo-rcs-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: white;
  border-bottom: 1px solid var(--border);
}

.demo-rcs-brand {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
}

.demo-verified {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--accent-dark);
  background: rgba(95, 210, 250, 0.12);
  padding: 3px 8px;
  border-radius: 100px;
}

.demo-rcs-banner {
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.demo-rcs-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.demo-rcs-banner-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.45) 100%);
}

.demo-rcs-sale {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
  line-height: 1;
}

.demo-rcs-sale-sub {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.demo-rcs-content {
  padding: 14px;
}

.demo-rcs-content h4 {
  font-size: 0.9375rem;
  margin-bottom: 6px;
}

.demo-rcs-content p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.demo-rcs-actions {
  display: flex;
  gap: 8px;
}

.demo-rcs-actions span {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: default;
}

.demo-rcs-actions span:first-child {
  background: var(--primary);
  color: white;
}

.demo-rcs-actions span:last-child {
  background: var(--bg-gray);
  color: var(--primary);
  border: 1px solid var(--border);
}

.demo-rcs-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 0 14px 14px;
}

.demo-rcs-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
}

.demo-rcs-dots span.active {
  background: var(--primary);
  width: 16px;
  border-radius: 4px;
}

/* WhatsApp demo */
.demo-wa-card {
  background: #e5ddd5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.demo-wa-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #075e54;
  color: white;
}

.demo-wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.demo-wa-header strong {
  display: block;
  font-size: 0.8125rem;
}

.demo-wa-header span {
  font-size: 0.625rem;
  opacity: 0.85;
}

.demo-wa-chat {
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h30v30H0zm30 30h30v30H30z' fill='%23d4cdc4' fill-opacity='0.4'/%3E%3C/svg%3E");
}

.demo-wa-bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.75rem;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.demo-wa-bubble--in {
  align-self: flex-start;
  background: white;
  border-bottom-left-radius: 4px;
  color: var(--text);
}

.demo-wa-bubble--out {
  align-self: flex-end;
  background: #dcf8c6;
  border-bottom-right-radius: 4px;
  color: var(--text);
}

.demo-wa-bubble--out p {
  margin-bottom: 4px;
}

.demo-wa-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #027eb5;
  text-decoration: none;
}

.demo-wa-ticks {
  display: block;
  text-align: right;
  font-size: 0.5625rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Voice demo */
.demo-voice-card {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-radius: 16px;
  padding: 20px 14px 16px;
  text-align: center;
  color: white;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.demo-voice-avatar {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.25);
  border: 2px solid rgba(124, 58, 237, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: voicePulse 2s ease infinite;
}

.demo-voice-avatar .material-symbols-rounded {
  font-size: 22px;
  color: #a78bfa;
}

@keyframes voicePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(124, 58, 237, 0); }
}

.demo-voice-status {
  font-size: 0.625rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 4px;
}

.demo-voice-caller {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.demo-voice-number {
  font-size: 0.75rem;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.demo-voice-wave {
  width: 100%;
  height: 28px;
  margin: 0 auto 10px;
  background: linear-gradient(90deg, #7c3aed 20%, #a78bfa 50%, #7c3aed 80%);
  background-size: 200% 100%;
  border-radius: 6px;
  animation: waveAnim 1.5s ease infinite;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40'%3E%3Cpath d='M0 20 Q10 5 20 20 T40 20 T60 20 T80 20 T100 20 T120 20' stroke='black' fill='none' stroke-width='3'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40'%3E%3Cpath d='M0 20 Q10 5 20 20 T40 20 T60 20 T80 20 T100 20 T120 20' stroke='black' fill='none' stroke-width='3'/%3E%3C/svg%3E");
}

.demo-voice-otp {
  font-size: 0.6875rem;
  color: #e2e8f0;
  margin-bottom: 14px;
}

.demo-voice-otp strong {
  display: inline-block;
  letter-spacing: 0.12em;
  color: #a78bfa;
  font-size: 0.8125rem;
}

.demo-voice-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.demo-voice-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.demo-voice-btn--decline {
  background: #ef4444;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.demo-voice-btn--accept {
  background: #22c55e;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.phone-demo-footer {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 5px;
  width: 100%;
  flex-wrap: wrap;
}

.phone-demo-footer span,
.phone-footer-icon {
  font-size: 0.6875rem;
  line-height: 1;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 100px;
  white-space: nowrap;
}

.phone-footer-icon--delivery {
  color: #64c6f1;
  background: rgba(100, 198, 241, 0.12);
  border: 1px solid rgba(100, 198, 241, 0.3);
}

.phone-footer-icon--india {
  background: linear-gradient(135deg, rgba(255, 153, 51, 0.12), rgba(19, 136, 8, 0.1));
  border: 1px solid rgba(19, 136, 8, 0.25);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  font-size: 0.625rem;
  font-weight: 600;
  color: #52525b;
  margin-bottom: 7px;
  padding: 0 1px;
  width: 100%;
}

.phone-signal span {
  background: #71717a;
}

.phone-battery {
  border-color: #71717a;
}

.phone-battery::before {
  background: #71717a;
}

.phone-battery::after {
  background: #71717a;
}

/* Legacy form styles (unused) */
.phone-app-head,
.phone-form,
.phone-trust-row { display: none; }

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.phone-battery {
  width: 18px;
  height: 9px;
  border: 1.5px solid #71717a;
  border-radius: 2px;
  position: relative;
  opacity: 0.85;
}

.phone-battery::before {
  content: '';
  position: absolute;
  inset: 1.5px 3px 1.5px 1.5px;
  background: #71717a;
  border-radius: 1px;
}

.phone-battery::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 4px;
  background: #71717a;
  border-radius: 0 1px 1px 0;
}

.phone-signal {
  display: flex;
  gap: 2px;
  align-items: flex-end;
}

.phone-signal span {
  width: 3px;
  background: #71717a;
  border-radius: 1px;
}

.phone-signal span:nth-child(1) { height: 4px; opacity: 0.4; }
.phone-signal span:nth-child(2) { height: 6px; opacity: 0.6; }
.phone-signal span:nth-child(3) { height: 8px; opacity: 0.8; }
.phone-signal span:nth-child(4) { height: 10px; }

.phone-app-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.phone-app-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.phone-app-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-app-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.phone-app-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.phone-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-field label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 0 14px;
  min-height: 48px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.phone-field label:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(100, 198, 241, 0.12);
}

.phone-field .material-symbols-rounded {
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.phone-prefix {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  padding-right: 8px;
  border-right: 1px solid var(--border);
  margin-right: 4px;
  flex-shrink: 0;
}

.phone-field input,
.phone-field select {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 0.8125rem;
  color: var(--text);
  outline: none;
  min-width: 0;
  padding: 12px 0;
}

.phone-field input::placeholder {
  color: var(--text-light);
}

.phone-field select {
  color: var(--text-muted);
  cursor: default;
}

.phone-cta {
  display: block;
  text-align: center;
  text-decoration: none;
  margin-top: 6px;
  width: 100%;
  padding: 14px 20px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(100, 198, 241, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.phone-cta:hover {
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(100, 198, 241, 0.4);
}

.phone-trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.phone-trust-row span {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: white;
  padding: 5px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.phone-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  animation: floatCard 5s ease-in-out infinite;
  z-index: 2;
}

.phone-float .material-symbols-rounded {
  font-size: 24px;
  color: var(--accent);
}

.phone-float strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.phone-float span:not(.material-symbols-rounded) {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.phone-float--delivery {
  top: 12%;
  right: -10%;
  animation-delay: 0s;
  transform: scale(0.9) rotateY(-18deg);
  z-index: 2;
}

.phone-float--delivery .material-symbols-rounded {
  color: var(--accent);
}

.phone-float--sms,
.phone-float--wa {
  display: none;
}

.phone-msg-preview {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.msg-from {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.phone-msg-preview > span:last-child {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text);
  max-width: 140px;
  line-height: 1.3;
}

/* Legacy dashboard styles kept for channel panels */
.dashboard-mock {
  display: none;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s ease infinite;
}

.dashboard-body {
  display: flex;
  padding: 16px;
  gap: 12px;
}

.dash-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px;
}

.dash-nav-item {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-gray);
}

.dash-nav-item.active {
  background: rgba(100, 198, 241, 0.12);
}

.dash-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.dash-metric {
  padding: 12px;
}

.metric-label {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
}

.metric-change {
  font-size: 0.6875rem;
  font-weight: 600;
}

.metric-change.positive { color: var(--accent); }

.dash-chart {
  padding: 14px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 12px;
}

.chart-header span:first-child { font-weight: 600; }
.chart-period { color: var(--text-muted); }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}

.bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, rgba(100, 198, 241, 0.3), rgba(100, 198, 241, 0.1));
  border-radius: 4px 4px 0 0;
  transition: height 1s ease;
}

.bar.active {
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.dash-channels {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.channel-pill {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
}

.channel-pill.sms { background: rgba(100, 198, 241, 0.12); color: var(--primary); }
.channel-pill.whatsapp { background: rgba(37, 211, 102, 0.12); color: #25D366; }
.channel-pill.rcs { background: rgba(95, 210, 250, 0.12); color: #64c6f1; }
.channel-pill.voice { background: rgba(139, 92, 246, 0.1); color: #7C3AED; }

/* Float cards */
.float-card {
  position: absolute;
  padding: 12px 16px;
  animation: floatCard 5s ease-in-out infinite;
}

.float-phone {
  bottom: -20px;
  left: -30px;
  width: 120px;
  padding: 8px;
  animation-delay: -2s;
}

.phone-screen {
  background: var(--text);
  border-radius: 12px;
  padding: 20px 8px 12px;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: #334155;
  border-radius: 4px;
}

.msg-bubble {
  background: #1E293B;
  color: white;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.625rem;
  line-height: 1.4;
}

.verified-badge {
  display: block;
  color: var(--accent);
  font-size: 0.5625rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.float-api {
  top: 20px;
  right: -20px;
  font-size: 0.75rem;
  animation-delay: -1s;
}

.float-api code {
  display: block;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: var(--primary);
  font-size: 0.6875rem;
}

.api-status {
  display: block;
  margin-top: 4px;
  font-size: 0.625rem;
  color: var(--accent);
  font-weight: 600;
}

.float-bot {
  bottom: 60px;
  right: -40px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  animation-delay: -3s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

.channel-pill.webhook { background: rgba(8, 145, 178, 0.12); color: #0891b2; }

.float-rcs {
  top: 50%;
  left: -30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  animation-delay: -2.5s;
}

/* ---- Platform Highlights ---- */
.platform-highlights {
  background: var(--bg-gray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--section-y-sm) 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.highlight-item {
  text-align: center;
  padding: 8px 12px;
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(100, 198, 241, 0.14), rgba(95, 210, 250, 0.08));
  border: 1px solid rgba(100, 198, 241, 0.2);
  color: var(--primary);
}

.highlight-icon .material-symbols-rounded {
  font-size: 1.5rem;
}

.highlight-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.highlight-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 240px;
  margin: 0 auto;
}

/* ---- Channels Showcase ---- */
.channel-showcase {
  max-width: 1000px;
  margin: 0 auto;
}

.channel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  row-gap: 10px;
  margin-bottom: 24px;
  justify-content: center;
}

.channel-tab {
  padding: 10px 24px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  -webkit-font-smoothing: antialiased;
}

.icon-tab {
  font-size: 20px;
  flex-shrink: 0;
}

.icon-tab--sms { color: var(--primary); }
.icon-tab--rcs { color: var(--secondary); }
.icon-tab--whatsapp { color: #25D366; }
.icon-tab--voice { color: #7C3AED; }
.icon-tab--webhook { color: #0891b2; }

.channel-tab.active .icon-tab {
  color: white;
}

.channel-tab.active .icon-tab--whatsapp {
  color: white;
}

.panel-icon {
  font-size: 28px;
  vertical-align: middle;
  margin-right: 8px;
}

.channel-panel-content h3 {
  display: flex;
  align-items: center;
}

.service-gicon {
  font-size: 28px;
  color: var(--icon-color);
}

.channel-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.channel-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(100, 198, 241, 0.3);
}

.channel-panel {
  display: none;
  padding: 40px;
  gap: 40px;
  align-items: center;
}

.channel-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.channel-panel-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.channel-panel-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.channel-features {
  margin-bottom: 28px;
}

.channel-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.channel-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Channel section — homepage-style phone mockup */
.channel-phone-showcase {
  --channel-phone-height: 400px;
  position: relative;
  width: calc(var(--channel-phone-height) * 0.49);
  height: var(--channel-phone-height);
  max-width: 100%;
  margin: 0 auto;
  flex-shrink: 0;
}

.channel-phone-showcase .phone-3d {
  width: 100%;
  height: 100%;
}

.channel-phone-showcase .phone-glow {
  opacity: 0.65;
}

.channel-phone-showcase .phone-shadow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 14px;
  background: radial-gradient(ellipse, rgba(24, 24, 27, 0.2) 0%, transparent 72%);
  filter: blur(4px);
  z-index: 0;
}

.channel-phone-showcase .phone-device {
  border-radius: 42px;
  padding: 3px;
  box-shadow:
    0 16px 40px -12px rgba(24, 24, 27, 0.22),
    0 0 0 0.5px rgba(255, 255, 255, 0.95) inset;
}

.channel-phone-showcase .phone-bezel {
  border-radius: 39px;
}

.channel-phone-showcase .phone-island {
  width: 68px;
  height: 18px;
  top: 9px;
  padding-right: 8px;
}

.channel-phone-showcase .phone-island-cam {
  width: 9px;
  height: 9px;
}

.channel-phone-showcase .phone-display {
  padding: 28px 8px 0;
  background: #f4f4f5;
}

.channel-phone-showcase .phone-status {
  padding: 0 10px 4px;
}

.channel-phone-showcase .phone-time {
  font-size: 0.5625rem;
}

.channel-phone-showcase .phone-home-bar {
  height: 14px;
  padding-bottom: 4px;
  background: #f4f4f5;
}

.channel-phone-showcase .phone-home-bar span {
  width: 38%;
  height: 3px;
  background: #a1a1aa;
}

.channel-phone-showcase .phone-messages {
  overflow: hidden;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Realistic in-app message views (channel tabs only) */
.channel-phone-showcase .channel-native {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e4e4e7;
  background: #fff;
}

.channel-phone-showcase .channel-native-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px 5px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.channel-phone-showcase .channel-native-bar--wa {
  background: #075e54;
  border-bottom-color: #054a44;
  color: #fff;
}

.channel-phone-showcase .channel-native-bar__icon {
  font-size: 13px;
  color: #475569;
  flex-shrink: 0;
}

.channel-phone-showcase .channel-native-bar--wa .channel-native-bar__icon {
  color: #fff;
}

.channel-phone-showcase .channel-native-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #64c6f1;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-phone-showcase .channel-native-avatar--wa {
  background: #25d366;
}

.channel-phone-showcase .channel-native-title {
  font-size: 0.5625rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.channel-phone-showcase .channel-native-bar--wa .channel-native-title,
.channel-phone-showcase .channel-native-bar--wa .channel-native-sub {
  color: #fff;
}

.channel-phone-showcase .channel-native-wa-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.channel-phone-showcase .channel-native-sub {
  font-size: 0.4rem;
  font-weight: 400;
  opacity: 0.85;
}

.channel-phone-showcase .channel-native-verified {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  font-size: 0.4rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-phone-showcase .channel-native-menu {
  margin-left: auto;
}

.channel-phone-showcase .channel-native-feed {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* WhatsApp */
.channel-phone-showcase .channel-native-feed--wa {
  background: #e5ddd5;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d4cdc4' fill-opacity='0.45'%3E%3Cpath d='M0 0h10v10H0zm20 0h10v10H20zm20 0h10v10H40zm20 0h10v10H60zM10 10h10v10H10zm20 0h10v10H30zm20 0h10v10H50zM0 20h10v10H0zm20 0h10v10H20zm20 0h10v10H40zm20 0h10v10H60z'/%3E%3C/g%3E%3C/svg%3E");
  padding: 5px;
}

.channel-phone-showcase .channel-wa-img {
  width: 100%;
  height: 62px;
  object-fit: cover;
  display: block;
}

.channel-phone-showcase .channel-wa-chip {
  font-size: 0.375rem;
  color: #54656f;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 5px;
  padding: 3px 5px;
  text-align: center;
  margin: 0 0 5px;
}

.channel-phone-showcase .channel-wa-date {
  text-align: center;
  font-size: 0.375rem;
  color: #54656f;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  padding: 2px 7px;
  width: fit-content;
  margin: 0 auto 6px;
}

.channel-phone-showcase .channel-wa-rich {
  background: #fff;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  max-width: 94%;
}

.channel-phone-showcase .channel-wa-rich-body {
  padding: 5px 7px;
}

.channel-phone-showcase .channel-wa-domain {
  font-size: 0.375rem;
  color: #1a73e8;
  margin: 0 0 2px;
}

.channel-phone-showcase .channel-wa-rich-body p {
  font-size: 0.4375rem;
  line-height: 1.35;
  color: #111b21;
  margin: 0 0 3px;
}

.channel-phone-showcase .channel-wa-time {
  font-size: 0.375rem;
  color: #667781;
}

.channel-phone-showcase .channel-wa-cta span {
  display: block;
  padding: 5px 7px;
  text-align: center;
  font-size: 0.4375rem;
  font-weight: 600;
  color: #00a884;
  border-top: 1px solid #e9edef;
}

.channel-phone-showcase .channel-wa-compose {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 4px 6px;
  background: #f0f2f5;
  font-size: 0.375rem;
  color: #667781;
}

.channel-phone-showcase .channel-wa-compose span:first-child {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  padding: 4px 9px;
}

/* Voice */
.channel-phone-showcase .channel-native-feed--voice {
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, #f5f3ff 0%, #fafafa 100%);
  padding: 10px 6px;
}

.channel-phone-showcase .channel-voice-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.channel-phone-showcase .channel-voice-icon .material-symbols-rounded {
  font-size: 16px;
}

.channel-phone-showcase .channel-native-feed--voice p {
  font-size: 0.4375rem;
  color: #64748b;
  margin: 0 0 2px;
}

.channel-phone-showcase .channel-native-feed--voice strong {
  font-size: 0.5625rem;
  color: #0f172a;
}

.channel-phone-showcase .channel-voice-otp {
  margin-top: 6px;
  font-size: 0.5rem;
  color: #7c3aed;
  font-weight: 600;
}

.channel-panel-visual.webhook-visual .webhook-preview {
  width: 100%;
  max-width: 360px;
}

.channel-panel-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
}

.msg-preview {
  background: #F1F5F9;
  border-radius: var(--radius-sm);
  padding: 16px;
  max-width: 300px;
  border: 1px solid var(--border);
}

.msg-header {
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.msg-body {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.msg-footer {
  font-size: 0.6875rem;
  color: var(--text-light);
}

.rcs-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 280px;
  border: 1px solid var(--border);
}

.rcs-brand {
  padding: 10px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
}

.rcs-image {
  height: 100px;
  overflow: hidden;
  background: var(--bg-gray);
}

.rcs-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.rcs-title {
  padding: 12px 14px 8px;
  font-weight: 600;
  font-size: 0.9375rem;
}

.rcs-actions {
  display: flex;
  gap: 8px;
  padding: 0 14px 14px;
}

.rcs-actions span {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(100, 198, 241, 0.1);
  border-radius: 100px;
}

.wa-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 280px;
}

.wa-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.8125rem;
  max-width: 85%;
  line-height: 1.4;
}

.wa-bubble.inbound {
  background: white;
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.wa-bubble.outbound {
  background: #DCF8C6;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.voice-ui {
  text-align: center;
  padding: 32px;
}

.voice-wave {
  width: 120px;
  height: 40px;
  margin: 0 auto 16px;
  background: linear-gradient(90deg, var(--primary) 20%, var(--secondary) 50%, var(--primary) 80%);
  background-size: 200% 100%;
  border-radius: 8px;
  animation: waveAnim 1.5s ease infinite;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40'%3E%3Cpath d='M0 20 Q10 5 20 20 T40 20 T60 20 T80 20 T100 20 T120 20' stroke='black' fill='none' stroke-width='3'/%3E%3C/svg%3E");
}

@keyframes waveAnim {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.voice-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.voice-number {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 4px;
}

.webhook-preview {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(100, 198, 241, 0.15);
  border-radius: var(--radius-sm);
  max-width: 320px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.webhook-preview-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(100, 198, 241, 0.08);
}

.webhook-method {
  font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #5fd2fa;
  background: rgba(95, 210, 250, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
}

.webhook-url {
  font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.6875rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.webhook-payload {
  margin: 0;
  padding: 14px;
  font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.6875rem;
  line-height: 1.55;
  color: #cbd5e1;
  white-space: pre-wrap;
}

/* ---- Custom Solutions ---- */
.custom-banner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  padding: 40px 44px;
  align-items: center;
  background: linear-gradient(135deg, rgba(100, 198, 241, 0.06) 0%, rgba(255, 255, 255, 0.95) 55%, rgba(95, 210, 250, 0.08) 100%);
  border: 1px solid rgba(100, 198, 241, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(100, 198, 241, 0.08);
}

.custom-section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(100, 198, 241, 0.1);
  border: 1px solid rgba(100, 198, 241, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
}

.custom-section-label .material-symbols-rounded {
  font-size: 15px;
}

.custom-heading-accent {
  color: var(--primary);
}

.custom-content h2 {
  margin-bottom: 16px;
}

.custom-content > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 540px;
}

.custom-list {
  margin-bottom: 32px;
  list-style: none;
  padding: 0;
}

.custom-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.custom-list li::before {
  content: none;
}

.custom-list-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(100, 198, 241, 0.12);
  color: var(--primary);
  font-size: 16px;
}

.custom-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.custom-ctas .btn span {
  margin-left: 4px;
}

.custom-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.custom-orbit-scene {
  width: min(100%, 500px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
}

.custom-orbit-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  pointer-events: none;
  user-select: none;
}

.custom-platform-visual {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.95) 0 24%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(231, 247, 255, 0.9));
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.1);
  isolation: isolate;
}

.custom-platform-visual::before,
.custom-platform-visual::after {
  content: "";
  position: absolute;
  inset: 44px;
  border: 1px solid rgba(100, 198, 241, 0.3);
  border-radius: 50%;
  z-index: 1;
}

.custom-platform-visual::after {
  inset: 94px;
  border-style: dashed;
  animation: customPlatformSpin 26s linear infinite;
}

.custom-platform-glow {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 198, 241, 0.25), transparent 68%);
  filter: blur(6px);
  animation: customPlatformPulse 4.8s ease-in-out infinite;
  z-index: 0;
}

.custom-platform-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 233, 0.16);
  transform: translate(-50%, -50%);
  z-index: 1;
}

.custom-platform-ring--outer {
  width: 78%;
  height: 78%;
}

.custom-platform-ring--inner {
  width: 55%;
  height: 55%;
}

.custom-platform-route {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(100, 198, 241, 0.8), transparent);
  transform-origin: 50% 50%;
  z-index: 1;
}

.custom-platform-route--one {
  transform: rotate(0deg);
  animation: customPlatformRoute 3.8s ease-in-out infinite;
}

.custom-platform-route--two {
  transform: rotate(90deg);
  animation: customPlatformRoute 3.8s ease-in-out 1.2s infinite;
}

.custom-platform-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46%;
  min-height: 56%;
  padding: 18px;
  transform: translate(-50%, -50%);
  border: 12px solid #111827;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.2);
  z-index: 4;
}

.custom-platform-card-top {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 18px;
}

.custom-platform-card-top span {
  width: 22px;
  height: 5px;
  border-radius: 999px;
  background: #111827;
}

.custom-platform-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #0f3a73;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  line-height: 1;
}

.custom-platform-brand .material-symbols-rounded {
  color: #1687e8;
  font-size: 22px;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}

.custom-platform-card p {
  margin: 8px 0 18px;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
}

.custom-platform-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.custom-platform-tabs span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(100, 198, 241, 0.14);
  color: #1382bc;
  font-size: 0.68rem;
  font-weight: 800;
}

.custom-platform-message {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef8ff, #f8fcff);
  box-shadow: inset 0 0 0 1px rgba(100, 198, 241, 0.15);
}

.custom-platform-message span {
  color: #126bc1;
  font-size: 1rem;
  font-weight: 900;
}

.custom-platform-message small {
  color: #94a3b8;
  font-weight: 700;
}

.custom-platform-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 900;
}

.custom-platform-status .material-symbols-rounded {
  color: #16bf68;
  font-size: 20px;
  font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}

.custom-platform-node {
  --node-color: var(--primary);
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 112px;
  color: #0f2756;
  font-size: 0.88rem;
  font-weight: 900;
  text-align: center;
  line-height: 1.1;
  z-index: 3;
  animation: customPlatformFloat 4.2s ease-in-out infinite;
}

.custom-platform-node .material-symbols-rounded {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 8px solid #fff;
  border-radius: 50%;
  background: var(--node-color);
  color: #fff;
  font-size: 30px;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.14);
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 28;
}

.custom-platform-node--sms {
  --node-color: #0a63cf;
  left: 50%;
  top: 9%;
  transform: translateX(-50%);
}

.custom-platform-node--rcs {
  --node-color: #19c778;
  right: 15%;
  top: 23%;
  animation-delay: -0.7s;
}

.custom-platform-node--whatsapp {
  --node-color: #19c778;
  right: 7%;
  top: 51%;
  animation-delay: -1.3s;
}

.custom-platform-node--voice {
  --node-color: #ff9715;
  right: 22%;
  bottom: 10%;
  animation-delay: -1.9s;
}

.custom-platform-node--api {
  --node-color: #1687e8;
  left: 21%;
  bottom: 9%;
  animation-delay: -2.4s;
}

.custom-platform-node--bot {
  --node-color: #5d63e8;
  left: 7%;
  top: 50%;
  animation-delay: -3s;
}

.custom-platform-node--webhook {
  --node-color: #7357e8;
  left: 15%;
  top: 23%;
  animation-delay: -3.5s;
}

@keyframes customPlatformSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes customPlatformPulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes customPlatformRoute {
  0%,
  100% {
    opacity: 0.18;
  }

  50% {
    opacity: 0.8;
  }
}

@keyframes customPlatformFloat {
  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .custom-platform-visual::after,
  .custom-platform-glow,
  .custom-platform-route,
  .custom-platform-node {
    animation: none;
  }
}

.custom-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  margin: 28px 0 0;
  padding: 18px 20px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

@media (min-width: 1200px) {
  .custom-perks {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding: 16px 18px;
  }
}

.custom-perk {
  text-align: center;
  padding: 2px 4px;
}

.custom-perk-icon {
  display: block;
  margin: 0 auto 6px;
  font-size: 1.375rem;
  color: var(--primary);
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.custom-perk h3 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.2;
}

.custom-perk p {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
}

/* ---- Ready to Talk CTA ---- */
.cta-talk {
  padding: var(--section-y-sm) 0;
  background: var(--bg);
}

.cta-talk-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08), 0 4px 16px rgba(15, 23, 42, 0.05);
  background: linear-gradient(108deg, #fff 0%, #fafafa 42%, #f5f5f5 100%);
}

.cta-talk-dots {
  position: absolute;
  z-index: 1;
  width: 72px;
  height: 72px;
  background-image: radial-gradient(circle, rgba(100, 198, 241, 0.5) 2px, transparent 2px);
  background-size: 11px 11px;
  pointer-events: none;
}

.cta-talk-dots--tr {
  top: 18px;
  right: 22px;
}

.cta-talk-dots--br {
  bottom: 88px;
  right: 28px;
}

.cta-talk-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 76px;
  width: min(44%, 500px);
  background:
    linear-gradient(95deg, #f5f5f5 0%, rgba(245, 245, 245, 0.6) 30%, rgba(255, 255, 255, 0.1) 62%, transparent 80%),
    url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1200&q=80") center right / cover no-repeat;
  pointer-events: none;
}

.cta-talk-main {
  position: relative;
  z-index: 2;
  max-width: 56%;
  padding: 40px 44px 32px;
}

.cta-talk-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.cta-talk-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: #fff;
  border: 1px solid rgba(100, 198, 241, 0.45);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.cta-talk-badge .material-symbols-rounded {
  font-size: 1.125rem;
  color: var(--primary);
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.cta-talk-title-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.cta-talk-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
}

.cta-talk-bubble {
  flex-shrink: 0;
  margin-left: 2px;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--primary);
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
  line-height: 1;
}

.cta-talk-lead {
  max-width: 34rem;
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.cta-talk-actions {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cta-talk-phone {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  max-width: 100%;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.cta-talk-phone:hover {
  color: inherit;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.cta-talk-phone-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(100, 198, 241, 0.35);
  line-height: 0;
}

.cta-talk-phone-icon .material-symbols-rounded {
  display: block;
  width: 1.375rem;
  height: 1.375rem;
  font-size: 1.375rem;
  line-height: 1.375rem;
  text-align: center;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.cta-talk-phone-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cta-talk-phone-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: 0.02em;
}

.cta-talk-phone-number {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.cta-talk-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.cta-talk-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cta-talk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 128px;
  padding: 7px 16px;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--button-dark);
  border-radius: 5px;
  border: 2px solid var(--button-dark);
  transition: all var(--transition);
}

.cta-talk-btn-demo {
  background: var(--button-dark);
  border-color: var(--button-dark);
  color: #fff;
  box-shadow: 0 8px 18px rgba(100, 198, 241, 0.22);
}

.cta-talk-btn-demo:hover {
  color: #fff;
  background: var(--button-dark-hover);
  border-color: var(--button-dark-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(69, 168, 216, 0.24);
}

.cta-talk-btn-wa {
  background: #ffffff;
  border-color: var(--button-dark);
  color: var(--button-dark);
  box-shadow: none;
}

.cta-talk-btn-wa:hover {
  color: var(--button-dark-hover);
  background: #f8fafc;
  border-color: var(--button-dark-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(100, 198, 241, 0.14);
}

.cta-talk-btn-wa svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.cta-talk-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cta-talk-features li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.cta-talk-features .material-symbols-rounded {
  font-size: 1.125rem;
  color: var(--primary);
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.cta-talk-trust {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 20px 24px;
  background: #fff;
  border-top: 1px solid var(--border);
}

.cta-talk-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 20px;
  min-height: 52px;
}

.cta-talk-trust-item:not(:last-child) {
  border-right: 1px solid #e2e8f0;
}

.cta-talk-trust-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(100, 198, 241, 0.35);
}

.cta-talk-trust-icon .material-symbols-rounded {
  display: block;
  font-size: 24px;
  line-height: 1;
  width: 24px;
  height: 24px;
  color: #fff;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  -webkit-font-smoothing: antialiased;
}

.cta-talk-trust-item > div {
  min-width: 0;
  text-align: left;
}

.cta-talk-trust-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
}

.cta-talk-trust-item > div > span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
}

@media (max-width: 992px) {
  .cta-talk-main {
    max-width: none;
    padding: 32px 28px 24px;
  }

  .cta-talk-photo {
    bottom: auto;
    width: 100%;
    height: 120px;
    position: relative;
    opacity: 0.75;
    background:
      linear-gradient(180deg, transparent 0%, #f5f5f5 90%),
      url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1200&q=80") center / cover no-repeat;
  }

  .cta-talk-trust {
    grid-template-columns: 1fr 1fr;
  }

  .cta-talk-trust-item:nth-child(odd) {
    border-right: 1px solid #e2e8f0;
  }

  .cta-talk-trust-item:nth-child(2) {
    border-right: none;
  }

  .cta-talk-trust-item:not(:last-child) {
    border-right: none;
  }
}

/* Legacy CTA banner (kept for compatibility) */
.cta-banner {
  background: var(--primary);
  padding: 52px 0;
  text-align: center;
}

.cta-inner {
  position: relative;
}

.cta-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
}

.cta-inner h2 {
  color: white;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.cta-sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto 24px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.btn-cta-primary {
  background: var(--button-dark);
  color: #ffffff;
  font-weight: 700;
  border: 2px solid var(--button-dark);
  box-shadow: 0 8px 18px rgba(100, 198, 241, 0.22);
  min-width: 128px;
  letter-spacing: 0.01em;
}

.btn-cta-primary:hover {
  background: var(--button-dark-hover);
  color: #ffffff;
  border-color: var(--button-dark-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(69, 168, 216, 0.24);
}

.btn-cta-secondary {
  background: #ffffff;
  color: var(--button-dark);
  font-weight: 600;
  border: 2px solid var(--button-dark);
  min-width: 128px;
  letter-spacing: 0.01em;
}

.btn-cta-secondary:hover {
  background: #f8fafc;
  border-color: var(--button-dark-hover);
  color: var(--button-dark-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(100, 198, 241, 0.14);
}

.btn-white {
  background: white;
  color: var(--button-dark);
  border-color: var(--button-dark);
  box-shadow: none;
}

.btn-white:hover {
  background: #f8fafc;
  color: var(--button-dark-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(100, 198, 241, 0.14);
}

.btn-outline-white {
  background: #ffffff;
  color: var(--button-dark);
  border: 2px solid var(--button-dark);
}

.btn-outline-white:hover {
  background: #f8fafc;
  border-color: var(--button-dark-hover);
  color: var(--button-dark-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(100, 198, 241, 0.14);
}

.code-comment { color: var(--text-light); font-style: italic; }

/* ---- Trusted ---- */
.trusted {
  padding: var(--section-y-sm) 0;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 24px 32px;
  margin-top: 0;
  padding: 8px 0;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.logo-item:hover {
  transform: translateY(-2px);
  border-color: rgba(100, 198, 241, 0.15);
  box-shadow: var(--shadow-md);
}

.logo-item img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 52px;
  height: auto;
  object-fit: contain;
}

.logo-item--emblem {
  max-height: 56px;
}

@media (max-width: 1024px) {
  .logo-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 20px;
  }
}

@media (max-width: 600px) {
  .logo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .logo-item {
    min-height: 56px;
    padding: 10px 12px;
  }

  .logo-item img {
    max-height: 44px;
  }
}

/* ---- Services ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  padding: 28px;
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(100, 198, 241, 0.2);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--icon-bg);
  color: var(--icon-color);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-link {
  font-size: 0.875rem;
  font-weight: 600;
}

/* ---- Why Choose ---- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}

.why-content .btn {
  margin-top: 32px;
}

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

.feature-item {
  padding: 24px;
  transition: transform var(--transition);
}

.feature-item:hover {
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.feature-item h4 {
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---- Analytics ---- */
.analytics-preview {
  padding: 0;
  overflow: hidden;
}

.analytics-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.toolbar-tabs {
  display: flex;
  gap: 4px;
}

.tab {
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
}

.tab.active,
.tab:hover {
  background: rgba(100, 198, 241, 0.1);
  color: var(--primary);
}

.toolbar-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.analytics-stat {
  padding: 24px;
  background: white;
  text-align: center;
}

.a-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.a-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}

.a-trend {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
}

.a-trend.up {
  background: rgba(95, 210, 250, 0.1);
  color: var(--accent-dark);
}

.a-trend.down {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
}

.analytics-chart-area {
  padding: 24px;
  background: white;
}

.line-chart {
  width: 100%;
  height: 160px;
}

.chart-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawLine 2s ease forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* ---- API ---- */
.api-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.api-features {
  margin: 24px 0 32px;
}

.api-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.api-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.code-block {
  overflow: hidden;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border);
}

.code-lang-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  min-width: 0;
}

.code-lang-tab {
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.code-lang-tab.active,
.code-lang-tab:hover {
  background: rgba(100, 198, 241, 0.12);
  color: var(--primary);
}

.code-lang-tab:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.code-copy {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 6px;
  transition: background var(--transition);
}

.code-copy:hover {
  background: rgba(100, 198, 241, 0.1);
}

.code-panel {
  display: none;
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  font-size: 0.8125rem;
  line-height: 1.7;
}

.code-panel.active {
  display: block;
}

.code-keyword { color: #7C3AED; }
.code-fn { color: var(--primary); }
.code-string { color: var(--accent-dark); }

/* ---- Industries ---- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-card {
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.industry-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 16px;
}

.industry-card h4 {
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  margin: 0;
}

.stars {
  color: #FBBF24;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9375rem;
}

.testimonial-card footer span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---- Pricing ---- */
.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
  padding: 4px;
  background: white;
  border-radius: var(--radius-sm);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-sm);
}

.toggle-btn {
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-btn.active {
  background: var(--primary);
  color: white;
}

.save-badge {
  font-size: 0.6875rem;
  padding: 2px 8px;
  background: rgba(95, 210, 250, 0.2);
  color: var(--accent-dark);
  border-radius: 100px;
}

.toggle-btn.active .save-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  padding: 36px;
  position: relative;
  transition: transform var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
}

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

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 8px 0 24px;
}

.plan-price {
  margin-bottom: 28px;
}

.currency {
  font-size: 1.25rem;
  font-weight: 600;
  vertical-align: top;
}

.amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.amount.custom {
  font-size: 2.25rem;
}

.period {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.plan-features {
  margin-bottom: 28px;
}

.plan-features li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

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

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ---- FAQ ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--primary);
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-details {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  font-size: 1.25rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(100, 198, 241, 0.1);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-item a:not(.map-open-btn),
.contact-item span {
  font-size: 0.9375rem;
  color: var(--text);
}

.contact-item .map-open-btn {
  color: #fff;
}

.contact-item .map-open-btn:hover {
  color: #fff;
}

.contact-item .map-open-btn .material-symbols-rounded {
  color: #fff;
}

.contact-item-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item-links a {
  font-size: 0.9375rem;
  color: var(--text);
}

.contact-address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text);
  max-width: 360px;
  margin: 0 0 12px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer .footer-contact p {
  font-size: 0.875rem;
  color: #94A3B8;
  margin: 0;
  line-height: 1.5;
}

.footer .footer-contact a {
  color: #E2E8F0;
  font-weight: 500;
}

.footer .footer-contact a:hover {
  color: #ffffff;
}

.footer .footer-address {
  line-height: 1.45;
  margin-top: 2px;
  color: #94A3B8;
}

.contact-form {
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 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 3px rgba(100, 198, 241, 0.12);
}

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

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

.form-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ---- Footer ---- */
.footer {
  background: #545454;
  color: #E2E8F0;
  padding: 36px 0 32px;
}

.footer-shell {
  background: #545454;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px 0 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(4, 1fr);
  gap: 28px 22px;
}

.footer-brand {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  padding-left: 20px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: #ffffff;
  border-radius: 10px;
  line-height: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.footer-brand .footer-logo {
  margin-bottom: 0;
}

.footer-blurb {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #D1D5DB;
  margin: 0 0 14px;
  max-width: 300px;
}

.footer-phones {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.footer-phones p {
  margin: 0;
  font-size: 0.8125rem;
  color: #D1D5DB;
}

.footer-phones a {
  color: #fff;
  font-weight: 600;
}

.footer-phones a:hover {
  color: var(--primary-light);
}

.footer .social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-links a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #94A3B8;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.footer-links {
  align-self: start;
}

.footer-links h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  flex-shrink: 0;
}

.footer-col-icon .material-symbols-rounded {
  font-size: 0.9375rem;
}

.footer-col-icon--channels {
  background: rgba(100, 198, 241, 0.15);
  color: var(--primary);
}

.footer-col-icon--platform {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.footer-col-icon--support {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.footer-col-icon--legal {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

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

.footer-links li:last-child {
  margin-bottom: 0;
}

.footer-links a {
  font-size: 0.8125rem;
  color: #D1D5DB;
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #B0B8C4;
  margin: 0;
}

/* ---- Animations / Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.15s;
}

/* ---- Responsive ---- */
@media (min-width: 1025px) {
  .hero {
    padding-top: calc(var(--header-total) + 12px);
    padding-bottom: 32px;
  }

  .hero-inner {
    align-items: center;
    gap: 16px;
    grid-template-columns: minmax(0, 1.08fr) minmax(160px, 200px) 250px;
  }

  .hero-visual {
    --phone-height: min(440px, calc(100svh - var(--header-total) - 96px));
  }
}

@media (max-width: 1024px) {
  .hero-inner,
  .why-grid,
  .api-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hero-robo {
    display: none;
  }

  .hero-visual {
    --phone-height: min(360px, 52svh);
  }

  .custom-perks {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 14px 12px;
    margin-top: 24px;
  }

  .hero-visual {
    order: 1;
    height: var(--phone-height);
    max-height: calc(100svh - var(--header-total) - 100px);
    width: 100%;
    margin: 0 auto;
    justify-content: center;
  }

  .phone-showcase {
    height: var(--phone-height);
    width: calc(var(--phone-height) * 0.49);
    max-width: 230px;
    margin: 0 auto;
  }

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

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

  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .pricing-card.featured {
    transform: none;
  }

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

  .footer-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --section-y: 52px;
    --section-y-sm: 40px;
    --section-stack: 28px;
    --section-header-gap: 28px;
  }

  .container { padding-inline: 16px; }

  .logo-img {
    max-height: calc(var(--header-h) - 20px);
    max-width: min(148px, 46vw);
  }

  .nav-menu,
  .nav-actions {
    display: none;
  }

  .nav-toggle { display: flex; }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-total);
    left: 0;
    right: 0;
    background: white;
    padding: 10px 16px 14px;
    gap: 2px;
    z-index: 1001;
    max-height: calc(100vh - var(--header-total) - 12px);
    overflow-y: auto;
    border-top: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  }

  .nav-menu.open .nav-link {
    display: block;
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    text-align: left;
  }

  .hero {
    padding-bottom: 32px;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
    white-space: normal;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .channel-panel.active {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .channel-panel-visual {
    min-height: 220px;
    order: -1;
  }

  .channel-phone-showcase {
    --channel-phone-height: 340px;
  }

  .custom-banner {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .custom-visual {
    min-height: auto;
  }

  .custom-orbit-scene {
    max-width: 360px;
    border-radius: 28px;
  }

  .custom-platform-visual {
    max-width: 360px;
    border-radius: 28px;
  }

  .custom-platform-card {
    width: 48%;
    min-height: 52%;
    padding: 14px;
    border-width: 10px;
    border-radius: 28px;
  }

  .custom-platform-card-top {
    margin-bottom: 12px;
  }

  .custom-platform-card p {
    margin-bottom: 12px;
    font-size: 0.66rem;
  }

  .custom-platform-tabs {
    gap: 5px;
    margin-bottom: 12px;
  }

  .custom-platform-tabs span {
    padding: 5px 7px;
    font-size: 0.58rem;
  }

  .custom-platform-message {
    padding: 13px;
  }

  .custom-platform-message span {
    font-size: 0.78rem;
  }

  .custom-platform-status {
    margin-top: 12px;
    font-size: 0.72rem;
  }

  .custom-platform-node {
    width: 82px;
    gap: 5px;
    font-size: 0.66rem;
  }

  .custom-platform-node .material-symbols-rounded {
    width: 50px;
    height: 50px;
    border-width: 6px;
    font-size: 24px;
  }

  .custom-platform-node--rcs {
    right: 11%;
  }

  .custom-platform-node--whatsapp {
    right: 3%;
  }

  .custom-platform-node--bot {
    left: 3%;
  }

  .custom-platform-node--webhook {
    left: 9%;
  }

  .custom-perks {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px 10px;
  }

  .custom-perk h3 {
    font-size: 0.6875rem;
  }

  .custom-perk p {
    font-size: 0.625rem;
  }

  .cta-talk {
    padding: var(--section-y-sm) 0;
  }

  .cta-talk-main {
    max-width: none;
    padding: 28px 20px 22px;
  }

  .cta-talk-photo {
    position: relative;
    bottom: auto;
    width: 100%;
    height: 130px;
    opacity: 0.75;
    background:
      linear-gradient(180deg, transparent 0%, #f5f5f5 90%),
      url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1200&q=80") center / cover no-repeat;
  }

  .cta-talk-card {
    display: block;
  }

  .cta-talk-dots--br {
    bottom: 82px;
  }

  @media (max-width: 640px) {
    .cta-talk-head {
      gap: 8px 12px;
    }

    .cta-talk-btns {
      flex-direction: column;
      align-items: stretch;
    }

    .cta-talk-btn {
      flex: none;
      width: 100%;
    }
  }

  .cta-talk-row {
    gap: 12px;
  }

  .cta-talk-btns {
    width: 100%;
  }

  .cta-talk-btn {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }

  .cta-talk-features {
    justify-content: flex-start;
    gap: 8px 14px;
  }

  .cta-talk-trust {
    grid-template-columns: 1fr 1fr;
    padding: 14px 12px;
    gap: 12px 0;
  }

  .cta-talk-trust-item {
    padding: 8px 10px;
  }

  .cta-talk-trust-item:nth-child(2) {
    border-right: none;
  }

  .cta-talk-trust-item:not(:last-child) {
    border-right: none;
  }

  .cta-talk-trust-item:nth-child(odd) {
    border-right: 1px solid #e2e8f0;
  }

  .cta-banner {
    padding: 44px 0;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .services-grid,
  .features-grid,
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .service-card {
    padding: 22px;
  }

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

  .footer-shell {
    padding: 24px 0 16px;
    border-radius: 16px;
  }

  .footer-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    padding-left: 12px;
    padding-right: 12px;
  }

  .footer-blurb {
    max-width: none;
  }

  .footer-links {
    min-width: 0;
    padding: 0 10px;
  }

  .footer-links h4 {
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    font-size: 0.625rem;
    letter-spacing: 0.05em;
  }

  .footer-col-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }

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

  .footer-links a {
    font-size: 0.8125rem;
    line-height: 1.35;
  }

  .footer-bottom {
    padding-top: 16px;
  }

  .phone-float--delivery {
    right: -6%;
    top: 6%;
    transform: scale(0.85);
  }

  .phone-float--sms {
    left: 0;
    bottom: 20%;
    padding: 8px 12px;
  }

  .phone-float--wa {
    right: 0;
    bottom: 0;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .services-grid,
  .features-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .highlights-grid {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---- Legal Pages ---- */
.legal-page .nav-menu--legal {
  display: flex;
  align-items: center;
  gap: 4px;
}

.legal-main {
  padding: calc(var(--header-total) + 40px) 0 56px;
  background: var(--bg-gray);
  min-height: 60vh;
}

.legal-container {
  max-width: 860px;
}

.legal-header {
  margin-bottom: 32px;
}

.legal-header h1 {
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.legal-content {
  padding: 48px;
}

.legal-content > p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin: 32px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.legal-content h2:first-of-type {
  border-top: none;
  margin-top: 24px;
}

.legal-content h3 {
  font-size: 1rem;
  margin: 20px 0 10px;
  font-family: var(--font);
  font-weight: 600;
}

.legal-content ul {
  margin: 12px 0 16px 20px;
  list-style: disc;
}

.legal-content li {
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.65;
}

.legal-content a {
  color: var(--primary);
  font-weight: 500;
}

.legal-content a.btn-primary {
  color: #ffffff;
}

.legal-content a.btn-primary:hover {
  color: #ffffff;
}

.legal-contact-box {
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 12px;
}

.legal-contact-box p {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.9375rem;
}

.legal-nav-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}

.footer-bottom--legal {
  flex-direction: column;
  text-align: center;
  border-top: none;
  padding-top: 0;
}

.footer-bottom--legal a {
  color: #94A3B8;
}

.footer-bottom--legal a:hover {
  color: white;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 28px 20px;
  }

  .legal-page .nav {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .legal-page .nav-menu.nav-menu--legal {
    display: flex;
    flex-wrap: wrap;
    position: static;
    width: 100%;
    order: 3;
    padding: 0;
    background: transparent;
    gap: 2px 4px;
    overflow: visible;
  }

  .legal-page .nav-menu.nav-menu--legal .nav-link {
    padding: 8px 12px;
    font-size: 0.875rem;
  }

  .legal-page .nav-actions {
    display: flex;
    margin-left: auto;
  }
}

/* Floating WhatsApp chat */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow:
    0 4px 14px rgba(37, 211, 102, 0.45),
    0 2px 6px rgba(15, 23, 42, 0.12);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.wa-float:hover {
  background: #1ebe57;
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 8px 22px rgba(37, 211, 102, 0.5),
    0 4px 10px rgba(15, 23, 42, 0.14);
}

.wa-float:focus-visible {
  outline: 2px solid #25d366;
  outline-offset: 3px;
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 640px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }

  .wa-float {
    display: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 9998;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    gap: 2px;
    min-height: 64px;
    padding: 8px 8px 10px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    box-shadow:
      0 18px 40px rgba(15, 23, 42, 0.18),
      0 6px 18px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
  }

  .mobile-bottom-nav__item {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 14px;
    color: #545454;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
  }

  .mobile-bottom-nav__item .material-symbols-rounded,
  .mobile-bottom-nav__item svg {
    width: 22px;
    height: 22px;
    font-size: 22px;
    flex-shrink: 0;
  }

  .mobile-bottom-nav__item--primary {
    min-height: 58px;
    margin-top: -20px;
    border-radius: 18px;
    background: #545454;
    color: #fff;
    box-shadow: 0 10px 24px rgba(84, 84, 84, 0.32);
  }

  .mobile-bottom-nav__item--primary .material-symbols-rounded {
    color: #fff;
    font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24;
  }

  .mobile-bottom-nav__item--whatsapp {
    color: #25d366;
  }

  .mobile-bottom-nav__item:active {
    transform: translateY(1px);
  }
}

/* ---- SEO: Breadcrumbs, Glossary, Maps, Service Hub ---- */
.breadcrumb {
  margin-bottom: 16px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--border);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.glossary-item {
  padding: 20px;
  margin: 0;
}

.glossary-item dt {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.glossary-item dd {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.map-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  padding: 10px 18px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: #545454;
  border: 2px solid #545454;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(84, 84, 84, 0.22);
  transition: all var(--transition);
}

.map-open-btn:hover {
  color: #fff;
  background: #3d3d3d;
  border-color: #3d3d3d;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(84, 84, 84, 0.28);
}

.map-open-btn .material-symbols-rounded {
  font-size: 1.125rem;
  color: #fff;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.map-open-btn-arrow {
  font-size: 1rem !important;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24 !important;
  opacity: 0.9;
}

.service-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.service-hub-card {
  padding: 24px;
}

.service-hub-card h2 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.service-hub-card h2 a {
  color: var(--text);
}

.service-hub-card h2 a:hover {
  color: var(--primary);
}

.service-hub-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 16px 0 24px;
}

.seo-table th,
.seo-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
}

.seo-table th {
  background: var(--bg-gray);
  font-weight: 600;
}

.error-page {
  text-align: center;
  padding-bottom: 80px;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px 0;
}

.error-sitemap {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  font-size: 0.875rem;
}

.error-sitemap a {
  color: var(--primary);
}

/* ---- Blog ---- */
.blog-container {
  max-width: 1080px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.blog-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card h2 {
  font-size: 1.125rem;
  line-height: 1.35;
  margin: 10px 0 12px;
}

.blog-card h2 a {
  color: var(--text);
}

.blog-card h2 a:hover {
  color: var(--primary);
}

.blog-card > p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin: 0 0 16px;
}

.blog-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: rgba(100, 198, 241, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
}

.blog-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-light);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.article-header {
  margin-bottom: 24px;
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
  margin: 12px 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.article-meta a {
  color: var(--primary);
}

.article-related {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.article-related h2 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.article-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-related a {
  font-size: 0.9375rem;
  color: var(--primary);
}

.blog-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  font-size: 0.875rem;
}

.blog-post-nav a {
  color: var(--primary);
  max-width: 45%;
}

.code-inline-block {
  background: #0f172a;
  color: #e2e8f0;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 16px 0 24px;
}

.code-inline-block code {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  white-space: pre;
}
