/* ========================================
   RATING-KING.COM – SHARED STYLESHEET
   ======================================== */

:root {
  --bg: #0a0908;
  --bg-elev: #121110;
  --card: #161412;
  --card-border: rgba(212, 168, 87, 0.12);
  --gold: #d4a857;
  --gold-light: #e5be75;
  --gold-soft: rgba(212, 168, 87, 0.15);
  --text: #ffffff;
  --text-dim: #a8a39b;
  --text-mute: #6f6a62;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--gold); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ============ HEADER ============ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 9, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: #fff;
}
.logo:hover { color: #fff; }

.logo-mark {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(212,168,87,0.15));
}

.nav-links {
  display: flex;
  gap: 40px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
}
.nav-links a.active { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #1a1408;
  box-shadow: 0 8px 24px -8px rgba(212,168,87,0.5);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px rgba(212,168,87,0.7);
  color: #1a1408;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold-soft); color: var(--gold-light); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.35); color: var(--text); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 80px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212,168,87,0.18) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  margin-bottom: 28px;
}
.hero h1 .gold { color: var(--gold); }

.hero-sub {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.social-proof { display: flex; align-items: center; gap: 18px; }
.avatars { display: flex; }
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -12px;
  background-size: cover;
  background-position: center;
  background-color: #2a2520;
}
.avatar:first-child { margin-left: 0; }

.proof-text { display: flex; flex-direction: column; gap: 2px; }
.proof-stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; }
.proof-label { color: var(--text-dim); font-size: 13px; }

/* ============ REALISTIC PHONE MOCKUP ============ */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 660px;
}

.phone-glow {
  position: absolute;
  top: 50%;
  right: -20%;
  transform: translateY(-50%);
  width: 70%;
  height: 100%;
  background: radial-gradient(ellipse at left, rgba(212,168,87,0.5), transparent 65%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.phone {
  position: relative;
  width: 310px;
  height: 630px;
  border-radius: 56px;
  background: linear-gradient(135deg, #2a2622 0%, #1a1816 50%, #2a2622 100%);
  padding: 8px;
  transform: rotate(8deg);
  box-shadow:
    0 80px 100px -40px rgba(0,0,0,0.9),
    0 30px 50px -20px rgba(0,0,0,0.7),
    0 0 0 1.5px #3d3833,
    inset 0 0 0 2px rgba(255,255,255,0.06),
    inset 0 2px 4px rgba(255,255,255,0.1);
  z-index: 1;
}

/* outer metallic frame */
.phone::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 56px;
  background:
    linear-gradient(135deg,
      rgba(255,255,255,0.15) 0%,
      transparent 8%,
      transparent 92%,
      rgba(255,255,255,0.08) 100%);
  pointer-events: none;
  z-index: 3;
}

/* side buttons */
.phone .btn-volume-up {
  position: absolute;
  left: -3px;
  top: 110px;
  width: 4px;
  height: 32px;
  background: linear-gradient(90deg, #1a1816, #3d3833);
  border-radius: 2px 0 0 2px;
  box-shadow: -1px 0 2px rgba(0,0,0,0.5);
}
.phone .btn-volume-down {
  position: absolute;
  left: -3px;
  top: 155px;
  width: 4px;
  height: 50px;
  background: linear-gradient(90deg, #1a1816, #3d3833);
  border-radius: 2px 0 0 2px;
  box-shadow: -1px 0 2px rgba(0,0,0,0.5);
}
.phone .btn-mute {
  position: absolute;
  left: -3px;
  top: 75px;
  width: 4px;
  height: 22px;
  background: linear-gradient(90deg, #1a1816, #3d3833);
  border-radius: 2px 0 0 2px;
}
.phone .btn-power {
  position: absolute;
  right: -3px;
  top: 135px;
  width: 4px;
  height: 70px;
  background: linear-gradient(270deg, #1a1816, #3d3833);
  border-radius: 0 2px 2px 0;
  box-shadow: 1px 0 2px rgba(0,0,0,0.5);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0c0b0a 0%, #060504 100%);
  border-radius: 48px;
  padding: 60px 26px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
}

/* Dynamic Island */
.dynamic-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 32px;
  background: #000;
  border-radius: 18px;
  z-index: 5;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.dynamic-island::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #1a2e3a 30%, #000 70%);
  border-radius: 50%;
  box-shadow: inset 0 0 1px rgba(60,100,140,0.5);
}

/* status bar */
.status-bar {
  position: absolute;
  top: 18px;
  left: 32px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  z-index: 4;
}
.status-bar .right { display: flex; gap: 6px; align-items: center; }

/* screen reflection overlay */
.phone-screen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background:
    linear-gradient(115deg,
      transparent 30%,
      rgba(255,255,255,0.04) 45%,
      rgba(255,255,255,0.08) 50%,
      transparent 65%);
  pointer-events: none;
  border-radius: 48px;
  z-index: 6;
}

.screen-label {
  color: var(--text-mute);
  font-size: 13px;
  text-align: center;
  margin-bottom: 6px;
  font-style: italic;
  margin-top: 8px;
}

.screen-rating {
  text-align: center;
  font-family: 'Sora', sans-serif;
  font-size: 58px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(180deg, #fff, #d4d0c8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.screen-stars {
  text-align: center;
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 4px;
  margin-bottom: 8px;
}

.screen-count {
  text-align: center;
  color: var(--text-mute);
  font-size: 12px;
  margin-bottom: 14px;
}

.chart-area {
  flex: 1;
  position: relative;
  margin: 0 -8px 14px;
}
.chart-area svg { width: 100%; height: 100%; display: block; }

.reviews-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 14px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.reviews-card-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gold);
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}
.reviews-card-bottom {
  color: var(--text-mute);
  font-size: 11px;
  font-style: italic;
  line-height: 1.4;
}

/* ============ TRUST LOGOS ============ */
.trust {
  padding: 60px 0 80px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.trust-label {
  text-align: center;
  color: var(--text-mute);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.trust-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  align-items: center;
  opacity: 0.55;
  filter: grayscale(1) brightness(1.6);
}
.trust-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  font-family: 'Sora', sans-serif;
}

/* ============ SERVICES ============ */
.services { padding: 100px 0; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}

.services h2 {
  font-size: clamp(32px, 3.5vw, 44px);
  margin-bottom: 22px;
}

.services-intro {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 36px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(212,168,87,0.06), transparent 60%);
  pointer-events: none;
}
.card:hover {
  border-color: rgba(212,168,87,0.3);
  transform: translateY(-4px);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,168,87,0.08);
  border: 1px solid rgba(212,168,87,0.2);
  border-radius: 12px;
  color: var(--gold);
  margin-bottom: 40px;
}

.card h3 { font-size: 19px; margin-bottom: 14px; }
.card p { color: var(--text-dim); font-size: 14px; line-height: 1.7; }

/* ============ CTA BLOCK ============ */
.cta-block {
  margin: 40px 0 100px;
  background: linear-gradient(180deg, #161412 0%, #100f0d 100%);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 56px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,168,87,0.08), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

.cta-block .eyebrow { margin-bottom: 18px; }
.cta-block h2 {
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 18px;
  position: relative;
}
.cta-block p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 420px;
  position: relative;
}
.cta-block .btn { position: relative; }

.cta-features {
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
}
.cta-feature { display: flex; align-items: center; gap: 18px; }
.cta-feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,168,87,0.1);
  border: 1px solid rgba(212,168,87,0.2);
  border-radius: 50%;
  color: var(--gold);
}
.cta-feature-title {
  font-family: 'Sora', sans-serif;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 2px;
}
.cta-feature-desc { color: var(--text-dim); font-size: 13px; }

/* ============ CONTACT FORM ============ */
.form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}
.form-input:focus { border-color: var(--gold); }
.form-input::placeholder { color: var(--text-mute); }
textarea.form-input { resize: vertical; min-height: 120px; }

.form-label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-family: 'Sora', sans-serif;
}

.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 48px;
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
  cursor: pointer;
}
.form-consent input { margin-top: 3px; accent-color: var(--gold); }
.form-consent a { color: var(--gold); }

/* ============ PAGE HEADERS (subpages) ============ */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at top, rgba(212,168,87,0.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600;
  margin-bottom: 18px;
}
.page-hero h1 .gold { color: var(--gold); }
.page-hero p {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 60px 0 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 18px;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col li a { color: var(--text-dim); font-size: 14px; }
.footer-contact {
  color: var(--text-dim);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-socials { display: flex; gap: 14px; margin-top: 8px; }
.footer-socials a {
  color: var(--text-dim);
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-socials a:hover { color: var(--gold); }

/* ============ CONTENT BLOCKS (subpages) ============ */
.content-section { padding: 60px 0 100px; }
.content-block { max-width: 780px; margin: 0 auto; }
.content-block h2 {
  font-size: clamp(26px, 2.6vw, 32px);
  margin: 50px 0 18px;
}
.content-block h2:first-child { margin-top: 0; }
.content-block p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.content-block ul {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.8;
  padding-left: 22px;
  margin-bottom: 20px;
}
.content-block ul li { margin-bottom: 8px; }
.content-block ul li::marker { color: var(--gold); }

/* PROCESS STEPS */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 32px;
}
.step-number {
  font-family: 'Sora', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 14px; line-height: 1.7; }

/* TESTIMONIALS */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.testimonial {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 32px;
  position: relative;
}
.testimonial .stars { color: var(--gold); letter-spacing: 3px; font-size: 14px; margin-bottom: 16px; }
.testimonial-quote {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 22px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #2a2520;
}
.testimonial-name { font-family: 'Sora', sans-serif; font-weight: 500; font-size: 14px; }
.testimonial-role { color: var(--text-mute); font-size: 12px; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  margin-bottom: 14px;
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item:hover { border-color: rgba(212,168,87,0.3); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 24px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-question .plus {
  color: var(--gold);
  font-size: 22px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-question .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.8;
  padding: 0 28px;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 28px 24px;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero { padding: 50px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone { transform: rotate(0deg); }
  .phone-wrap { min-height: 700px; }
  .trust-logos { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .services-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .cta-block { grid-template-columns: 1fr; padding: 40px 32px; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .testimonials { grid-template-columns: 1fr; }
  .step { grid-template-columns: 60px 1fr; gap: 18px; padding: 24px; }
  .step-number { font-size: 36px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 38px; }
  .trust-logos { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .cta-block { padding: 32px 22px; }
}
