/**
 * LuxeWeb3 Landing — Premium dark theme, box design, metallic accents
 * No border-radius (STRIX BOX). Tailwind utilities + custom overrides.
 */

:root {
  --bg-dark: #0a0a0f;
  --bg-card: #111118;
  --bg-elevated: #16161d;
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border-metallic: #3f3f46;
  --border-metallic-light: #52525b;
  --accent: #22d3ee;
  --accent-dim: rgba(34, 211, 238, 0.15);
  --metallic-gradient: linear-gradient(135deg, #3f3f46 0%, #52525b 50%, #3f3f46 100%);
  --btn-primary-bg: linear-gradient(135deg, #18181b 0%, #27272a 50%, #18181b 100%);
  --btn-primary-border: #52525b;
  --noise-opacity: 0.03;
  --font-sans: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  margin: 0;
  overflow-x: hidden;
}

/* No rounded corners anywhere */
.luxe-btn,
.luxe-card,
.luxe-input,
.luxe-nav,
.luxe-box,
button.luxe,
a.luxe-btn,
[class*="rounded"] {
  border-radius: 0 !important;
}

/* ——— Preloader ——— */
.luxe-preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.luxe-preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.luxe-preloader__box {
  width: 48px;
  height: 48px;
  border: 2px solid var(--border-metallic);
  border-top-color: var(--accent);
  animation: luxe-spin 0.8s linear infinite;
}

@keyframes luxe-spin {
  to { transform: rotate(360deg); }
}

/* ——— Fixed nav ——— */
.luxe-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-metallic);
  transition: background 0.3s, border-color 0.3s;
}

.luxe-nav.scrolled {
  background: rgba(10, 10, 15, 0.95);
  border-bottom-color: var(--border-metallic-light);
}

.luxe-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.luxe-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  width: 9vw;
}

.luxe-nav__logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.luxe-nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-direction: row;
  align-items: center;
}

.luxe-nav__links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

.luxe-nav__links a:hover {
  color: var(--accent);
}

/* Dropdown: Plugins (trigger not clickable) */
.luxe-nav__dropdown {
  position: relative;
}

.luxe-nav__dropdown-trigger {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: default;
  padding: 0.25rem 0;
  display: inline-block;
  user-select: none;
  pointer-events: none;
}

.luxe-nav__dropdown:hover .luxe-nav__dropdown-trigger {
  color: var(--accent);
}

.luxe-nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0.25rem 0 0;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border-metallic);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 50;
}

.luxe-nav__dropdown:hover .luxe-nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.luxe-nav__dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s, background 0.2s;
}

.luxe-nav__dropdown-menu a:hover {
  color: var(--accent);
  background: var(--accent-dim);
}

.luxe-nav__social {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.luxe-nav__social a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.luxe-nav__social a:hover {
  color: var(--accent);
}

/* ——— Buttons (box, metallic) ——— */
.luxe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.luxe-btn:active {
  transform: scale(0.98);
}

.luxe-btn--primary {
  background: var(--btn-primary-bg);
  border-color: var(--btn-primary-border);
  color: var(--text-primary);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset;
}

.luxe-btn--primary:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-dim);
}

.luxe-btn--secondary {
  background: transparent;
  border-color: var(--border-metallic);
  color: var(--text-secondary);
}

.luxe-btn--secondary:hover {
  border-color: var(--border-metallic-light);
  color: var(--text-primary);
}

/* ——— Hero ——— */
.luxe-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

.luxe-hero__bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34, 211, 238, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 50%, rgba(34, 211, 238, 0.04) 0%, transparent 50%),
    var(--bg-dark);
}

.luxe-hero__noise {
  position: absolute;
  inset: 0;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.luxe-hero__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(34, 211, 238, 0.06) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: luxe-line-shift 15s ease-in-out infinite;
}

@keyframes luxe-line-shift {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0 0; }
}

.luxe-hero__grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(63, 63, 70, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 63, 70, 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}

.luxe-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .luxe-hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.luxe-hero__title {
  font-size: clamp(2.5rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
}

.luxe-hero__title span {
  display: block;
  background: linear-gradient(180deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.luxe-hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 2rem;
  max-width: 480px;
}

@media (max-width: 900px) {
  .luxe-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

.luxe-hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .luxe-hero__cta {
    justify-content: center;
  }
}

.luxe-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

@media (max-width: 900px) {
  .luxe-hero__visual {
    order: -1;
    min-height: 200px;
  }
}

.luxe-hero__visual-box {
  width: 200px;
  height: 200px;
  border: 1px solid var(--border-metallic);
  background: var(--bg-card);
  box-shadow: 0 0 40px var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: luxe-hero-box-pulse 3s ease-in-out infinite;
}

@keyframes luxe-hero-box-pulse {
  0%, 100% { box-shadow: 0 0 40px var(--accent-dim); border-color: var(--border-metallic); }
  50% { box-shadow: 0 0 56px rgba(34, 211, 238, 0.25); border-color: var(--border-metallic-light); }
}

.luxe-hero__visual-box::before {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), transparent, var(--border-metallic), transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
}

.luxe-hero__visual-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.luxe-hero__visual-icon--animate {
  animation: luxe-hero-icon 4s ease-in-out infinite;
}

@keyframes luxe-hero-icon {
  0%, 100% {
    opacity: 0.9;
    transform: scale(1);
    filter: drop-shadow(0 0 8px var(--accent-dim));
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 0 16px var(--accent-dim)) drop-shadow(0 0 24px rgba(34, 211, 238, 0.2));
  }
}

/* ——— Sections common ——— */
.luxe-section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.luxe-section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.luxe-section__subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0 0 3rem;
  max-width: 560px;
}

/* Scroll-triggered fade-in */
.luxe-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.luxe-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— About ——— */
.luxe-about .luxe-section__title {
  margin-bottom: 1.5rem;
}

.luxe-about__text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0;
}

/* ——— Services (cards) ——— */
.luxe-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.luxe-card {
  background: var(--bg-card);
  border: 1px solid var(--border-metallic);
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.luxe-card:hover {
  border-color: var(--border-metallic-light);
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
}

.luxe-card__icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.luxe-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
}

.luxe-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ——— Featured plugin ——— */
.luxe-featured {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-metallic);
  border-bottom: 1px solid var(--border-metallic);
}

.luxe-featured__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-metallic);
  padding: 3rem;
  margin-top: 2rem;
}

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

.luxe-featured__media {
  background: var(--bg-dark);
  border: 1px solid var(--border-metallic);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  overflow: hidden;
}

.luxe-featured__media-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.luxe-featured__content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.luxe-featured__content p {
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

.luxe-featured__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.luxe-featured__features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.luxe-featured__features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.luxe-featured__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

/* ——— Why choose ——— */
.luxe-why__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.luxe-why__list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-metallic);
}

.luxe-why__list li span.icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.luxe-why__list li span.text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ——— Feedback form (name + email) ——— */
.luxe-feedback {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-metallic);
  border-bottom: 1px solid var(--border-metallic);
}
.luxe-feedback__inner {
  display: flex;
  justify-content: center;
}
.luxe-feedback__box {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-metallic);
  padding: 2.5rem 2.5rem 2.75rem;
}
.luxe-feedback__title {
  font-size: clamp(1.375rem, 2.5vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
}
.luxe-feedback__title::after {
  content: '';
  display: block;
  width: 24px;
  height: 3px;
  background: var(--accent);
  margin-top: 0.75rem;
}
.luxe-feedback__motivation {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 1.75rem;
}
.luxe-feedback__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.luxe-feedback__row {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.luxe-feedback__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.luxe-feedback__input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-dark);
  border: 1px solid var(--border-metallic);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.luxe-feedback__input::placeholder {
  color: var(--text-muted);
}
.luxe-feedback__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 16px var(--accent-dim);
}
.luxe-feedback__submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  background: var(--btn-primary-bg);
  border: 1px solid var(--btn-primary-border);
  color: var(--text-primary);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.luxe-feedback__submit:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-dim);
}
.luxe-feedback__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.luxe-feedback__message {
  font-size: 0.875rem;
  margin: 0;
  min-height: 1.25rem;
}
.luxe-feedback__message.success {
  color: #4ade80;
}
.luxe-feedback__message.error {
  color: #f87171;
}

/* ——— Popup (form) ——— */
.luxe-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.luxe-popup.is-open {
  opacity: 1;
  visibility: visible;
}

.luxe-popup[hidden] {
  display: none !important;
}

.luxe-popup.is-open[hidden] {
  display: flex !important;
}

.luxe-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.luxe-popup__wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
}

.luxe-popup__box {
  position: relative;
}

.luxe-popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.luxe-popup__close:hover {
  color: var(--accent);
}

/* ——— CTA ——— */
.luxe-cta {
  text-align: center;
  padding: 6rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-metallic);
  border-left: none;
  border-right: none;
}

.luxe-cta__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

.luxe-cta__text {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin: 0 0 2rem;
}

/* ——— Footer ——— */
.luxe-footer {
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid var(--border-metallic);
}

.luxe-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.luxe-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
  text-decoration: none;
  width: 9rem;
}

.luxe-footer__logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.luxe-footer__social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.luxe-footer__social a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.luxe-footer__social a:hover {
  color: var(--accent);
}

.luxe-footer__copy {
  width: 100%;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-metallic);
}

/* Parallax (subtle) */
.luxe-parallax {
  will-change: transform;
}
