/*
Theme Name: Penis Development — Azure Allure
Theme URI: https://penisdevelopment.com/
Description: A private, conversion-focused Astra child theme for PenisDevelopment.com.
Author: InTouch
Template: astra
Version: 1.2.0
Text Domain: penisdevelopment-azure
*/

:root {
  --deep: #1a5276;
  --ocean: #2980b9;
  --foam: #85c1e9;
  --sun: #f7dc6f;
  --gold: #d4ac0d;
  --ink: #0b2638;
  --paper: #f6fbfe;
  --white: #ffffff;
  --display: 'Iowan Old Style', 'Baskerville', 'Palatino Linotype', Georgia, serif;
  --body: 'Avenir Next', Avenir, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
}

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

.site-header {
  align-items: center;
  background: rgba(11, 38, 56, 0.9);
  border-bottom: 1px solid rgba(133, 193, 233, 0.25);
  color: var(--white);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr auto 1fr;
  min-height: 88px;
  padding: 0 5vw;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  align-items: center;
  display: inline-flex;
  justify-self: start;
}

.brand strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
}

nav { display: flex; gap: 2rem; }

nav a {
  color: #dceef8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a:hover, nav a:focus-visible, .text-link:hover, .text-link:focus-visible { color: var(--sun); }

.button {
  align-items: center;
  background: var(--sun);
  border: 2px solid var(--sun);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 0.75rem;
  justify-content: center;
  letter-spacing: 0.06em;
  min-height: 54px;
  padding: 0.8rem 1.65rem;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 14px 32px rgba(7, 28, 42, 0.26);
}

.button:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(7, 28, 42, 0.3);
}

.button:focus-visible, a:focus-visible {
  outline: 3px solid var(--foam);
  outline-offset: 4px;
}

.button-small {
  justify-self: end;
  min-height: 44px;
  padding: 0.65rem 1.2rem;
}

.hero {
  align-items: center;
  background:
    radial-gradient(circle at 78% 28%, rgba(133, 193, 233, 0.24), transparent 24rem),
    linear-gradient(135deg, #0b2638 0%, var(--deep) 52%, var(--ocean) 100%);
  color: var(--white);
  display: grid;
  gap: 7vw;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
  min-height: 760px;
  overflow: hidden;
  padding: 7.5rem 8vw 8.5rem;
  position: relative;
}

.hero-copy, .protocol-orbit { position: relative; z-index: 2; }

.eyebrow {
  color: var(--sun);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  margin: 0 0 1.4rem;
  text-transform: uppercase;
}

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

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(4rem, 8.5vw, 8.8rem);
  margin-bottom: 2rem;
  max-width: 900px;
}

h2 {
  font-size: clamp(2.8rem, 5.3vw, 5.8rem);
  margin-bottom: 1.8rem;
}

h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.15;
}

.hero-lede {
  color: #d9edf8;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  max-width: 620px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.2rem;
}

.text-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.5rem 0;
}

.microcopy {
  color: var(--foam);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  margin: 1.3rem 0 0;
  text-transform: uppercase;
}

.hero-water {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
}

.wave {
  border: 1px solid rgba(133, 193, 233, 0.22);
  border-radius: 50%;
  height: 30rem;
  position: absolute;
  width: 90rem;
}

.wave-one { bottom: -22rem; left: -12rem; transform: rotate(-3deg); }
.wave-two { bottom: -18rem; left: 24rem; transform: rotate(4deg); }

.sun-disc {
  background: radial-gradient(circle at 35% 35%, var(--sun), var(--gold));
  border-radius: 50%;
  height: 15rem;
  opacity: 0.95;
  position: absolute;
  right: -5rem;
  top: 4rem;
  width: 15rem;
  box-shadow: 0 0 80px rgba(247, 220, 111, 0.24);
}

.protocol-orbit {
  aspect-ratio: 1;
  margin: auto;
  max-width: 520px;
  width: 100%;
}

.orbit-ring {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  inset: 6%;
  position: absolute;
}

.orbit-ring-outer::before, .orbit-ring-outer::after {
  background: var(--sun);
  border-radius: 50%;
  content: '';
  height: 14px;
  position: absolute;
  width: 14px;
  box-shadow: 0 0 24px rgba(247, 220, 111, 0.75);
}

.orbit-ring-outer::before { left: 15%; top: 12%; }
.orbit-ring-outer::after { bottom: 10%; right: 17%; }

.orbit-ring-inner {
  border-color: rgba(133, 193, 233, 0.6);
  inset: 22%;
}

.orbit-core {
  align-items: center;
  background: rgba(11, 38, 56, 0.78);
  border: 1px solid rgba(133, 193, 233, 0.7);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  inset: 34%;
  justify-content: center;
  position: absolute;
  text-align: center;
  box-shadow: inset 0 0 40px rgba(41, 128, 185, 0.34), 0 24px 90px rgba(0, 0, 0, 0.25);
}

.orbit-core span {
  color: var(--sun);
  font-family: var(--display);
  font-size: clamp(4rem, 8vw, 6.6rem);
  line-height: 0.75;
}

.orbit-core small {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  margin-top: 0.8rem;
  text-transform: uppercase;
}

.orbit-label {
  color: #e8f5fb;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  position: absolute;
  text-transform: uppercase;
}

.label-one { left: 4%; top: 24%; }
.label-two { right: 5%; top: 17%; }
.label-three { bottom: 19%; left: 5%; }
.label-four { bottom: 8%; right: 19%; }

.trust-ribbon {
  background: var(--sun);
  color: var(--ink);
  display: grid;
  font-size: 0.76rem;
  font-weight: 800;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  letter-spacing: 0.07em;
  padding: 1.25rem 8vw;
  text-align: center;
  text-transform: uppercase;
}

.trust-ribbon span { border-right: 1px solid rgba(11, 38, 56, 0.22); }

.section { padding: 8rem 8vw; }
.method-section, .contrast-section { background: var(--paper); }

.section-heading {
  display: grid;
  gap: 2rem 5vw;
  grid-template-columns: 1.2fr 0.8fr;
  margin-bottom: 4.5rem;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
}

.section-heading h2 { margin-bottom: 0; }

.section-heading > p:last-child {
  align-self: end;
  color: #456273;
  max-width: 540px;
}

.protocol-grid {
  background: #bddcec;
  border: 1px solid #bddcec;
  border-radius: 28px;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.protocol-card {
  background: var(--white);
  min-height: 280px;
  padding: 2.4rem;
}

.step-number {
  color: var(--ocean);
  display: block;
  font-family: var(--display);
  font-size: 2.8rem;
  margin-bottom: 3rem;
}

.protocol-card p, .program-card p, .contrast-intro p, .guarantee-section p { color: #526d7d; }

.program-section {
  background: linear-gradient(150deg, var(--deep), #0b2638 70%);
  color: var(--white);
}

.section-heading.light > p:last-child, .program-card p { color: #c9e2ef; }

.program-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(3, 1fr);
}

.program-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(133, 193, 233, 0.24);
  border-radius: 24px;
  min-height: 265px;
  padding: 2.2rem;
  transition: border-color 180ms ease, transform 180ms ease;
}

.program-card:hover {
  border-color: var(--sun);
  transform: translateY(-3px);
}

.program-card > span {
  color: var(--sun);
  display: block;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.contrast-section {
  display: grid;
  gap: 7vw;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
}

.contrast-intro h2 { font-size: clamp(2.8rem, 4.7vw, 5rem); }

.contrast-table {
  align-self: center;
  border: 1px solid #bad9e8;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(26, 82, 118, 0.11);
}

.contrast-row {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contrast-row + .contrast-row { border-top: 1px solid #d5e9f3; }
.contrast-row span, .contrast-row strong { padding: 1.45rem 1.7rem; }

.contrast-row strong {
  background: #eaf6fb;
  color: var(--deep);
}

.contrast-head {
  background: var(--deep);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contrast-head span:last-child { background: var(--ocean); }

.guarantee-section {
  align-items: center;
  background: var(--sun);
  color: var(--ink);
  display: grid;
  gap: 6vw;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  padding: 7rem 12vw;
}

.guarantee-seal {
  align-items: center;
  aspect-ratio: 1;
  border: 1px solid rgba(11, 38, 56, 0.4);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 330px;
  position: relative;
  text-align: center;
}

.guarantee-seal::before {
  border: 1px dashed rgba(11, 38, 56, 0.5);
  border-radius: 50%;
  content: '';
  inset: 12px;
  position: absolute;
}

.guarantee-seal strong {
  font-family: var(--display);
  font-size: clamp(4.8rem, 9vw, 8rem);
  line-height: 0.8;
}

.guarantee-seal span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-top: 1rem;
  text-transform: uppercase;
}

.guarantee-section h2 { font-size: clamp(2.7rem, 4.7vw, 5rem); }
.guarantee-section .eyebrow { color: var(--ink); }

.button-gold {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  margin-top: 1rem;
}

.button-gold:hover { color: var(--ink); }

.final-cta {
  background: radial-gradient(circle at 50% 0%, rgba(133, 193, 233, 0.25), transparent 28rem), var(--deep);
  color: var(--white);
  padding: 8rem 5vw;
  text-align: center;
}

.final-cta h2 { font-size: clamp(3.8rem, 8vw, 8rem); }
.final-cta .microcopy { margin-top: 1.5rem; }

footer {
  align-items: center;
  background: #081e2c;
  color: #c4dce8;
  display: grid;
  font-size: 0.75rem;
  gap: 2rem;
  grid-template-columns: 1fr auto 1fr;
  padding: 2.3rem 5vw;
}

footer p { margin: 0; }
footer p:last-child { justify-self: end; }
.footer-brand strong { color: var(--white); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 6rem; }
  .protocol-orbit { max-width: 480px; }
  .protocol-grid, .program-grid { grid-template-columns: repeat(2, 1fr); }
  .contrast-section { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .site-header { min-height: 76px; padding: 0 1rem; }
  .button-small { display: none; }
  .hero { min-height: auto; padding: 5.2rem 1.25rem 5rem; }
  h1 { font-size: clamp(3.4rem, 17vw, 5.4rem); }
  .protocol-orbit { max-width: 360px; }
  .trust-ribbon { grid-template-columns: 1fr 1fr; padding: 1.2rem; }
  .trust-ribbon span { border-right: 0; }
  .section { padding: 5.5rem 1.25rem; }
  .section-heading { display: block; }
  .section-heading .eyebrow { margin-bottom: 1.4rem; }
  .protocol-grid, .program-grid { grid-template-columns: 1fr; }
  .protocol-card { min-height: 235px; }
  .contrast-table { font-size: 0.83rem; }
  .contrast-row span, .contrast-row strong { padding: 1rem; }
  .guarantee-section { grid-template-columns: 1fr; padding: 5.5rem 1.25rem; }
  .guarantee-seal { max-width: 220px; }
  .final-cta { padding: 6rem 1.25rem; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, footer p:last-child { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
