:root {
  --bg: #f7f4ff;
  --bg-soft: #f3f0ff;
  --text: #1d1b2a;
  --muted: #5f5b7a;
  --primary: #6c4dff;
  --primary-dark: #5838f0;
  --accent: #ff7aa8;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(55, 40, 120, 0.15);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

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

body {
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #fff 0%, var(--bg) 45%, #ffffff 100%);
  line-height: 1.6;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.page {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(100, 70, 200, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}

.brand.light {
  color: #fff;
}

.brand-icon svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 500;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
}

.menu-icon svg {
  width: 28px;
  height: 28px;
}

.menu-icon.is-hidden {
  display: none;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(100, 70, 200, 0.12);
  background: #fff;
}

.mobile-nav.is-open {
  display: flex;
}

.hero {
  padding: 90px 0 80px;
  background: linear-gradient(135deg, #f4f0ff 0%, #ffeef5 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-content,
.hero-visual {
  animation: fade-up 0.8s ease both;
}

.hero-visual {
  animation-delay: 0.1s;
}

.hero-content h1 span {
  color: var(--primary);
}

.eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(108, 77, 255, 0.12);
}

.stat-card strong {
  display: block;
  font-size: 1rem;
}

.stat-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.hero-visual {
  position: relative;
  padding: 30px;
}

.hero-image-frame {
  position: absolute;
  inset: 20px 20px 0 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 36px;
  transform: rotate(4deg);
}

.hero-visual img {
  position: relative;
  border-radius: 32px;
  box-shadow: var(--shadow);
  z-index: 2;
}

.section {
  padding: 90px 0;
}

.section.alt {
  background: #f6f6ff;
}

.section.soft {
  background: linear-gradient(135deg, #f6f1ff 0%, #ffeef5 100%);
}

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

.section-header h2 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
}

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

.info-card {
  background: linear-gradient(135deg, #f4f0ff 0%, #ffeef8 100%);
  padding: 30px;
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 220px;
  animation: fade-up 0.7s ease both;
}

.info-card:nth-child(2) {
  animation-delay: 0.05s;
}

.info-card:nth-child(3) {
  animation-delay: 0.1s;
}

.info-card:nth-child(4) {
  animation-delay: 0.15s;
}

.info-card:nth-child(5) {
  animation-delay: 0.2s;
}

.info-card:nth-child(6) {
  animation-delay: 0.25s;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.info-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  background: #fff;
  padding: 12px;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(108, 77, 255, 0.15);
}

.info-card h3 {
  font-size: 1.3rem;
  margin: 18px 0 12px;
}

.info-card p {
  color: var(--muted);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 26px;
}

.program-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(54, 49, 106, 0.12);
  display: flex;
  flex-direction: column;
  animation: fade-up 0.7s ease both;
}

.program-card:nth-child(2) {
  animation-delay: 0.08s;
}

.program-card:nth-child(3) {
  animation-delay: 0.16s;
}

.program-card:nth-child(4) {
  animation-delay: 0.24s;
}

.program-head {
  padding: 28px;
  color: #fff;
}

.program-head h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.program-head p {
  opacity: 0.85;
}

.program-icon svg {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.2);
  padding: 10px;
  border-radius: 16px;
  margin-bottom: 16px;
}

.program-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.program-body p {
  color: var(--muted);
}

.program-body ul {
  display: grid;
  gap: 10px;
}

.program-body li {
  padding-left: 26px;
  position: relative;
  color: var(--muted);
}

.program-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.gradient-blue {
  background: linear-gradient(135deg, #4f7bff 0%, #5fd0ff 100%);
}

.gradient-purple {
  background: linear-gradient(135deg, #7c4dff 0%, #ff7ab8 100%);
}

.gradient-orange {
  background: linear-gradient(135deg, #ff8f4d 0%, #ff5d5d 100%);
}

.gradient-green {
  background: linear-gradient(135deg, #3ecc7f 0%, #10b981 100%);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}

.process-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(103, 79, 222, 0.12);
  animation: fade-up 0.7s ease both;
}

.process-card:nth-child(2) {
  animation-delay: 0.08s;
}

.process-card:nth-child(3) {
  animation-delay: 0.16s;
}

.process-card:nth-child(4) {
  animation-delay: 0.24s;
}

.step-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: rgba(108, 77, 255, 0.2);
}

.step-icon svg {
  width: 32px;
  height: 32px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 12px;
  border-radius: 16px;
  margin: 12px 0;
}

.centered {
  text-align: center;
  margin-top: 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
  padding: 20px;
}

.about-frame {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 32px;
  transform: rotate(-4deg);
}

.about-visual img {
  position: relative;
  border-radius: 28px;
  box-shadow: var(--shadow);
  z-index: 2;
}

.about-content h2 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 16px;
}

.principles-card {
  background: #fff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(100, 70, 200, 0.15);
  margin: 24px 0;
}

.principles-card h3 {
  margin-bottom: 16px;
}

.principles-card li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
  color: var(--muted);
}

.principles-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.stat-tile {
  background: #fff;
  padding: 20px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(100, 70, 200, 0.12);
}

.stat-tile span svg {
  width: 26px;
  height: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.stat-tile strong {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.stat-tile p {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.review-card {
  background: linear-gradient(135deg, #f4f0ff 0%, #ffeef8 100%);
  padding: 26px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 12px 26px rgba(100, 70, 200, 0.12);
  animation: fade-up 0.7s ease both;
}

.review-card:nth-child(2) {
  animation-delay: 0.06s;
}

.review-card:nth-child(3) {
  animation-delay: 0.12s;
}

.review-card:nth-child(4) {
  animation-delay: 0.18s;
}

.review-card:nth-child(5) {
  animation-delay: 0.24s;
}

.review-card:nth-child(6) {
  animation-delay: 0.3s;
}

.quote-icon svg {
  width: 32px;
  height: 32px;
  color: rgba(108, 77, 255, 0.2);
  position: absolute;
  top: 20px;
  right: 20px;
}

.stars {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: #f6c744;
  color: #f6c744;
}

.review-card p {
  color: var(--muted);
  margin-bottom: 20px;
}

.review-author strong {
  display: block;
}

.review-author span {
  font-size: 0.9rem;
  color: var(--muted);
}

.review-summary {
  text-align: center;
  margin-top: 40px;
  color: var(--muted);
}

.summary-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.summary-rating strong {
  font-size: 1.4rem;
  color: var(--text);
}

.contact {
  background: linear-gradient(135deg, #6c4dff 0%, #ff7aa8 100%);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.contact-info p {
  opacity: 0.9;
  margin-bottom: 24px;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: center;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  padding: 10px;
  border-radius: 12px;
}

.contact-item a {
  color: #fff;
  opacity: 0.85;
}

.contact-benefits {
  background: rgba(255, 255, 255, 0.12);
  padding: 22px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
}

.contact-benefits li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}

.contact-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}

.contact-form-card {
  background: #fff;
  color: var(--text);
  padding: 32px;
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(55, 40, 120, 0.2);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-field label {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #d9d7ea;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(108, 77, 255, 0.12);
}

.form-note {
  font-size: 0.85rem;
  color: #625f7b;
  text-align: center;
}

.form-note a {
  color: var(--primary);
}

.form-success {
  text-align: center;
  display: none;
  padding: 30px 10px;
}

.form-success.active {
  display: block;
}

.success-icon svg {
  width: 46px;
  height: 46px;
  color: #22c55e;
  background: #e8f8ef;
  padding: 14px;
  border-radius: 50%;
  margin-bottom: 16px;
}

.site-footer {
  background: #151425;
  color: #c3c0da;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 14px;
}

.site-footer ul {
  display: grid;
  gap: 10px;
}

.site-footer ul li {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-footer a {
  color: #c3c0da;
}

.site-footer a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.socials a:hover {
  background: var(--primary);
}

.socials svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 4px;
  flex-direction: column;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(78, 52, 200, 0.2);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: #fff;
}

.btn-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

.btn-block {
  width: 100%;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: 72px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
