/* ==========================================================================
   THEOMEDIA SOBER & MINIMALIST APPLE-STYLE DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Pristine Apple-style Color Palette */
  --bg-primary: #ffffff;            /* Pure White */
  --bg-secondary: #f5f5f7;          /* Soft Apple Alabaster */
  --bg-card: #ffffff;               /* Pristine Card Background */
  
  --text-primary: #1d1d1f;          /* Dark Charcoal Obsidian */
  --text-muted: #86868b;            /* Soft Slate Gray */
  --text-dark: #1d1d1f;
  
  --color-blue: #9c8253;            /* Premium Sober Gold */
  --color-blue-hover: #b09768;      /* Gold Hover State */
  --color-green: #34c759;           /* Apple Success Green */
  --border-color: #e5e7eb;          /* Very thin, clean gray line */
  --border-color-hover: #b09768;    /* Gold border on hover */
  
  /* Layout Metrics */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --border-radius-lg: 16px;
  --border-radius-md: 10px;
  --border-radius-sm: 6px;
  
  /* Bouncy Springs & Clean Transitions */
  --transition-clean: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-spring: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

/* ==========================================================================
   GLOBAL RESET & BASICS
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
  line-height: 1.5;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-clean);
}

header.shrink {
  padding: 0.9rem 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.logo span {
  color: var(--color-blue);
}

nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-clean);
}

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

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Dropdown styling */
.dropdown-wrapper {
  position: relative;
}

.dropdown-trigger {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.82rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-clean);
}

.dropdown-trigger:hover, .dropdown-trigger.open {
  background: #e8e8ed;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  right: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  width: 130px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition-clean);
  z-index: 100;
  padding: 0.3rem 0;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0.5rem 0.85rem;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-clean);
}

.dropdown-menu li:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.btn-header {
  background: var(--color-blue);
  color: white;
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-clean);
}

.btn-header:hover {
  background: var(--color-blue-hover);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 7rem 2rem 2rem 2rem;
  background: var(--bg-primary);
}

.hero-content {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.45rem 1.15rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.dark-accent-text {
  color: var(--color-blue);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 3rem;
  line-height: 1.5;
  font-weight: 400;
}

.cta-group {
  display: flex;
  gap: 1.25rem;
}

.btn-primary {
  background: var(--color-blue);
  color: white;
  border: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-clean);
}

.btn-primary:hover {
  background: var(--color-blue-hover);
}

.btn-secondary {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-clean);
}

.btn-secondary:hover {
  background: #e8e8ed;
}

.scroll-down-arrow {
  margin-top: 4.5rem;
  font-size: 1.35rem;
  color: var(--text-muted);
  animation: floatArrow 2s infinite ease-in-out;
}

@keyframes floatArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ==========================================================================
   GENERAL SECTIONS & HEADERS
   ========================================================================== */
section {
  padding: 7rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.micro-badge {
  color: var(--color-blue);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.15rem;
}

.section-header h2 span {
  color: var(--text-muted);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.12rem;
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ==========================================================================
   CLIENT MARQUEE CLIENTS TICKER
   ========================================================================== */
.ticker-container {
  width: 100%;
  overflow: hidden;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.85rem 0;
  position: relative;
}

.ticker-title {
  text-align: center;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 1.15rem;
}

.ticker-wrap {
  display: flex;
  width: 100%;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marqueeAnimation 38s linear infinite;
  gap: 5rem;
  padding-left: 2rem;
}

.ticker-item {
  color: var(--text-muted);
  font-size: 1.15rem;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.02em;
}

.ticker-item.highlight {
  color: var(--text-primary);
}

.ticker-item .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--text-muted);
  display: inline-block;
}

@keyframes marqueeAnimation {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SERVICES GRID & CARDS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.25rem;
  transition: var(--transition-clean);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.01);
}

.service-card:hover {
  border-color: var(--border-color-hover);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
  transform: translateY(-4px);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  letter-spacing: -0.03em;
}

.service-subtitle {
  color: var(--color-blue);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.service-best-for {
  background: var(--bg-secondary);
  padding: 0.9rem 1.25rem;
  border-radius: var(--border-radius-md);
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.service-best-for span {
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.15rem;
  letter-spacing: 0.02em;
}

.service-best-for p {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.service-features {
  list-style: none;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.check-icon {
  color: var(--color-blue);
  font-weight: 700;
}

/* Recommended card popular banner */
.highlighted-card {
  border-color: var(--border-color-hover);
  background: var(--bg-card);
  position: relative;
}

.popular-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.68rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   SOBER SOLUTIONS CONFIGURATOR
   ========================================================================== */
.configurator-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: start;
}

.config-selection-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2.25rem;
}

.config-selection-panel h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.config-modules-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.config-item-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.05rem 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-clean);
  width: 100%;
}

.config-item-btn:hover {
  border-color: var(--border-color-hover);
  transform: translateX(2px);
}

.config-item-btn.scanned {
  border-color: var(--color-blue);
  background: rgba(0, 113, 227, 0.02);
}

.config-item-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  flex-grow: 1;
  text-align: left;
}

.config-item-price {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-right: 1.25rem;
  font-weight: 500;
}

.config-item-btn.scanned .config-item-price {
  color: var(--color-blue);
  font-weight: 600;
}

.config-item-action {
  font-weight: 700;
  font-size: 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.75rem;
  border-radius: var(--border-radius-sm);
  color: var(--text-muted);
  transition: var(--transition-clean);
}

.config-item-btn:hover .config-item-action {
  background: var(--color-blue);
  color: white;
  border-color: transparent;
}

.config-item-btn.scanned .config-item-action {
  background: var(--color-blue);
  color: white;
  border-color: transparent;
}

/* configurator summary panel invoice card */
.config-summary-panel {
  position: sticky;
  top: 100px;
}

.summary-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-header h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.status-node {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.summary-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 1.15rem 0;
}

.summary-divider.thin {
  background-color: var(--border-color);
  opacity: 0.6;
  margin: 0.85rem 0;
}

.summary-items-list {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.empty-summary-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.45;
  text-align: center;
  padding: 2rem 0;
}

.summary-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  animation: slideRow 0.3s forwards ease-out;
}

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

.summary-item-name {
  color: var(--text-primary);
  font-weight: 500;
}

.summary-item-price {
  color: var(--text-primary);
  font-weight: 600;
}

.summary-math-block {
  font-size: 0.85rem;
}

.math-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.total-row {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.highlight-blue {
  color: var(--color-blue);
}

/* Invoicing alerts success dispatch bubble */
.invoicing-dispatch-alert {
  background: rgba(52, 199, 89, 0.06);
  border: 1px solid rgba(52, 199, 89, 0.2);
  border-radius: var(--border-radius-md);
  padding: 0.95rem 1.25rem;
  margin-top: 1.25rem;
  display: none;
  animation: slideRow 0.4s forwards ease-out;
}

.invoicing-dispatch-alert.show {
  display: block;
}

.wa-alert-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wa-check-icon {
  width: 24px;
  height: 24px;
  background: var(--color-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.wa-text-col {
  flex-grow: 1;
}

.wa-text-col strong {
  display: block;
  font-size: 0.8rem;
  color: var(--text-primary);
  margin-bottom: 0.1rem;
}

.wa-text-col p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
}

.summary-actions {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.btn-checkout {
  flex-grow: 1;
  background: var(--color-blue);
  color: white;
  border: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.85rem;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-clean);
}

.btn-checkout:hover:not(:disabled) {
  background: var(--color-blue-hover);
}

.btn-checkout:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-clear {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.85rem 1.15rem;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-clean);
}

.btn-clear:hover {
  background: #e8e8ed;
}

/* ==========================================================================
   AWARD WINNING SHOWCASE TEMPLATES SECTION
   ========================================================================== */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.template-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition-clean);
}

.template-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
}

.template-preview {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.banana-preview {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.pay-preview {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.template-badge {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.68rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.temp-icon {
  font-size: 5rem;
  transition: var(--transition-clean);
}

.template-card:hover .temp-icon {
  transform: scale(1.08) rotate(4deg);
}

.template-info {
  padding: 2.25rem;
  background: var(--bg-primary);
}

.template-info h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.template-info p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 1.75rem;
}

.template-link {
  color: var(--color-blue);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-clean);
}

.template-link:hover {
  color: var(--color-blue-hover);
}

.template-link .arrow {
  transition: var(--transition-clean);
}

.template-link:hover .arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   SOBER CONTINENTAL COMPLIANCE & HUBS REGISTRY
   ========================================================================== */
.compliance-registry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.compliance-registry-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2.75rem 2.25rem;
  transition: var(--transition-clean);
  display: flex;
  flex-direction: column;
}

.compliance-registry-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
}

.registry-card-header {
  margin-bottom: 1.25rem;
}

.registry-card-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
}

.region-badge {
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: inline-block;
}

.compliance-registry-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.registry-specs {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.spec-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.spec-row span {
  font-weight: 700;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.spec-row strong {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* ==========================================================================
   TRANSPARENT PRICING GRID & CARDS
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.25rem;
  position: relative;
  transition: var(--transition-clean);
  display: flex;
  flex-direction: column;
}

.price-header {
  margin-bottom: 1.75rem;
}

.price-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.price-box {
  display: flex;
  align-items: baseline;
  margin-bottom: 2.25rem;
}

.price-currency {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price-value {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0.25rem;
  letter-spacing: -0.04em;
  transition: var(--transition-clean);
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.pricing-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.feat-check {
  color: var(--color-blue);
  font-weight: 700;
}

.btn-plan-secondary {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.85rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-clean);
}

.btn-plan-secondary:hover {
  background: #e8e8ed;
}

/* featured plan */
.active-pricing-card {
  border-color: var(--color-blue);
  box-shadow: 0 10px 30px rgba(0, 113, 227, 0.04);
}

.pricing-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-blue);
  color: white;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.35rem 1.15rem;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.btn-plan-primary {
  background: var(--color-blue);
  color: white;
  border: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.85rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-clean);
}

.btn-plan-primary:hover {
  background: var(--color-blue-hover);
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-clean);
}

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

.faq-item.active {
  border-color: var(--border-color-hover);
  background: var(--bg-secondary);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem 1.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
  transition: var(--transition-clean);
}

.faq-icon-arrow {
  color: var(--text-muted);
  font-size: 1.35rem;
  font-weight: 300;
  transition: var(--transition-clean);
  user-select: none;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(45deg);
  color: var(--text-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-answer p {
  padding: 0 1.85rem 1.5rem 1.85rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ==========================================================================
   DYNAMIC CONTACT FORM
   ========================================================================== */
.contact-card-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.01);
}

.contact-info-panel {
  padding: 4rem 3rem;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-panel h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

.contact-info-panel p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 3rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.channel-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.channel-text h4 {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.channel-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Sober Forms Input UI */
.contact-form-panel {
  padding: 4rem 3.5rem;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg-primary);
}

.cyber-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 0.75rem 1.05rem;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 0.92rem;
  transition: var(--transition-clean);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2386868b' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.05rem center;
  padding-right: 2.5rem;
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
  color: #b0b0b5;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.08);
}

.btn-submit {
  background: var(--color-blue);
  color: white;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.95rem;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-clean);
  margin-top: 0.75rem;
}

.btn-submit:hover {
  background: var(--color-blue-hover);
}

/* success screen box overlay */
.success-glass-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  z-index: 10;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-clean);
}

.success-glass-card.active {
  opacity: 1;
  visibility: visible;
}

.success-icon-globe {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(52, 199, 89, 0.06);
  border: 1px solid rgba(52, 199, 89, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-green);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.success-glass-card h3 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.success-glass-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 400px;
}

/* ==========================================================================
   GLOBAL BRAND FOOTER
   ========================================================================== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 5.5rem 2rem 2.5rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 4.5rem auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3.5rem;
}

.footer-brand h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.footer-brand h3 span {
  color: var(--color-blue);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 290px;
}

.footer-links-col h4 {
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-col ul li a {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition-clean);
}

.footer-links-col ul li a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-legal {
  display: flex;
  gap: 1.75rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: var(--transition-clean);
}

.footer-legal a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   SCROLL REVEAL TIMELINES (RETAINED IN SPOOKY SMOOTH FORM)
   ========================================================================== */
.scroll-reveal-init {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal-active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@supports (animation-timeline: view()) and (animation-range: entry) {
  .scroll-reveal {
    animation: revealEffectKey 0.8s cubic-bezier(0.25, 1, 0.5, 1) both;
    animation-timeline: view();
    animation-range: entry 5% cover 20%;
  }

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

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Tablet Columns */
@media (max-width: 1024px) {
  section {
    padding: 5rem 2rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .configurator-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .config-summary-panel {
    position: static;
  }
  
  .templates-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .compliance-registry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-card-container {
    grid-template-columns: 1fr;
  }
  
  .contact-info-panel {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Mobile Screen Columns */
@media (max-width: 768px) {
  header nav {
    display: none; /* Hide header links simply */
  }
  
  .header-controls .btn-header {
    display: none;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .hero p {
    font-size: 1.05rem;
  }
  
  .cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .compliance-registry-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .config-selection-panel {
    padding: 1.75rem 1.25rem;
  }
  
  .config-item-btn {
    padding: 0.9rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .config-item-name {
    width: 100%;
  }
  
  .config-item-price {
    margin-right: 0;
  }
  
  .contact-form-panel {
    padding: 2.25rem 1.25rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
    width: 100%;
  }
}

/* ==========================================================================
   FLOATING COMMUNICATION SIDEBAR (BOTTOM-RIGHT FIXED CAPSULE)
   ========================================================================== */
.comms-sidebar {
  position: fixed;
  right: 2.25rem;
  bottom: 2.25rem;
  top: auto;
  transform: none;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 40px;
  padding: 0.85rem 0.65rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  z-index: 1001;
  transition: var(--transition-clean);
}

.comms-sidebar:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--border-color-hover);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.comms-item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: var(--transition-clean);
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Original Colorful Branding Defaults */
.facetime-item {
  background: #34c759; /* FaceTime Green */
}

.facetime-item:hover {
  background: #2ec052;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(52, 199, 89, 0.3);
}

.whatsapp-item {
  background: #25d366; /* WhatsApp Green */
}

.whatsapp-item:hover {
  background: #20ba5a;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.comms-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comms-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.comms-divider {
  width: 24px;
  height: 1px;
  background-color: var(--border-color);
  opacity: 0.8;
}

.comms-label {
  position: absolute;
  right: 140%;
  left: auto;
  background: var(--text-primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: var(--transition-clean);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.comms-item:hover .comms-label {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Mobile landscape and portrait communication bottom tray */
@media (max-width: 768px) {
  .comms-sidebar {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    right: auto;
    top: auto;
    transform: translateX(-50%) translateY(0);
    flex-direction: row;
    border-radius: 50px;
    padding: 0.5rem 1.35rem;
    gap: 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.95);
  }

  .comms-item {
    width: 38px;
    height: 38px;
  }

  .comms-divider {
    width: 1px;
    height: 22px;
  }

  .comms-label {
    display: none !important;
  }
}

/* ==========================================================================
   SOPHISTICATED JELLY & MAGNETIC PHYSICS CURSOR (DESKTOP)
   ========================================================================== */
.custom-cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-blue);
  border-radius: 50%;
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 99999;
  transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.custom-cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--color-blue);
  border-radius: 50%;
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 99998;
  /* GPU acceleration for stretch transformations */
  will-change: width, height, transform, border-color, background-color;
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s, background-color 0.3s;
}

/* Cursor states on hover of magnetic/active elements */
.custom-cursor-ring.magnetic-hover {
  width: 52px;
  height: 52px;
  border-color: var(--color-blue);
  background-color: rgba(156, 130, 83, 0.05); /* Frosted gold fill */
}

.custom-cursor-dot.magnetic-hover {
  width: 12px;
  height: 12px;
  background-color: var(--color-blue-hover);
}

/* Hide default cursor on desktop when interactive cursor is active */
@media (min-width: 1025px) {
  body {
    cursor: none !important;
  }
  
  a, button, select, input, textarea, .dropdown-trigger, .faq-question {
    cursor: none !important;
  }
}

/* Hide custom physics cursor on tablets and mobile screens */
@media (max-width: 1024px) {
  .custom-cursor-dot, .custom-cursor-ring {
    display: none !important;
  }
  body {
    cursor: auto !important;
  }
}

