/* ═══════════════════════════════════════════════════════════════
   style.css — wxperts.co Under Construction
   Theme: Dark Futuristic · Glassmorphism · Neon Accents
═══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --clr-bg:          #050508;
  --clr-bg2:         #0c0c14;
  --clr-surface:     rgba(255,255,255,0.04);
  --clr-border:      rgba(255,255,255,0.08);
  --clr-purple:      #7B5EF8;
  --clr-blue:        #00D4FF;
  --clr-pink:        #FF4ECD;
  --clr-text:        #e8e8f0;
  --clr-muted:       rgba(232,232,240,0.45);
  --gradient-main:   linear-gradient(135deg, var(--clr-purple), var(--clr-blue));
  --gradient-glow:   linear-gradient(135deg, #7B5EF850, #00D4FF50);
  --font-display:    'Syne', sans-serif;
  --font-mono:       'DM Mono', monospace;
  --radius-lg:       20px;
  --radius-sm:       10px;
  --transition:      0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-display);
  overflow-x: hidden;
  cursor: none; /* hide default cursor — custom cursor active */
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }


/* ═══════════════════════════════════════════
   LOADER
═══════════════════════════════════════════ */
.loader {
  position: fixed; inset: 0;
  z-index: 9999;
  background: var(--clr-bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.loader__ring {
  position: relative;
  width: 64px; height: 64px;
}

.loader__ring span {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}

.loader__ring span:nth-child(1) {
  border-top-color: var(--clr-purple);
  animation: spin 1.2s linear infinite;
}
.loader__ring span:nth-child(2) {
  inset: 8px;
  border-top-color: var(--clr-blue);
  animation: spin 1.8s linear infinite reverse;
}
.loader__ring span:nth-child(3) {
  inset: 16px;
  border-top-color: var(--clr-pink);
  animation: spin 2.4s linear infinite;
}

.loader__text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--clr-muted);
  text-transform: uppercase;
}

.loader__dots::after {
  content: '';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%  { content: '';   }
  25% { content: '.';  }
  50% { content: '..'; }
  75% { content: '...'; }
}

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


/* ═══════════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════════ */
.cursor,
.cursor-trail {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

.cursor {
  width: 10px; height: 10px;
  background: var(--clr-blue);
  box-shadow: 0 0 12px var(--clr-blue), 0 0 24px var(--clr-blue);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-trail {
  width: 36px; height: 36px;
  border: 1px solid rgba(0,212,255,0.35);
  transition: width 0.15s, height 0.15s, left 0.08s, top 0.08s;
}

body.cursor-hover .cursor { width: 16px; height: 16px; background: var(--clr-purple); }
body.cursor-hover .cursor-trail { width: 52px; height: 52px; border-color: rgba(123,94,248,0.4); }


/* ═══════════════════════════════════════════
   PARTICLE CANVAS
═══════════════════════════════════════════ */
#particles-canvas {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
}


/* ═══════════════════════════════════════════
   AMBIENT BLOBS
═══════════════════════════════════════════ */
.blobs { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
}

.blob--1 {
  width: 600px; height: 600px;
  background: var(--clr-purple);
  top: -150px; left: -150px;
  animation: blobFloat 14s ease-in-out infinite;
}
.blob--2 {
  width: 500px; height: 500px;
  background: var(--clr-blue);
  bottom: -100px; right: -100px;
  animation: blobFloat 18s ease-in-out infinite reverse;
}
.blob--3 {
  width: 350px; height: 350px;
  background: var(--clr-pink);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: blobFloat 22s ease-in-out infinite 5s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(40px, -30px) scale(1.05); }
  66%       { transform: translate(-30px, 40px) scale(0.97); }
}


/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px;
  background: rgba(5,5,8,0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
  animation: slideDown 0.8s cubic-bezier(0.4,0,0.2,1) 2s both;
}

@keyframes slideDown { from { opacity:0; transform: translateY(-20px); } to { opacity:1; transform: translateY(0); } }

.navbar__logo {
  display: flex; align-items: center; gap: 10px;
}
.navbar__logo img{
    width: 80px;
}

.logo-icon { width: 36px; height: 36px; }

.logo-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.logo-dot { color: var(--clr-blue); }

.navbar__badge {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-muted);
  padding: 6px 14px;
  border: 1px solid var(--clr-border);
  border-radius: 100px;
  background: var(--clr-surface);
}

/* Live pulse dot */
.pulse-dot {
  width: 7px; height: 7px;
  background: #00e676;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0,230,118,0.6);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(0,230,118,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(0,230,118,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,230,118,0); }
}


/* ═══════════════════════════════════════════
   MAIN LAYOUT
═══════════════════════════════════════════ */
.main {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center;
  padding-top: 100px;
}


/* ═══════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════ */
.hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* ── Hero Visual ── */
.hero__visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  order: 2;
}

.hero__svg {
  width: min(420px, 100%);
  filter: drop-shadow(0 0 40px rgba(123,94,248,0.3));
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-16px) rotate(1deg); }
}

.hero__glow-ring {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,94,248,0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.1); opacity: 0.6; }
}

/* ── Hero Content ── */
.hero__content { order: 1; }

.hero__tag {
  display: inline-flex; align-items: center;
  margin-bottom: 24px;
}

.tag-line {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--clr-blue);
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 100px;
  background: rgba(0,212,255,0.06);
}

.hero__heading {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

/* Gradient animated text */
.gradient-text {
  background: linear-gradient(90deg, var(--clr-purple), var(--clr-blue), var(--clr-pink), var(--clr-blue));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s linear infinite;
}

@keyframes gradientShift { to { background-position: 200% center; } }

.typed-cursor {
  display: inline-block;
  color: var(--clr-blue);
  font-weight: 300;
  animation: blink 0.8s steps(1) infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

.hero__sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--clr-muted);
  margin-bottom: 36px;
  font-weight: 400;
}

.inline-link {
  color: var(--clr-blue);
  position: relative;
}
.inline-link::after {
  content: '';
  position: absolute; left: 0; bottom: -2px; right: 0; height: 1px;
  background: var(--clr-blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.inline-link:hover::after { transform: scaleX(1); }

/* ── CTA Buttons ── */
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: none;
  transition: var(--transition);
  position: relative; overflow: hidden;
}

.btn svg { width: 18px; height: 18px; transition: transform 0.3s; }
.btn:hover svg { transform: translateX(4px); }

/* Primary button */
.btn--primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 0 20px rgba(123,94,248,0.4), 0 4px 30px rgba(0,0,0,0.4);
}

.btn--primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #fff2, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover {
  box-shadow: 0 0 35px rgba(123,94,248,0.65), 0 8px 40px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}
.btn--primary:active { transform: translateY(0); }

/* Ghost button */
.btn--ghost {
  background: var(--clr-surface);
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  border-color: rgba(123,94,248,0.5);
  background: rgba(123,94,248,0.1);
  transform: translateY(-2px);
}


/* ═══════════════════════════════════════════
   SECTION SHARED STYLES
═══════════════════════════════════════════ */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-purple);
  margin-bottom: 32px;
  text-align: center;
}


/* ═══════════════════════════════════════════
   COUNTDOWN
═══════════════════════════════════════════ */
.countdown-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.countdown__cell {
  display: flex; flex-direction: column; align-items: center;
  padding: 30px 40px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  min-width: 120px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.countdown__cell::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.3s;
}
.countdown__cell:hover::before { opacity: 1; }
.countdown__cell:hover { border-color: rgba(123,94,248,0.3); transform: translateY(-4px); }

.countdown__num {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.countdown__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-top: 8px;
}

.countdown__sep {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--clr-purple);
  padding: 0 8px;
  opacity: 0.5;
  align-self: flex-start;
  margin-top: 24px;
  animation: blink 1s steps(1) infinite;
}


/* ═══════════════════════════════════════════
   EMAIL SUBSCRIPTION
═══════════════════════════════════════════ */
.notify-section {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 40px;
  text-align: center;
}

.notify-heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.notify-sub {
  font-size: 0.95rem;
  color: var(--clr-muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

.notify-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.input-wrap {
  position: relative;
  flex: 1 1 260px;
}

.input-icon {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--clr-muted);
  pointer-events: none;
  transition: color 0.3s;
}

.notify-input {
  width: 100%;
  padding: 15px 16px 15px 46px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  color: var(--clr-text);
  font-family: var(--font-display);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  backdrop-filter: blur(16px);
}

.notify-input::placeholder { color: rgba(232,232,240,0.3); }

.notify-input:focus {
  border-color: var(--clr-purple);
  box-shadow: 0 0 0 3px rgba(123,94,248,0.15);
  background: rgba(255,255,255,0.06);
}

.notify-input:focus + .input-icon,
.input-wrap:focus-within .input-icon { color: var(--clr-purple); }

.notify-btn { flex-shrink: 0; cursor: none; }

/* Success state */
.notify-success {
  display: none;
  align-items: center; justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 24px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: var(--radius-sm);
  color: var(--clr-blue);
  font-size: 0.9rem;
  animation: fadeIn 0.4s ease;
}

.notify-success svg { width: 18px; height: 18px; flex-shrink: 0; }
.notify-success.visible { display: flex; }

@keyframes fadeIn { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform: translateY(0); } }


/* ═══════════════════════════════════════════
   SOCIAL ICONS
═══════════════════════════════════════════ */
.social-section {
  width: 100%; padding: 0 40px 80px;
  text-align: center;
}

.social-row {
  display: flex; gap: 16px; align-items: center; justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  position: relative;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  font-size: 1.1rem;
  color: var(--clr-muted);
  transition: var(--transition);
  backdrop-filter: blur(12px);
  cursor: none;
}

.social-link:hover {
  color: #fff;
  border-color: var(--clr-purple);
  background: rgba(123,94,248,0.15);
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 8px 30px rgba(123,94,248,0.3);
}

/* Tooltip */
.social-tooltip {
  position: absolute; bottom: calc(100% + 10px);
  left: 50%; transform: translateX(-50%) scale(0.8);
  background: rgba(15,15,25,0.9);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.social-link:hover .social-tooltip {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.social-tooltip::after {
  content: '';
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--clr-border);
}


/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  position: relative; z-index: 1;
  padding: 32px 40px;
  text-align: center;
  border-top: 1px solid var(--clr-border);
}

.footer p { font-size: 0.8rem; color: var(--clr-muted); }
.footer-sub { margin-top: 4px; font-family: var(--font-mono); font-size: 0.68rem; opacity: 0.5; }


/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1),
              transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1.in-view { transition-delay: 0.1s; }
.reveal--delay-2.in-view { transition-delay: 0.22s; }
.reveal--delay-3.in-view { transition-delay: 0.34s; }


/* ═══════════════════════════════════════════
   GLASSMORPHISM CARD (reusable)
═══════════════════════════════════════════ */
.glass {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(24px);
  border-radius: var(--radius-lg);
}


/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET & MOBILE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 24px 60px;
    gap: 40px;
    text-align: center;
  }
  .hero__visual { order: 1; }
  .hero__content { order: 2; }
  .hero__svg { width: min(300px, 80%); margin: 0 auto; }
  .hero__cta { justify-content: center; }
  .hero__tag { justify-content: center; }
}

@media (max-width: 600px) {
  .navbar { padding: 16px 20px; }
  .navbar__badge { display: none; }

  .countdown-section { padding: 40px 20px; }
  .countdown__cell { padding: 20px 24px; min-width: 90px; }
  .countdown__sep { display: none; }
  .countdown { gap: 10px; }

  .notify-section { padding: 60px 20px; }
  .notify-form { flex-direction: column; }
  .notify-btn { width: 100%; justify-content: center; }

  .social-section { padding: 0 20px 60px; }
  .footer { padding: 24px 20px; }

  body { cursor: auto; } /* Re-enable default cursor on touch devices */
  .cursor, .cursor-trail { display: none; }
}

@media (hover: none) {
  body { cursor: auto; }
  .cursor, .cursor-trail { display: none; }
}