:root {
  --bg: #040406;
  --card: #0f1114;
  --accent: #ff3b3b; /* strike red */
  --accent-2: #ffb86b;
  --muted: #9aa3b2;
  --glass: rgba(255, 255, 255, 0.04);
  --radius: 16px;
  --max-width: 1200px;
  --gap: 1rem;
  --ff: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial;
}

/* Reset */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: var(--ff);
  background: radial-gradient(
      1200px 600px at 10% 10%,
      rgba(255, 59, 59, 0.06),
      transparent
    ),
    radial-gradient(
      900px 400px at 90% 90%,
      rgba(255, 184, 107, 0.03),
      transparent
    ),
    var(--bg);
  color: #e8eef6;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem;
}

/* NAV */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(4, 4, 6, 0.55), rgba(4, 4, 6, 0.25));
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 0.6rem 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 24px rgba(255, 59, 59, 0.12),
    inset 0 -6px 18px rgba(0, 0, 0, 0.25);
  font-weight: 800;
  letter-spacing: 0.6px;
  transform: skewX(-12deg);
  font-family: monospace;
}

.logo span {
  transform: skewX(12deg);
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.cta {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #ff6b5a);
  color: #081018;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 59, 59, 0.12);
}

/* HERO */
.hero {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 2.4rem 0;
  min-height: 66vh;
  grid-template-columns: 1fr;
  text-align: center;
}

.hero-inner {
  display: flex;
  gap: 1.25rem;
  flex-direction: column;
  align-items: center;
}

h1 {
  margin: 0;
  line-height: 1.1;
  font-weight: 800;
  background: linear-gradient(90deg, #fff 0%, #dbe9ff 40%, var(--accent) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.6rem;
}

.glitch {
  display: inline-block;
  animation: glitch-anim 3.6s infinite linear;
}

@keyframes glitch-anim {
  0% {
    text-shadow: 2px 0 var(--accent);
    transform: translate(0, 0);
  }
  20% {
    text-shadow: -2px 0 var(--accent-2);
    transform: translate(-1px, 1px);
  }
  40% {
    text-shadow: 3px -1px rgba(255, 255, 255, 0.03);
    transform: translate(1px, -1px);
  }
  60% {
    text-shadow: -1px 2px rgba(0, 0, 0, 0.3);
    transform: translate(-1px, 0);
  }
  80% {
    text-shadow: 2px -2px var(--accent);
    transform: translate(0, 1px);
  }
  100% {
    text-shadow: none;
    transform: translate(0, 0);
  }
}

.lead {
  color: var(--muted);
  font-weight: 500;
  font-size: 1rem;
}

.hero-cta {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.7rem 1.1rem;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-weight: 700;
}

.btn.ghost {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.06);
}

/* Hero Visual */
.hero-visual {
  height: 200px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(0, 0, 0, 0.07)
  );
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 16/9;
}

.slash {
  position: absolute;
  left: -20%;
  top: 30%;
  width: 140%;
  height: 220%;
  transform: rotate(-18deg);
  background: linear-gradient(
    90deg,
    rgba(255, 59, 59, 0.06),
    rgba(255, 184, 107, 0.06)
  );
  mix-blend-mode: screen;
  filter: blur(12px);
}

.bolt {
  position: relative;
  z-index: 2;
  font-weight: 800;
  font-size: 1.4rem;
  padding: 1rem 1.4rem;
  border-radius: 12px;
  background: linear-gradient(90deg, #0b1216, rgba(255, 255, 255, 0.02));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* Features Grid */
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: transform 0.36s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
}

.card h3 {
  margin: 0.2rem 0;
}

.features {
  display: grid;
  gap: 0.8rem;
}

/* Fancy Links */
.fancy-link {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.fancy-link:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.35s;
}

.fancy-link:hover:after {
  transform: scaleX(1);
}

/* Footer */
footer {
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* Responsive Breakpoints */

/* Smallest devices */
@media (max-width: 360px) {
  h1 {
    font-size: 1.4rem;
  }
  .lead {
    font-size: 0.9rem;
  }
  .btn {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
  }
  .logo {
    width: 40px;
    height: 40px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }
  .lead {
    font-size: 1rem;
  }
  .hero-visual {
    height: 180px;
  }
}

/* Tablets */
@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1fr 380px;
    text-align: left;
  }
  .hero-inner {
    align-items: flex-start;
  }
  h1 {
    font-size: 2.2rem;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Laptops */
@media (min-width: 1000px) {
  h1 {
    font-size: 2.6rem;
  }
  .logo {
    width: 56px;
    height: 56px;
  }
  .hero-visual {
    height: 280px;
  }
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktops */
@media (min-width: 1200px) {
  h1 {
    font-size: 3rem;
  }
  .hero {
    padding: 4rem 2rem;
  }
  .hero-visual {
    height: 340px;
  }
}

/* Ultrawide screens */
@media (min-width: 1600px) {
  .wrap {
    max-width: 1400px;
  }
  h1 {
    font-size: 3.4rem;
  }
  .hero-visual {
    height: 380px;
  }
}
