/* SolarESP.com - site.css */

:root {
  --ink: #171018;
  --ink-soft: #3d2c40;
  --purple: #3b185f;
  --purple-deep: #220b3a;
  --violet: #7d3cff;
  --gold: #ffc857;
  --sun: #ff9f1c;
  --cream: #fff7e8;
  --paper: #fffdf7;
  --mist: #f2e8ff;
  --blue: #1f8fff;
  --danger: #e84d2a;
  --green: #1c9b6c;
  --shadow: 0 24px 70px rgba(34, 11, 58, 0.18);
  --shadow-soft: 0 14px 38px rgba(34, 11, 58, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 200, 87, 0.32), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(125, 60, 255, 0.22), transparent 28%),
    linear-gradient(180deg, #fff9ec 0%, #f8efff 44%, #fffdf7 100%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

p {
  margin: 0 0 1.1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3.1rem, 8vw, 7.8rem);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 5rem);
}

h3 {
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
}

.wrapper,
.section-inner,
.nav-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 247, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(59, 24, 95, 0.12);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 950;
  letter-spacing: -0.05em;
  font-size: 1.25rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 10%, transparent 11%),
    conic-gradient(from 210deg, var(--gold), var(--sun), var(--violet), var(--purple), var(--gold));
  box-shadow: 0 12px 28px rgba(125, 60, 255, 0.25);
}

.brand small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-top: -3px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 850;
  color: var(--ink-soft);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--purple);
  color: white;
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--ink) !important;
  box-shadow: 0 10px 26px rgba(255, 159, 28, 0.25);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 48px;
  background:
    linear-gradient(135deg, rgba(34, 11, 58, 0.92), rgba(59, 24, 95, 0.78)),
    radial-gradient(circle at 78% 18%, rgba(255, 200, 87, 0.75), transparent 32%);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: 40px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 200, 87, 0.95) 0 11%, transparent 12% 100%),
    repeating-conic-gradient(from 0deg, rgba(255, 200, 87, 0.65) 0 8deg, transparent 8deg 17deg);
  opacity: 0.42;
  z-index: -1;
  filter: blur(1px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  color: white;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff3c5;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow::before {
  content: "✦";
  color: var(--gold);
}

.hero h1 {
  margin-top: 18px;
  max-width: 920px;
}

.hero h1 span {
  color: var(--gold);
  text-shadow: 0 0 34px rgba(255, 200, 87, 0.28);
}

.hero-lede {
  margin-top: 22px;
  max-width: 720px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 950;
  border: 2px solid transparent;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(34, 11, 58, 0.22);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.13);
  color: white;
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-dark {
  background: var(--purple);
  color: white;
}

.btn-light {
  background: white;
  color: var(--purple);
}

.psychic-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 232, 0.9)),
    radial-gradient(circle at 50% 0%, rgba(125, 60, 255, 0.18), transparent 45%);
  color: var(--ink);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.crystal-ball {
  width: min(360px, 80vw);
  aspect-ratio: 1;
  margin: 0 auto 24px;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.96) 0 8%, transparent 9%),
    radial-gradient(circle at 50% 58%, rgba(255, 200, 87, 0.72), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(125, 60, 255, 0.48), rgba(59, 24, 95, 0.92) 68%);
  box-shadow:
    inset 0 -34px 60px rgba(0, 0, 0, 0.26),
    0 24px 70px rgba(125, 60, 255, 0.42);
}

.crystal-ball::before {
  content: "$$$";
  position: absolute;
  inset: 31% 18% auto;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 1000;
  letter-spacing: 0.08em;
  transform: rotate(-7deg);
}

.crystal-ball::after {
  content: "SCE";
  position: absolute;
  left: 50%;
  bottom: 25%;
  transform: translateX(-50%) rotate(5deg);
  padding: 9px 16px;
  border-radius: 14px;
  background: var(--danger);
  color: white;
  font-weight: 1000;
  letter-spacing: 0.18em;
  box-shadow: 0 12px 24px rgba(232, 77, 42, 0.35);
}

.reading-box {
  border-radius: var(--radius-lg);
  background: white;
  padding: 22px;
  box-shadow: inset 0 0 0 1px rgba(59, 24, 95, 0.09);
}

.reading-box strong {
  display: block;
  color: var(--purple);
  font-size: 1.25rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.reading-box p {
  color: var(--ink-soft);
  margin: 0;
}

.section {
  padding: clamp(64px, 8vw, 110px) 0;
}

.section-tight {
  padding: 54px 0;
}

.section-title {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-title.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title p {
  margin-top: 18px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-soft);
}

.panel {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(59, 24, 95, 0.09);
  padding: clamp(24px, 4vw, 44px);
}

.dark-panel {
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 200, 87, 0.18), transparent 32%),
    linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: white;
}

.dark-panel p,
.dark-panel li {
  color: rgba(255, 255, 255, 0.84);
}

.dark-panel .eyebrow {
  color: var(--gold);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid rgba(59, 24, 95, 0.09);
  box-shadow: var(--shadow-soft);
  padding: 26px;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 5px;
  border-radius: 0 0 99px 99px;
  background: linear-gradient(90deg, var(--gold), var(--violet));
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--ink-soft);
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: var(--mist);
  color: var(--purple);
  font-size: 1.55rem;
  margin-bottom: 20px;
  box-shadow: inset 0 0 0 1px rgba(125, 60, 255, 0.12);
}

.callout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.96), rgba(255, 159, 28, 0.86)),
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.4), transparent 24%);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.callout h2 {
  max-width: 780px;
}

.callout p {
  max-width: 720px;
  font-size: 1.15rem;
  color: rgba(23, 16, 24, 0.78);
}

.quote {
  font-size: clamp(1.4rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 1000;
}

.quote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--violet);
}

.comedy-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.comedy-panel {
  min-height: 230px;
  padding: 24px;
  border: 4px solid var(--ink);
  border-radius: 22px;
  background: white;
  box-shadow: 10px 10px 0 rgba(59, 24, 95, 0.18);
}

.comedy-panel:nth-child(2) {
  background: var(--cream);
}

.comedy-panel:nth-child(3) {
  background: var(--mist);
}

.comedy-panel b {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comedy-panel p {
  font-size: 1.18rem;
  font-weight: 850;
  line-height: 1.24;
  color: var(--ink);
}

.bill-meter {
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, #22112c, #120915);
  color: white;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow);
}

.meter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.meter-row:last-child {
  border-bottom: 0;
}

.meter-label {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.meter-value {
  padding: 8px 13px;
  border-radius: 12px;
  background: rgba(255, 200, 87, 0.16);
  color: var(--gold);
  font-weight: 1000;
}

.steps {
  counter-reset: steps;
}

.step {
  position: relative;
  padding-left: 76px;
}

.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  font-weight: 1000;
  box-shadow: 0 12px 28px rgba(59, 24, 95, 0.25);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 20px;
  background: white;
  border: 1px solid rgba(59, 24, 95, 0.1);
  box-shadow: var(--shadow-soft);
  padding: 22px 24px;
}

.faq-item h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.page-hero {
  padding: clamp(58px, 8vw, 96px) 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 200, 87, 0.26), transparent 30%),
    linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: white;
  border-bottom-left-radius: 44px;
  border-bottom-right-radius: 44px;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  margin-top: 18px;
}

.content {
  font-size: 1.08rem;
}

.content h2,
.content h3 {
  margin-top: 1.35em;
  margin-bottom: 0.45em;
}

.content ul,
.content ol {
  padding-left: 1.25rem;
}

.content li {
  margin-bottom: 0.55rem;
}

.content a {
  color: var(--violet);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.site-footer {
  padding: 58px 0 34px;
  background: #13081f;
  color: white;
  margin-top: 70px;
}

.footer-inner {
  display: grid;
  gap: 34px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 34px;
  align-items: start;
}

.footer-brand {
  font-weight: 1000;
  font-size: 1.6rem;
  letter-spacing: -0.05em;
}

.footer-brand span {
  color: var(--gold);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-links a {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  font-size: 0.9rem;
}

.footer-links a:hover {
  background: var(--gold);
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.abc-footer {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  padding: 22px;
  color: rgba(255, 255, 255, 0.82);
}

.abc-footer strong {
  color: white;
}

.abc-footer a {
  color: var(--gold);
  font-weight: 900;
}

.abc-logo {
  width: 180px;
  max-width: 100%;
  margin-bottom: 14px;
  border-radius: 10px;
  background: white;
  padding: 8px;
}

.notice {
  border-left: 5px solid var(--gold);
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 200, 87, 0.16);
  color: var(--ink-soft);
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(59, 24, 95, 0.1);
  color: var(--ink-soft);
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(34, 11, 58, 0.06);
}

.badge::before {
  content: "✺";
  color: var(--violet);
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-main,
  .callout {
    grid-template-columns: 1fr;
  }

  .psychic-card {
    max-width: 620px;
    margin: 0 auto;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .comedy-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .wrapper,
  .section-inner,
  .nav-inner,
  .footer-inner {
    width: min(100% - 26px, var(--max));
  }

  .site-header {
    position: relative;
  }

  .nav-inner {
    align-items: flex-start;
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
  }

  .brand {
    width: 100%;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-links a {
    text-align: center;
    background: rgba(59, 24, 95, 0.07);
    padding: 11px 9px;
    font-size: 0.86rem;
  }

  .nav-cta {
    grid-column: 1 / -1;
  }

  .hero {
    padding-top: 30px;
  }

  .hero::before {
    inset: 0;
    border-radius: 0 0 36px 36px;
  }

  .hero::after {
    width: 360px;
    height: 360px;
    right: -160px;
    top: 180px;
  }

  .hero-actions,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .panel,
  .card,
  .psychic-card {
    padding: 22px;
  }

  .crystal-ball {
    width: min(280px, 78vw);
  }

  .step {
    padding-left: 0;
    padding-top: 68px;
  }

  .meter-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p {
    margin-bottom: 10px;
  }
}

@media (max-width: 440px) {
  h1 {
    font-size: clamp(2.65rem, 16vw, 4rem);
  }

  .nav-links {
    grid-template-columns: 1fr;
  }

  .eyebrow {
    font-size: 0.7rem;
  }

  .comedy-panel {
    min-height: auto;
  }
}
