/* ===========================================================
   THE PSIS CLUB — stylesheet
   Navy #001f40 · Beige #fff4e6
   Display: Cormorant Garamond · Body: Montserrat (Balgin fallback)
   =========================================================== */

:root {
  --navy: #001f40;
  --navy-soft: #0a2c53;
  --beige: #fff4e6;
  --beige-soft: #f7e9d7;
  --beige-line: #e4d2b8;
  --ink: #1b1b1b;
  --green: #4CAF7D;
  --green-light: #B9E8CC;
  --green-dark: #2F8358;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Balgin", "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --radius: 2px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--navy);
  background: var(--beige);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--navy);
  opacity: .65;
  margin-bottom: 18px;
}

.eyebrow.center { text-align: center; }
.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto 60px;
}

em { font-style: italic; font-family: var(--font-display); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all .35s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-solid {
  background: var(--green);
  color: var(--navy);
  border-color: var(--green);
}
.btn-solid:hover {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  padding: 12px 26px;
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--beige);
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 3px;
  transition: opacity .3s var(--ease);
}
.text-link:hover { opacity: .6; }

/* ===========================================================
   LOGO (used in footer)
   =========================================================== */
.logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .05em;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo span {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: .4em;
  font-weight: 500;
  margin-top: 4px;
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,244,230,0.07), transparent),
    radial-gradient(ellipse 50% 40% at 10% 85%, rgba(255,244,230,0.05), transparent);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,244,230,.035) 0px, rgba(255,244,230,.035) 1px, transparent 1px, transparent 120px);
  opacity: .5;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
}

.hero .eyebrow {
  color: var(--beige);
  opacity: .7;
  text-align: center;
}

.hero-title {
  font-family: var(--font-display);
  color: var(--beige);
  font-weight: 500;
  font-size: clamp(38px, 6.2vw, 74px);
  line-height: 1.12;
  margin-bottom: 28px;
}

.hero-sub {
  color: var(--beige);
  opacity: .78;
  font-size: 17px;
  font-weight: 300;
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-note {
  color: var(--beige);
  opacity: .55;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  z-index: 2;
}
.scroll-cue span {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(var(--beige), transparent);
  animation: scrollpulse 2.2s ease-in-out infinite;
}
@keyframes scrollpulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ===========================================================
   MANIFESTO
   =========================================================== */
.manifesto {
  padding: 70px 0 70px;
  text-align: center;
  border-bottom: 1px solid var(--beige-line);
}
.manifesto-kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--navy);
  opacity: .55;
  margin-bottom: 24px;
}
.manifesto-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.25;
  max-width: 900px;
  margin: 0 auto 32px;
}
.manifesto-text {
  max-width: 620px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 300;
  opacity: .75;
  line-height: 1.8;
}

/* ===========================================================
   ABOUT
   =========================================================== */
.about {
  padding: 140px 0;
  background: var(--beige-soft);
  border-bottom: 1px solid var(--beige-line);
}
.about-grid {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 90px;
  align-items: center;
}
.about-media {
  position: relative;
}
.about-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
}
.about-media-frame {
  position: absolute;
  top: 22px; left: 22px;
  right: -22px; bottom: -22px;
  border: 1px solid var(--navy);
  z-index: -1;
}
.about-content h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 48px);
  margin-bottom: 10px;
}
.about-role {
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: .6;
  margin-bottom: 28px;
}
.about-content p {
  font-size: 15.5px;
  font-weight: 300;
  opacity: .82;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* ===========================================================
   FEATURES
   =========================================================== */
.features { padding: 75px 0 150px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--beige-line);
  border: 1px solid var(--beige-line);
}

.feature-card {
  background: var(--beige);
  padding: 52px 40px;
  transition: background .35s var(--ease);
}
.feature-card:hover { background: var(--beige-soft); }

.feature-index {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  opacity: .45;
  margin-bottom: 22px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 14px;
}
.feature-card p {
  font-size: 14.5px;
  font-weight: 300;
  opacity: .72;
  line-height: 1.75;
}

.curriculum {
  margin: 100px auto 0;
  max-width: 760px;
  border-top: 1px solid var(--beige-line);
  border-bottom: 1px solid var(--beige-line);
}
.curriculum-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 24px);
}
.curriculum-toggle::-webkit-details-marker { display: none; }
.curriculum-toggle::marker { content: ""; }
.curriculum[open] .curriculum-toggle { border-bottom: 1px solid var(--beige-line); }

.curriculum-plus {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.curriculum-plus::before,
.curriculum-plus::after {
  content: "";
  position: absolute;
  background: var(--navy);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.curriculum-plus::before {
  width: 16px;
  height: 1px;
  top: 50%; left: 0;
  transform: translateY(-50%);
}
.curriculum-plus::after {
  width: 1px;
  height: 16px;
  left: 50%; top: 0;
  transform: translateX(-50%);
}
.curriculum[open] .curriculum-plus::after,
.faq-item[open] .curriculum-plus::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.curriculum-list {
  list-style: none;
  padding: 6px 4px 34px;
}
.curriculum-list li {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--beige-line);
}
.curriculum-list li:last-child { border-bottom: none; padding-bottom: 0; }
.curriculum-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  opacity: .45;
  width: 24px;
  flex-shrink: 0;
  padding-top: 2px;
}
.curriculum-list h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  margin-bottom: 6px;
}
.curriculum-list p {
  font-size: 14px;
  font-weight: 300;
  opacity: .72;
  line-height: 1.7;
  max-width: 520px;
}

/* ===========================================================
   MEMBERS AREA — device mockups
   =========================================================== */
.members {
  padding: 150px 0 170px;
  background: var(--navy);
  color: var(--beige);
  overflow: hidden;
}
.members .eyebrow { color: var(--beige); opacity: .6; }
.members .section-title { color: var(--beige); }
.members-sub {
  max-width: 520px;
  margin: -30px auto 90px;
  font-size: 15px;
  font-weight: 300;
  color: var(--beige);
  opacity: .65;
}

.devices {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 20px 0 10px;
}

.device-laptop {
  width: min(860px, 92%);
  position: relative;
}
.laptop-screen {
  background: #0a0a0a;
  border-radius: 14px 14px 4px 4px;
  padding: 14px 14px 8px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.6);
}
.laptop-screen img {
  width: 100%;
  aspect-ratio: 16/10.2;
  object-fit: cover;
  object-position: top left;
  border-radius: 2px;
}
.laptop-base {
  height: 16px;
  background: linear-gradient(#d9d9d9, #b7b7b7);
  border-radius: 0 0 10px 10px;
  position: relative;
}
.laptop-base::after {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 80px; height: 5px;
  background: #9c9c9c;
  border-radius: 0 0 6px 6px;
}

.device-phone {
  width: 190px;
  flex-shrink: 0;
  margin-left: -50px;
  z-index: 3;
  background: #0a0a0a;
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.65);
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 18px;
  background: #0a0a0a;
  border-radius: 0 0 12px 12px;
  z-index: 4;
}
.phone-screen {
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 9/19.5;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ===========================================================
   TESTIMONIALS
   =========================================================== */
.testimonials { padding: 150px 0; }

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

.t-card {
  background: var(--beige-soft);
  border-top: 2px solid var(--navy);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
}
.t-card p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 26px;
}
.t-card footer {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: .7;
}
.t-card footer span {
  display: block;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: .7;
  margin-top: 3px;
  font-size: 12.5px;
}

/* ===========================================================
   FAQ
   =========================================================== */
.faq {
  padding: 150px 0;
  background: var(--beige-soft);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--beige-line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-question {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
}
.faq-item p {
  padding: 0 40px 28px 4px;
  font-size: 15px;
  font-weight: 300;
  opacity: .75;
  line-height: 1.75;
  max-width: 620px;
}

/* ===========================================================
   CTA FINAL
   =========================================================== */
.cta-final {
  padding: 170px 0;
  background: var(--navy);
  color: var(--beige);
  text-align: center;
}
.cta-final .eyebrow { color: var(--beige); opacity: .6; }
.cta-final-inner h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 50px);
  max-width: 780px;
  margin: 0 auto 26px;
  line-height: 1.25;
}

.price-breakdown {
  list-style: none;
  max-width: 460px;
  margin: 0 auto 48px;
  text-align: left;
}
.price-breakdown li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,244,230,0.15);
  font-size: 14.5px;
  font-weight: 300;
  opacity: .78;
}
.price-breakdown li span:first-child { flex: 1; }
.price-breakdown li.price-total {
  border-bottom: none;
  border-top: 1px solid rgba(255,244,230,0.4);
  margin-top: 6px;
  padding-top: 20px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .02em;
  opacity: 1;
}
.price-breakdown li.price-total span:last-child {
  text-decoration: line-through;
  text-decoration-color: rgba(255,244,230,0.55);
  font-weight: 400;
  opacity: .75;
}

.price-offer-label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: .65;
  margin-bottom: 10px;
}
.price-offer {
  font-family: var(--font-body);
  font-weight: 800;
  color: var(--green-light);
  font-size: clamp(56px, 8.5vw, 96px);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 40px;
}
.price-offer span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--beige);
  font-size: clamp(16px, 1.6vw, 19px);
  opacity: .65;
  margin-top: 14px;
}

.price-note {
  display: block;
  margin-top: 20px;
}

.guarantee {
  max-width: 800px;
  margin: 56px auto 0;
  padding: 32px 56px;
  border: 1px solid rgba(255,244,230,0.3);
  border-radius: 4px;
  background: rgba(255,244,230,0.05);
}
.guarantee-tag {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-light);
  margin-bottom: 12px;
}
.guarantee-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 32px);
  color: var(--beige);
  margin-bottom: 14px;
}
.guarantee-text {
  font-size: 15.5px;
  font-weight: 300;
  color: var(--beige);
  opacity: .7;
  line-height: 1.7;
}


/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer {
  padding: 50px 0;
  background: var(--beige);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-inner p {
  font-size: 12px;
  opacity: .6;
  letter-spacing: .02em;
}

/* ===========================================================
   REVEAL ANIMATION
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-media-frame { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .device-phone { width: 150px; margin-left: -36px; }
}

@media (max-width: 720px) {
  .container { padding: 0 22px; }

  .manifesto { padding: 100px 0; }
  .about { padding: 90px 0; }
  .features { padding: 90px 0; }
  .members { padding: 90px 0 110px; }
  .testimonials { padding: 90px 0; }
  .cta-final { padding: 110px 0; }

  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .devices { flex-direction: column; align-items: center; gap: 60px; }
  .device-phone { margin-left: 0; width: 200px; }
  .device-laptop { width: 100%; }

  .section-title { margin-bottom: 44px; }
  .members-sub { margin-top: -20px; margin-bottom: 60px; }

  .price-offer { font-size: 42px; }
  .curriculum-name { font-size: 18px; }
  .curriculum-item summary { gap: 14px; }
  .guarantee { padding: 36px 26px; }
  .faq { padding: 90px 0; }
}
