:root {
  --ink: #171817;
  --accent: #b86a49;
  --accent-dark: #8e4e34;
  --paper: #fdfaf7;
  --card: #fbf4ef;
  --line: #dedbd8;
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: #f2f2f1;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  padding: 3px;
  background: #f3f3f2;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  position: relative;
  min-height: calc(100vh - 6px);
  overflow: hidden;
  border: 1px solid #d8d8d7;
  border-radius: 24px;
  background:
    radial-gradient(circle at 71% 31%, rgba(205, 146, 112, 0.11), transparent 27%),
    radial-gradient(circle at 22% 70%, rgba(205, 146, 112, 0.07), transparent 25%),
    var(--paper);
  box-shadow: 0 1px 5px rgba(24, 24, 24, 0.08);
}

.navbar {
  width: min(1410px, calc(100% - 72px));
  height: 118px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: ltr;
}

.contact-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 1px solid #141515;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #121313, #242525);
  font-size: 19px;
  font-weight: 600;
  box-shadow: 0 7px 18px rgba(20, 20, 20, 0.11);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-button {
  width: 210px;
  flex: 0 0 210px;
}

.contact-button:hover,
.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.17);
}

.nav-links {
  display: flex;
  direction: rtl;
  justify-content: center;
  gap: clamp(34px, 5vw, 68px);
  font-size: 18px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 12px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transition: width 180ms ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--accent);
}

.brand {
  display: flex;
  direction: rtl;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  font-size: 29px;
  font-weight: 800;
  white-space: nowrap;
}

.crown {
  position: relative;
  display: block;
  width: 52px;
  height: 35px;
  border-bottom: 7px solid var(--accent);
  border-radius: 0 0 9px 9px;
  transform: rotate(2deg);
}

.crown::before {
  position: absolute;
  inset: 0 3px 5px;
  content: "";
  background: var(--accent);
  clip-path: polygon(0 22%, 27% 76%, 50% 5%, 73% 76%, 100% 22%, 87% 100%, 13% 100%);
}

.crown i {
  position: absolute;
  z-index: 1;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.crown i:nth-child(1) { left: 0; top: 4px; }
.crown i:nth-child(2) { left: 23px; top: -4px; }
.crown i:nth-child(3) { right: 0; top: 4px; }

.hero {
  width: min(1190px, calc(100% - 70px));
  min-height: 520px;
  margin: 11px auto 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 68px;
  direction: ltr;
}

.hero-copy {
  position: relative;
  z-index: 2;
  direction: rtl;
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(48px, 5.15vw, 76px);
  line-height: 1.47;
  letter-spacing: -2.2px;
  font-weight: 800;
}

.hero-copy h1 > span {
  display: block;
  white-space: nowrap;
}

.hero-copy h1 b {
  font-weight: 800;
}

.hero-copy h1 em {
  padding-right: 12px;
  color: var(--accent);
  font-style: normal;
  font-weight: 800;
}

.hero-copy p {
  max-width: 650px;
  margin: 23px auto 0;
  font-size: 23px;
  line-height: 2.05;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  direction: rtl;
  justify-content: center;
  gap: 26px;
  margin-top: 39px;
}

.hero-actions a {
  width: 232px;
  min-height: 65px;
  font-size: 20px;
  font-weight: 600;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--ink);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.45);
  transition: background 180ms ease, color 180ms ease;
}

.secondary-button:hover {
  color: #fff;
  background: var(--ink);
}

.phone-stage {
  position: relative;
  min-height: 485px;
  direction: rtl;
}

.phone {
  position: absolute;
  top: 8px;
  left: 105px;
  width: 252px;
  height: 490px;
  border: 7px double #d7a98f;
  border-radius: 44px;
  background: linear-gradient(145deg, #fffaf5, #f2e5dc);
  box-shadow: 0 23px 29px rgba(99, 55, 34, 0.15);
  transform: rotate(2.5deg);
}

.phone::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(182, 112, 76, 0.25);
  border-radius: 33px;
  content: "";
}

.phone-screen {
  position: absolute;
  inset: 23px 12px 14px;
  border-radius: 29px;
  background: linear-gradient(160deg, #fffdfa, #f4eae4);
}

.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 17px;
  left: 50%;
  width: 74px;
  height: 18px;
  border-radius: 0 0 12px 12px;
  background: #f0e6df;
  transform: translateX(-50%);
}

.phone-speaker::after {
  position: absolute;
  top: 4px;
  left: 26px;
  width: 23px;
  height: 3px;
  border-radius: 5px;
  content: "";
  background: #bea89c;
}

.phone-button {
  position: absolute;
  top: 122px;
  right: -11px;
  width: 4px;
  height: 53px;
  border-radius: 0 5px 5px 0;
  background: #c58c6f;
}

.platform-cards {
  position: absolute;
  z-index: 3;
  top: 59px;
  left: 7px;
  display: grid;
  gap: 20px;
}

.platform-card {
  width: 285px;
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 1px solid #ead9d0;
  border-radius: 19px;
  background: rgba(255, 252, 249, 0.94);
  box-shadow: 0 12px 18px rgba(89, 54, 35, 0.13);
  font-size: 25px;
  transform: rotate(1deg);
  backdrop-filter: blur(8px);
}

.platform-card:nth-child(2) {
  margin-left: 16px;
  transform: rotate(1.8deg);
}

.platform-card:nth-child(3) {
  margin-left: -2px;
  transform: rotate(2.2deg);
}

.platform-card strong {
  min-width: 150px;
  direction: ltr;
  text-align: center;
  font-weight: 700;
}

.platform-card.platform-fanspicy {
  border-color: #0b1828;
  background: #071321;
}

.platform-logo {
  display: block;
  width: 225px;
  max-width: calc(100% - 34px);
  height: auto;
  object-fit: contain;
}

.platform-icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font: 700 31px/1 Arial, sans-serif;
}

.platform-icon.telegram {
  color: #fff;
  background: #279bdd;
  transform: rotate(-20deg);
}

.platform-icon.fanvue {
  color: #fa3d87;
  background: transparent;
  font-size: 48px;
  text-shadow: 0 4px 0 #ff9ec2;
}

.platform-icon.fanspicy {
  position: relative;
  border-radius: 0;
  background: transparent;
}

.platform-icon.fanspicy::before {
  position: absolute;
  top: 2px;
  left: 11px;
  width: 31px;
  height: 45px;
  border-radius: 70% 30% 65% 35%;
  content: "";
  background: linear-gradient(145deg, #1464d8, #48b8ff);
  clip-path: polygon(83% 0, 100% 42%, 76% 82%, 44% 100%, 3% 80%, 35% 55%, 28% 30%);
  transform: rotate(9deg);
}

.platform-icon.fanspicy::after {
  position: absolute;
  top: 22px;
  left: 23px;
  width: 10px;
  height: 20px;
  border-radius: 70% 30% 60% 40%;
  content: "";
  background: #fffaf7;
  transform: rotate(35deg);
}

.platform-icon.other {
  color: var(--ink);
  border: 3px solid var(--ink);
  background: transparent;
  font-size: 27px;
}

.platform-icon.globe {
  border-radius: 0;
  background: transparent;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  font-size: 43px;
}

.how-section {
  width: min(1180px, calc(100% - 70px));
  margin: 3px auto 49px;
  scroll-margin-top: 30px;
}

.how-section h2 {
  margin: 0 0 20px;
  text-align: center;
  font-size: 34px;
  line-height: 1.4;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  direction: rtl;
}

.step-card {
  min-height: 225px;
  padding: 30px 24px 22px;
  border: 1px solid rgba(222, 199, 184, 0.14);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(251, 243, 238, 0.9), rgba(251, 246, 242, 0.65));
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 13px 30px rgba(126, 79, 51, 0.09);
}

.step-icon {
  height: 61px;
  display: block;
  color: var(--accent-dark);
  font: 400 50px/1 "Segoe UI Symbol", sans-serif;
}

.step-icon.money {
  width: 49px;
  height: 49px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--accent-dark);
  border-radius: 50%;
  font: 700 29px/1 Arial, sans-serif;
}

.step-icon.fans {
  position: relative;
  width: 68px;
  margin: 0 auto;
}

.step-icon.fans::before {
  position: absolute;
  top: 3px;
  left: 28px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  content: "";
  background: var(--accent-dark);
  box-shadow: -22px 8px 0 -2px var(--accent-dark), 22px 8px 0 -2px var(--accent-dark);
}

.step-icon.fans::after {
  position: absolute;
  top: 24px;
  left: 20px;
  width: 28px;
  height: 18px;
  border: 3px solid var(--accent-dark);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  content: "";
  box-shadow: -21px 6px 0 -2px var(--card), -23px 4px 0 0 var(--accent-dark), 21px 6px 0 -2px var(--card), 23px 4px 0 0 var(--accent-dark);
}

.step-icon.fan-heart {
  position: relative;
  width: 65px;
  margin: 0 auto;
  font-size: 49px;
}

.step-icon.fan-heart::after {
  position: absolute;
  top: 2px;
  right: 0;
  width: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--card);
  border-radius: 50%;
  content: "+";
  color: #fff;
  background: var(--accent-dark);
  font: 700 18px/1 Arial, sans-serif;
}

.step-icon.growth {
  width: 52px;
  height: 52px;
  margin: 0 auto 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 3px solid var(--accent-dark);
  border-bottom: 3px solid var(--accent-dark);
  font: 600 53px/1 Arial, sans-serif;
}

.step-icon.emoji {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  font-size: 43px;
}

.step-card h3 {
  margin: 10px 0 5px;
  font-size: 20px;
  font-weight: 700;
}

.step-card p {
  max-width: 220px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 500;
  white-space: pre-line;
}

.results-section {
  width: min(1180px, calc(100% - 70px));
  margin: 0 auto;
  padding: 6px 0 76px;
  text-align: center;
  scroll-margin-top: 30px;
}

.section-separator {
  position: relative;
  width: 100%;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-separator::before,
.section-separator::after {
  width: min(390px, 38%);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(184, 106, 73, 0.45));
}

.section-separator::after {
  background: linear-gradient(90deg, rgba(184, 106, 73, 0.45), transparent);
}

.section-separator span {
  width: 9px;
  height: 9px;
  margin: 0 18px;
  border: 2px solid var(--accent);
  transform: rotate(45deg);
}

.results-heading {
  max-width: 720px;
  margin: 5px auto 0;
}

.results-kicker {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.results-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.4;
}

.results-heading p {
  margin: 8px 0 0;
  color: #55514e;
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.result-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(184, 106, 73, 0.18);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(80, 48, 30, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(80, 48, 30, 0.14);
}

.result-card img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1050px) {
  .navbar {
    display: flex;
  }

  .brand {
    font-size: 24px;
  }

  .hero {
    gap: 20px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .hero-copy p {
    font-size: 19px;
  }

  .results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  body { padding: 0; }

  .site-shell {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .navbar {
    width: calc(100% - 34px);
    height: 88px;
    grid-template-columns: 130px 1fr;
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
    font-size: 21px;
  }

  .crown {
    width: 40px;
    height: 29px;
  }

  .contact-button {
    grid-column: 1;
    grid-row: 1;
    min-height: 47px;
    width: 130px;
    flex-basis: 130px;
    font-size: 15px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    width: calc(100% - 34px);
    min-height: 0;
    margin-top: 22px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-copy {
    grid-row: 1;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 11vw, 58px);
    line-height: 1.5;
  }

  .hero-copy h1 > span {
    white-space: normal;
  }

  .hero-copy p {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.9;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 25px;
  }

  .hero-actions a {
    width: 50%;
    min-height: 55px;
    font-size: 16px;
  }

  .phone-stage {
    width: 360px;
    min-height: 440px;
    margin: 0 auto;
    transform: scale(0.9);
    transform-origin: top center;
  }

  .how-section {
    width: calc(100% - 34px);
    margin-top: -20px;
  }

  .results-section {
    width: calc(100% - 34px);
  }

  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .brand-name { font-size: 18px; }
  .crown { width: 34px; }

  .hero-copy h1 {
    letter-spacing: -1px;
  }

  .phone-stage {
    width: 340px;
    transform: scale(0.82);
    margin-bottom: -70px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 190px;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }
}

.learn-page {
  min-height: calc(100vh - 6px);
}

.learn-content {
  width: min(1120px, calc(100% - 70px));
  margin: 0 auto;
  padding: 52px 0 76px;
}

.learn-hero {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.learn-kicker {
  display: inline-flex;
  padding: 8px 17px;
  border: 1px solid rgba(184, 106, 73, 0.24);
  border-radius: 999px;
  color: var(--accent-dark);
  background: rgba(251, 243, 238, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.learn-hero h1 {
  margin: 20px 0 22px;
  font-size: clamp(40px, 5.2vw, 67px);
  line-height: 1.36;
  letter-spacing: -1.8px;
}

.learn-hero p {
  max-width: 830px;
  margin: 0 auto;
  color: #45413e;
  font-size: 21px;
  line-height: 2;
}

.learn-hero strong,
.learn-card strong,
.learn-cta strong {
  color: var(--accent-dark);
}

.learn-separator {
  position: relative;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.learn-separator::before {
  width: 100%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(184, 106, 73, 0.38), transparent);
}

.learn-separator span {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 2px solid var(--accent);
  background: var(--paper);
  transform: rotate(45deg);
}

.learn-sections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.learn-card {
  position: relative;
  min-height: 255px;
  overflow: hidden;
  padding: 37px 36px 31px;
  border: 1px solid rgba(184, 106, 73, 0.13);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 253, 251, 0.92), rgba(249, 240, 234, 0.8));
  box-shadow: 0 14px 35px rgba(88, 53, 33, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.learn-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(88, 53, 33, 0.11);
}

.learn-number {
  position: absolute;
  top: 19px;
  left: 24px;
  color: rgba(184, 106, 73, 0.18);
  font: 800 48px/1 Arial, sans-serif;
}

.learn-card h2 {
  position: relative;
  margin: 0 0 12px;
  padding-right: 18px;
  font-size: 25px;
  line-height: 1.5;
}

.learn-card h2::before {
  position: absolute;
  top: 10px;
  right: 0;
  width: 5px;
  height: 25px;
  border-radius: 5px;
  content: "";
  background: var(--accent);
}

.learn-card p {
  margin: 0;
  color: #504b47;
  font-size: 17px;
  line-height: 2;
}

.learn-cta {
  position: relative;
  overflow: hidden;
  margin-top: 26px;
  padding: 56px min(8vw, 95px);
  border-radius: 24px;
  color: #fff;
  background: radial-gradient(circle at 10% 15%, rgba(184, 106, 73, 0.38), transparent 27%), linear-gradient(135deg, #121313, #282523);
  text-align: center;
  box-shadow: 0 20px 44px rgba(24, 22, 21, 0.16);
}

.learn-cta h2 {
  position: relative;
  margin: 0;
  font-size: clamp(32px, 4vw, 47px);
  line-height: 1.45;
}

.learn-cta p {
  position: relative;
  max-width: 790px;
  margin: 18px auto 28px;
  color: #e8e2de;
  font-size: 18px;
  line-height: 2;
}

.learn-cta strong {
  color: #e6a383;
}

.learn-cta-button {
  position: relative;
  min-width: 230px;
  border-color: rgba(255, 255, 255, 0.22);
  background: var(--accent);
}

@media (max-width: 820px) {
  .learn-content {
    width: calc(100% - 34px);
    padding-top: 34px;
  }

  .learn-hero h1 {
    font-size: clamp(38px, 10vw, 55px);
  }

  .learn-hero p {
    font-size: 18px;
  }

  .learn-sections {
    grid-template-columns: 1fr;
  }

  .learn-card {
    min-height: 0;
    padding: 31px 25px 27px;
  }

  .learn-cta {
    padding: 45px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
