/* RubyCams — OnlyFans-inspired palette + dating portal UX */

:root {
  --cyan: #00aff0;
  --cyan-hover: #0099d6;
  --cyan-glow: rgba(0, 175, 240, 0.35);
  --pink: #ff6b9d;
  --pink-soft: rgba(255, 107, 157, 0.15);
  --bg-dark: #0a0a0b;
  --bg-card: #161618;
  --bg-elevated: #1e1e22;
  --bg-section: #111113;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --gradient: linear-gradient(135deg, #00aff0 0%, #ff6b9d 100%);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: var(--cyan-hover);
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* Activity bar */
.activity-bar {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.activity-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--text);
  opacity: 0.9;
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}

.nav {
  display: none;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--cyan);
  color: #fff;
}

.btn-primary:hover {
  background: var(--cyan-hover);
  color: #fff;
  box-shadow: 0 4px 24px var(--cyan-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink);
  border: 1px solid rgba(255, 107, 157, 0.3);
  font-size: 1.125rem;
}

.btn-icon:hover {
  background: var(--pink);
  color: #fff;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 175, 240, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255, 107, 157, 0.08), transparent),
    var(--bg-dark);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease infinite;
}

.hero-badge strong {
  color: var(--cyan);
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* Phone mockup */
.phone-mockup {
  max-width: 300px;
  margin-inline: auto;
  background: var(--bg-card);
  border-radius: 32px;
  padding: 12px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow), 0 0 60px var(--cyan-glow);
}

.phone-notch {
  width: 80px;
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 3px;
  margin: 4px auto 12px;
}

.phone-screen {
  background: var(--bg-elevated);
  border-radius: 24px;
  padding: 1.25rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
}

.notif-stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.notif {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--bg-card);
  padding: 0.875rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  animation: slide-in 0.6s ease backwards;
}

.notif-1 { animation-delay: 0.1s; }
.notif-2 { animation-delay: 0.3s; }
.notif-3 { animation-delay: 0.5s; }

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.notif-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: var(--bg-elevated);
}

.notif strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.125rem;
}

.notif small {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.phone-cta {
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Stats */
.stats {
  padding: 2rem 0;
  background: var(--bg-section);
  border-block: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-card {
  text-align: center;
  padding: 1.25rem;
}

.stat-number {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Section common */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.section-head.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-head p {
  color: var(--text-muted);
  max-width: 560px;
}

/* Profiles */
.profiles {
  padding: 4rem 0;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.profile-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.profile-card:not(.profile-blur):hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 175, 240, 0.3);
}

.profile-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(160deg, #2a2a32 0%, #1a1a20 100%);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-img.placeholder-fallback {
  object-fit: none;
  opacity: 0;
}

.profile-img-wrap::after {
  content: attr(data-initial);
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.profile-img-wrap.show-initial::after {
  display: grid;
}

.profile-online {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(34, 197, 94, 0.9);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.profile-distance {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

.profile-body {
  padding: 1rem 1.125rem 1.25rem;
}

.profile-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.125rem;
}

.profile-location {
  font-size: 0.8125rem;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.profile-location[hidden] {
  display: none;
}

html[data-region="other"] .profile-location {
  display: none;
}

.notif-text .notif-action {
  color: var(--text-muted);
  font-weight: 400;
}

.notif-text small {
  display: block;
}

.profile-bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.profile-actions {
  display: flex;
  gap: 0.5rem;
}

.profile-actions .btn-primary {
  flex: 1;
}

/* Locked profiles */
.profile-blur .profile-img-wrap img {
  filter: blur(12px);
  transform: scale(1.05);
}

.profile-blur .profile-body {
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
}

.profile-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(10, 10, 11, 0.55);
  z-index: 2;
  padding: 1rem;
  text-align: center;
}

.profile-lock-overlay p {
  font-weight: 600;
  font-size: 0.9375rem;
}

.profiles-cta-text {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.profiles-cta-text strong {
  color: var(--pink);
}

.profiles-cta-text a {
  display: inline-block;
  margin-left: 0.25rem;
  font-weight: 600;
}

/* Notifications feature */
.feature-notifications {
  padding: 4rem 0;
  background: var(--bg-section);
  border-block: 1px solid var(--border);
}

.feature-split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.feature-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.feature-list strong {
  display: block;
  margin-bottom: 0.125rem;
}

.feature-list span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.notifications-demo {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
  margin-inline: auto;
}

.demo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  animation: slide-in 0.5s ease backwards;
}

.demo-card-2 {
  animation-delay: 0.15s;
  border-left-color: var(--pink);
  margin-left: 1.5rem;
}

.demo-card-3 {
  animation-delay: 0.3s;
  margin-left: 0.75rem;
}

.demo-time {
  font-size: 0.6875rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-card p {
  margin: 0.375rem 0 0.5rem;
  font-size: 0.9375rem;
}

.demo-link {
  font-size: 0.8125rem;
  font-weight: 600;
}

/* How it works */
.how {
  padding: 4rem 0;
}

.steps-grid {
  display: grid;
  gap: 1.5rem;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.2s;
}

.step:hover {
  border-color: rgba(0, 175, 240, 0.4);
}

.step-num {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.step-link {
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Trust */
.trust {
  padding: 4rem 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 175, 240, 0.1), transparent),
    var(--bg-dark);
}

.trust-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.trust-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.trust-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.trust-badges span {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Testimonials */
.testimonials {
  padding: 4rem 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  gap: 1.25rem;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.testimonial p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial footer {
  font-size: 0.875rem;
  color: var(--text-dim);
  font-style: normal;
}

/* Final CTA */
.final-cta {
  padding: 5rem 0;
  text-align: center;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.88);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.final-cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
}

.final-cta .btn-primary {
  background: #fff;
  color: var(--bg-dark);
}

.final-cta .btn-primary:hover {
  background: #f0f0f0;
  color: var(--bg-dark);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.25);
}

.final-cta-note {
  margin-top: 1rem !important;
  font-size: 0.8125rem !important;
  color: var(--text-dim) !important;
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-dmca {
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.5;
}

.footer-dmca a {
  color: var(--cyan);
  font-weight: 500;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
  max-width: 480px;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: rgba(10, 10, 11, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 99;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

/* Responsive */
@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-split {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  body {
    padding-bottom: 0;
  }

  .sticky-cta {
    display: none;
  }
}

@media (min-width: 900px) {
  .hero-visual {
    order: 0;
  }
}
