/* EyeNewz marketing — brand-first landing */

:root {
  --accent: #e30613;
  --accent-deep: #9e050d;
  --accent-soft: rgba(227, 6, 19, 0.12);
  --ink: #121212;
  --ink-muted: #4a5160;
  --ink-subtle: #7a8290;
  --paper: #faf7f6;
  --header-height: 68px;
  --max-width: 1120px;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Libre Baskerville", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Grain + atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(250, 247, 246, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 18, 18, 0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.2s var(--ease);
}

.site-nav a:hover {
  color: var(--accent);
}

/* Hero — one composition, full-bleed stage */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-stage-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  transform: scale(1.06);
  filter: saturate(0.92) contrast(1.05);
}

.hero-stage-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(250, 247, 246, 0.97) 0%, rgba(250, 247, 246, 0.88) 38%, rgba(250, 247, 246, 0.35) 62%, rgba(18, 18, 18, 0.25) 100%),
    radial-gradient(ellipse 70% 80% at 15% 40%, rgba(227, 6, 19, 0.14), transparent 55%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.hero-line {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
}

.hero-description {
  margin: 0 0 1.75rem;
  max-width: 26rem;
  font-size: 1.05rem;
  color: var(--ink-muted);
}

.cta-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.play-store-link {
  display: inline-block;
  width: fit-content;
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.12));
}

.play-store-link:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 14px 28px rgba(227, 6, 19, 0.22));
}

.play-store-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.play-store-link img {
  height: 54px;
  width: auto;
}

.hero-phone {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.phone-frame {
  width: min(280px, 68vw);
  aspect-ratio: 551 / 1024;
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  box-shadow:
    0 40px 80px -24px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: float-phone 6s var(--ease) infinite;
}

.phone-screen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Sections */

.section {
  padding: 5.5rem 1.5rem;
}

.section-inner {
  max-width: 720px;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-lead {
  margin: 0;
  font-size: 1.1rem;
  color: var(--ink-muted);
}

.section-why {
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

.section-how {
  background:
    radial-gradient(ellipse 60% 50% at 90% 20%, var(--accent-soft), transparent 50%),
    #fff;
}

.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}

.steps li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  padding-top: 0.2rem;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.steps p {
  margin: 0;
  color: var(--ink-muted);
}

.section-trust .source-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.source-list li {
  font-weight: 600;
  padding-left: 1.25rem;
  position: relative;
  color: var(--ink);
}

.source-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.section-faq {
  background: #fff;
}

.faq-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-list details {
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
  padding: 1rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 400;
  font-size: 1.25rem;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0.75rem 0 0;
  color: var(--ink-muted);
}

.section-final {
  text-align: center;
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, var(--accent-soft), transparent 60%),
    linear-gradient(180deg, var(--paper), #fff);
  padding-bottom: 6rem;
}

.section-final .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-final .section-lead {
  margin-bottom: 0.5rem;
}

/* Footer */

.site-footer {
  padding: 2rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(18, 18, 18, 0.06);
  text-align: center;
  background: var(--paper);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-sep {
  color: var(--ink-subtle);
}

/* Motion */

@keyframes float-phone {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: rise-in 0.9s var(--ease) both;
}

.animate-in.delay-1 {
  animation-delay: 0.18s;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animate-in,
  .animate-in.delay-1,
  .phone-frame {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .play-store-link:hover {
    transform: none;
  }
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-description {
    max-width: 28rem;
  }

  .hero-stage-image {
    object-position: 60% center;
  }

  .hero-stage-veil {
    background:
      linear-gradient(180deg, rgba(250, 247, 246, 0.94) 0%, rgba(250, 247, 246, 0.78) 45%, rgba(250, 247, 246, 0.55) 100%),
      radial-gradient(ellipse 80% 50% at 50% 0%, rgba(227, 6, 19, 0.12), transparent 55%);
  }

  .phone-frame {
    width: min(220px, 52vw);
  }
}

@media (max-width: 640px) {
  .site-nav a:nth-child(1),
  .site-nav a:nth-child(2),
  .site-nav a:nth-child(3) {
    display: none;
  }

  .hero-brand {
    font-size: clamp(3rem, 16vw, 4.2rem);
  }

  .section {
    padding: 4rem 1.25rem;
  }
}
