/* ============================================================
   ParsYouth – Coming Soon  |  Brand Stylesheet
   Color Palette:
     Primary       #0B1A3A
     Accent        #D4AF37
     Accent-Light  #F2D57E
     Accent-Dark   #A67C2E
     Neutral       #F5F1E6
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary:       #0B1A3A;
  --accent:        #D4AF37;
  --accent-light:  #F2D57E;
  --accent-dark:   #A67C2E;
  --neutral:       #F5F1E6;
  --white:         #ffffff;
  --text-muted:    rgba(245, 241, 230, 0.65);

  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', 'Segoe UI', Arial, sans-serif;

  --transition:    0.35s ease;
  --radius:        12px;
  --radius-sm:     6px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--primary);
  color: var(--neutral);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-light);
}

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

/* ---------- Background Stars / Particle Layer ---------- */
.stars-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-light);
  opacity: 0;
  animation: twinkle var(--dur, 4s) var(--delay, 0s) infinite ease-in-out;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50%       { opacity: var(--max-opacity, 0.45); transform: scale(1); }
}

/* ---------- Layout Wrappers ---------- */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- Header / Nav ---------- */
.site-header {
  padding: 28px 0 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 55%, var(--accent-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text .brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.logo-text .tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.75rem;
  color: var(--accent-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); }
  50%       { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0); }
}

/* ---------- Hero Section ---------- */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 70px 0 50px;
  text-align: center;
}

.hero-inner {
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  opacity: 0;
  animation: fade-up 0.7s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--neutral);
  margin-bottom: 10px;
  opacity: 0;
  animation: fade-up 0.7s 0.5s forwards;
}

.hero-title .highlight {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-light) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.8vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--accent-light);
  margin-bottom: 28px;
  opacity: 0;
  animation: fade-up 0.7s 0.65s forwards;
}

.hero-description {
  max-width: 660px;
  margin: 0 auto 48px;
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  color: var(--text-muted);
  line-height: 1.75;
  opacity: 0;
  animation: fade-up 0.7s 0.8s forwards;
}

/* ---------- Countdown ---------- */
.countdown-section {
  margin-bottom: 54px;
  opacity: 0;
  animation: fade-up 0.7s 1s forwards;
}

.countdown-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.countdown-grid {
  display: inline-flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.countdown-value {
  min-width: 76px;
  padding: 14px 8px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius);
  background: rgba(212, 175, 55, 0.06);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.countdown-value:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.countdown-name {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Subscribe Form ---------- */
.subscribe-section {
  opacity: 0;
  animation: fade-up 0.7s 1.15s forwards;
}

.subscribe-title {
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neutral);
  margin-bottom: 16px;
}

.subscribe-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}

.subscribe-input {
  flex: 1;
  min-width: 220px;
  padding: 13px 18px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius);
  background: rgba(11, 26, 58, 0.6);
  color: var(--neutral);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(6px);
}

.subscribe-input::placeholder {
  color: var(--text-muted);
}

.subscribe-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.btn-primary {
  padding: 13px 28px;
  border: none;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(0);
}

.subscribe-note {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.form-feedback {
  margin-top: 12px;
  font-size: 0.85rem;
  min-height: 1.2em;
  transition: opacity var(--transition);
}

.form-feedback.success { color: var(--accent-light); }
.form-feedback.error   { color: #e06c6c; }

/* ---------- Features Preview Section ---------- */
.features-section {
  padding: 80px 0 60px;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--neutral);
  line-height: 1.2;
}

.section-title .highlight {
  color: var(--accent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.feature-card {
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(166, 124, 46, 0.25) 0%, rgba(212, 175, 55, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- Story / About Strip ---------- */
.story-section {
  padding: 60px 0 70px;
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-ornament {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ornament-ring {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ornament-ring::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.ornament-core {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(166, 124, 46, 0.3) 0%, rgba(212, 175, 55, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.15);
}

.story-content .section-eyebrow {
  text-align: left;
  display: block;
  margin-bottom: 12px;
}

.story-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.story-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.story-text:last-child {
  margin-bottom: 0;
}

/* ---------- Social Links ---------- */
.social-section {
  padding: 30px 0 60px;
  text-align: center;
}

.social-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.social-link:hover {
  color: var(--accent);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.15);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding: 28px 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-copy .brand-name {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- Screen-reader only utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Divider ---------- */
.divider {
  border: none;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  margin: 0;
}

/* ---------- Fade-up Keyframe ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Scroll-reveal utility ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .story-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-ornament {
    order: -1;
  }

  .ornament-ring {
    width: 200px;
    height: 200px;
  }

  .ornament-core {
    width: 120px;
    height: 120px;
    font-size: 2.8rem;
  }

  .story-content .section-eyebrow,
  .story-content .section-title {
    text-align: center;
  }

  .countdown-grid {
    gap: 12px;
  }

  .countdown-value {
    min-width: 64px;
    font-size: 1.8rem;
  }

  .footer-inner {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0 36px; }

  .header-inner {
    justify-content: center;
  }
}
