/*
  Custom light-purple homepage design for improvesimilarwebtraffic.com
  This version uses relative paths and includes a real logo/menu header.
*/

:root {
  --ink: #21123f;
  --ink-soft: #675a83;
  --purple-deep: #4b2aa0;
  --purple-main: #7e4dff;
  --purple-bright: #b96dff;
  --purple-soft: #eadbff;
  --purple-pale: #f8f1ff;
  --purple-ice: #fcf9ff;
  --white: #ffffff;
  --line: rgba(115, 72, 210, 0.16);
  --shadow: 0 28px 80px rgba(55, 24, 116, 0.12);
  --shadow-tight: 0 16px 38px rgba(96, 55, 180, 0.13);
  --radius-xl: 42px;
  --radius-lg: 30px;
  --radius-md: 20px;
  --width: 1180px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--purple-ice);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  line-height: 1.75;
  background:
    radial-gradient(circle at 10% 4%, rgba(196, 141, 255, 0.25), transparent 25rem),
    radial-gradient(circle at 90% 0%, rgba(237, 216, 255, 0.82), transparent 24rem),
    linear-gradient(120deg, #fff 0%, #fbf7ff 52%, #f3e9ff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    linear-gradient(135deg, rgba(126, 77, 255, 0.052) 0 1px, transparent 1px 34px),
    linear-gradient(45deg, rgba(185, 109, 255, 0.035) 0 1px, transparent 1px 38px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

a {
  color: inherit;
}

strong {
  color: var(--purple-deep);
  font-weight: 850;
}

.skip-link {
  position: absolute;
  top: -90px;
  left: 18px;
  z-index: 200;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--purple-deep);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 18px;
}

.reading-meter {
  position: fixed;
  inset: 0 0 auto 0;
  height: 5px;
  z-index: 300;
  background: rgba(224, 206, 255, 0.64);
}

.reading-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, var(--purple-bright), var(--purple-main), var(--purple-deep));
  box-shadow: 0 0 22px rgba(126, 77, 255, 0.42);
}

/* Real logo + menu header */
.site-header {
  position: sticky;
  top: 5px;
  z-index: 120;
  padding: 14px 18px 0;
}

.site-header__inner {
  width: min(var(--width), 100%);
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(126, 77, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(55, 24, 116, 0.10);
  backdrop-filter: blur(18px);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo img {
  display: block;
  width: 50px;
  max-width: 48vw;
  height: auto;
}

.main-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.96rem;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.main-menu a:hover,
.main-menu a:focus-visible {
  color: var(--purple-deep);
  background: rgba(126, 77, 255, 0.10);
  transform: translateY(-1px);
}

.main-menu .menu-cta {
  margin-left: 4px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-main), var(--purple-bright));
  box-shadow: 0 12px 26px rgba(126, 77, 255, .22);
}

.main-menu .menu-cta:hover,
.main-menu .menu-cta:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #3d1d84, #7145e2, #ad63fa);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 46px;
  border: 1px solid rgba(126, 77, 255, 0.18);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--purple-deep);
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Clean single hero section, no two vertical boxes */
.hero {
  position: relative;
  padding: clamp(58px, 8vw, 116px) 20px clamp(52px, 8vw, 110px);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  width: min(var(--width), 100%);
  margin: 0 auto;
  padding: clamp(38px, 7vw, 94px) clamp(22px, 6vw, 82px);
  text-align: center;
  border: 1px solid rgba(126, 77, 255, 0.16);
  border-radius: clamp(34px, 5vw, 64px);
  background:
    radial-gradient(circle at 22% 0%, rgba(255,255,255,0.95), transparent 21rem),
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(250,242,255,0.86));
  box-shadow: var(--shadow);
  isolation: isolate;
  overflow: hidden;
}

.hero-inner::before {
  content: "";
  position: absolute;
  inset: auto 9% -90px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(126, 77, 255, 0.20), transparent 70%);
  filter: blur(6px);
  z-index: -1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--purple-deep);
  background: rgba(126, 77, 255, 0.09);
  border: 1px solid rgba(126, 77, 255, 0.16);
  font-weight: 900;
}

.hero-label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple-main);
  box-shadow: 0 0 0 7px rgba(126, 77, 255, 0.12);
}

.hero h1 {
  margin: 0 auto;
  max-width: 1040px;
  color: var(--ink);
  font-size: clamp(2.55rem, 6.4vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.hero p {
  margin: 26px auto 0;
  max-width: 820px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.65vw, 1.3rem);
}

.hero-mini-panel {
  width: min(520px, 100%);
  margin: 44px auto 0;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1.45fr .8fr;
  gap: 12px;
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(126, 77, 255, 0.13);
  box-shadow: 0 16px 42px rgba(86, 45, 171, .10);
}

.hero-mini-panel span {
  min-height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(126,77,255,.22), rgba(185,109,255,.65));
}

.hero-bg-shape {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  z-index: -1;
}

.hero-bg-shape-one {
  width: 420px;
  height: 420px;
  left: -140px;
  top: 40px;
  background: radial-gradient(circle, rgba(205, 167, 255, 0.35), transparent 70%);
}

.hero-bg-shape-two {
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(238, 223, 255, 0.95), transparent 68%);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 34px;
  padding: 16px 28px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--white);
  font-weight: 900;
  line-height: 1.2;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.22), transparent 32%),
    linear-gradient(135deg, var(--purple-deep), var(--purple-main) 56%, var(--purple-bright));
  box-shadow: 0 18px 34px rgba(88, 44, 180, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 26px 48px rgba(88, 44, 180, 0.34);
  filter: saturate(1.1);
}

.cta-button:focus-visible {
  outline: 4px solid rgba(126, 77, 255, 0.23);
  outline-offset: 4px;
}


.header-picture-section {
  padding: 0 20px clamp(42px, 6vw, 78px);
  margin-top: clamp(-40px, -3vw, -18px);
}

.header-picture-frame {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(10px, 1.4vw, 16px);
  border-radius: clamp(28px, 4vw, 46px);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(249,242,255,0.88));
  border: 1px solid rgba(126, 77, 255, 0.16);
  box-shadow: 0 28px 75px rgba(55, 24, 116, 0.14);
}

.header-picture-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(20px, 3vw, 34px);
  object-fit: cover;
}

@media (max-width: 740px) {
  .header-picture-section {
    padding-left: 12px;
    padding-right: 12px;
    margin-top: -18px;
  }

  .header-picture-frame {
    border-radius: 24px;
  }

  .header-picture-frame img {
    min-height: 230px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
  }
}

.article-zone {
  padding: 0 20px 90px;
}

.article-shell {
  position: relative;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.article-shell::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(20px, 4vw, 42px);
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(126, 77, 255, 0.22), transparent);
}

.article-ribbon {
  position: absolute;
  top: 34px;
  right: -72px;
  width: 260px;
  height: 44px;
  transform: rotate(36deg);
  background: linear-gradient(90deg, rgba(126, 77, 255, 0.18), rgba(185, 109, 255, 0.36));
  border-top: 1px solid rgba(126, 77, 255, 0.16);
  border-bottom: 1px solid rgba(126, 77, 255, 0.16);
}

.article-shell > p,
.article-shell > h2,
.article-shell > .strategy-grid,
.article-shell > .benefit-stack,
.article-shell > .cta-button,
.article-shell > .faq,
.article-shell > .closing-panel {
  position: relative;
  z-index: 2;
}

.article-shell p,
.article-shell li {
  color: #3f3658;
  font-size: clamp(1.03rem, 1.35vw, 1.12rem);
}

.article-shell > p {
  margin: 0 0 22px;
  padding-left: clamp(0px, 2vw, 20px);
}

.article-shell h2 {
  margin: clamp(46px, 7vw, 78px) 0 22px;
  color: var(--ink);
  font-size: clamp(1.78rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  scroll-margin-top: 122px;
}

.article-shell h2::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 12px;
  border: 4px solid rgba(126, 77, 255, 0.34);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 8px rgba(232, 216, 255, 0.72);
  vertical-align: 8%;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 16px;
}

.strategy-card {
  position: relative;
  padding: 26px;
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(255,255,255,0.96), rgba(249,242,255,0.88));
  border: 1px solid rgba(126, 77, 255, 0.14);
  box-shadow: 0 16px 38px rgba(81, 44, 159, 0.08);
  overflow: hidden;
}

.strategy-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185,109,255,0.22), transparent 70%);
}

.strategy-card h3 {
  margin: 0 0 12px;
  color: var(--purple-deep);
  font-size: clamp(1.12rem, 1.8vw, 1.34rem);
  line-height: 1.28;
}

.strategy-card p {
  margin: 0;
}

.benefit-stack {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 20px 0 32px;
  scroll-margin-top: 122px;
}

.benefit-stack li {
  position: relative;
  min-height: 84px;
  padding: 20px 20px 20px 66px;
  border-radius: 24px;
  border: 1px solid rgba(126, 77, 255, 0.16);
  background: linear-gradient(135deg, #fff, #f9f2ff);
  box-shadow: 0 14px 32px rgba(81, 44, 159, 0.07);
}

.benefit-stack li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  width: 28px;
  height: 28px;
  border-radius: 11px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.3), transparent),
    linear-gradient(135deg, var(--purple-deep), var(--purple-bright));
  box-shadow: 0 10px 20px rgba(126,77,255,.22);
}

.benefit-stack li::after {
  content: "✓";
  position: absolute;
  left: 30px;
  top: 19px;
  color: #fff;
  font-weight: 950;
}

.cta-button-secondary {
  margin: 6px 0 20px;
}

.faq {
  margin-top: 58px;
  padding: clamp(22px, 4vw, 40px);
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(252,248,255,0.96), rgba(255,255,255,0.92)),
    radial-gradient(circle at 10% 0%, rgba(185,109,255,0.16), transparent 16rem);
  border: 1px solid rgba(126, 77, 255, 0.14);
  box-shadow: 0 20px 55px rgba(81, 44, 159, 0.09);
  scroll-margin-top: 122px;
}

.faq h2 {
  margin-top: 0;
}

.faq-item {
  margin: 14px 0;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(126, 77, 255, 0.14);
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
  padding: 19px 62px 19px 22px;
  cursor: pointer;
  color: var(--purple-deep);
  position: relative;
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.35;
}

.faq-item h3::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-bright));
}

.faq-item.is-open h3::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
}

.closing-panel {
  position: relative;
  margin-top: 68px;
  padding: clamp(32px, 5vw, 60px);
  text-align: center;
  border-radius: 38px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 25%, rgba(255,255,255,0.25), transparent 18rem),
    linear-gradient(135deg, #35196f, #6d45d8 56%, #b96dff);
  box-shadow: 0 28px 70px rgba(87, 44, 178, 0.24);
  overflow: hidden;
  scroll-margin-top: 122px;
}

.closing-panel::before {
  content: "";
  position: absolute;
  inset: -80px auto auto -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
}

.closing-panel h2 {
  margin-top: 0;
  color: #fff;
}

.closing-panel h2::before {
  display: none;
}

.closing-panel p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.cta-button-final {
  background: #fff;
  color: var(--purple-deep);
  box-shadow: 0 18px 40px rgba(25, 9, 68, 0.22);
}

.site-footer {
  padding: 38px 18px 50px;
  text-align: center;
  color: var(--ink-soft);
}

.site-footer p {
  margin: 0;
  font-size: 0.96rem;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 50px;
  height: 50px;
  z-index: 80;
  border: 0;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-bright));
  box-shadow: 0 16px 35px rgba(83, 40, 170, 0.24);
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    padding-left: 12px;
    padding-right: 12px;
  }

  .site-header__inner {
    position: relative;
    min-height: 72px;
    padding: 10px 12px;
    border-radius: 22px;
  }

  .brand-logo img {
    width: 50px;
    max-width: 70vw;
  }

  .menu-toggle {
    display: block;
  }

  .main-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(126, 77, 255, 0.14);
    box-shadow: 0 18px 45px rgba(55, 24, 116, 0.12);
  }

  .main-menu.is-open {
    display: flex;
  }

  .main-menu a {
    justify-content: center;
    width: 100%;
  }

  .main-menu .menu-cta {
    margin-left: 0;
  }
}

@media (max-width: 740px) {
  body {
    line-height: 1.68;
  }

  .hero {
    padding: 38px 12px 34px;
  }

  .hero-inner,
  .article-shell {
    border-radius: 28px;
  }

  .hero-inner {
    padding: 34px 18px;
  }

  .hero h1 {
    letter-spacing: -0.052em;
  }

  .hero-mini-panel {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cta-button {
    width: 100%;
    border-radius: 16px;
  }

  
.header-picture-section {
  padding: 0 20px clamp(42px, 6vw, 78px);
  margin-top: clamp(-40px, -3vw, -18px);
}

.header-picture-frame {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(10px, 1.4vw, 16px);
  border-radius: clamp(28px, 4vw, 46px);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(249,242,255,0.88));
  border: 1px solid rgba(126, 77, 255, 0.16);
  box-shadow: 0 28px 75px rgba(55, 24, 116, 0.14);
}

.header-picture-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(20px, 3vw, 34px);
  object-fit: cover;
}

@media (max-width: 740px) {
  .header-picture-section {
    padding-left: 12px;
    padding-right: 12px;
    margin-top: -18px;
  }

  .header-picture-frame {
    border-radius: 24px;
  }

  .header-picture-frame img {
    min-height: 230px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
  }
}

.article-zone {
    padding: 0 12px 68px;
  }

  .article-shell {
    padding: 32px 18px;
  }

  .article-shell::before,
  .article-ribbon {
    display: none;
  }

  .article-shell > p {
    padding-left: 0;
  }

  .article-shell h2::before {
    width: 12px;
    height: 12px;
    margin-right: 8px;
    box-shadow: 0 0 0 6px rgba(232,216,255,.72);
  }

  .strategy-grid,
  .benefit-stack {
    grid-template-columns: 1fr;
  }

  .strategy-card,
  .benefit-stack li,
  .faq-item {
    border-radius: 20px;
  }

  .faq {
    padding: 18px;
    border-radius: 26px;
  }

  .closing-panel {
    padding: 32px 18px;
    border-radius: 26px;
  }
}

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