/* ============================================
   VYRALL — Clean, editorial dark design
   Confident typography. Content does the talking.
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #09090b;
  --bg-card: #111113;
  --border: #1e1e22;
  --text: #fafafa;
  --text-muted: #71717a;
  --accent: #e879f9;
  --radius: 12px;
  --radius-lg: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
html.menu-open { overflow: hidden; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

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

/* Italics for emphasis */
.section__title em {
  font-style: italic;
  color: var(--accent);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.1);
}
.btn--white {
  background: #fff;
  color: #09090b;
}
.btn--white:hover {
  background: #f4f4f5;
  box-shadow: 0 8px 32px rgba(232,121,249,0.12);
}
.btn--sm { padding: 10px 24px; font-size: 0.875rem; }
.btn--lg { padding: 18px 40px; font-size: 1.125rem; }
.btn--full { width: 100%; justify-content: center; }
.btn--outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
}
.btn--outline:hover {
  border-color: var(--text-muted);
  box-shadow: 0 8px 24px rgba(255,255,255,0.05);
}

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(9,9,11,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.nav__links {
  display: flex;
  gap: 32px;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(9,9,11,0.97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.is-open { opacity: 1; pointer-events: all; }
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.mobile-menu a { font-size: 1.5rem; font-weight: 700; }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  text-align: center;
  overflow: hidden;
}
/* Subtle dot grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
/* Soft warm glow behind phones */
.hero::after {
  content: '';
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(232,121,249,0.06) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}
.hero__inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.hero__tag {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(232,121,249,0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero__title-em {
  font-style: italic;
  font-weight: 800;
  color: var(--accent);
}

/* Hero burst animation — content scales in from center */
.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: scale(0.85) translateY(15px);
  animation: revealBurst 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes revealBurst {
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeIn 0.6s ease-out 0.6s forwards;
}
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: fadeIn 0.6s ease-out 0.75s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

.hero__cta-note { font-size: 0.8rem; color: var(--text-muted); }

/* Phone showcase — burst outward from center */
.phones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
}
.phone {
  border-radius: 20px;
  border: 2px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.6) translateY(40px);
  animation: phoneBurst 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.phone--center {
  width: 200px;
  height: 356px;
  z-index: 2;
  animation-delay: 0.9s;
}
.phone--side {
  width: 160px;
  height: 284px;
  opacity: 0;
  animation-delay: 1.05s;
}
.phone--side:first-child { animation-delay: 1.15s; }

@keyframes phoneBurst {
  to { opacity: 1; transform: scale(1) translateY(0); }
}
/* Side phones settle at reduced opacity */
.phone--side { --final-opacity: 0.65; }
@keyframes phoneBurstSide {
  to { opacity: var(--final-opacity); transform: scale(1) translateY(0); }
}
.phone--side {
  animation-name: phoneBurstSide;
}

.phone__screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
}
.phone__screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phone__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg-card);
  color: var(--text-muted);
  overflow: hidden;
}
.phone__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.03) 50%, transparent 65%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- SECTIONS --- */
.section { padding: 100px 0; }
.section__tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(232,121,249,0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* centered headers */
.wwd .container,
.creatives .container,
.pricing .container {
  text-align: center;
}
.wwd .section__sub,
.creatives .section__sub,
.pricing .section__sub {
  margin-left: auto;
  margin-right: auto;
}

/* --- WHAT WE DO --- */
.wwd__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: left;
  transition: transform 0.25s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(232,121,249,0.25);
}
.card__num {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(232,121,249,0.4);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
}
.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(232,121,249,0.08);
  color: var(--accent);
  margin-bottom: 20px;
  border: 1px solid rgba(232,121,249,0.15);
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --- SAMPLE CREATIVES (carousel) --- */
.creatives .container { overflow: visible; }
.creatives__grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  scrollbar-width: none;
}
.creatives__grid::-webkit-scrollbar { display: none; }
.creative-slot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.3s;
  scroll-snap-align: center;
  flex-shrink: 0;
  width: 260px;
}
.creative-slot:hover { border-color: var(--text-muted); }
.creative-slot__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  color: var(--text-muted);
  height: 380px;
}
.creative-slot--video .creative-slot__inner { height: 440px; }
.creative-slot__placeholder svg { opacity: 0.2; }
.creative-slot__placeholder span { font-size: 0.8rem; font-weight: 500; }
.creative-slot video,
.creative-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.creative-slot--video video,
.creative-slot--video img { height: 440px; }
.creative-slot--static img { height: 380px; }
.creatives__wrap { position: relative; }
.creatives__wrap::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 16px;
  width: 60px;
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none;
  z-index: 2;
}

/* --- PRICING --- */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: left;
  transition: transform 0.25s, border-color 0.25s;
}
.price-card:hover { transform: translateY(-3px); }

/* Featured card */
.price-card--featured {
  border-color: var(--accent);
  background: var(--bg-card);
}
.price-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--accent);
  color: #09090b;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.price-card__header { margin-bottom: 28px; }
.price-card__tier {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.price-card__price {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.price-card__price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}
.price-card__features {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-card__features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 24px;
  position: relative;
}
.price-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* --- SOCIAL PROOF --- */
.proof__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.proof__quote-icon {
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.4;
}
blockquote {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 28px;
}
.proof__author { display: flex; align-items: center; gap: 14px; }
.proof__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}
.proof__name { font-weight: 700; font-size: 0.95rem; }
.proof__role { font-size: 0.85rem; color: var(--text-muted); }

.proof__stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.proof__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  background: rgba(232,121,249,0.04);
  border: 1px solid rgba(232,121,249,0.1);
  border-radius: var(--radius);
}
.proof__stat-num {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.proof__stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* --- FINAL CTA --- */
.cta {
  text-align: center;
  position: relative;
  border-top: 1px solid var(--border);
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.cta__inner { position: relative; }
.cta__title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.cta__title em { font-style: italic; color: var(--accent); }
.cta__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta .btn { position: relative; }

/* --- FOOTER --- */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__copy { font-size: 0.85rem; color: var(--text-muted); }
.footer__links { display: flex; gap: 24px; }
.footer__links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--text); }

/* --- MARQUEE --- */
.marquee {
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee__content {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- MOUSE GLOW ON CARDS --- */
.card,
.creative-slot,
.price-card {
  position: relative;
  overflow: hidden;
}
.price-card--featured { overflow: visible; }
.card-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* --- SCROLL ANIMATIONS --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
}
.fade-up.is-visible {
  animation: fadeUp 0.5s ease-out both;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .pricing__grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .wwd__grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .wwd__grid::-webkit-scrollbar { display: none; }
  .wwd__grid .card {
    flex-shrink: 0;
    width: 280px;
    scroll-snap-align: center;
  }
  .proof__card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav .btn { display: none; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .hero { min-height: auto; padding: 100px 0 48px; }
  .phones { gap: 12px; margin-top: 36px; }
  .phone--center { width: 160px; height: 284px; }
  .phone--side { width: 120px; height: 213px; }
  .section { padding: 72px 0; }
  .marquee { padding: 14px 0; }
  .marquee__content { font-size: 0.65rem; }
  .creative-slot { width: 220px; }

  .proof__card { padding: 32px 24px; }
  .proof__stats { flex-direction: row; flex-wrap: wrap; }
  .proof__stat { flex: 1; min-width: 140px; }

  .footer__inner { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .phones { gap: 8px; max-width: 320px; margin-left: auto; margin-right: auto; }
  .phone { flex-shrink: 1; }
  .phone--center { width: 45%; height: auto; aspect-ratio: 9 / 16; border-radius: 16px; }
  .phone--center .phone__screen { border-radius: 14px; }
  .phone--side { width: 28%; height: auto; aspect-ratio: 9 / 16; border-radius: 14px; border-width: 2px; }
  .phone--side .phone__screen { border-radius: 12px; }
  .proof__stats { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track { animation: none; }
  .reveal-word { opacity: 1; transform: none; }
  .hero__sub, .hero__cta { opacity: 1; }
  .phone { opacity: 1; transform: none; }
  .phone--side { opacity: 0.65; }
  .fade-up { opacity: 1; transform: none; }
}
