/* ==========================================================================
   NOVORA Luxury Digital Agency — Home Page Styles
   File: home.css
   Language: Arabic (RTL)
   ========================================================================== */

/* 1. Hero Section (.hero)
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--near-black);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-aurora);
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: 7rem;
  padding-bottom: 5rem;
  width: 100%;
}

.hero-content {
  text-align: right;
}

.hero-headline {
  font-size: var(--font-hero);
  font-family: var(--font-display);
  color: var(--ice);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-headline span {
  color: var(--emerald);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--cool-grey);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

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

/* Scroll Down Indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  pointer-events: none;
}

.hero-scroll span {
  font-size: var(--font-label);
  color: var(--cool-grey);
  font-family: var(--font-body);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cool-grey), transparent);
  animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.1% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* Hero Showcase Image */
.hero-visual {
  position: relative;
  width: 100%;
}

.hero-showcase-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 36px rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* CSS-drawn Luxury Website Wireframe Inside Mockup */
.mockup-site-preview {
  width: 100%;
  height: 100%;
  background: rgba(11, 11, 11, 0.75);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 0.85rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mockup-site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-site-logo {
  width: 44px;
  height: 10px;
  background: var(--ice);
  border-radius: 4px;
}

.mockup-site-links {
  display: flex;
  gap: 8px;
}

.mockup-site-link {
  width: 24px;
  height: 6px;
  background: rgba(248, 250, 252, 0.35);
  border-radius: 3px;
}

.mockup-site-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.mockup-site-tag {
  width: 65px;
  height: 7px;
  background: rgba(16, 185, 129, 0.4);
  border-radius: 4px;
}

.mockup-site-title {
  width: 75%;
  height: 14px;
  background: var(--ice);
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.mockup-site-desc {
  width: 55%;
  height: 7px;
  background: rgba(156, 163, 175, 0.4);
  border-radius: 3px;
}

.mockup-site-cta {
  width: 48px;
  height: 14px;
  background: var(--emerald);
  border-radius: 4px;
  margin-top: 4px;
}

.mockup-site-cards {
  display: flex;
  gap: 8px;
  width: 100%;
}

.mockup-site-card {
  flex: 1;
  height: 38px;
  background: rgba(248, 250, 252, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

/* 2. Reveal Section (.reveal-section) with 3D Cyber-Architecture
   -------------------------------------------------------------------------- */
.reveal-section {
  position: relative;
  min-height: 100vh;
  background-color: var(--near-black);
  overflow: hidden;
  padding: var(--section-padding) 0;
  display: flex;
  align-items: center;
}

.reveal-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.reveal-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.reveal-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 30px;
  color: var(--emerald);
  font-size: var(--font-small);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.reveal-title {
  font-family: var(--font-display);
  font-size: var(--font-h1);
  color: var(--ice);
  margin-bottom: 0.75rem;
}

.reveal-desc {
  color: var(--cool-grey);
  max-width: 620px;
  margin-inline: auto;
  font-size: 1rem;
}

.home-3d-stage {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 480px;
  max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-lg);
  background: radial-gradient(circle at center, rgba(24, 46, 111, 0.35) 0%, rgba(11, 11, 11, 0.9) 70%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .reveal-section {
    min-height: 0;
    padding-block: clamp(3rem, 8vh, 5rem);
  }

  .home-3d-stage {
    height: min(60vh, 460px);
    min-height: 340px;
    max-height: 460px;
  }
}

.home-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.stage-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  pointer-events: none;
}

.stage-indicators {
  display: flex;
  justify-content: center;
  gap: 1rem;
  pointer-events: auto;
  flex-wrap: wrap;
}

.stage-dot {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(156, 163, 175, 0.2);
  color: var(--cool-grey);
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stage-dot span {
  color: var(--emerald);
}

.stage-dot.active,
.stage-dot:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--emerald);
  color: var(--ice);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.stage-cards-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 190px;
  margin: 0 auto;
  pointer-events: auto;
}

.stage-card {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: min(90vw, 460px);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--border-radius);
  padding: 1.5rem 1.75rem;
  text-align: right;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.stage-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.stage-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  margin-bottom: 0.75rem;
}

.stage-card-icon svg {
  width: 20px;
  height: 20px;
}

.stage-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ice);
  margin-bottom: 0.4rem;
}

.stage-card p {
  font-size: 0.85rem;
  color: var(--cool-grey);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.stage-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.reveal-caption {
  font-family: var(--font-display);
  font-size: var(--font-h3);
  color: var(--cool-grey);
  text-align: center;
  margin-top: 1.5rem;
}

/* 3. Value Propositions (.value-props)
   -------------------------------------------------------------------------- */
.value-props {
  background-color: var(--ice);
  padding: var(--section-padding) 0;
}

.value-props-header {
  text-align: center;
  margin-bottom: 4rem;
}

.value-props-header h2 {
  color: var(--near-black);
  margin-bottom: 0.75rem;
}

.value-props-header p {
  color: var(--slate);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  max-width: 580px;
  margin: 0 auto;
}

.value-props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  padding: 2.5rem 2rem;
  background-color: #ffffff;
  border-radius: var(--border-radius);
  border: 1px solid rgba(31, 41, 55, 0.08);
  transition: all var(--transition-smooth);
  text-align: right;
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.value-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(16, 185, 129, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.value-icon svg {
  width: 24px;
  height: 24px;
  color: var(--emerald);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: var(--font-h3);
  color: var(--near-black);
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--slate);
  font-size: var(--font-body-size);
  line-height: 1.7;
}

/* 4. Services Preview (.services-preview)
   -------------------------------------------------------------------------- */
.services-preview {
  background-color: var(--near-black);
  padding: var(--section-padding) 0;
}

.services-preview-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.services-preview-header h2 {
  margin-bottom: 0.75rem;
}

.services-preview-header p {
  color: var(--cool-grey);
  max-width: 580px;
  margin: 0 auto;
}

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

.preview-card {
  background-color: var(--slate);
  border-radius: var(--border-radius);
  padding: 2.25rem 2rem;
  transition: all var(--transition-smooth);
  border: 1px solid rgba(156, 163, 175, 0.1);
  display: flex;
  flex-direction: column;
  text-align: right;
}

.preview-card:hover {
  border-color: var(--emerald);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.preview-price {
  font-family: var(--font-display);
  font-size: var(--font-h2);
  color: var(--emerald);
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.preview-name {
  font-family: var(--font-display);
  color: var(--ice);
  font-size: var(--font-h3);
  margin-bottom: 0.75rem;
}

.preview-desc {
  color: var(--cool-grey);
  font-size: var(--font-small);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  flex: 1;
}

.preview-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* 5. CTA Band (.cta-band)
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--gradient-aurora);
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 75%);
  pointer-events: none;
}

.cta-band-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.cta-band h2 {
  color: var(--ice);
  font-size: var(--font-h1);
  margin-bottom: 1.5rem;
}

.cta-band p {
  color: rgba(248, 250, 252, 0.9);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.cta-band .btn {
  margin: 0 auto;
}

/* 6. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    gap: 2rem;
  }

  .value-props-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 5.5rem;
    padding-bottom: 4rem;
  }

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

  .hero-subtitle {
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 2rem;
    max-width: 520px;
    margin-inline: auto;
  }

  .reveal-layers {
    height: 55vh;
    min-height: 380px;
  }

  .value-props-grid {
    grid-template-columns: 1fr;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .preview-card .btn {
    align-self: stretch;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .value-card {
    padding: 2rem 1.5rem;
  }

  .preview-card {
    padding: 2rem 1.5rem;
  }

  .reveal-code {
    padding: 1.25rem;
    font-size: 0.75rem;
  }
}
