/* ==========================================================================
   TOUMA TECHNOLOGIES // APPLE-INSPIRED INDUSTRIAL AESTHETIC
   Clean white background, high contrast typography, precision telemetry.
   ========================================================================== */

:root {
  /* Color System */
  --bg-pure: #FFFFFF;
  --bg-surface: #F5F5F7;
  --bg-surface-subtle: #FAFAFA;
  --bg-card: #FFFFFF;
  
  --text-primary: #1D1D1F;
  --text-secondary: #86868B;
  --text-muted: #A1A1A6;
  
  --border-light: rgba(0, 0, 0, 0.08);
  --border-subtle: rgba(0, 0, 0, 0.04);
  --border-focus: #0071E3;
  
  --apple-blue: #0071E3;
  --apple-blue-hover: #0077ED;
  --apple-green: #34C759;
  --apple-green-bg: #E8F9ED;
  --apple-dark: #1D1D1F;
  --apple-dark-hover: #000000;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-float: 0 12px 36px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-pure);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
}

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

.font-mono {
  font-family: var(--font-mono);
}

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

.bg-light {
  background-color: var(--bg-surface);
}

/* Announcements Bar */
.top-announcement {
  background-color: #1D1D1F;
  color: #FFFFFF;
  padding: 8px 0;
  font-size: 12px;
}
.announcement-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.status-indicator {
  width: 7px;
  height: 7px;
  background-color: #34C759;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #34C759;
}
.announcement-text {
  color: #E5E5E7;
}
.announcement-link {
  color: #2997FF;
  text-decoration: none;
  font-weight: 500;
  margin-left: 6px;
}
.announcement-link:hover {
  text-decoration: underline;
}

/* Navbar (Frosted Glass) */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-light);
  height: 54px;
  display: flex;
  align-items: center;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-mark {
  color: var(--apple-dark);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #000000;
}
.brand-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-primary);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-link:hover {
  opacity: 1;
  color: var(--apple-blue);
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.mobile-menu-btn span {
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  display: block;
}

/* Buttons (Apple Style) */
.btn-apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  outline: none;
  padding: 8px 18px;
  white-space: nowrap;
}
.btn-apple-primary {
  background-color: var(--apple-dark);
  color: #FFFFFF;
}
.btn-apple-primary:hover {
  background-color: var(--apple-dark-hover);
  transform: scale(1.01);
}
.btn-apple-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-apple-secondary:hover {
  background-color: #E8E8ED;
}
.btn-apple-blue {
  background-color: var(--apple-blue);
  color: #FFFFFF;
}
.btn-apple-blue:hover {
  background-color: var(--apple-blue-hover);
}
.btn-apple-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  gap: 8px;
}
.btn-apple-whatsapp:hover {
  background-color: #20BD5A;
}
.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
}
.btn-lg {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  padding: 64px 0 54px;
  background: radial-gradient(circle at 50% 0%, #FAFAFC 0%, #FFFFFF 70%);
}
.hero-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.hero-headline {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #000000;
  max-width: 900px;
  margin: 0 auto 18px;
}
.headline-gradient {
  color: #434347;
}
.hero-subheadline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.5;
}

/* Hero Surface Card */
.hero-card-surface {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  max-width: 1060px;
  margin: 0 auto;
}
.hero-card-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.dropzone-pane {
  padding: 32px;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.pane-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dot-live {
  width: 6px;
  height: 6px;
  background-color: var(--apple-green);
  border-radius: 50%;
}
.pane-tag {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-mono);
  background: var(--bg-surface);
  color: var(--text-secondary);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

/* Apple Dropzone */

.apple-dropzone {
  position: relative;
  border: 1.8px dashed #CBD5E1;
  border-radius: var(--radius-md);
  padding: 36px 20px;
  text-align: center;
  background-color: var(--bg-surface-subtle);
  transition: all 0.25s ease;
  cursor: pointer;
}

.apple-dropzone:hover {
  border-color: var(--apple-blue);
  background-color: #F8FAFC;
}

.apple-dropzone.dragover {
  border-color: var(--apple-blue) !important;
  background-color: #EFF6FF !important;
  transform: scale(1.01);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.dropzone-file-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}


.dropzone-file-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.dropzone-icon-bubble {
  width: 56px;
  height: 56px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: var(--shadow-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--apple-blue);
}
.dropzone-prompt {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.dropzone-formats {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Live Analysis Card */
.cad-analysis-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 18px;
  border: 1px solid var(--border-light);
}
.analysis-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.analysis-file-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-primary);
}
.badge-apple-green {
  background-color: var(--apple-green-bg);
  color: #15803D;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}
.analysis-metrics-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
}
.metric-cell {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
}
.metric-label {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.metric-value {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Specs Pane (Right) */
.specs-pane {
  padding: 32px;
  background-color: var(--bg-surface-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.specs-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.specs-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
}
.specs-lead {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--apple-blue);
  background: #EBF5FF;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}
.specs-form-group {
  margin-bottom: 16px;
}
.specs-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 6px;
}
.apple-select, .apple-input, .apple-textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-primary);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s;
}
.apple-select:focus, .apple-input:focus, .apple-textarea:focus {
  border-color: var(--border-focus);
}
.quick-telemetry-row {
  display: flex;
  gap: 8px;
  margin: 10px 0 16px;
}
.telemetry-pill {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
}
.telemetry-key {
  font-size: 9.5px;
  color: var(--text-secondary);
  font-weight: 600;
}
.telemetry-val {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
}
.specs-security-note {
  font-size: 11.5px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 14px;
}

/* Sections General */
.section {
  padding: 84px 0;
}
.section-title-wrap {
  margin-bottom: 48px;
}
.section-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.section-heading {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #000000;
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Bento Grid Apple Style */
.bento-grid-apple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.bento-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.bento-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}
.bento-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--apple-blue);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.bento-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #000000;
  margin-bottom: 12px;
  line-height: 1.2;
}
.bento-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}
.bento-metrics {
  display: flex;
  gap: 28px;
  margin-top: 12px;
}
.bento-stat {
  display: flex;
  flex-direction: column;
}
.bento-stat-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}
.bento-stat-lbl {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}
.bento-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.bento-img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
}
.bento-img-contain {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  margin-top: 18px;
}
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tech-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* Configurator Card (Apple Style) */
.configurator-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  padding: 36px;
  max-width: 1060px;
  margin: 0 auto;
}
.cad-sync-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: var(--apple-green-bg);
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 20px;
}
.sync-banner-icon {
  width: 28px;
  height: 28px;
  background: #22C55E;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sync-banner-info {
  flex: 1;
}
.sync-title {
  font-size: 13px;
  font-weight: 700;
  color: #14532D;
}
.sync-details {
  font-size: 11.5px;
  color: #166534;
  margin-top: 2px;
}
.btn-unlink-cad {
  background: transparent;
  border: 1px solid #86EFAC;
  color: #166534;
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s;
}
.btn-unlink-cad:hover {
  background: #DCFCE7;
}
.inline-upload-stripe {
  background: var(--bg-surface);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.inline-upload-text {
  font-size: 12.5px;
  color: var(--text-secondary);
}
.configurator-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
}
.config-inputs-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.config-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.apple-field-group {
  display: flex;
  flex-direction: column;
}
.apple-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.dimensions-input-group {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.dim-box {
  position: relative;
  display: flex;
  align-items: center;
}
.dim-box input {
  width: 100%;
  padding: 10px 30px 10px 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
}
.dim-box input:focus {
  border-color: var(--border-focus);
}
.dim-unit {
  position: absolute;
  right: 8px;
  font-size: 11px;
  color: var(--text-muted);
  pointer-events: none;
}
.summary-card-inner {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.summary-header {
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}
.summary-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
}
.summary-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 2px;
}
.summary-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.row-label {
  color: var(--text-secondary);
}
.row-val {
  color: var(--text-primary);
  font-weight: 600;
}
.summary-total-divider {
  height: 1px;
  background-color: var(--border-light);
  margin: 6px 0;
}
.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.total-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #000000;
}
.total-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: #000000;
}
.summary-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.summary-actions .btn-apple {
  width: 100%;
  padding: 12px;
}

/* Materials Spec Sheet Table (Apple Comparison Grid) */
.materials-filter-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.filter-pill {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-pill:hover {
  color: var(--text-primary);
  border-color: #A1A1A6;
}
.filter-pill.active {
  background: var(--apple-dark);
  color: #FFFFFF;
  border-color: var(--apple-dark);
}
.apple-table-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
}
.apple-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.apple-table th {
  background: var(--bg-surface);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
}
.apple-table td {
  padding: 16px 18px;
  font-size: 13px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.apple-table tr:last-child td {
  border-bottom: none;
}
.apple-table tr:hover td {
  background-color: #FAFAFC;
}
.mat-name-cell strong {
  display: block;
  font-size: 13.5px;
  color: #000000;
}
.mat-family-lbl {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Metrics & Machinery Grid */
.metrics-apple-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.metric-apple-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border-light);
}
.metric-big-num {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #000000;
  display: block;
  line-height: 1;
}
.metric-unit {
  font-size: 12px;
  color: var(--text-secondary);
  display: block;
  margin: 4px 0 16px;
}
.metric-apple-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.metric-apple-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Case Studies Apple Grid */
.cases-apple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.case-apple-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.case-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--apple-blue);
  margin-bottom: 8px;
}
.case-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 12px;
  line-height: 1.25;
}
.case-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}
.case-comparison {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.comparison-col {
  display: flex;
  flex-direction: column;
}
.comp-label {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.comp-val {
  font-size: 13px;
  font-weight: 600;
}
.comparison-col.before .comp-val {
  color: #94A3B8;
  text-decoration: line-through;
}
.comparison-col.after .comp-val {
  color: #15803D;
  font-weight: 800;
}

/* Modal TDS (Apple Sheet Style) */
.apple-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.apple-modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.apple-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--apple-blue);
  letter-spacing: 0.06em;
}
.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #000000;
}
.modal-close-btn {
  background: var(--bg-surface);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.apple-modal-body {
  padding: 24px;
  max-height: 80vh;
  overflow-y: auto;
}

/* Floating WhatsApp (Apple Discrete Pill) */
.floating-apple-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-float);
  padding: 6px 14px 6px 6px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.2s;
}
.floating-apple-whatsapp:hover {
  transform: translateY(-2px);
}
.whatsapp-icon-bubble {
  width: 36px;
  height: 36px;
  background: #25D366;
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-label {
  font-size: 12.5px;
  font-weight: 600;
}

/* Footer (Apple Style) */
.apple-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 54px 0 40px;
  font-size: 12px;
  color: var(--text-secondary);
}
.footer-top-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-bio {
  font-size: 12.5px;
  line-height: 1.6;
  margin: 8px 0 12px;
  color: var(--text-secondary);
  max-width: 320px;
}
.footer-location {
  font-size: 11.5px;
  color: #A1A1A6;
}
.footer-heading {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.footer-col-links a {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col-links a:hover {
  color: var(--text-primary);
}
.footer-bottom-row {
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.copyright {
  font-size: 11.5px;
  color: var(--text-muted);
}
.footer-legal-links {
  display: flex;
  gap: 16px;
}
.footer-legal-links a {
  font-size: 11.5px;
  color: var(--text-secondary);
  text-decoration: none;
}
.footer-legal-links a:hover {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-headline {
    font-size: 2.4rem;
  }
  .hero-card-grid {
    grid-template-columns: 1fr;
  }
  .dropzone-pane {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
  .bento-grid-apple {
    grid-template-columns: 1fr;
  }
  .bento-wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .configurator-layout {
    grid-template-columns: 1fr;
  }
  .metrics-apple-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cases-apple-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .mobile-drawer {
    display: none;
    position: fixed;
    top: 54px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    padding: 20px;
    flex-direction: column;
    gap: 14px;
    z-index: 99;
  }
  .mobile-drawer.open {
    display: flex;
  }
  .mobile-nav-link {
    font-size: 15px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
  }
  .config-row-2 {
    grid-template-columns: 1fr;
  }
  .metrics-apple-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-row {
    grid-template-columns: 1fr;
  }
}






/* Brand Logo Hard Bounds */
.brand-logo {
  display: flex !important;
  align-items: center !important;
  height: 36px !important;
  max-height: 36px !important;
  overflow: hidden !important;
  text-decoration: none !important;
}

.brand-logo-img {
  height: 34px !important;
  max-height: 34px !important;
  width: auto !important;
  max-width: 120px !important;
  display: block !important;
  object-fit: contain !important;
  transition: opacity 0.2s;
}

.brand-logo-img:hover {
  opacity: 0.85;
}

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

/* ==========================================================================
   SEGMENTED CONTROL / DIVISION SWITCHER (ESTILO APPLE)
   ========================================================================== */

.division-switcher-bar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0;
  position: sticky;
  top: 54px;
  z-index: 95;
  transition: all 0.2s ease;
}

.switcher-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.switcher-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
}

.switcher-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.segmented-control {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.segment-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  outline: none;
}

.segment-btn:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.03);
}

.segment-btn.active {
  background: #FFFFFF;
  color: #000000;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.segment-icon {
  font-size: 14px;
  line-height: 1;
}

.segment-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-secondary);
}

.segment-btn.active .segment-badge {
  background: var(--text-primary);
  color: #FFFFFF;
}

/* Transición suave entre vistas de división */
.division-view {
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.division-view.visible {
  opacity: 1;
}

/* Division Pill Badges */
.division-pill-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.neko-badge {
  background: #FFF1F2;
  color: #E11D48;
  border: 1px solid #FECDD3;
}

.software-badge {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Neko Maker Estilos */
.hero-neko {
  background: radial-gradient(circle at 50% 0%, #FFF5F6 0%, #FFFFFF 70%);
}

.neko-chips-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.neko-chip {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
}

.neko-visual-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 180px;
}

.neko-visual-emoji {
  font-size: 38px;
  line-height: 1.2;
}

.neko-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}

.neko-summary-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
}

.neko-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.neko-summary-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Software & Anoti Showcase Estilos */
.hero-software {
  background: radial-gradient(circle at 50% 0%, #F0FDF4 0%, #FFFFFF 70%);
}

.software-stack-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.tech-stack-chip {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

/* Card Principal Anoti */
.anoti-hero-card {
  background: #FFFFFF;
  border: 1px solid rgba(14, 90, 75, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  max-width: 1060px;
  margin: 0 auto;
}

.anoti-card-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.anoti-info-pane {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.anoti-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.anoti-icon-box {
  width: 46px;
  height: 46px;
  background: #0E5A4B;
  color: #FFFFFF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  font-family: var(--font-sans);
}

.anoti-app-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0E5A4B;
  line-height: 1;
}

.anoti-badge-pro {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: #FF7A59;
  color: #FFFFFF;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-top: 4px;
}

.anoti-lead-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
}

.anoti-pillars-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.anoti-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.45;
}

.pillar-bullet {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.anoti-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.anoti-subdomain-note {
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-top: 14px;
}

.anoti-subdomain-note a {
  color: #0E5A4B;
  font-weight: 600;
  text-decoration: underline;
}

/* Mockup Visual Anoti */
.anoti-visual-pane {
  background: linear-gradient(135deg, #0E5A4B 0%, #063A30 100%);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anoti-mockup-frame {
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 320px;
  overflow: hidden;
  border: 4px solid #1D1D1F;
}

.mockup-screen-header {
  background: #F8F9FA;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid #E5E7EB;
}

.mockup-notch {
  width: 40px;
  height: 4px;
  background: #CBD5E1;
  border-radius: 4px;
  position: absolute;
  top: 6px;
}

.mockup-title {
  font-size: 11px;
  font-weight: 700;
  color: #0E5A4B;
  margin-top: 6px;
}

.mockup-body {
  padding: 16px;
  background: #F8FAFA;
}

.mockup-balance-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 14px;
  border: 1px solid #E2E8F0;
  margin-bottom: 12px;
}

.mockup-label {
  font-size: 9.5px;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.05em;
  display: block;
}

.mockup-sum {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0E5A4B;
  display: block;
  margin: 2px 0;
}

.mockup-tag-sub {
  font-size: 10.5px;
  color: #64748B;
}

.mockup-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}

.method-chip {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 10px;
  font-weight: 600;
  color: #1E293B;
  text-align: center;
}

.method-chip.active {
  background: #E6F4F1;
  border-color: #0E5A4B;
  color: #0E5A4B;
}

.mockup-tx-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.mockup-tx-item {
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tx-icon {
  font-size: 14px;
}

.tx-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tx-info strong {
  font-size: 10.5px;
  color: #0F172A;
}

.tx-info span {
  font-size: 9px;
  color: #64748B;
}

.tx-amount {
  font-size: 11px;
  font-weight: 700;
  color: #E11D48;
}

.mockup-footer-badge {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 6px;
  padding: 6px;
  font-size: 9.5px;
  color: #065F46;
  text-align: center;
  font-weight: 600;
}

.software-cta-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  width: 100%;
}

@media (max-width: 900px) {
  .anoti-card-grid {
    grid-template-columns: 1fr;
  }
  .anoti-visual-pane {
    padding: 30px 20px;
  }
  .neko-form-grid {
    grid-template-columns: 1fr;
  }
  .neko-form-grid .apple-field-group {
    grid-column: span 1 !important;
  }
}

@media (max-width: 640px) {
  .switcher-label {
    display: none;
  }
  .segment-btn {
    padding: 6px 10px;
    font-size: 11.5px;
    gap: 4px;
  }
  .segment-tag {
    display: none;
  }
}
