/* =============================================
   mallofmirpur.com — Premium Domain Sale Page
   Aesthetic: Luxury Editorial Dark
   ============================================= */

/* === VARIABLES === */
:root {
  --bg: #0c0b09;
  --bg2: #111009;
  --surface: #161410;
  --surface2: #1e1b15;
  --border: rgba(212, 175, 80, 0.15);
  --border-light: rgba(255, 255, 255, 0.06);
  --gold: #d4af50;
  --gold-light: #e8c96a;
  --gold-dim: rgba(212, 175, 80, 0.12);
  --white: #f5f0e8;
  --white-dim: rgba(245, 240, 232, 0.6);
  --white-faint: rgba(245, 240, 232, 0.25);
  --text: #f5f0e8;
  --text-muted: rgba(245, 240, 232, 0.55);
  --text-faint: rgba(245, 240, 232, 0.3);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --radius: 4px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

/* === NOISE OVERLAY === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  transition:
    background 0.4s var(--ease),
    border-bottom 0.4s;
}

.nav.scrolled {
  background: rgba(12, 11, 9, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--white);
}

.nav-logo .dot {
  color: var(--gold);
}

.nav-cta {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 10px 24px;
  border-radius: var(--radius);
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
  background: var(--gold-dim);
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* === CONTAINER === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #0c0b09;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 16px 36px;
  border-radius: var(--radius);
  transition:
    background 0.25s,
    transform 0.2s,
    box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(212, 175, 80, 0.25);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary.btn-large {
  font-size: 1rem;
  padding: 20px 48px;
  letter-spacing: 0.04em;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white-dim);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--white-faint);
  padding-bottom: 2px;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--white);
  border-color: var(--white-dim);
}

/* === REVEAL ANIMATION === */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
  text-align: center;
}

/* Background grid */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 80, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 80, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(
    ellipse 80% 70% at 50% 50%,
    black 30%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 80% 70% at 50% 50%,
    black 30%,
    transparent 100%
  );
}

/* Radial glow */
.hero::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(
    ellipse,
    rgba(212, 175, 80, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  background: var(--gold-dim);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 40px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
}

.hero-title-domain {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.01em;
}

.hero-dot {
  color: var(--gold);
}

.hero-title-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-top: 8px;
}

.hero-desc {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 44px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  display: inline-flex;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 36px;
  gap: 4px;
}

.meta-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 400;
}

.meta-val {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
}

.meta-available {
  color: #7ecfa0;
}

.hero-meta-divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
  flex-shrink: 0;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

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

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

/* === SECTION LABELS & TITLES === */
.section-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 60px;
}

.section-title em {
  font-style: italic;
  color: var(--text-muted);
}

/* === VALUE SECTION === */
.value {
  padding: 120px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.value-card {
  background: var(--surface);
  padding: 44px 36px;
  transition: background 0.3s;
  position: relative;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.value-card:hover {
  background: var(--surface2);
}

.value-card:hover::before {
  opacity: 1;
}

.value-icon {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
  opacity: 0.7;
}

.value-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
}

/* === USE CASES === */
.usecases {
  padding: 120px 0;
}

.usecases-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.usecase-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 36px 44px;
  border-bottom: 1px solid var(--border-light);
  background: var(--surface);
  transition: background 0.25s;
  position: relative;
}

.usecase-item:last-child {
  border-bottom: none;
}

.usecase-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.25s;
}

.usecase-item:hover {
  background: var(--surface2);
}

.usecase-item:hover::after {
  opacity: 1;
}

.usecase-number {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  line-height: 1;
}

.usecase-body h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}

.usecase-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

.usecase-tag {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  background: var(--gold-dim);
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

/* === URGENCY === */
.urgency {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.urgency-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.urgency-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.urgency-text {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

.urgency-highlight {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.01em;
}

/* === FINAL CTA === */
.final-cta {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(
    ellipse,
    rgba(212, 175, 80, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.final-cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.final-domain {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  opacity: 0.8;
}

.final-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.final-desc {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  font-weight: 300;
}

/* === FOOTER === */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-domain {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.footer-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  font-weight: 300;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav {
    padding: 16px 24px;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .hero-meta {
    flex-direction: column;
    width: 100%;
  }

  .hero-meta-item {
    padding: 14px 24px;
    width: 100%;
  }

  .hero-meta-divider {
    width: 80%;
    height: 1px;
  }

  .container {
    padding: 0 24px;
  }

  .value {
    padding: 80px 0;
  }

  .usecases {
    padding: 80px 0;
  }

  .usecase-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 24px;
  }

  .usecase-number {
    font-size: 1.2rem;
  }

  .usecase-tag {
    align-self: flex-start;
  }

  .final-cta {
    padding: 100px 0;
  }

  .urgency-inner {
    padding: 0 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .nav-logo {
    font-size: 1.1rem;
  }

  .nav-cta {
    font-size: 0.72rem;
    padding: 8px 16px;
  }

  .value-card {
    padding: 32px 24px;
  }

  .btn-primary.btn-large {
    font-size: 0.9rem;
    padding: 16px 32px;
  }
}
