:root {
  --orange: #f5883a;
  --orange-light: #f9a065;
  --orange-bg: rgba(245, 136, 58, 0.1);
  --navy: #0d1117;
  --card-bg: #161b22;
  --card-border: rgba(255, 255, 255, 0.07);
  --text-muted: #7d8590;
  --white: #f0f6fc;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 6%;
  border-bottom: 1px solid var(--card-border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav-pill {
  background: var(--orange-bg);
  border: 1px solid rgba(245, 136, 58, 0.3);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
}

/* ── MAIN ── */
main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 70px 6% 80px;
  position: relative;
  overflow: hidden;
}

.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 55% 55% at 65% 45%,
      rgba(245, 136, 58, 0.07) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 35% 35% at 20% 70%,
      rgba(245, 136, 58, 0.04) 0%,
      transparent 60%
    );
}

.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(245, 136, 58, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 136, 58, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 200px;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

/* ── COPY ── */
.copy {
  flex: 1;
  max-width: 500px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--orange-bg);
  border: 1px solid rgba(245, 136, 58, 0.28);
  border-radius: 50px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 26px;
}

h1 {
  font-size: clamp(40px, 5.5vw, 62px);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -2.5px;
  margin-bottom: 18px;
}

h1 em {
  font-style: normal;
  color: var(--orange);
}

.sub {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 420px;
}

.notify-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* Honeypot: outside .email-row so flex rules never apply — zero layout impact */
.notify-wrap {
  position: relative;
  max-width: 420px;
}

.notify-wrap .hp-field {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.email-row {
  display: flex;
  gap: 8px;
  max-width: 420px;
}

.email-row input {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.email-row input::placeholder {
  color: #484f58;
}
.email-row input:focus {
  border-color: rgba(245, 136, 58, 0.5);
}

.email-row button {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.2s;
}

.email-row button:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
}

.form-note {
  margin-top: 9px;
  font-size: 12px;
  color: #484f58;
  font-weight: 500;
}

.success {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--orange-bg);
  border: 1px solid rgba(245, 136, 58, 0.28);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  max-width: 420px;
}

/* ── PHONE SLIDER ── */
.phone-wrap {
  flex-shrink: 0;
  position: relative;
  width: 275px;
}

/* phone shell */
.phone-shell {
  width: 275px;
  background: #1c1c1e;
  border-radius: 44px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 40px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
  position: relative;
  animation: float 4s ease-in-out infinite;
}

.phone-notch-bar {
  height: 32px;
  background: #1c1c1e;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
  position: relative;
  z-index: 3;
}

.phone-notch-pill {
  width: 72px;
  height: 20px;
  background: #000;
  border-radius: 10px;
}

/* slider viewport */
.slider-viewport {
  width: 100%;
  height: 490px;
  overflow: hidden;
  position: relative;
  background: #f2f2f7;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* bottom bar of phone */
.phone-bottom {
  height: 24px;
  background: #1c1c1e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-indicator {
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

/* dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(245, 136, 58, 0.25);
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}

.dot.active {
  background: var(--orange);
  transform: scale(1.3);
}

/* arrow buttons */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: rgba(245, 136, 58, 0.15);
  border: 1px solid rgba(245, 136, 58, 0.3);
  border-radius: 50%;
  color: var(--orange);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
  user-select: none;
}

.arrow:hover {
  background: rgba(245, 136, 58, 0.3);
}
.arrow.prev {
  left: -42px;
}
.arrow.next {
  right: -42px;
}

/* ── FOOTER ── */
footer {
  padding: 24px 6%;
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

footer p {
  font-size: 12px;
  color: #484f58;
  font-weight: 500;
}
footer span {
  font-size: 12px;
  color: var(--orange);
  font-weight: 600;
}

/* ── ANIMATIONS ── */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.copy > * {
  animation: fadeUp 0.65s ease both;
}
.copy > *:nth-child(1) {
  animation-delay: 0.05s;
}
.copy > *:nth-child(2) {
  animation-delay: 0.15s;
}
.copy > *:nth-child(3) {
  animation-delay: 0.25s;
}
.copy > *:nth-child(4) {
  animation-delay: 0.32s;
}
.copy > *:nth-child(5) {
  animation-delay: 0.37s;
}
.copy > *:nth-child(6) {
  animation-delay: 0.42s;
}
.copy > *:nth-child(7) {
  animation-delay: 0.47s;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .hero {
    flex-direction: column;
    gap: 52px;
    align-items: center;
    text-align: center;
  }
  .copy {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .notify-wrap,
  .email-row,
  .success {
    max-width: 100%;
    width: 100%;
  }
  .sub {
    max-width: 100%;
  }
  .arrow.prev {
    left: -36px;
  }
  .arrow.next {
    right: -36px;
  }
}

@media (max-width: 480px) {
  .email-row {
    flex-direction: column;
  }
}
