/* ============================================================
   AltivisOne — Visualizers Page Custom Styles
   ============================================================ */

.visualizers-page {
  width: 100%;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  position: relative;
  padding: 8.5rem 0 5rem;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  overflow: hidden;
}

.hero-abstract-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  top: -120px;
  left: 5%;
  background: radial-gradient(circle, rgba(223, 120, 0, 0.07) 0%, rgba(223, 120, 0, 0) 70%);
}

.hero-glow-2 {
  width: 550px;
  height: 550px;
  top: 40px;
  right: 5%;
  background: radial-gradient(circle, rgba(77, 148, 217, 0.08) 0%, rgba(77, 148, 217, 0) 70%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(17, 24, 39, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 65% 65% at 50% 40%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 65% 65% at 50% 40%, #000 20%, transparent 100%);
  opacity: 0.5;
}

.hero-centered-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badges-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #111827;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.badge-icon {
  color: var(--color-primary, #DF7800);
  flex-shrink: 0;
}

.hero-heading {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  color: #000000;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero-heading .highlight-text {
  color: var(--color-primary, #DF7800);
}

.hero-subtext {
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.65;
  margin: 0 auto 2rem;
  max-width: 780px;
  text-align: center;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.vis-section {
  padding: 5.5rem 0;
}

.vis-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.vis-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #111827;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.vis-section-title {
  font-size: clamp(2rem, 3.8vw, 2.65rem);
  font-weight: 800;
  color: #000000;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.vis-section-desc {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* 4-Column Feature Cards Grid */
.vis-card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.vis-feature-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg, 16px);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base, 0.25s ease);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.05));
}

.vis-feature-card:hover {
  transform: translateY(-4px);
  border-color: #111827;
  box-shadow: var(--shadow-md, 0 4px 14px rgba(0, 0, 0, 0.06));
}

.vis-card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(223, 120, 0, 0.08);
  color: var(--color-primary, #DF7800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.vis-card-icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary, #DF7800);
}

.vis-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 0.65rem;
}

.vis-card-desc {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

/* Features List */
.vis-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vis-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.vis-feat-icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary, #DF7800);
  min-width: 24px;
  margin-top: 2px;
  flex-shrink: 0;
}

.vis-feature-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.vis-feature-item p {
  font-size: 0.92rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

/* Visualizer App Mockup Frame */
.vis-app-frame {
  background: #ffffff;
  border: 1px solid #111827;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vis-app-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.vis-app-topbar {
  background: #111827;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.luxury-topbar {
  background: #090d16;
}

.vis-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vis-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.vis-dots .dot.red {
  background-color: #ef4444;
}

.vis-dots .dot.yellow {
  background-color: #f59e0b;
}

.vis-dots .dot.green {
  background-color: #10b981;
}

.vis-frame-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 0.03em;
}

.vis-frame-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Construction Grid (6 Modules) */
.construction-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.construction-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg, 16px);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base, 0.25s ease);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.05));
  position: relative;
}

.construction-card:hover {
  transform: translateY(-4px);
  border-color: #111827;
  box-shadow: var(--shadow-md, 0 4px 14px rgba(0, 0, 0, 0.06));
}

.const-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(223, 120, 0, 0.08);
  color: var(--color-primary, #DF7800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.const-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary, #DF7800);
}

.const-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 0.65rem;
}

.const-card-desc {
  font-size: 0.94rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.const-card-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background: #f3f4f6;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #374151;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Benefits Grid */
.vis-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg, 16px);
  padding: 2.25rem 1.6rem;
  text-align: center;
  transition: all var(--transition-base, 0.25s ease);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.05));
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: #111827;
  box-shadow: var(--shadow-md, 0 4px 14px rgba(0, 0, 0, 0.06));
}

.benefit-num {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--color-primary, #DF7800);
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--color-primary, #DF7800) 0%, #c66a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.benefit-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 0.65rem;
}

.benefit-desc {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

/* ---------- SECTION 5: CTA BANNER ---------- */
.section-5 {
  padding: 6rem 0;
}

.cta-box {
  background: #fafafa;
  border: 2px solid #111827;
  border-radius: var(--radius-xl, 24px);
  padding: 4.5rem 3rem;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.cta-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: #000000;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 14px 32px;
  font-size: 1rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .vis-split-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .vis-split-grid.reverse-mobile {
    display: flex;
    flex-direction: column-reverse;
  }

  .vis-card-grid-4,
  .construction-grid-6,
  .vis-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .vis-card-grid-4,
  .construction-grid-6,
  .vis-benefits-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 3rem 1.5rem;
  }
}