/* Tradekei.com — Coming Soon
   Premium dark, glassmorphic, minimal landing page */

:root {
  --bg: #07070d;
  --bg-deep: #04040a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #f5f6fa;
  --text-muted: rgba(245, 246, 250, 0.62);
  --text-dim: rgba(245, 246, 250, 0.42);

  --orange: #ff7a45;
  --orange-soft: #ffa37a;
  --sky: #4cc8ff;
  --sky-soft: #7fdcff;
  --violet: #8b6dff;

  --grad-text: linear-gradient(120deg, #ffffff 0%, #ffffff 40%, #ffd9c4 65%, #4cc8ff 100%);
  --grad-cta: linear-gradient(135deg, #ff7a45 0%, #ff5a8a 55%, #8b6dff 100%);
  --grad-cta-hover: linear-gradient(135deg, #ff8a55 0%, #ff6e9c 55%, #9d80ff 100%);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;

  --container: min(1120px, 100% - 2.5rem);
  --header-h: 60px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: radial-gradient(ellipse at top, #0d0d18 0%, var(--bg) 45%, var(--bg-deep) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ───── Aurora background ───── */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  will-change: transform;
}

.aurora__orb--orange {
  width: 60vw;
  height: 60vw;
  max-width: 720px;
  max-height: 720px;
  top: -18%;
  left: -12%;
  background: radial-gradient(circle at 30% 30%, var(--orange) 0%, rgba(255,122,69,0.4) 40%, transparent 70%);
  animation: drift1 22s var(--ease) infinite;
}

.aurora__orb--sky {
  width: 55vw;
  height: 55vw;
  max-width: 680px;
  max-height: 680px;
  bottom: -20%;
  right: -10%;
  background: radial-gradient(circle at 60% 60%, var(--sky) 0%, rgba(76,200,255,0.35) 40%, transparent 70%);
  animation: drift2 26s var(--ease) infinite;
}

.aurora__orb--violet {
  width: 40vw;
  height: 40vw;
  max-width: 520px;
  max-height: 520px;
  top: 30%;
  left: 35%;
  background: radial-gradient(circle at 50% 50%, var(--violet) 0%, rgba(139,109,255,0.3) 40%, transparent 70%);
  opacity: 0.4;
  animation: drift3 30s var(--ease) infinite;
}

.aurora__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.045;
  mix-blend-mode: overlay;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(6%, 8%) scale(1.08); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-7%, -6%) scale(1.06); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  50%      { transform: translate(4%, -5%) scale(1.1); opacity: 0.5; }
}

/* ───── Floating shapes ───── */
.float-shapes {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.85), rgba(255,255,255,0));
  opacity: 0.18;
  will-change: transform;
}

.shape--1 { width: 6px;  height: 6px;  top: 20%; left: 12%; animation: floatA 14s ease-in-out infinite; }
.shape--2 { width: 10px; height: 10px; top: 70%; left: 22%; animation: floatB 18s ease-in-out infinite; }
.shape--3 { width: 4px;  height: 4px;  top: 30%; right: 18%; animation: floatA 16s ease-in-out infinite reverse; }
.shape--4 { width: 8px;  height: 8px;  bottom: 22%; right: 14%; animation: floatB 20s ease-in-out infinite reverse; }

@keyframes floatA {
  0%, 100% { transform: translate(0, 0); opacity: 0.18; }
  50%      { transform: translate(20px, -30px); opacity: 0.5; }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0); opacity: 0.22; }
  50%      { transform: translate(-25px, -20px); opacity: 0.55; }
}

/* ───── Layout ───── */
.container {
  width: var(--container);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.site-header {
  position: relative;
  z-index: 3;
  padding-top: 0.5rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

/* Logo: PNG canvas has large transparent padding, so we use a fixed-size
   clipping window with object-fit to crop tightly to the visible lockup. */
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 92px;
  height: 26px;
  overflow: hidden;
  border-radius: 4px;
  color: var(--text);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.logo:hover { opacity: 0.9; }
.logo:active { transform: scale(0.98); }

.logo:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 6px;
}

.logo__img {
  display: block;
  width: 92px;
  height: 92px;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: -webkit-optimize-contrast;
  shape-rendering: geometricPrecision;
}

@media (min-width: 900px) {
  .logo { width: 104px; height: 28px; }
  .logo__img { width: 104px; height: 104px; }
}

@media (max-width: 540px) {
  .logo { width: 78px; height: 22px; }
  .logo__img { width: 78px; height: 78px; }
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.8rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  white-space: nowrap;
}

.nav-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 122, 69, 0.7);
  animation: pulseDot 2s ease-out infinite;
}

@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(255, 122, 69, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 122, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 69, 0); }
}

/* ───── Hero ───── */
main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3.5rem) 0 clamp(2rem, 6vw, 4rem);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 820px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem;
  margin-bottom: 1.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.78);
  background: linear-gradient(135deg, rgba(255,122,69,0.12), rgba(76,200,255,0.12));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-eyebrow__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 12px var(--sky);
}

.hero-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

.hero-title__line { display: inline-block; }

.hero-title__dot {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-title__tld {
  font-weight: 500;
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-coming {
  margin: 0.4rem 0 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(clamp(3rem, 9vw, 6.25rem) - 1px);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, rgba(255,255,255,0.95) 0%, rgba(255,163,122,0.85) 50%, rgba(127,220,255,0.85) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
}

.hero-tagline {
  margin: 0 0 2.75rem;
  max-width: 560px;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--text-muted);
  text-wrap: balance;
}

/* ───── CTA ───── */
.cta {
  width: 100%;
  max-width: 520px;
  margin: 0;
}

.cta__field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.45rem 0.4rem 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35),
              inset 0 1px 0 rgba(255,255,255,0.06);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.cta__field::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,122,69,0.55), rgba(76,200,255,0.55));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.cta__field:focus-within::before { opacity: 1; }

.cta__field:focus-within {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45),
              0 0 0 4px rgba(76, 200, 255, 0.12),
              inset 0 1px 0 rgba(255,255,255,0.08);
}

.cta__field input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 0.5rem 0 1.1rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: transparent;
  border: none;
  outline: none;
}

.cta__field input[type="email"]::placeholder {
  color: var(--text-dim);
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 48px;
  padding: 0 1.4rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
  background: var(--grad-cta);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(255, 90, 138, 0.35),
              inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.3s var(--ease);
}

.cta__btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.cta__btn:hover {
  background: var(--grad-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(255, 90, 138, 0.45),
              inset 0 1px 0 rgba(255,255,255,0.3);
}

.cta__btn:hover svg { transform: translateX(3px); }

.cta__btn:active { transform: translateY(0); }

.cta__btn:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

.cta__status {
  margin: 1rem 0 0;
  min-height: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.cta__status.is-visible { opacity: 1; transform: translateY(0); }
.cta__status.is-success { color: #6ee7b7; }
.cta__status.is-error { color: #fda4af; }

/* ───── Socials ───── */
.socials {
  display: flex;
  gap: 0.75rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.socials__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: color 0.25s var(--ease),
              border-color 0.25s var(--ease),
              background 0.25s var(--ease),
              transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}

.socials__link svg { width: 18px; height: 18px; }

.socials__link:hover {
  color: #fff;
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(76, 200, 255, 0.18);
}

.socials__link:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

/* ───── Footer ───── */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 1.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.copyright,
.footer-meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* ───── Reveal animations ───── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ───── Accessibility ───── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora__orb,
  .shape,
  .nav-pill__dot { animation: none !important; }
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ───── Responsive tweaks ───── */
@media (max-width: 540px) {
  .cta__field {
    flex-direction: column;
    border-radius: 22px;
    padding: 0.5rem;
    gap: 0.5rem;
  }
  .cta__field input[type="email"] {
    width: 100%;
    padding: 0 1rem;
    height: 50px;
  }
  .cta__btn {
    width: 100%;
    height: 50px;
    justify-content: center;
  }
  .socials { gap: 0.6rem; }
  .socials__link { width: 42px; height: 42px; }
  .nav-pill { font-size: 0.72rem; padding: 0.4rem 0.75rem; }
  .footer-inner { justify-content: center; text-align: center; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 2.6rem; }
}
