/*
Theme Name: Grapphen Vox
Theme URI: https://grapphenvox.com
Author: Grapphen Team
Author URI: https://grapphen.com
Description: Modern, crystal-clear business cloud phone and telephony platform theme for Grapphen Vox. Unified palette: Violet (#7C3AED), Emerald (#10B981), Orange (#F97316), and deep eggplant (#1F1035).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: grapphenvox
Tags: voice, voip, cloud-phone, telephony, business, webrtc, saas
*/

/* ── Design System Variables ────────────────────────────────────────── */
:root {
  --primary:         #7C3AED;
  --primary-light:   #A78BFA;
  --primary-dark:    #5B21B6;
  --primary-glow:    rgba(124, 58, 237, 0.25);
  --secondary:       #F97316;
  --secondary-light: #FED7AA;
  --accent:          #10B981;
  --accent-light:    #A7F3D0;
  --pink:            #EC4899;
  --pink-light:      #FBCFE8;
  --text:            #4B5563;
  --text-dark:       #1F1035;
  --text-muted:      #6B7280;
  --text-light:      #9CA3AF;
  --bg:              #FFFFFF;
  --bg-soft:         #FAF5FF;
  --surface:         #F9FAFB;
  --surface-card:    #FFFFFF;
  --border:          #E5E7EB;
  --border-light:    rgba(229, 231, 235, 0.6);
  --radius:          1.5rem;
  --radius-md:       1rem;
  --radius-sm:       0.75rem;
  --radius-full:     9999px;
  --shadow-sm:       0 2px 8px rgba(124, 58, 237, 0.04);
  --shadow:          0 8px 30px rgba(124, 58, 237, 0.08);
  --shadow-lg:       0 20px 60px rgba(124, 58, 237, 0.16);
  --transition:      0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
}

/* ── Reset & Typography ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 800;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); letter-spacing: -0.02em; margin-bottom: 1rem; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; font-weight: 700; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

p {
  color: var(--text);
  margin-bottom: 1.25rem;
}
p:last-child { margin-bottom: 0; }

ul { list-style: none; }

/* ── Container & Grid ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-sm {
  padding: 4rem 0;
}

.section-lg {
  padding: 8.5rem 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.bg-soft { background-color: var(--bg-soft); }
.bg-surface { background-color: var(--surface); }
.bg-white { background-color: #ffffff; }

/* ── Badges & Labels ────────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.08);
  color: var(--primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-orange {
  background: rgba(249, 115, 22, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #A855F7 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.gradient-emerald {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(124, 58, 237, 0.35);
  color: #FFFFFF !important;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, #EA580C 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.25);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(249, 115, 22, 0.4);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.25);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(16, 185, 129, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: rgba(124, 58, 237, 0.25);
  color: var(--primary) !important;
}

.btn-outline:hover {
  background: rgba(124, 58, 237, 0.05);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-white {
  background: #FFFFFF;
  color: var(--text-dark) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.btn-white:hover {
  background: #F9FAFB;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.btn-sm {
  padding: 0.6rem 1.35rem;
  font-size: 0.875rem;
}

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

/* ── Cards & Glassmorphism ──────────────────────────────────────────── */
.vox-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.vox-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.glass-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.glass-dark {
  background: rgba(31, 16, 53, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

/* ── Header & Navigation ────────────────────────────────────────────── */
.vox-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.08);
  transition: all var(--transition);
}

.vox-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo svg {
  width: 32px;
  height: 32px;
}

.header-logo-img {
  height: 28px !important;
  max-height: 28px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: 28px !important;
  max-height: 28px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain;
  display: block;
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary);
  border-radius: var(--radius-full);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.5rem 0;
  position: relative;
}

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

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  min-width: 260px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background: var(--bg-soft);
  color: var(--primary);
}

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
}

/* ── Banner Announcements ───────────────────────────────────────────── */
.top-announcement {
  background: linear-gradient(90deg, #5B21B6 0%, #7C3AED 50%, #EC4899 100%);
  color: #FFFFFF;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.top-announcement a {
  color: #FFFFFF;
  text-decoration: underline;
  margin-left: 0.5rem;
}

/* ── Hero Dialer Mockup ─────────────────────────────────────────────── */
.vox-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.dialer-mockup-wrapper {
  position: relative;
}

.dialer-frame {
  background: #180D38;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 25px 70px rgba(31, 16, 53, 0.4);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.dialer-frame::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.dialer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
}

.dialer-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  display: inline-block;
  margin-right: 0.4rem;
}

.dialer-screen {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.dialer-screen-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.dialer-screen-status {
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.keypad-btn {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.keypad-btn span {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.keypad-btn:hover {
  background: rgba(124, 58, 237, 0.3);
  border-color: rgba(167, 139, 250, 0.5);
  transform: scale(1.06);
}

.dialer-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.call-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
  transition: all var(--transition);
}

.call-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.7);
}

.hangup-btn {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.5);
}

/* ── Interactive Audio Wave Animation ───────────────────────────────── */
.wave-animation {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.wave-bar {
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  animation: soundWave 1.2s infinite ease-in-out;
}

.wave-bar:nth-child(2) { animation-delay: 0.2s; height: 16px; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; height: 22px; }
.wave-bar:nth-child(4) { animation-delay: 0.1s; height: 12px; }
.wave-bar:nth-child(5) { animation-delay: 0.3s; height: 20px; }

@keyframes soundWave {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* ── Pricing Switcher & Cards ───────────────────────────────────────── */
.billing-switcher-wrap {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-full);
  margin-top: 2rem;
}

.billing-opt {
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-muted);
}

.billing-opt.active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.savings-pill {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.pricing-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.pricing-card {
  background: #FFFFFF;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

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

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 16px 45px rgba(124, 58, 237, 0.15);
  transform: scale(1.03);
}

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

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, #A855F7 100%);
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.plan-head-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
}

.plan-head-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  min-height: 44px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 1.5rem 0 0.5rem 0;
}

.plan-currency {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dark);
}

.plan-figure {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.plan-tenure {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.plan-features-list {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9375rem;
  color: var(--text-dark);
}

.plan-features-list li svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── Free & Startup Banner Cards ────────────────────────────────────── */
.colorful-banner {
  border-radius: var(--radius);
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.banner-free {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
}

.banner-startup {
  background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
  color: #FFFFFF;
}

.banner-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.banner-title {
  color: #FFFFFF;
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.banner-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ── Comparison Tables ──────────────────────────────────────────────── */
.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #FFFFFF;
  box-shadow: var(--shadow);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comp-table th, .comp-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.comp-table th {
  background: var(--bg-soft);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
}

.comp-table th.highlight-col {
  background: rgba(124, 58, 237, 0.08);
  color: var(--primary);
}

.comp-table td.highlight-col {
  background: rgba(124, 58, 237, 0.02);
  font-weight: 600;
}

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

.check-icon {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.15rem;
}

.cross-icon {
  color: #EF4444;
  font-weight: 700;
  font-size: 1.15rem;
}

/* ── Forms (Contact & Demo) ─────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #FFFFFF;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.vox-footer {
  background: #120A2B;
  color: #FFFFFF;
  padding: 5.5rem 0 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.vox-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.5), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Responsive Queries ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .vox-hero-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .dialer-mockup-wrapper { max-width: 420px; margin: 0 auto; }
  .pricing-plans-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-6px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .colorful-banner { flex-direction: column; text-align: center; gap: 1.5rem; }
}

@media (max-width: 768px) {
  .main-nav, .header-actions { display: none; }
  .mobile-toggle { display: block; }
  .section { padding: 4rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ── Contact Form 7 & OTP Verification Styling ────────────────────── */
.wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.cf7-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cf7-col label,
.cf7-field label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dark);
}

.cf7-col label abbr,
.cf7-field label abbr {
  color: #EF4444;
  text-decoration: none;
}

.cf7-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wpcf7-form-control-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9375rem;
  background-color: #FFFFFF;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.cf7-otp-group {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.cf7-otp-group .wpcf7-form-control-wrap {
  flex: 1;
}

.btn-cf7-otp {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-cf7-otp:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-cf7-otp:disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
}

.cf7-otp-msg {
  font-size: 0.8125rem;
  margin-top: 0.35rem;
}
.cf7-otp-msg.success { color: #10B981; font-weight: 600; }
.cf7-otp-msg.error { color: #EF4444; font-weight: 600; }
.cf7-otp-msg.info { color: var(--primary); font-weight: 600; }

.wpcf7 input[type="submit"] {
  background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-full);
  padding: 1rem 2.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
  width: 100%;
}

.wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.cf7-turnstile-slot,
.wpcf7-form-control-wrap[data-name="turnstile"] {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}

.wpcf7-not-valid-tip {
  color: #EF4444;
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

.wpcf7 form .wpcf7-response-output {
  margin: 1rem 0 0 0;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

/* ── Legal & Compliance Layout ──────────────────────────────────────── */
.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 3.5rem;
  background: linear-gradient(135deg, #FAF5FF 0%, #EFF6FF 50%, #F0FDF4 100%);
}
.legal-hero--terms {
  background: linear-gradient(135deg, #FFF7ED 0%, #FAF5FF 50%, #EFF6FF 100%);
}
.legal-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.legal-hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 1.5rem;
}
.legal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.legal-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dark);
}

.compliance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.comp-badge {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}
.comp-badge--purple  { background: #EDE9FE; color: #5B21B6; border-color: #C4B5FD; }
.comp-badge--blue    { background: #EFF6FF; color: #1D4ED8; border-color: #BFDBFE; }
.comp-badge--gold    { background: #FFFBEB; color: #92400E; border-color: #FCD34D; }
.comp-badge--green   { background: #ECFDF5; color: #065F46; border-color: #6EE7B7; }
.comp-badge--teal    { background: #F0FDFA; color: #0F766E; border-color: #99F6E4; }
.comp-badge--orange  { background: #FFF7ED; color: #C2410C; border-color: #FDBA74; }
.comp-badge--indigo  { background: #EEF2FF; color: #3730A3; border-color: #C7D2FE; }
.comp-badge--pink    { background: #FDF2F8; color: #9D174D; border-color: #F9A8D4; }
.comp-badge--cyan    { background: #ECFEFF; color: #164E63; border-color: #A5F3FC; }

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  padding: 3rem 0 4rem;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 95px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.legal-toc-inner {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.legal-toc-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.legal-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0;
  margin: 0;
}
.legal-toc-list a {
  display: block;
  font-size: 0.8125rem;
  color: var(--text);
  padding: 0.35rem 0.5rem;
  border-radius: 0.35rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}
.legal-toc-list a:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--primary);
  padding-left: 0.75rem;
}

.legal-body {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 3.5rem;
  box-shadow: var(--shadow);
  line-height: 1.85;
  color: var(--text);
}
.legal-section {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.legal-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.legal-section-header h2 {
  margin: 0;
  font-size: 1.45rem;
  color: var(--text-dark);
}
.legal-callout {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin: 1.25rem 0;
  font-size: 0.925rem;
  line-height: 1.6;
}
.legal-callout--purple {
  background: #FAF5FF;
  border-left: 4px solid var(--primary);
  color: #4C1D95;
}
.legal-callout--blue {
  background: #EFF6FF;
  border-left: 4px solid #2563EB;
  color: #1E3A8A;
}

@media (max-width: 991px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; }
  .legal-toc-list { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
  .legal-toc-list a { font-size: 0.78rem; background: var(--bg-soft); }
  .legal-body { padding: 2rem; }
  .cf7-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-container { height: 64px; }
  .header-logo-img { height: 24px !important; max-height: 24px !important; max-width: 120px !important; }
  .vox-card { padding: 1.5rem !important; }
  .legal-body { padding: 1.5rem; }
}
