/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent: #F2C94C;
  --accent-dark: #d4a91e;
  --black: #111111;
  --dark: #1F2937;
  --mid: #6B7280;
  --light: #9CA3AF;
  --bg-off: #F7F7F5;
  --bg-white: #FFFFFF;
  --border: #E5E7EB;
  --font: 'Inter', sans-serif;
  --radius: 20px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-white);
  color: var(--dark);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ─── Utilities ─────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.bg-white { background: var(--bg-white); }
.bg-off   { background: var(--bg-off); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--mid);
  max-width: 600px;
  margin-bottom: 60px;
}

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

/* ─── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--black);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mid);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--black); }

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: #fff;
  padding: 10px 20px;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.btn-nav:hover { background: #333; transform: translateY(-1px); }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 140px 24px 100px;
  background: var(--bg-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text .pill {
  display: inline-block;
  background: rgba(242, 201, 76, 0.18);
  color: var(--black);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(242, 201, 76, 0.5);
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--black);
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--mid);
  max-width: 460px;
  margin-bottom: 36px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--black);
  color: #fff;
  padding: 16px 28px;
  border-radius: 99px;
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition);
  margin-bottom: 40px;
}
.btn-hero:hover {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
}

.stat span {
  font-size: 0.8rem;
  color: var(--mid);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Hero phone */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone-frame {
  width: 300px;
  border-radius: 40px;
  overflow: hidden;
  border: 8px solid var(--black);
  box-shadow: 0 40px 80px rgba(0,0,0,0.18);
}

.hero-phone-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--black);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}

.badge-a { top: 60px; left: 0; }
.badge-b { bottom: 80px; right: 0; animation-delay: 2s; }

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

/* ─── Features Grid ──────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feat-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}

.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feat-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.feat-card p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.6;
  margin: 0;
}

/* ─── Screenshots Alternating Rows ──────────────────────────── */
.screen-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.screen-row:last-child { margin-bottom: 0; }

.screen-row-reverse {
  direction: rtl;
}

.screen-row-reverse > * {
  direction: ltr;
}

.screen-phone {
  display: flex;
  justify-content: center;
}

.screen-phone img {
  width: 100%;
  max-width: 340px;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
  object-fit: contain;
  height: auto;
  display: block;
}

.screen-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.screen-number {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 12px;
}

.screen-text h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.screen-text > p {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 24px;
}

.screen-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.screen-features li {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 12px;
  /* Light subtle tinted pill — warm yellow accent bg with lower opacity */
  background: rgba(242, 201, 76, 0.05);
  color: var(--dark);
  border: 1px solid rgba(242, 201, 76, 0.18);
  transition: background var(--transition), transform var(--transition);
}

.screen-features li:hover {
  background: rgba(242, 201, 76, 0.10);
  transform: translateX(4px);
}

/* ─── Why Vynk Grid ──────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.why-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.why-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 14px;
  line-height: 1;
}

.why-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--mid);
  line-height: 1.65;
  margin: 0;
}

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
}

.faq-item:last-child { border-bottom: none; }

.faq-item summary {
  list-style: none;
  padding: 22px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--light);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary { background: var(--bg-off); }
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item summary:hover { background: var(--bg-off); }

.faq-item p {
  padding: 0 28px 22px;
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.7;
  margin: 0;
}

/* ─── CTA Banner ──────────────────────────────────────────────── */
.cta-section {
  background: var(--black);
  padding: 80px 24px;
}

.cta-inner {
  text-align: center;
}

.cta-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto 24px;
  border: 2px solid rgba(255,255,255,0.1);
}

.cta-inner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.cta-inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: var(--black);
  padding: 16px 32px;
  border-radius: 99px;
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition);
}

.btn-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(242,201,76,0.3);
}

/* ─── Footer ──────────────────────────────────────────────────── */
.footer {
  background: #0D0D0D;
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 240px;
}

.footer-cols {
  display: contents;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color var(--transition);
}

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

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── Scroll Animations ───────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay screen-row image and text stagger */
.screen-row .screen-phone { transition-delay: 0.05s; }
.screen-row .screen-text  { transition-delay: 0.15s; }

/* ─── Footer email link ───────────────────────────────────────── */
.footer-email {
  font-size: 0.8rem !important;
  color: var(--accent) !important;
  margin-top: 4px;
}
.footer-email:hover { color: var(--accent-dark) !important; }

/* ─── Mobile hamburger (pure CSS) ────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .btn-nav { padding: 8px 14px; font-size: 0.8rem; }

  /* Hero */
  .hero { padding: 100px 16px 60px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .btn-hero { margin: 0 auto 36px; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 16px; }
  .hero-image-wrap { order: -1; }
  .hero-phone-frame { width: 200px; }
  .badge-a, .badge-b { display: none; }

  /* Sections */
  .section { padding: 64px 0; }
  .section-title { font-size: 1.75rem; }
  .section-sub { font-size: 1rem; margin-bottom: 40px; }

  /* Screenshots */
  .screen-row {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 60px;
    text-align: center;
  }
  .screen-row-reverse { direction: ltr; }
  .screen-phone img {
    max-width: 240px;
    margin: 0 auto;
  }
  .screen-text h3 { font-size: 1.4rem; }
  .screen-features li { text-align: left; }

  /* Feature cards */
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feat-card { padding: 24px 20px; }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-card { padding: 28px 24px; }

  /* CTA */
  .cta-inner h2 { font-size: 1.75rem; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .hero-phone-frame { width: 180px; }
  .hero-text h1 { font-size: 2rem; }
  .screen-phone img { max-width: 200px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 6px; }
  .btn-hero { padding: 14px 22px; font-size: 0.95rem; }
  .stat strong { font-size: 1.2rem; }

  /* Ensure tap targets are min 44px tall for mobile */
  .nav-links a, .footer-col a, .btn-nav, .btn-hero, .btn-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
