/* ============================================
   LeadMedia — Landing Page
   ============================================ */

:root {
  --bg: #08090d;
  --bg-elevated: #0e1017;
  --surface: #12141c;
  --border: #1e2030;
  --border-subtle: #161824;

  --text: #e5e2dc;
  --text-muted: #6b6d78;
  --text-faint: #3d3f4a;

  --accent: #ff6b35;
  --accent-hover: #ff8255;
  --accent-glow: rgba(255, 107, 53, 0.15);
  --accent-glow-strong: rgba(255, 107, 53, 0.25);

  --font-display: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset --- */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(circle, var(--border-subtle) 1px, transparent 1px);
  background-size: 28px 28px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Navigation --- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(8, 9, 13, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.nav__brand:hover {
  color: var(--accent);
}

.nav__cta {
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-out);
}

.nav__cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* --- Hero --- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
}

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__label {
  display: inline-block;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 100px;
  background: var(--accent-glow);
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero__accent {
  color: var(--accent);
}

.hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s var(--ease-out) 0.35s both;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
}

/* --- Buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  letter-spacing: 0.01em;
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 8px 40px var(--accent-glow-strong);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

/* --- Hero Visual --- */

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
  animation: fadeIn 1.2s var(--ease-out) 0.3s both;
}

.hero__orb {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(40px);
  animation: pulse 4s ease-in-out infinite;
}

.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: spin 20s linear infinite;
}

.hero__ring--1 {
  width: 200px;
  height: 200px;
  border-color: rgba(255, 107, 53, 0.15);
}

.hero__ring--2 {
  width: 300px;
  height: 300px;
  animation-direction: reverse;
  animation-duration: 30s;
}

.hero__ring--3 {
  width: 380px;
  height: 380px;
  animation-duration: 40s;
  border-style: dashed;
  border-color: var(--border-subtle);
}

.hero__ring--1::before,
.hero__ring--2::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--accent-glow-strong);
}

.hero__ring--2::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  bottom: 20%;
  right: 0;
}

/* --- Features --- */

.features {
  position: relative;
  padding: 8rem 0;
}

.features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.features__header {
  text-align: center;
  margin-bottom: 4rem;
}

.features__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.features__subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: var(--accent-glow);
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

/* --- CSS Icons --- */

.icon--diamond {
  width: 14px;
  height: 14px;
  background: var(--accent);
  transform: rotate(45deg);
  border-radius: 2px;
}

.icon--speed {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid var(--accent);
  margin-left: 2px;
}

.icon--expand {
  width: 14px;
  height: 14px;
  border: 2.5px solid var(--accent);
  border-radius: 3px;
  position: relative;
}

.icon--expand::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 14px;
  height: 14px;
  border: 2.5px solid var(--accent);
  border-radius: 3px;
  opacity: 0.4;
}

.feature-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.feature-card__desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --- Footer --- */

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2.5rem;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.4rem;
  transition: color 0.3s;
}

.footer__logo:hover {
  color: var(--accent);
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__contact a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}

.footer__contact a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer__bottom p {
  color: var(--text-faint);
  font-size: 0.8rem;
}

/* --- Animations --- */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.3;
  }
}

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

/* --- Responsive --- */

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero__subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    height: 260px;
  }

  .hero__ring--3 {
    width: 280px;
    height: 280px;
  }

  .hero__ring--2 {
    width: 220px;
    height: 220px;
  }

  .features {
    padding: 5rem 0;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .footer__top {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav__container,
  .hero__container,
  .features__container,
  .footer__container {
    padding: 0 1.25rem;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}
