/* Voypin — voypin.com marketing site. Premium, responsive, multilingual, fully static. */
:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --border: #e5eaf1;
  --ink: #0f172a;
  --body: #56607a;
  --faint: #9aa3b5;
  --accent: #0d9488;
  --accent-ink: #0b7a70;
  --accent-soft: #ddf5f0;
  --g1: #10b981;
  --g2: #06b6d4;
  --logo-green: #00debb;
  --shadow: 0 18px 50px -22px rgba(15, 23, 42, 0.28);
  --shadow-sm: 0 8px 24px -14px rgba(15, 23, 42, 0.25);
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1160px;
  --grad: linear-gradient(120deg, var(--g1), var(--g2));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
section { padding: 96px 0; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; }
.section-head p { color: var(--body); font-size: 18px; margin-top: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 16px; padding: 15px 26px;
  border-radius: 999px; border: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 32px -12px rgba(6, 182, 212, .6); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface-2); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 247, 251, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { height: 30px; width: auto; }
.brand .slogan {
  font-size: 11.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-soft);
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(13, 148, 136, .18);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 600; color: var(--body); font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

/* Language switcher */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 9px 14px; cursor: pointer; color: var(--ink);
}
.lang-menu {
  position: absolute; top: 48px; inset-inline-end: 0; background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; min-width: 180px; display: none;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: start;
  background: none; border: none; padding: 10px 12px; border-radius: 9px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink);
}
.lang-menu button:hover { background: var(--surface-2); }
.lang-menu .flag { font-size: 18px; }

/* Hero */
.hero { position: relative; padding-top: 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(900px 500px at 78% -10%, rgba(6,182,212,.16), transparent 60%),
              radial-gradient(700px 500px at 10% 10%, rgba(16,185,129,.14), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 62px); font-weight: 900; }
.hero p.sub { font-size: clamp(17px, 2vw, 21px); color: var(--body); margin: 22px 0 30px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 22px; color: var(--faint); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; position: relative; }
.blob { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--grad); filter: blur(70px); opacity: .35; z-index: 0; }
.phone {
  position: relative; z-index: 1; width: 290px; height: 590px; background: #0b1220;
  border-radius: 44px; padding: 12px; box-shadow: var(--shadow); border: 1px solid #1f2937;
}
.phone-screen { width: 100%; height: 100%; background: var(--bg); border-radius: 34px; overflow: hidden; display: flex; flex-direction: column; }
.phone-top { display: flex; align-items: center; gap: 8px; padding: 18px 16px 10px; }
.phone-top img { height: 22px; }
.phone-body { padding: 8px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.mini-discover { font-size: 10px; font-weight: 800; letter-spacing: 1px; color: var(--faint); }
.mini-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px; box-shadow: var(--shadow-sm); }
.mini-card .badge { display: inline-flex; align-items: center; gap: 4px; background: #0f172a; color: #fff; font-size: 9px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.mini-card h4 { font-size: 14px; margin-top: 8px; }
.mini-card .meta { font-size: 11px; color: var(--faint); margin-top: 2px; }
.mini-card .chips { display: flex; gap: 5px; margin-top: 8px; flex-wrap: wrap; }
.mini-card .chip { background: var(--accent-soft); color: var(--accent-ink); font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.mini-pill { background: var(--grad); color: #fff; text-align: center; font-weight: 800; font-size: 13px; padding: 12px; border-radius: 999px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.step .num { width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 900; font-size: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.step h3 { font-size: 19px; font-weight: 800; }
.step p { color: var(--body); margin-top: 8px; font-size: 15px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.feature .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.feature h3 { font-size: 17px; font-weight: 800; }
.feature p { color: var(--body); margin-top: 8px; font-size: 14.5px; }

/* Screenshots gallery */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 940px; margin: 0 auto; }
.shot { text-align: center; }
.shot .frame { background: #0b1220; border-radius: 38px; padding: 9px; box-shadow: var(--shadow); border: 1px solid #1f2937; }
.shot .frame img { border-radius: 30px; width: 100%; display: block; }
.shot p { margin-top: 16px; font-weight: 700; color: var(--body); font-size: 15px; }
@media (max-width: 920px) { .shots { grid-template-columns: 1fr; max-width: 300px; gap: 40px; } }

/* Business / partners */
.biz { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); padding: 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.biz h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; }
.biz p { color: var(--body); font-size: 17px; margin: 16px 0 24px; }
.biz-types { display: flex; flex-direction: column; gap: 14px; }
.biz-type { display: flex; align-items: center; gap: 14px; background: var(--surface-2); border-radius: 14px; padding: 16px 18px; }
.biz-type .ic { font-size: 26px; }
.biz-type b { display: block; font-size: 15px; }
.biz-type span { font-size: 13px; color: var(--faint); }

/* Download */
.download-card {
  background: var(--grad); border-radius: var(--radius-lg); padding: 64px 40px; text-align: center; color: #fff; box-shadow: 0 30px 70px -30px rgba(6,182,212,.7);
}
.download-card h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 900; }
.download-card p { font-size: 19px; opacity: .92; margin: 16px auto 30px; max-width: 540px; }
.store-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; background: #0b1220; color: #fff;
  padding: 12px 22px; border-radius: 14px; font-weight: 700; transition: transform .15s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge .sb-ic { font-size: 26px; }
.store-badge small { display: block; font-size: 11px; font-weight: 600; opacity: .8; }
.store-badge b { display: block; font-size: 17px; }

/* Footer */
footer { background: #0b1220; color: #c7d0e0; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 30px; filter: brightness(0) invert(1); opacity: .96; }
.footer-brand .slogan {
  display: inline-block; margin-top: 16px; font-size: 18px; font-weight: 900; letter-spacing: -.01em;
  background: linear-gradient(120deg, #2ee6c5, #36c5e8); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-brand p { color: #6b7689; font-size: 13px; margin-top: 10px; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: #9aa6ba; font-size: 14px; margin-bottom: 10px; cursor: pointer; }
.footer-col a:hover { color: #fff; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-langs button { background: #131c2e; border: 1px solid #1f2a40; color: #9aa6ba; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; cursor: pointer; }
.footer-langs button:hover { color: #fff; border-color: #2b3a57; }
.footer-bottom { border-top: 1px solid #1b2740; margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom span { color: #6b7689; font-size: 13px; }
.footer-bottom a { color: #c7d0e0; font-weight: 700; font-size: 13px; }
.footer-bottom a:hover { color: #fff; }

/* Mobile nav toggle */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 26px; color: var(--ink); }

/* Responsive */
@media (max-width: 920px) {
  section { padding: 72px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero p.sub { margin-inline: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .steps, .features { grid-template-columns: 1fr; }
  .biz { grid-template-columns: 1fr; padding: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; inset-inline: 0;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 18px 24px; gap: 16px;
  }
}
@media (max-width: 560px) {
  .brand .slogan { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .download-card { padding: 44px 22px; }
}

/* RTL — logical properties handle most flipping automatically. */
