/**
 * ==============================================================================
 * SECTIONS.CSS — SPECIFIC STYLES FOR SECTIONS S01–S18
 * ==============================================================================
 */

/* ─── S01: HERO SECTION ─── */
.hero-section {
  position: relative;
  min-height: 940px;
  padding-top: 136px;
  padding-bottom: 140px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #ffffff !important;
}

.hero-diagonal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0c0d12 0%, #170b05 24%, #2b0f05 50%, #6e2004 78%, #ff5b16 100%);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 0 100%);
  z-index: 1;
}

@media (max-width: 1023px) {
  .hero-diagonal-bg {
    clip-path: none;
  }
}


.hero-container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 56% 44%;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 680px;
}

.hero-title {
  font-size: var(--font-size-h1-home);
  color: #ffffff;
  font-weight: var(--font-weight-black);
  line-height: 1.04;
  letter-spacing: var(--letter-spacing-h1);
  margin-top: 20px;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: var(--font-size-subtitle);
  color: #ffffff;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
  margin-bottom: 16px;
  opacity: 0.95;
}

.hero-support {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--orange-light);
  margin-bottom: 32px;
}

.hero-mockups-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1023px) {
  .hero-section {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 80px;
  }
  .hero-diagonal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0c0d12 0%, #170b05 24%, #2b0f05 50%, #6e2004 78%, #ff5b16 100%);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 0 100%);
  z-index: 1;
}

@media (max-width: 1023px) {
  .hero-diagonal-bg {
    clip-path: none;
  }
}
  .hero-container {
    grid-template-columns: 1fr;
  }
  .hero-mockups-wrapper {
    display: none;
  }
}

/* ─── S02: MANIFESTO (DARK LUXURY) ─── */
.manifesto-section {
  background: #0b0c0f !important;
  color: #ffffff !important;
  padding: 120px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.manifesto-body p {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: #cbd5e1 !important;
  margin-bottom: 28px;
  max-width: var(--reading-max);
}

.formula-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-left: 4px solid var(--orange) !important;
  border-radius: var(--radius-card);
  padding: 36px 40px;
  margin-top: 48px;
  max-width: var(--reading-max);
}

.formula-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-uppercase);
  color: var(--orange-light) !important;
  margin-bottom: 12px;
}

.formula-title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: var(--font-weight-bold);
  color: #ffffff !important;
  margin-bottom: 14px;
}

.formula-body {
  font-size: 1.0625rem;
  line-height: var(--line-height-body);
  color: #94a3b8 !important;
}

/* ─── S03: SERVIZI ASIMMETRICI ─── */
.services-section {
  background: var(--white);
  padding: 120px 0;
}

.service-row-asymmetric {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 140px;
  position: relative;
  z-index: 2;
}

.service-row-asymmetric:last-child {
  margin-bottom: 0;
}

.service-num-watermark {
  font-size: 7.5rem;
  font-weight: 900;
  color: var(--orange);
  opacity: 0.12;
  line-height: 1;
  position: absolute;
  top: -35px;
  left: -15px;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.service-text-content {
  position: relative;
  z-index: 1;
}

.service-visual-box {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}

.service-text-content h3 {
  font-size: var(--font-size-h3);
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}

.service-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--orange-text);
  margin-bottom: 16px;
}

.service-body {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

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

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--ink);
}

.service-bullet-orange {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  margin-top: 8px;
  min-width: 8px;
}

@media (max-width: 1023px) {
  .service-row-asymmetric {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 80px;
  }
  .service-row-asymmetric .empty-col {
    display: none;
  }
  .service-num-watermark {
  font-size: 7.5rem;
  font-weight: 900;
  color: var(--orange);
  opacity: 0.12;
  line-height: 1;
  position: absolute;
  top: -35px;
  left: -15px;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.service-text-content {
  position: relative;
  z-index: 1;
}
}

/* ─── S04: STANDARD NON NEGOZIABILI ─── */
.standards-section {
  background: var(--white);
  padding: 120px 0;
  position: relative;
}

.standards-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 48px;
  align-items: stretch;
}

.standard-tab-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  cursor: pointer;
  transition: all var(--transition-normal);
  background: var(--white);
}

.standard-tab-item:hover {
  border-color: var(--orange-light);
}

.standard-tab-item.active {
  background: var(--orange-wash);
  border: 2px solid var(--orange);
}

.standard-tab-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.standard-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--orange);
}

.standard-tab-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--ink);
}

.standard-details-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  min-height: 380px;
}

.standard-detail-card {
  grid-area: 1 / 1 / 2 / 2;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.985);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  pointer-events: none;
}

.standard-detail-card.active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

.standard-detail-watermark {
  position: absolute;
  right: 24px;
  bottom: -20px;
  font-size: 10rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.04);
  line-height: 1;
  user-select: none;
}

/* ─── S05: PROBLEMI (2x2 GRID) ─── */
.problems-section {
  background: var(--surface-soft);
  padding: 110px 0;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px;
}

.problem-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 12px;
}

.problem-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}

.problem-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: var(--line-height-body);
}

@media (max-width: 768px) {
  .problems-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── S06: CONFRONTO PRIMA/DOPO ─── */
.comparison-section {
  background: var(--white);
  padding: 110px 0;
}

.comparison-slider-wrapper {
  position: relative;
  border-radius: var(--radius-panel);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  margin: 48px 0;
}

.comparison-split-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.scenario-card-before {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card);
  padding: 36px;
}

.scenario-card-after {
  background: var(--orange-wash);
  border: 1px solid rgba(255, 91, 22, 0.25);
  border-radius: var(--radius-card);
  padding: 36px;
}

/* ─── S07: CALCOLATORE ROI (FONDO SCURO #0d0d0d) ─── */
.calculator-section {
  background: var(--dark);
  color: #ffffff;
  padding: 120px 0;
  position: relative;
}

.calculator-card {
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-panel);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}

.calc-input-group {
  margin-bottom: 28px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.calc-label-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #e2e8f0;
}

.calc-number-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--orange-light);
  width: 100px;
  text-align: right;
}

.calc-range-slider {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  appearance: none;
  cursor: pointer;
  accent-color: var(--orange);
}

.calc-results-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-output-num {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: var(--font-weight-black);
  color: var(--orange);
  line-height: 1.05;
  margin: 12px 0;
}

.calc-annual-sub {
  font-size: 1.125rem;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.calc-lost-alert {
  background: rgba(255, 91, 22, 0.12);
  border-left: 3px solid var(--orange);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 0.9375rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.conversion-cta-block {
  text-align: center;
  max-width: var(--cta-max);
  margin: 64px auto 0;
}

@media (max-width: 900px) {
  .calculator-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* ─── S08: COLLABORAZIONE INTEGRATA ─── */
.hybrid-section {
  background: var(--white);
  padding: 110px 0;
}

.hybrid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.hybrid-card {
  border-radius: var(--radius-panel);
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--border);
}

.hybrid-card-left {
  border-color: #cbd5e1;
}

.hybrid-card-right {
  border-color: var(--orange);
  background: var(--orange-wash);
}

/* ─── S09: METODO CLIENT MAGNET IN 5 FASI ─── */
.method-section {
  background: var(--white);
  padding: 120px 0;
}

.timeline-horizontal {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 64px;
}

.timeline-step-node {
  position: relative;
  z-index: 2;
}

.timeline-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(255, 91, 22, 0.35);
}

.timeline-step-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.timeline-step-body {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 991px) {
  .timeline-horizontal {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ─── S10: BLOCCO ARANCIONE TECNOLOGIA & AUTOMAZIONI ─── */
.tech-orange-section {
  background: var(--orange);
  color: var(--ink);
  padding: 110px 0;
}

.tech-orange-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.tech-node-flow-panel {
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-panel);
  padding: 40px;
  position: relative;
}

/* ─── S11: RISULTATI NUMERICI ATTRIBUITI ─── */
.counters-section {
  background: var(--white);
  padding: 100px 0;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.counter-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  background: var(--surface-soft);
}

.counter-num-big {
  font-size: 3.25rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1.05;
  margin-bottom: 8px;
}

.counter-label {
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 8px;
}

.counter-sub {
  font-size: 0.8125rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── S13: CASI STUDIO COMPLETI ─── */
.cases-section {
  background: var(--white);
  padding: 120px 0;
}

.case-article {
  border-radius: var(--radius-panel);
  padding: 56px 48px;
  margin-bottom: 72px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Dark Luxury Case Card */
.case-article--dark {
  background: #08090c;
  border: 1px solid rgba(255, 91, 22, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  color: #cbd5e1;
}

.case-article--dark .case-title {
  color: #ffffff !important;
}

.case-article--dark .case-client-name {
  color: #f1f5f9 !important;
}

.case-article--dark .case-col-problem {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.case-article--dark .case-col-problem h4 {
  color: #fca5a5 !important;
}

.case-article--dark .case-col-problem p {
  color: #e2e8f0 !important;
}

.case-article--dark .case-col-solution {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.case-article--dark .case-col-solution h4 {
  color: #86efac !important;
}

.case-article--dark .case-col-solution p {
  color: #e2e8f0 !important;
}

.case-article--dark .case-infra-box {
  background: #111319;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-article--dark .case-infra-box h4 {
  color: #ffffff !important;
}

.case-article--dark .case-infra-list {
  color: #cbd5e1 !important;
}

.case-article--dark .case-result-box {
  background: rgba(255, 91, 22, 0.1);
  border: 1px solid rgba(255, 91, 22, 0.35);
  border-left: 4px solid var(--orange);
}

.case-article--dark .case-result-box h4 {
  color: var(--orange-light) !important;
}

.case-article--dark .case-result-text {
  color: #ffffff !important;
}

.case-article--dark .case-google-review-widget {
  background: #111319;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.case-article--dark .google-review-body {
  color: #f1f5f9 !important;
}

.case-article--dark .google-review-author {
  color: #94a3b8 !important;
}

.case-article--dark .case-cta-banner {
  background: linear-gradient(135deg, rgba(255, 91, 22, 0.22) 0%, rgba(17, 19, 25, 0.95) 100%);
  border: 1px solid rgba(255, 91, 22, 0.45);
}

.case-article--dark .case-cta-banner-text h4 {
  color: #ffffff !important;
}

.case-article--dark .case-cta-banner-text p {
  color: #cbd5e1 !important;
}

/* Light Luxury Case Card */
.case-article--light {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  color: #334155;
}

.case-article--light .case-title {
  color: #07080b !important;
}

.case-article--light .case-client-name {
  color: #0f172a !important;
}

.case-article--light .case-col-problem {
  background: #fff5f5;
  border: 1px solid #fed7d7;
}

.case-article--light .case-col-problem h4 {
  color: #991b1b !important;
}

.case-article--light .case-col-problem p {
  color: #334155 !important;
}

.case-article--light .case-col-solution {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.case-article--light .case-col-solution h4 {
  color: #166534 !important;
}

.case-article--light .case-col-solution p {
  color: #334155 !important;
}

.case-article--light .case-infra-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.case-article--light .case-infra-box h4 {
  color: #0f172a !important;
}

.case-article--light .case-infra-list {
  color: #1e293b !important;
}

.case-article--light .case-result-box {
  background: #fff7ed;
  border: 1px solid rgba(255, 91, 22, 0.3);
  border-left: 4px solid var(--orange);
}

.case-article--light .case-result-box h4 {
  color: var(--orange-text) !important;
}

.case-article--light .case-result-text {
  color: #0f172a !important;
}

.case-article--light .case-google-review-widget {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.case-article--light .google-review-body {
  color: #0f172a !important;
}

.case-article--light .google-review-author {
  color: #475569 !important;
}

.case-article--light .case-cta-banner {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid rgba(255, 91, 22, 0.35);
}

.case-article--light .case-cta-banner-text h4 {
  color: #0f172a !important;
}

.case-article--light .case-cta-banner-text p {
  color: #475569 !important;
}

/* Common Case Elements */
.case-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.case-client-info {
  display: flex;
  align-items: center;
  gap: 18px;
}

.case-client-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange);
  box-shadow: 0 4px 14px rgba(255, 91, 22, 0.35);
  flex-shrink: 0;
}

.case-tag-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(255, 91, 22, 0.12);
  color: var(--orange-text);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.case-client-name {
  font-size: 1.0625rem;
  font-weight: 700;
}

.case-badge-pill {
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-article--light .case-badge-pill {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

.case-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Mockup Frame */
.case-mockup-frame {
  background: #000000;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  margin-bottom: 36px;
}

.case-mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #15171d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.case-mockup-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  color: #94a3b8;
}

.case-mockup-image-wrap {
  width: 100%;
  max-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  background: #0a0b0e;
}

.case-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-mockup-frame:hover .case-mockup-img {
  transform: scale(1.02);
}

/* Problem / Solution Grid */
.case-problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.case-col-box {
  padding: 28px;
  border-radius: var(--radius-card);
}

.case-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.case-col-header h4 {
  font-size: 1.125rem;
  font-weight: 700;
}

.case-col-box p {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Details Grid */
.case-details-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.case-detail-box {
  padding: 28px;
  border-radius: var(--radius-card);
}

.case-infra-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.case-result-text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 16px;
}

.case-verified-seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--orange-light);
  text-transform: uppercase;
}

.case-article--light .case-verified-seal {
  color: var(--orange-text);
}

.seal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
}

/* Google Review Widget */
.case-google-review-widget {
  border-radius: var(--radius-card);
  padding: 28px 32px;
  margin-bottom: 32px;
}

.google-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.google-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.google-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.google-verified-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.google-review-body {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.google-review-author {
  font-size: 0.875rem;
  font-weight: 700;
}

/* Dedicated Consultation CTA Banner */
.case-cta-banner {
  border-radius: var(--radius-card);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.case-cta-banner-text h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.case-cta-banner-text p {
  font-size: 0.9375rem;
  line-height: 1.5;
}

.btn-case-consultation {
  white-space: nowrap;
  min-height: 52px;
  padding: 0 28px;
  font-size: 0.9375rem;
  font-weight: 700;
  background: var(--orange) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(255, 91, 22, 0.4) !important;
  border: none !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: var(--radius-button);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-case-consultation:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 91, 22, 0.5) !important;
}

/* Mobile Responsive for Cases */
@media (max-width: 768px) {
  .case-article {
    padding: 32px 20px;
    margin-bottom: 48px;
  }
  .case-problem-solution-grid,
  .case-details-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .case-cta-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
  }
  .btn-case-consultation {
    width: 100%;
    justify-content: center;
  }
  .case-mockup-image-wrap {
    max-height: 240px;
  }
}

/* ─── S16: INVITO FINALE ALLA CONSULENZA ─── */
.final-cta-section {
  background: linear-gradient(135deg, var(--hero-start) 0%, var(--orange-dark) 50%, var(--orange) 100%);
  color: #ffffff;
  padding: 110px 0;
  text-align: center;
}

/* ─── S17: MODULO CONSULENZA ─── */
.consultation-form-section {
  background: var(--white);
  padding: 110px 0;
}

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

.challenge-radio-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all var(--transition-fast);
  background: var(--white);
}

.challenge-radio-card:hover {
  border-color: var(--orange-light);
}

.challenge-radio-card.active {
  background: var(--orange-wash);
  border: 2px solid var(--orange);
}

.form-inputs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-input, .form-textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  padding: 12px 18px;
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--orange);
}

/* ─── S18: FOOTER ─── */
.site-footer {
  background: var(--dark);
  color: #ffffff;
  padding: 96px 0 40px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 64px;
  margin-bottom: 40px;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted-on-dark);
}

@media (max-width: 900px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Mobile responsive hero tweaks */

@media (max-width: 768px) {
  .hero-section {
    padding-top: 104px;
    padding-bottom: 64px;
  }
  .hero-title {
    font-size: clamp(1.85rem, 5.5vw, 2.35rem) !important;
    line-height: 1.12 !important;
  }
  .hero-subtitle {
    font-size: 1rem !important;
  }
  .hero-support {
    font-size: 0.9375rem !important;
  }
  .btn-hero-cta {
    width: 100% !important;
    text-align: center;
    padding: 14px 20px !important;
    min-height: 52px !important;
  }
  .btn-outline-white {
    width: 100% !important;
    text-align: center;
  }
}


.hero-diagonal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0c0d12 0%, #170b05 24%, #2b0f05 50%, #6e2004 78%, #ff5b16 100%);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 0 100%);
  z-index: 1;
}

/* ─── COMPREHENSIVE RESPONSIVE PERFECTION (<1024px & <768px) ─── */
@media (max-width: 1023px) {
  .hero-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    min-height: auto;
    padding-top: 108px;
    padding-bottom: 64px;
    overflow: hidden !important;
    max-width: 100vw;
  }
  .hero-diagonal-bg {
    clip-path: none;
  }
  .hero-container {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px;
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-mockups-wrapper {
    display: none !important;
  }
  .hero-content {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .hero-hud-wrapper {
    min-width: 0 !important;
    max-width: 100% !important;
    flex-direction: column !important;
    margin-top: 48px;
  }
  .hero-command-hud {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .hero-phone-floating {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    margin: 24px auto 0 !important;
    transform: none !important;
    width: 280px !important;
    max-width: 90% !important;
  }
}

@media (max-width: 900px) {
  .standards-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .hybrid-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .tech-orange-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .tech-node-flow-panel {
    padding: 24px 16px !important;
  }
  .calculator-card {
    grid-template-columns: 1fr !important;
    padding: 24px !important;
  }
  .footer-columns {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(1.85rem, 7vw, 2.4rem) !important;
    line-height: 1.12 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  .hero-subtitle {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }
  .hero-support {
    font-size: 0.9375rem !important;
    line-height: 1.6 !important;
  }
  .btn-hero-cta {
    width: 100% !important;
    text-align: center;
    padding: 14px 20px !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
  }
  .btn-outline-white {
    width: 100% !important;
    text-align: center;
    box-sizing: border-box !important;
  }
  .service-row-asymmetric {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-bottom: 64px !important;
  }
  .problems-grid {
    grid-template-columns: 1fr !important;
  }
  .timeline-horizontal {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .counters-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }
  .challenges-grid,
  .form-challenges-grid,
  .form-inputs-grid,
  .comparison-split-panels {
    grid-template-columns: 1fr !important;
  }
  .scenario-card-before,
  .scenario-card-after {
    padding: 24px 20px !important;
  }
  .fan-cards-container {
    max-width: 100% !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .counters-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ─── COLOR RHYTHM DARK LUXURY SECTIONS ─── */
.section-dark {
  color: #ffffff;
}

.section-dark .badge-orange {
  background: rgba(255, 91, 22, 0.15) !important;
  border-color: rgba(255, 91, 22, 0.4) !important;
  color: #ffffff !important;
}

/* S03: Services Dark Luxury */
.services-section.section-dark {
  background: #0b0c0e !important;
  color: #ffffff !important;
}

.services-section.section-dark .service-num-watermark {
  color: var(--orange) !important;
  opacity: 0.18 !important;
}

.services-section.section-dark h3 {
  color: #ffffff !important;
}

.services-section.section-dark .service-subtitle {
  color: var(--orange-light) !important;
  font-weight: 600;
}

.services-section.section-dark .service-body {
  color: #cbd5e1 !important;
}

.services-section.section-dark .service-features-list,
.services-section.section-dark .service-feature-item,
.services-section.section-dark .service-feature-item span {
  color: #e2e8f0 !important;
}

.services-section.section-dark .service-bullet-orange {
  background: var(--orange) !important;
}

/* S04: Standards Dark Luxury */
.standards-section.section-dark {
  background: #111215 !important;
  color: #ffffff !important;
}

.standards-section.section-dark .standard-tab-item {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
}

.standards-section.section-dark .standard-tab-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

.standards-section.section-dark .standard-tab-item.active {
  background: rgba(255, 91, 22, 0.14) !important;
  border-color: var(--orange) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(255, 91, 22, 0.2) !important;
}

.standards-section.section-dark .standard-tab-title {
  color: inherit !important;
}

.standards-section.section-dark .standard-num {
  color: var(--orange) !important;
}

.standards-section.section-dark .standard-detail-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  color: #ffffff !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5) !important;
}

.standards-section.section-dark .standard-detail-watermark {
  color: var(--orange) !important;
  opacity: 0.15 !important;
}

/* S09: Method Dark Luxury */
.method-section.section-dark {
  background: #0d0e11 !important;
  color: #ffffff !important;
}

.method-section.section-dark .timeline-track-line {
  background: rgba(255, 255, 255, 0.12) !important;
}

.method-section.section-dark .timeline-step-node {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.method-section.section-dark .timeline-step-num {
  background: #17181e !important;
  color: var(--orange) !important;
  border: 2px solid var(--orange) !important;
}

.method-section.section-dark .timeline-step-title {
  color: #ffffff !important;
}

.method-section.section-dark .timeline-step-body {
  color: #cbd5e1 !important;
}

/* S14: Fan Cards Dark Luxury */
.fan-cards-section.section-dark {
  background: #0e0f12 !important;
  color: #ffffff !important;
}

.fan-cards-section.section-dark .fan-card {
  border-radius: var(--radius-card);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fan-cards-section.section-dark .fan-card-white {
  background: #181920 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7) !important;
}

.fan-cards-section.section-dark .fan-card-white .fan-card-num {
  color: #ffffff !important;
}

.fan-cards-section.section-dark .fan-card-white .fan-card-label {
  color: #cbd5e1 !important;
}

.fan-cards-section.section-dark .fan-card-dark {
  background: #111216 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7) !important;
}

.fan-cards-section.section-dark .fan-card-orange {
  background: linear-gradient(135deg, #ff5b16 0%, #b93604 100%) !important;
  border: 1px solid #ff9a5c !important;
  box-shadow: 0 25px 60px rgba(255, 91, 22, 0.25) !important;
}

.fan-cards-section.section-dark .fan-card-orange .fan-card-num {
  color: #ffffff !important;
}

.fan-cards-section.section-dark .fan-card-orange .fan-card-label {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* S17: Modulo Consulenza Dark Luxury */
.consultation-form-section.section-dark {
  background: #0b0c0e !important;
  color: #ffffff !important;
}


/* ──────────────────────────────────────────────────────────────────────────
   DIGITAM-STYLE LAPTOP MOCKUP & WORKS SHOWCASE (S12)
   ────────────────────────────────────────────────────────────────────────── */
.laptop-showcase-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1023px) {
  .laptop-showcase-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.laptop-frame-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.laptop-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.laptop-header-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
}

.laptop-nav-buttons {
  display: flex;
  gap: 8px;
}

.laptop-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.laptop-nav-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.05);
}

/* Realistic Aluminum Laptop Hardware Frame */
.laptop-hardware {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.laptop-hardware-top {
  background: linear-gradient(180deg, #e0e0e0 0%, #d0d0d0 50%, #c0c0c0 100%);
  border-radius: 12px 12px 0 0;
  padding: 6px 6px 0 6px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.laptop-hardware-inner {
  background: #18191f;
  border-radius: 8px 8px 0 0;
  padding: 6px 6px 0 6px;
  position: relative;
}

.laptop-hardware-camera {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  background: #2a2a2a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.laptop-hardware-led {
  width: 2px;
  height: 2px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 4px #22c55e;
}

.laptop-hardware-screen {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: #0d0e12;
  position: relative;
}

.laptop-hardware-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease, opacity 0.2s ease;
}

.laptop-hardware-screen:hover img {
  transform: scale(1.03);
}

.laptop-hardware-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 91, 22, 0.2);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.laptop-hardware-screen:hover .laptop-hardware-overlay {
  opacity: 1;
}

.laptop-hardware-visit-pill {
  background: rgba(13, 14, 18, 0.94);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 10px 22px;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}

.laptop-hardware-visit-pill:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.05);
}

.laptop-hardware-base {
  width: 100%;
  height: 12px;
  background: linear-gradient(180deg, #d8d8d8 0%, #c8c8c8 50%, #b8b8b8 100%);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
}

.laptop-hardware-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  background: #a3a3a3;
  border-radius: 0 0 4px 4px;
}

.laptop-project-meta {
  margin-top: 20px;
  text-align: center;
}

.laptop-project-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.laptop-project-cat {
  font-size: 0.875rem;
  color: #94a3b8;
}

.laptop-pagination-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.laptop-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.laptop-dot.active {
  background: var(--orange);
  width: 24px;
}

/* Recent Works Cards on Right */
.recent-works-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 28px;
}

.recent-work-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.recent-work-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--orange);
  transform: translateX(4px);
}

.recent-work-item.active {
  background: rgba(255, 91, 22, 0.09);
  border-color: rgba(255, 91, 22, 0.55);
  box-shadow: 0 8px 24px rgba(255, 91, 22, 0.15);
  transform: translateX(6px);
}

.recent-work-item.active .recent-work-client span:first-child {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 91, 22, 0.4);
}

.work-metric-badge {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 91, 22, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 91, 22, 0.25);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.recent-work-action {
  margin-top: 6px;
}

.recent-work-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}

.recent-work-link:hover {
  transform: translateX(3px);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .lavori-showcase-card {
    grid-template-columns: 1fr !important;
  }
}

.recent-work-thumb {
  width: 90px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0d0e12;
}

.recent-work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.recent-work-info {
  flex: 1;
  min-width: 0;
}

.recent-work-client {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recent-work-desc {
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 640px) {
  .recent-work-item {
    padding: 14px 16px;
    gap: 12px;
  }
  .recent-work-thumb {
    width: 72px;
    height: 52px;
  }
  .recent-work-client {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 6px;
  }
  .recent-work-client span:first-child {
    font-size: 0.9375rem;
    line-height: 1.25;
  }
  .laptop-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  .laptop-header-title {
    font-size: 0.875rem;
    font-weight: 700;
    max-width: calc(100% - 85px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .laptop-nav-buttons {
    flex-shrink: 0;
  }
  .laptop-nav-btn {
    width: 32px;
    height: 32px;
  }
}

/**
 * ==============================================================================
 * 14-POINT REVISION STYLES — DARK LUXURY ENHANCEMENTS
 * ==============================================================================
 */

/* ─── HERO COMMAND HUD & TITANIUM FLOATING PHONE ─── */
.hero-hud-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 580px;
}

.hero-command-hud {
  width: 100%;
  background: rgba(12, 13, 18, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 91, 22, 0.12);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hud-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hud-status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-glow 2s infinite ease-in-out;
}

.hud-telemetry-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hud-body {
  padding: 24px;
}

.hud-nodes-architecture {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.hud-node-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  position: relative;
  transition: all 0.3s ease;
}

.hud-node-card:hover {
  border-color: rgba(255, 91, 22, 0.35);
  background: rgba(255, 91, 22, 0.05);
}

.hud-node-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hud-node-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 91, 22, 0.12);
  border: 1px solid rgba(255, 91, 22, 0.25);
  color: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.hud-node-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ffffff;
}

.hud-node-desc {
  font-size: 0.6875rem;
  color: #94a3b8;
}

.hud-node-metric {
  text-align: right;
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange-light);
}

.hud-connector-line {
  width: 2px;
  height: 12px;
  background: linear-gradient(180deg, var(--orange), rgba(255, 91, 22, 0.2));
  margin: -6px auto -6px 32px;
  box-shadow: 0 0 8px rgba(255, 91, 22, 0.6);
}

.hud-bottom-telemetry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hud-telemetry-item {
  background: rgba(0, 0, 0, 0.35);
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.hud-telemetry-label {
  font-size: 0.625rem;
  color: #94a3b8;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hud-telemetry-val {
  font-size: 0.875rem;
  font-weight: 800;
  color: #ffffff;
}

/* Floating Titanium Phone with Real WhatsApp Lead Interaction */
.hero-phone-floating {
  position: absolute;
  right: -32px;
  bottom: -36px;
  width: 260px;
  background: #090a0f;
  border-radius: 32px;
  border: 4px solid #232530;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 91, 22, 0.2);
  z-index: 10;
  overflow: hidden;
  transform: rotate(-3.5deg);
  transition: transform 0.4s ease;
}

.hero-phone-floating:hover {
  transform: rotate(0deg) scale(1.02);
}

.phone-dynamic-notch {
  width: 70px;
  height: 16px;
  background: #000000;
  margin: 8px auto 6px;
  border-radius: 12px;
}

.phone-chat-screen {
  padding: 10px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-bubble-incoming {
  background: #1e242b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px 12px 12px 3px;
  padding: 8px 10px;
  font-size: 0.71875rem;
  line-height: 1.35;
  color: #e2e8f0;
  max-width: 90%;
  align-self: flex-start;
}

.chat-bubble-outgoing {
  background: linear-gradient(135deg, #0b4f3a 0%, #065f46 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px 12px 3px 12px;
  padding: 8px 10px;
  font-size: 0.71875rem;
  line-height: 1.35;
  color: #ffffff;
  max-width: 90%;
  align-self: flex-end;
  box-shadow: 0 4px 12px rgba(6, 95, 70, 0.3);
}

.chat-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 91, 22, 0.15);
  border: 1px solid rgba(255, 91, 22, 0.3);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.625rem;
  font-weight: 800;
  color: var(--orange-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
  align-self: center;
}


/* ─── S02: MANIFESTO INVERTITO ─── */
.manifesto-heading-hero {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff !important;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

/* ─── S03: CURVED SERPENTINE RAIL & 120 FPS PURE WHITE LIGHT BEAM ─── */
.services-luminous-wrap {
  position: relative;
  width: 100%;
}

.services-curved-rail-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
  will-change: transform;
  transform: translateZ(0);
}

.services-curved-rail-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.services-rail-track {
  opacity: 0.5;
}

.services-rail-halo,
.services-rail-glow,
.services-rail-core {
  will-change: stroke-dashoffset;
}

.services-rail-comet {
  will-change: transform;
}

.service-visual-mockup {
  background: #0d0f14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 34px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 330px;
  position: relative;
  z-index: 3;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.service-visual-mockup.is-light-active {
  border-color: rgba(0, 240, 255, 0.45) !important;
  box-shadow: 0 0 45px rgba(0, 240, 255, 0.16), 0 24px 60px rgba(0, 0, 0, 0.7) !important;
}

.service-visual-mockup::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── S04: STAGGERED STANDARDS (NO NUMBERS) ─── */
.standard-card-stagger {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.standard-card-stagger.is-entered {
  opacity: 1;
  transform: translateX(0);
}

/* ─── S05: INTERACTIVE VERTICAL LED RAIL PROBLEMS ─── */
.problems-interactive-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.problems-rail-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 28px;
}

.problems-vertical-rail {
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0, 0, 0, 0.08);
}

.problem-rail-station {
  position: absolute;
  left: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface-soft);
  border: 2px solid rgba(0, 0, 0, 0.22);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.problem-rail-station.active {
  border-color: var(--orange) !important;
  background: var(--orange) !important;
  box-shadow: 0 0 12px rgba(255, 91, 22, 0.7) !important;
  transform: scale(1.2) !important;
}

.problems-led-bead {
  position: absolute;
  left: -6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--orange);
  box-shadow: 0 0 16px var(--orange), 0 0 8px #ffffff;
  transition: top 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 2;
}

.problem-rail-touchpoint {
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.problem-rail-touchpoint:hover {
  border-color: var(--orange-light);
}

.problem-rail-touchpoint.active {
  border-color: var(--orange);
  background: var(--orange-wash);
  box-shadow: 0 4px 16px rgba(255, 91, 22, 0.15);
}

.problem-detail-display {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  padding: 44px;
  box-shadow: var(--shadow-md);
  min-height: 380px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

@media (max-width: 900px) {
  .problems-interactive-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── S06: CONTRAST SCENARIOS (RED & GREEN LUXURY BORDERS) ─── */
.scenario-card-frustrating {
  background: #14151b !important;
  border: 1.5px solid rgba(239, 68, 68, 0.65) !important;
  box-shadow: 0 0 35px rgba(239, 68, 68, 0.08), 0 20px 50px rgba(0, 0, 0, 0.5) !important;
  border-radius: var(--radius-card);
  padding: 40px;
  position: relative;
  opacity: 0.95;
}

.scenario-badge-error {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.scenario-card-triumphant {
  background: linear-gradient(145deg, #0e1017 0%, #151824 100%) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.65) !important;
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.15), 0 20px 50px rgba(0, 0, 0, 0.5) !important;
  border-radius: var(--radius-card);
  padding: 40px;
  position: relative;
}

.scenario-badge-luxury {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #10b981;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

/* ─── S08: BESPOKE DUAL-ENGINE HYBRID ARCHITECTURE ─── */
.hybrid-bespoke-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.hybrid-bespoke-card {
  background: #11131a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.hybrid-card-dfy {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.hybrid-card-dfy:hover {
  border-color: rgba(255, 91, 22, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 91, 22, 0.1);
}

.hybrid-card-dwy {
  background: linear-gradient(145deg, #11141e 0%, #161a27 100%);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.hybrid-card-dwy:hover {
  border-color: rgba(16, 185, 129, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(16, 185, 129, 0.1);
}

.hybrid-card-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.hybrid-step-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--orange-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hybrid-badge-amber {
  color: #10b981;
}

.hybrid-card-heading {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.hybrid-card-sub {
  font-size: 0.9375rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hybrid-features-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.hybrid-feature-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.hybrid-icon-bullet {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 91, 22, 0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.hybrid-bullet-amber {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.hybrid-feat-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.hybrid-feat-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.5;
}

.hybrid-guarantee-strip {
  margin-top: auto;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.5;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.hybrid-guarantee-dwy {
  background: rgba(16, 185, 129, 0.04);
  border-color: rgba(16, 185, 129, 0.15);
}

.hybrid-shield-icon {
  font-size: 1.125rem;
  flex-shrink: 0;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .hybrid-bespoke-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ─── S10: 3D FLIP CARDS CLIENT MAGNET (COMPACT & GEOMETRIC) ─── */
.method-flip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 56px;
  perspective: 1200px;
}

.method-card-3d {
  height: 260px !important;
  position: relative;
  cursor: pointer;
}

.method-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
}

.method-card-3d.is-flipped .method-card-inner {
  transform: rotateY(180deg);
}

.method-card-face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 18px;
  padding: 22px 18px !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Card Back (Initial State) */
.method-card-back {
  background: #090a0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  position: relative;
}

.method-card-back::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 91, 22, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.method-card-back-seal {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 91, 22, 0.1);
  border: 1px solid rgba(255, 91, 22, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 0 20px rgba(255, 91, 22, 0.2);
}

.method-card-back-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--orange-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Card Front (Flipped State) */
.method-card-front {
  background: #111319;
  border: 1px solid rgba(255, 91, 22, 0.3);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 91, 22, 0.15);
  transform: rotateY(180deg);
  justify-content: flex-start !important;
  gap: 8px !important;
}

.method-front-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.method-front-phase-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--orange-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.method-front-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.25;
}

.method-front-body {
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1023px) {
  .method-flip-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .method-card-3d {
    height: 230px !important;
  }
}

/* ─── S13: COMPACT 2-COLUMN LUXURY CASE STUDIES (EDITORIAL REDESIGN) ─── */
.cases-compact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.case-compact-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.case-compact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 91, 22, 0.3);
  box-shadow: 0 16px 40px rgba(255, 91, 22, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.case-compact-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.case-compact-client-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.case-compact-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange);
  flex-shrink: 0;
}

.case-compact-sector-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.case-compact-client-name {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.case-compact-client-role {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.8125rem;
  margin-top: 2px;
}

.case-compact-verified-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #059669;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 4px 10px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.case-compact-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.35;
  min-height: 52px;
}

.case-compact-visual-frame {
  height: 210px;
  border-radius: 12px;
  overflow: hidden;
  background: #0b0c10;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.case-compact-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.case-compact-card:hover .case-compact-img {
  transform: scale(1.03);
}

.case-compact-metric-banner {
  padding: 14px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 91, 22, 0.06) 0%, rgba(255, 160, 51, 0.04) 100%);
  border: 1px solid rgba(255, 91, 22, 0.2);
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.case-metric-num {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--orange-dark);
  font-family: 'Montserrat', -apple-system, sans-serif;
}

.case-metric-text {
  font-size: 0.8125rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}

.case-compact-narrative {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.84375rem;
  line-height: 1.55;
  color: #475569;
}

.case-narrative-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.case-narrative-row p {
  margin: 0;
}

.case-narrative-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.case-dot-before {
  background: #94a3b8;
}

.case-dot-after {
  background: var(--orange);
}

.case-compact-quote {
  font-size: 0.84375rem;
  font-style: italic;
  color: #334155;
  line-height: 1.55;
  padding-left: 14px;
  border-left: 3px solid var(--orange);
  margin: 0 0 22px 0;
  margin-top: auto;
}

.case-compact-footer {
  margin-top: auto;
}

.case-compact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 18px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.25s ease;
}

.case-compact-link:hover {
  background: var(--orange);
  color: #ffffff;
  border-color: var(--orange);
}

.case-compact-link:hover .case-link-arrow {
  transform: translateX(4px);
}

.case-link-arrow {
  transition: transform 0.2s ease;
}

@media (max-width: 900px) {
  .cases-compact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .case-compact-card {
    padding: 28px 22px;
  }
  .case-compact-title {
    min-height: auto;
    font-size: 1.15rem;
  }
  .case-compact-visual-frame {
    height: 190px;
  }
}



/* ──────────────────────────────────────────────────────────────────────────
   AETHER DYNAMICS SHOWCASE SYSTEM (HERO, WEBGL, MULTI-VIEW & TELEMETRY)
   ────────────────────────────────────────────────────────────────────────── */
.aether-showcase-section {
  position: relative;
  background: #09090B;
  color: #F4F4F5;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 90px;
  overflow: hidden;
}

.aether-canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.aether-hero-clean {
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 16px 60px 16px;
  position: relative;
  z-index: 1;
}

/* Gradient border shell: thin 1px outer hairline with gradient (Aether-Dynamics spec) */
.aether-gradient-shell {
  position: relative;
  padding: 1px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(75, 75, 160, 0.5) 45%, rgba(143, 71, 174, 0.3) 75%, rgba(255, 255, 255, 0.08) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(75, 75, 160, 0.15);
  max-width: 940px;
  width: 100%;
  margin: 0 auto;
}

/* Inner Glassy Surface */
.aether-card-glass {
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 27px;
  border: 1px solid #27272A;
  box-shadow: inset 0px 0px 12px 0px rgba(255, 255, 255, 0.03), inset 0px 2px 4px 0px rgba(255, 255, 255, 0.02);
  padding: clamp(36px, 5.5vw, 64px) clamp(24px, 5vw, 56px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Card Top Tag / Badge */
.aether-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 9999px;
  background: rgba(75, 75, 160, 0.15);
  border: 1px solid rgba(75, 75, 160, 0.35);
  color: #C4B5FD;
  font-family: 'JetBrains Mono', 'SFMono-Regular', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* Display 72px Headline with -0.025em letter-spacing */
.aether-card-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 'Montserrat', sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #F4F4F5;
  margin: 0 0 18px 0;
  max-width: 780px;
}

.aether-card-title span.highlight {
  background: linear-gradient(135deg, #FFFFFF 20%, #A1A1AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Body monospace supporting copy (14px, 22.75px line-height) */
.aether-card-sub {
  font-family: 'JetBrains Mono', 'SFMono-Regular', monospace;
  font-size: 14px;
  font-weight: 400;
  line-height: 22.75px;
  color: #A1A1AA;
  max-width: 620px;
  margin: 0 auto 36px auto;
}

/* Button-link: text #F4F4F5, radius 9999px, padding 1px with outer glow */
.aether-btn-shell {
  display: inline-flex;
  padding: 1px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(75, 75, 160, 0.5), rgba(255, 255, 255, 0.1));
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.aether-btn-shell:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(75, 75, 160, 0.35);
}

.aether-btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 9999px;
  background: rgba(9, 9, 11, 0.85);
  color: #F4F4F5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
}

.aether-btn-inner svg {
  color: #C4B5FD;
  animation: aetherBounce 2s infinite ease-in-out;
}

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

.aether-scroll-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #A1A1AA;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: 10px;
}

.aether-scroll-indicator:hover {
  color: #FFFFFF;
}

.aether-scroll-indicator svg {
  animation: aetherBounce 2s infinite ease-in-out;
  color: var(--orange);
}

/* Chapter Sections */
.aether-chapter-section {
  position: relative;
  z-index: 1;
  padding: 90px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.aether-chapter-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 52px;
  align-items: center;
}

.aether-chapter-grid.reverse {
  grid-template-columns: 1.25fr 1fr;
}

@media (max-width: 1024px) {
  .aether-chapter-grid,
  .aether-chapter-grid.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.aether-chapter-meta {
  font-family: SFMono-Regular, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.aether-chapter-title {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  margin: 0 0 16px 0;
}

.aether-chapter-desc {
  color: #A1A1AA;
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.aether-story-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
}

.aether-story-item {
  margin-bottom: 14px;
}

.aether-story-item:last-child {
  margin-bottom: 0;
}

.aether-story-tag {
  font-family: SFMono-Regular, monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 4px;
}

.aether-story-tag.tag-problem {
  color: #EF4444;
}

.aether-story-tag.tag-solution {
  color: #00E676;
}

.aether-metric-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255, 91, 22, 0.08);
  border: 1px solid rgba(255, 91, 22, 0.25);
  margin-bottom: 24px;
}

.aether-metric-num {
  font-family: SFMono-Regular, monospace;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.aether-metric-text {
  font-size: 0.8125rem;
  color: #E4E4E7;
  line-height: 1.4;
}

.aether-chapter-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.aether-chapter-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #A1A1AA;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.aether-chapter-mode-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.aether-chapter-mode-btn.active {
  background: rgba(75, 75, 160, 0.35);
  border-color: rgba(143, 71, 174, 0.7);
  color: #FFFFFF;
  box-shadow: 0 0 14px rgba(143, 71, 174, 0.4);
}

.aether-quote-bubble {
  position: relative;
  padding: 16px 20px;
  border-left: 2px solid var(--orange);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 12px 12px 0;
  margin-bottom: 24px;
  font-style: italic;
  font-size: 0.875rem;
  color: #D4D4D8;
  line-height: 1.6;
}

.aether-quote-author {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 8px;
  display: block;
}

.aether-content-wrapper {
  position: relative;
  z-index: 1;
}

/* Telemetry HUD Bar */
.aether-hud-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  color: #A1A1AA;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}

.hud-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hud-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00E676;
  box-shadow: 0 0 10px #00E676;
}

/* Aether Badge & Pill Tokens (rounded: 9999px) */
.badge-aether {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #F4F4F5;
  background: rgba(75, 75, 160, 0.16);
  border: 1px solid rgba(75, 75, 160, 0.45);
  box-shadow: 0 0 14px rgba(75, 75, 160, 0.25) inset;
  text-transform: uppercase;
}

.aether-headline {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin: 16px 0 20px 0;
}

.aether-subheadline {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #A1A1AA;
  max-width: 720px;
  margin-bottom: 36px;
}

/* Project Selector Tabs Scroller */
.aether-tabs-scroller {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 28px;
  scrollbar-width: thin;
}

.aether-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 8px 18px;
  color: #A1A1AA;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.aether-tab-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.aether-tab-btn.active {
  background: rgba(255, 91, 22, 0.12);
  border-color: rgba(255, 91, 22, 0.6);
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(255, 91, 22, 0.25);
}

.aether-tab-btn .tab-num {
  font-family: SFMono-Regular, monospace;
  font-size: 0.75rem;
  color: var(--orange);
  opacity: 0.9;
}

.aether-tab-btn .tab-badge {
  font-size: 0.6875rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 9999px;
  color: #e4e4e7;
}

/* Multi-View Mode Switcher Dock */
.aether-mode-bar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.aether-mode-dock {
  display: inline-flex;
  gap: 6px;
  background: rgba(24, 24, 27, 0.85);
  padding: 5px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
}

.aether-mode-btn {
  background: transparent;
  border: none;
  color: #A1A1AA;
  padding: 8px 18px;
  border-radius: 9999px;
  font-family: SFMono-Regular, monospace;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.aether-mode-btn:hover {
  color: #FFFFFF;
}

.aether-mode-btn.active {
  background: #4B4BA0;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(75, 75, 160, 0.4);
}

/* Gradient Border Shell Container */
.aether-stage-shell {
  padding: 1px;
  background: linear-gradient(135deg, rgba(75, 75, 160, 0.5) 0%, rgba(143, 71, 174, 0.3) 50%, rgba(255, 91, 22, 0.3) 100%);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  margin-bottom: 64px;
}

.aether-stage-inner {
  background: #09090B;
  border-radius: 23px;
  padding: 40px;
  position: relative;
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02), inset 0 2px 4px rgba(255, 255, 255, 0.03);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* 1. Desktop Widescreen Stage */
.aether-desktop-stage {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.desktop-hardware-chassis {
  position: relative;
  background: #18181b;
  border-radius: 16px 16px 4px 4px;
  padding: 14px 14px 20px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.desktop-hardware-chassis .chassis-camera {
  width: 6px;
  height: 6px;
  background: #27272a;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  box-shadow: inset 0 0 2px #000;
}

.desktop-hardware-chassis .chassis-screen {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  background: #000000;
}

.desktop-hardware-chassis .chassis-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.desktop-hardware-chassis .chassis-base {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 104%;
  height: 10px;
  background: linear-gradient(180deg, #27272a 0%, #18181b 100%);
  border-radius: 0 0 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.desktop-hardware-chassis .chassis-notch {
  width: 120px;
  height: 4px;
  background: #09090b;
  border-radius: 0 0 4px 4px;
  margin: 0 auto;
}

/* Interactive Hotspots */
.hotspots-layer {
  position: absolute;
  inset: 0;
  pointer-events: auto;
}

.aether-hotspot {
  position: absolute;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 20;
}

.hotspot-dot {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 12px var(--orange);
}

.hotspot-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 91, 22, 0.4);
  animation: hotspotPulse 2s infinite ease-out;
}

@keyframes hotspotPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hotspot-card {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 240px;
  background: rgba(9, 9, 11, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 12px 14px;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 30;
}

.aether-hotspot:hover .hotspot-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.hotspot-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.hotspot-desc {
  font-size: 0.75rem;
  color: #A1A1AA;
  line-height: 1.4;
}

/* Stage Project Info Footer */
.stage-footer-meta {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stage-project-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 10px 0 6px 0;
}

.stage-project-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #A1A1AA;
  margin: 0;
}

.stage-metric-highlight {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 20px;
}

.metric-val-big {
  font-family: SFMono-Regular, monospace;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 4px;
}

.metric-lbl {
  font-size: 0.8125rem;
  color: #A1A1AA;
  line-height: 1.4;
}

.btn-aether-primary {
  background: linear-gradient(135deg, #4B4BA0 0%, #8F47AE 100%);
  color: #FFFFFF;
  border-radius: 9999px;
  padding: 10px 22px;
  font-family: SFMono-Regular, monospace;
  font-size: 0.8125rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(75, 75, 160, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-aether-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(75, 75, 160, 0.5);
}

/* 2. Mobile View Stage */
.aether-mobile-stage {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: center;
}

.iphone-frame {
  position: relative;
  width: 320px;
  height: 640px;
  margin: 0 auto;
  background: #18181b;
  border-radius: 46px;
  padding: 12px;
  border: 3px solid #27272a;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8), inset 0 0 0 2px rgba(255,255,255,0.1);
}

.iphone-island {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #000000;
  border-radius: 12px;
  z-index: 10;
}

.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #000000;
}

.iphone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.mobile-interaction-overlay {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
}

.mobile-booking-pill {
  background: rgba(9, 9, 11, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
}

.pulse-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00E676;
  box-shadow: 0 0 8px #00E676;
}

.mobile-specs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  font-size: 0.875rem;
}

.spec-k {
  color: #A1A1AA;
}

.spec-v {
  color: #FFFFFF;
  font-weight: 600;
}

/* 3. Stack & Telemetry Stage */
.aether-stack-stage {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.stack-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.01);
}

.stack-card-k {
  font-family: SFMono-Regular, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #8F47AE;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.stack-card-v {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.4;
}

.security-assurance-box {
  padding: 24px 28px;
  background: rgba(75, 75, 160, 0.08);
  border: 1px solid rgba(75, 75, 160, 0.35);
  border-radius: 16px;
}

.sec-badge {
  font-family: SFMono-Regular, monospace;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #4B4BA0;
  margin-bottom: 8px;
}

.security-assurance-box p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #D4D4D8;
}

/* 4. Testimonial Stage */
.aether-testimonial-stage {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
}

.testimonial-hero-card {
  padding: 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
}

.verified-seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: SFMono-Regular, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  color: #00E676;
  margin-bottom: 20px;
}

.testimonial-quote {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: #FFFFFF;
  font-style: italic;
  margin: 0 0 28px 0;
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, #4B4BA0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
  color: #FFFFFF;
}

.author-name {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.author-role {
  font-size: 0.8125rem;
  color: #A1A1AA;
}

.testimonial-numbers-card {
  padding: 36px;
  background: rgba(255, 91, 22, 0.06);
  border: 1px solid rgba(255, 91, 22, 0.25);
  border-radius: 20px;
}

.big-result-num {
  font-family: SFMono-Regular, monospace;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1.1;
  margin-bottom: 12px;
}

.big-result-detail {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #D4D4D8;
  margin-bottom: 24px;
}

/* Comprehensive Grid of All Projects Below */
.aether-all-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.aether-project-card {
  background: rgba(24, 24, 27, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s, box-shadow 0.25s;
  backdrop-filter: blur(12px);
}

.aether-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(75, 75, 160, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.aether-card-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #09090b;
}

.aether-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.aether-project-card:hover .aether-card-thumb img {
  transform: scale(1.04);
}

.aether-card-body {
  padding: 24px;
}

.aether-card-body h4 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 10px 0 8px 0;
}

.aether-card-body p {
  font-size: 0.875rem;
  color: #A1A1AA;
  line-height: 1.55;
  margin-bottom: 18px;
}

/* Responsive queries */
@media (max-width: 1024px) {
  .stage-footer-meta {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .aether-mobile-stage {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .aether-testimonial-stage {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .aether-showcase-section {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .aether-stage-inner {
    padding: 20px 16px;
  }
  .stack-grid {
    grid-template-columns: 1fr;
  }
  .aether-all-projects-grid {
    grid-template-columns: 1fr;
  }
  .iphone-frame {
    width: 280px;
    height: 560px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   DIGITAM-STYLE PORTFOLIO & PLATFORMS SHOWCASE (ESEMPI DI PIATTAFORME)
   ══════════════════════════════════════════════════════════════════ */
.portfolio-hero-section {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 24px 90px;
  overflow: hidden;
  background: #06070a;
  color: #ffffff;
  text-align: center;
}

.portfolio-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.portfolio-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.portfolio-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.portfolio-hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 22px;
}

.portfolio-hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  max-width: 740px;
  margin: 0 auto 36px;
}

.portfolio-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  background: #ffffff;
  color: #06070a;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.portfolio-explore-btn:hover {
  transform: translateY(-3px) scale(1.02);
  background: #f8fafc;
  box-shadow: 0 16px 36px rgba(255, 91, 22, 0.25);
  color: #ff5b16;
}

/* Staggered 2-Column Grid (Identical to Digitam) */
.portfolio-grid-section {
  padding: 40px 0 120px;
  background: #06070a;
  position: relative;
  z-index: 2;
}

.portfolio-staggered-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.portfolio-staggered-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.portfolio-staggered-col.staggered-offset {
  margin-top: 60px;
}

/* Card Item */
.portfolio-card-item {
  display: block;
  position: relative;
  text-decoration: none;
  border-radius: 22px;
  overflow: hidden;
  background: #0c0d12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease, box-shadow 0.45s ease;
  cursor: pointer;
}

.portfolio-card-item:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 91, 22, 0.45);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7), 0 0 32px rgba(255, 91, 22, 0.18);
}

.portfolio-card-img-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0a0b0e;
}

.portfolio-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card-item:hover .portfolio-card-img-wrap img {
  transform: scale(1.08);
}

/* Digitam Hover Overlay */
.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.portfolio-card-item:hover .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card-overlay-text {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(12px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card-item:hover .portfolio-card-overlay-text {
  transform: translateY(0);
}

/* Card Bottom Info */
.portfolio-card-info {
  padding: 22px 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #0c0d12;
}

.portfolio-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 5px;
  line-height: 1.3;
}

.portfolio-card-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

.portfolio-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ff5b16;
  background: rgba(255, 91, 22, 0.1);
  border: 1px solid rgba(255, 91, 22, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.portfolio-card-item:hover .portfolio-card-badge {
  background: rgba(255, 91, 22, 0.2);
  border-color: rgba(255, 91, 22, 0.5);
}

/* Digitam Dashed Next Project Card */
.portfolio-cta-card {
  border: 2px dashed rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 56px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.015);
  min-height: 420px;
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease;
}

.portfolio-cta-card:hover {
  border-color: rgba(255, 91, 22, 0.5);
  background: rgba(255, 91, 22, 0.03);
  transform: translateY(-4px);
}

.portfolio-cta-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 91, 22, 0.12);
  border: 1px solid rgba(255, 91, 22, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff5b16;
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 22px;
}

.portfolio-cta-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.portfolio-cta-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto 28px;
}

/* Interactive Preview Modal (Lightbox) */
.portfolio-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portfolio-modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.portfolio-modal-box {
  background: #0e1017;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 50px rgba(255, 91, 22, 0.15);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-modal-backdrop.active .portfolio-modal-box {
  transform: scale(1);
}

.portfolio-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
}

.portfolio-modal-close:hover {
  background: rgba(255, 91, 22, 0.2);
  transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 900px) {
  .portfolio-staggered-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .portfolio-staggered-col.staggered-offset {
    margin-top: 0;
  }
  .portfolio-hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 65vh;
  }
}
