/* ==========================================================================
   Omegle 18 – static site styles
   ========================================================================== */

:root {
  --bg: #0d0f14;
  --bg-alt: #12151c;
  --surface: #181c25;
  --surface-2: #1f2430;
  --border: #2a3040;
  --text: #eef1f6;
  --muted: #a3abbd;
  --orange: #ff7a1a;
  --orange-2: #ff9a3d;
  --blue: #4f8fd6;
  --blue-2: #6fb0ff;
  --green: #3ddc84;
  --red: #ff4d5e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  --container: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-2); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--orange); color: #111; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 0; border-radius: 999px; padding: .85em 1.6em;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange) 0%, #ff5a1f 100%);
  box-shadow: 0 10px 30px -10px rgba(255, 110, 30, .75);
}
.btn-primary:hover { box-shadow: 0 14px 38px -10px rgba(255, 110, 30, .95); transform: translateY(-2px); }
.btn-secondary { color: #fff; background: var(--blue); box-shadow: 0 10px 30px -12px rgba(79, 143, 214, .8); }
.btn-secondary:hover { background: #5d9de3; transform: translateY(-2px); }
.btn-ghost { color: var(--muted); background: transparent; border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }
.btn-sm { padding: .55em 1.15em; font-size: .9rem; }
.btn-xl { padding: 1.05em 2.2em; font-size: 1.15rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 15, 20, .82);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { width: 150px; height: auto; }
.badge-18 {
  display: inline-block; font-size: .72rem; font-weight: 800; line-height: 1;
  color: #fff; background: var(--red); padding: 4px 6px; border-radius: 6px; letter-spacing: 0;
  vertical-align: middle;
}
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 64px 0 80px;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(79, 143, 214, .22), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(255, 122, 26, .16), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); background: var(--surface); border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: pulse 1.8s infinite; display: inline-block; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); }
  70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 850; }
.grad {
  background: linear-gradient(90deg, var(--orange) 0%, #ffb15c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin-bottom: 30px; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.trust li { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .95rem; font-weight: 500; }
.trust svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.trust .t-short { display: none; }

/* Mock chat window */
.chat-mock {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg);
}
.chat-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a4152; }
.dots i:nth-child(1) { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.chat-title { font-size: .82rem; color: var(--muted); font-weight: 600; }
.chat-bar .live-pill { position: static; margin-left: auto; }
.chat-stage { position: relative; aspect-ratio: 4 / 3; background: #000; }
.stage-img { width: 100%; height: 100%; object-fit: cover; }
.tag {
  position: absolute; left: 12px; bottom: 12px;
  font-size: .78rem; font-weight: 700; color: #fff;
  background: rgba(0, 0, 0, .55); padding: 4px 10px; border-radius: 999px;
}
.self-cam {
  position: absolute; right: 12px; bottom: 12px; width: 28%; aspect-ratio: 4 / 3;
  border-radius: 10px; border: 2px solid rgba(255, 255, 255, .25);
  background: linear-gradient(135deg, #2b3242, #1a1f2b);
  display: grid; place-items: center;
}
.self-cam span { font-size: .75rem; font-weight: 700; color: var(--muted); }
.chat-log { padding: 14px 16px 4px; min-height: 108px; }
.msg { font-size: .9rem; margin: 0 0 6px; }
.msg-system { color: var(--muted); font-style: italic; font-size: .82rem; }
.msg-them b { color: var(--red); }
.msg-typing { display: flex; gap: 4px; padding: 4px 0; }
.msg-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.msg-typing span:nth-child(2) { animation-delay: .15s; }
.msg-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-controls { display: flex; gap: 8px; padding: 10px 12px 14px; }
.ctrl {
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem; font-weight: 700; text-decoration: none;
  border-radius: 10px; padding: 10px 14px;
}
.ctrl-next { color: #fff; background: var(--blue); }
.ctrl-input { flex: 1; justify-content: flex-start; color: #6b7386; background: var(--bg); border: 1px solid var(--border); font-weight: 500; }
.ctrl-send { color: #fff; background: var(--orange); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; }
.section-head p { color: var(--muted); margin: 0; }

/* Live cams */
.previews { padding-top: 40px; }
.cam-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cam-card {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3; background: #000; border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.cam-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cam-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .75), transparent 45%);
}
.cam-card:hover img { transform: scale(1.04); }
.live-pill {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; color: #fff;
  background: rgba(255, 77, 94, .92); padding: 4px 9px; border-radius: 999px;
}
.live-pill .dot { width: 6px; height: 6px; background: #fff; animation: none; }
.cam-cta {
  position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px;
  display: flex; justify-content: center; padding: 10px; border-radius: 999px;
  color: #fff; font-weight: 700; font-size: .95rem;
  background: rgba(255, 122, 26, .95);
  transform: translateY(8px); opacity: 0; transition: all .25s ease;
}
.cam-card:hover .cam-cta,
.cam-card:focus-visible .cam-cta { transform: none; opacity: 1; }
@media (hover: none) { .cam-cta { transform: none; opacity: 1; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media img { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); width: 100%; }
.split-copy h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 800; }
.split-copy p { color: var(--muted); }
.split-copy strong { color: var(--text); }
.split-copy .btn { margin-top: 8px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: #3a4256; }
.feature h3 { font-size: 1.15rem; margin-top: 16px; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255, 122, 26, .18), rgba(79, 143, 214, .18));
  border: 1px solid var(--border);
}
.icon svg { width: 24px; height: 24px; fill: var(--orange-2); }
.feature:nth-child(4) .icon svg { fill: none; stroke: var(--orange-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-weight: 800; font-size: 1.1rem; color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  margin-bottom: 16px;
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Prose */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 800; text-align: center; margin-bottom: .8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6em; }
.prose p { color: var(--muted); }
.prose strong { color: var(--text); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 0 22px; transition: border-color .2s ease;
}
.faq details[open] { border-color: #3a4256; }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 18px 32px 18px 0; font-weight: 700; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* Final CTA */
.final-cta {
  padding: 96px 0;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(255, 122, 26, .22), transparent 70%),
    var(--bg-alt);
  border-top: 1px solid var(--border);
  text-align: center;
}
.final-inner h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 850; }
.final-inner p { color: var(--muted); margin-bottom: 30px; }

/* Footer */
.site-footer { padding: 44px 0 110px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.site-footer nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.site-footer nav a:hover { color: var(--text); }
.disclaimer { color: #6f778a; font-size: .82rem; max-width: 640px; margin: 0; }
.copy { color: #6f778a; font-size: .85rem; margin: 0; }

/* Mobile sticky CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(13, 15, 20, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  transform: translateY(110%); transition: transform .3s ease;
  display: none;
}
.mobile-cta .btn { width: 100%; }
.mobile-cta.show { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .trust { justify-content: center; }
  .chat-mock { transform: none; max-width: 560px; margin: 0 auto; width: 100%; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .header-inner { height: 60px; justify-content: space-between; }
  .brand img { width: 120px; }
  .section { padding: 64px 0; }
  .previews { padding-top: 24px; }
  .trust { flex-wrap: nowrap; gap: 14px; }
  .trust li { font-size: .88rem; gap: 5px; white-space: nowrap; }
  .trust svg { width: 15px; height: 15px; }
  .trust .t-full { display: none; }
  .trust .t-short { display: inline; }
  /* Cams become a swipeable row; the next card peeks in to hint at scrolling */
  .cam-grid {
    display: flex; gap: 12px; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding: 0 20px;
    margin: 0 -20px; padding: 0 20px 4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .cam-grid::-webkit-scrollbar { display: none; }
  .cam-grid li { flex: 0 0 82%; scroll-snap-align: start; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .btn-xl { width: 100%; }
  .mobile-cta { display: block; }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .cam-grid { margin: 0 -16px; padding: 0 16px 4px; scroll-padding: 0 16px; }
  .trust { gap: 10px; }
  .trust li { font-size: .84rem; }
  .ctrl { padding: 9px 11px; font-size: .82rem; }
}

@media (max-width: 360px) {
  .trust { gap: 7px; }
  .trust li { font-size: .76rem; gap: 3px; }
  .trust svg { width: 13px; height: 13px; }
}
