/* ═══════════════════════════════════════════════════════════════
   LidTech — Coming Soon  |  coming-soon.css
   Brand Colors:
     Orange      #f9700b
     Dark        #191715
     Mid-dark    #1e1c1a
     Grey        #999
═══════════════════════════════════════════════════════════════ */

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

:root {
  --orange: #f9700b;
  --orange-dim: rgba(249, 112, 11, 0.15);
  --orange-glow: rgba(249, 112, 11, 0.35);
  --dark: #191715;
  --dark-2: #1e1c1a;
  --dark-3: #252220;
  --grey: #999;
  --grey-dim: #666;
  --white: #ffffff;
  --white-dim: rgba(255, 255, 255, 0.08);
  --white-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--dark);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── Canvas Particles ──────────────────────────────────────── */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── Noise Texture Overlay ─────────────────────────────────── */
.noise-overlay {
  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='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 1;
}

/* ── Glow Orbs ─────────────────────────────────────────────── */
.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 112, 11, 0.25) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: pulse-orb 8s ease-in-out infinite;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 112, 11, 0.12) 0%, transparent 70%);
  bottom: -150px;
  right: -150px;
  animation: pulse-orb 10s ease-in-out infinite reverse;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(249, 112, 11, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-orb 12s ease-in-out infinite;
}

@keyframes pulse-orb {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.15);
  }
}

/* ── Main Layout ───────────────────────────────────────────── */
.main-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 48px 24px 32px;
  gap: 0;
}

/* ── Logo Header ───────────────────────────────────────────── */
.logo-header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
}

.logo-container {
  position: relative;
  display: inline-block;
  animation: logo-entrance 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.logo-container::after {
  content: '';
  position: absolute;
  inset: -20px -40px;
  background: radial-gradient(ellipse, var(--orange-dim) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  animation: logo-glow 4s ease-in-out infinite;
}

@keyframes logo-glow {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.logo {
  height: 112px;
  width: auto;
  display: block;
  /* Invert the dark parts so logo renders on dark bg */
  filter: brightness(0) invert(1);
  /* Tint the icon orange by carefully applying SVG color */
  filter: drop-shadow(0 0 20px rgba(249, 112, 11, 0.4));
}

@keyframes logo-entrance {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 780px;
  width: 100%;
  gap: 28px;
  margin-bottom: 60px;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white-dim);
  border: 1px solid var(--white-border);
  backdrop-filter: blur(12px);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  animation: fade-up 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--orange-dim);
  animation: blink-dot 2s ease-in-out infinite;
}

@keyframes blink-dot {

  0%,
  100% {
    box-shadow: 0 0 0 3px var(--orange-dim);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(249, 112, 11, 0.05);
  }
}

/* Headline */
.headline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: fade-up 0.9s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.headline .line {
  display: block;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
}

.gradient-text {
  background: linear-gradient(135deg, var(--orange) 0%, #fd9a4a 40%, var(--orange) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s linear infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* Subtext */
.subtext {
  max-width: 540px;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  animation: fade-up 1s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── Subscribe Form ────────────────────────────────────────── */
.subscribe-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--white-border);
  border-radius: 14px;
  padding: 6px;
  backdrop-filter: blur(20px);
  transition: border-color 0.3s, box-shadow 0.3s;
  animation: fade-up 1.1s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.subscribe-form:focus-within {
  border-color: rgba(249, 112, 11, 0.5);
  box-shadow: 0 0 0 4px rgba(249, 112, 11, 0.08);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--grey-dim);
  pointer-events: none;
  flex-shrink: 0;
}

.subscribe-form input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 14px 12px 44px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--white);
  caret-color: var(--orange);
}

.subscribe-form input::placeholder {
  color: var(--grey-dim);
}

.btn-subscribe {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--orange) 0%, #e05800 100%);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-subscribe::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  border-radius: inherit;
}

.btn-subscribe:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(249, 112, 11, 0.4);
}

.btn-subscribe:active:not(:disabled) {
  transform: translateY(0);
}

.btn-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.btn-subscribe:hover .btn-arrow svg {
  transform: translateX(3px);
}

/* Loading state */
.btn-subscribe.loading .btn-text::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}

.btn-subscribe.loading .btn-arrow {
  display: none;
}

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

/* Success */
.success-message {
  display: none;
  align-items: center;
  gap: 10px;
  color: #6ee7b7;
  font-size: 0.95rem;
  font-weight: 500;
  animation: fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.success-message.visible {
  display: flex;
}

.success-message svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ── Countdown ─────────────────────────────────────────────── */
.countdown-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 72px;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white-dim);
  border: 1px solid var(--white-border);
  border-radius: 20px;
  padding: 28px 40px;
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  gap: 6px;
}

.time-value {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, var(--white) 0%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
  transition: transform 0.15s ease;
}

.time-label {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--grey-dim);
}

.time-separator {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  padding-bottom: 18px;
  animation: blink-sep 1s step-end infinite;
}

@keyframes blink-sep {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

.launched-text {
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
}

/* ── Feature Cards ─────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  width: 100%;
  margin-bottom: 64px;
}

.feature-card {
  background: var(--white-dim);
  border: 1px solid var(--white-border);
  border-radius: 16px;
  padding: 28px 24px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: default;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  opacity: 0;
  transform: translateY(32px);
}

.feature-card.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s, background 0.3s;
}

.feature-card:nth-child(1).in-view {
  transition-delay: 0s;
}

.feature-card:nth-child(2).in-view {
  transition-delay: 0.1s;
}

.feature-card:nth-child(3).in-view {
  transition-delay: 0.2s;
}

.feature-card:hover {
  border-color: rgba(249, 112, 11, 0.3);
  background: rgba(249, 112, 11, 0.05);
  transform: translateY(-4px) !important;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--orange-dim);
  border: 1px solid rgba(249, 112, 11, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.feature-card:hover .feature-icon {
  background: rgba(249, 112, 11, 0.2);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
}

.feature-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  opacity: 0.75;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-list li {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  padding-left: 16px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.6;
}

/* Subtext bold keywords */
.subtext strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--white-border);
  width: 100%;
  max-width: 900px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 42px;
  height: 42px;
  background: var(--white-dim);
  border: 1px solid var(--white-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.social-link:hover {
  background: var(--orange-dim);
  border-color: rgba(249, 112, 11, 0.4);
  color: var(--orange);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.copyright {
  font-size: 0.78rem;
  color: var(--grey-dim);
  letter-spacing: 0.02em;
}

/* ── Shared Animations ─────────────────────────────────────── */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .main-wrapper {
    padding: 36px 20px 28px;
  }

  .logo-header {
    margin-bottom: 24px;
  }

  .logo {
    height: 112px;
  }

  .hero {
    gap: 22px;
    margin-bottom: 44px;
  }

  .subscribe-form {
    flex-direction: column;
    border-radius: 14px;
    padding: 8px;
    gap: 6px;
  }

  .btn-subscribe {
    justify-content: center;
    border-radius: 10px;
    padding: 14px;
  }

  .countdown {
    padding: 20px 24px;
    gap: 4px;
  }

  .time-block {
    min-width: 56px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .countdown {
    padding: 16px 14px;
    gap: 2px;
  }

  .time-block {
    min-width: 44px;
  }

  .time-separator {
    padding-bottom: 14px;
  }
}