/* ============================================
   PRISMIO — Main Stylesheet
   Fonts: Outfit (headings) / Plus Jakarta Sans (body)
   ============================================ */

/* --- Variables --- */
:root {
  --primary:        #E83A83;
  --primary-dark:   #972F5B;
  --secondary:      #3A57E8;
  --secondary-dark: #2F4097;
  --secondary-light:#B0BCF6;
  --teal:           #34C6C1;
  --yellow:         #FFD85C;
  --light-bg:       #FAFAFA;
  --dark-bg:        #111827;
  --text-dark:      #111827;
  --text-body:      #4b5563;
  --text-muted:     #9ca3af;
  --border:         #e5e7eb;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 1rem;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

a { text-decoration: none; }
ul { list-style: none; padding: 0; }
img { max-width: 100%; display: block; }


/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--white  { background: #ffffff; }
.section--light  { background: var(--light-bg); }
.section--pattern {
  background-color: var(--light-bg);
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon fill='%23E83A83' fill-opacity='0.03' points='40,8 72,68 8,68'/%3E%3Cpolygon fill='%233A57E8' fill-opacity='0.03' points='60,8 92,68 28,68'/%3E%3C/svg%3E");
}
.section--gradient {
  background: linear-gradient(135deg, #f0f3ff 0%, #fff0f6 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 1rem;
}

.section-header p {
  color: var(--text-body);
  margin-top: 1rem;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}

.section-divider {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  margin: 0 auto 1.5rem;
}

/* Grid helpers */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2 .order-flip { order: -1; }
}


/* ============================================
   TYPOGRAPHY HELPERS
   ============================================ */

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .accent { color: var(--yellow); }

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.5rem;
  max-width: 38rem;
  line-height: 1.7;
}

.step-number {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.75rem;
}


/* ============================================
   BADGES
   ============================================ */

.badge {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 1rem;
}

.badge--pink {
  background: rgba(232,58,131,0.1);
  color: var(--primary);
  border: 1px solid rgba(232,58,131,0.2);
}

.badge--blue {
  background: rgba(58,87,232,0.1);
  color: var(--secondary);
  border: 1px solid rgba(58,87,232,0.2);
}

.badge--yellow {
  background: rgba(255,216,92,0.15);
  color: var(--yellow);
  border: 1px solid rgba(255,216,92,0.3);
}


/* ============================================
   BUTTONS
   ============================================ */

.btn {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease, color 0.2s ease;
  font-size: 1rem;
}

.btn--pink {
  background: var(--primary);
  color: white;
}
.btn--pink:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn--yellow {
  background: var(--yellow);
  color: var(--text-dark);
}
.btn--yellow:hover { background: #e6c24e; transform: translateY(-1px); }

.btn--white-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn--white-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

.btn--blue-outline {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.btn--blue-outline:hover { background: var(--secondary); color: white; }

.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}


/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  background: rgba(255,255,255,0.95);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1152px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav__logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.2rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__link {
  font-size: 0.9rem;
  color: var(--text-dark) 85%;
  text-decoration: none;
  transition: color 0.2s;
}
.nav__link:hover {
  color: var(--text-dark);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .nav__links { display: none; }
}


/* ============================================
   HERO
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 45%, var(--primary-dark) 100%);
  color: white;
  overflow: hidden;
  position: relative;
  padding: 6rem 1.5rem;
}

@media (min-width: 768px) { .hero { padding: 8rem 1.5rem; } }

.hero__content { max-width: 48rem; }

.hero__deco {
  position: absolute;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.float  { animation: float 4s ease-in-out infinite; }
.float2 { animation: float 4s ease-in-out infinite; animation-delay: 1.5s; }


/* ============================================
   CARDS
   ============================================ */

.card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(58,87,232,0.12);
}

.card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card__icon--pink  { background: rgba(232,58,131,0.1); }
.card__icon--blue  { background: rgba(58,87,232,0.1); }
.card__icon--teal  { background: rgba(52,198,193,0.1); }

.card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.card p {
  color: var(--text-body);
  font-size: 0.875rem;
  line-height: 1.65;
}


/* ============================================
   PROBLEM SECTION
   ============================================ */

.problem-card {
  border-left: 3px solid var(--primary);
  padding-left: 1.25rem;
}

.problem-card--blue  { border-color: var(--secondary); }
.problem-card--teal  { border-color: var(--teal); }

.problem-card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.problem-card p {
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.65;
}


/* ============================================
   EXTENSION SECTIONS
   ============================================ */

.ext-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  color: var(--text-dark);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.ext-desc {
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.ext-list { margin-bottom: 2rem; }

.ext-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 0.75rem;
}

.ext-list__arrow { font-weight: 700; flex-shrink: 0; }
.ext-list__arrow--pink  { color: var(--primary); }
.ext-list__arrow--blue  { color: var(--secondary); }

.img-placeholder {
  background: linear-gradient(135deg, var(--secondary-light) 0%, #E8C0D4 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 2rem;
}

.img-placeholder--blue {
  background: linear-gradient(135deg, var(--secondary-light), #c7d2fe);
}

.img-placeholder p {
  font-family: 'Outfit', sans-serif;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
}


/* ============================================
   HOW IT WORKS
   ============================================ */

.step {
  text-align: center;
}

.step__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step__icon--pink { background: rgba(232,58,131,0.1); }
.step__icon--blue { background: rgba(58,87,232,0.1); }
.step__icon--teal { background: rgba(52,198,193,0.1); }

.step h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-body);
  font-size: 0.875rem;
  line-height: 1.7;
}


/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 45%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}


/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--dark-bg);
  color: white;
  padding: 3rem 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer__logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
  max-width: 18rem;
  line-height: 1.65;
}

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

.footer__col-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-body);
  margin-bottom: 0.75rem;
}

.footer__col li { margin-bottom: 0.5rem; }

.footer__col a {
  color: #d1d5db;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer__col a:hover { color: white; }

.footer__bottom {
  border-top: 1px solid #1f2937;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-body);
  font-size: 0.8rem;
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}


/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.legal-content .last-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.legal-section--blue h2 { border-color: var(--secondary); }

.legal-section p {
  color: var(--text-body);
  margin-bottom: 1rem;
}

.legal-section ul {
  color: var(--text-body);
  padding-left: 1.5rem;
  list-style: disc;
  margin-bottom: 1rem;
}

.legal-section ul li { margin-bottom: 0.4rem; }

.placeholder-notice {
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

.placeholder-notice--pink {
  background: rgba(232,58,131,0.06);
  border: 1px solid rgba(232,58,131,0.2);
  color: var(--primary);
}

.placeholder-notice--blue {
  background: rgba(58,87,232,0.06);
  border: 1px solid rgba(58,87,232,0.2);
  color: var(--secondary);
}

.contact-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.contact-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-box p {
  font-size: 0.875rem;
  color: var(--text-body);
}

.nav__back {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}
.nav__back:hover { color: white; }
