/* ── Reset & Base ── */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: #d4d4d4;
  background: #0a0a0a;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── Layout ── */

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

.section {
  padding: 120px 0;
  scroll-margin-top: 64px;
}

.section-alt {
  background: #111;
}

/* ── Scroll Animations ── */

.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Typography ── */

h1, h2, h3 {
  color: #f5f5f5;
  font-weight: 500;
  line-height: 1.2;
}

h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.01em;
  margin-bottom: 48px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4ecdc4;
  margin-bottom: 16px;
}

/* ── Button ── */

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: #4ecdc4;
  color: #0a0a0a;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: #6ee7de;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.8rem;
}

/* ── Header ── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #f5f5f5;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  font-size: 0.85rem;
  font-weight: 400;
}

.nav-links a {
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #4ecdc4;
}

/* ── Hamburger ── */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #f5f5f5;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #0a0a0a;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.6) 0%,
    rgba(10, 10, 10, 0.4) 50%,
    rgba(10, 10, 10, 0.9) 100%
  );
}

.hero-content {
  position: relative;
  padding: 120px 0 80px;
}

.hero-tagline {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #4ecdc4;
  margin-bottom: 24px;
}

h1 .accent {
  color: #4ecdc4;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 24px auto 48px;
  max-width: 640px;
}

/* ── About ── */

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

.about-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-name {
  margin-top: 16px;
  font-weight: 500;
  color: #f5f5f5;
  font-size: 0.95rem;
}

.about-title {
  font-size: 0.8rem;
  color: #666;
  margin-top: 2px;
}

.about-audience {
  font-size: 0.95rem;
  color: #4ecdc4;
  margin-bottom: 8px;
}

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  margin-bottom: 16px;
}

.motto {
  font-style: italic;
  color: #4ecdc4;
  font-size: 1rem;
  margin-bottom: 24px;
}

/* ── Journey ── */

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.journey-item {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  background: #0a0a0a;
  transition: border-color 0.3s;
}

.journey-item:hover {
  border-color: rgba(78, 205, 196, 0.2);
}

.journey-icon {
  width: 36px;
  height: 36px;
  color: #4ecdc4;
  margin-bottom: 16px;
}

.journey-item h3 {
  margin-bottom: 8px;
}

.journey-item p {
  font-size: 0.85rem;
  color: #888;
  margin: 0;
}

.center-cta {
  text-align: center;
  margin-top: 48px;
}

/* ── Services ── */

.section-sub {
  color: #999;
  margin-top: -32px;
  margin-bottom: 48px;
}

.services-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-row {
  display: flex;
  gap: 40px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  transition: border-color 0.3s;
}

.service-row:hover {
  border-color: rgba(78, 205, 196, 0.2);
}

.service-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  color: #4ecdc4;
  padding-top: 4px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.service-body > p {
  font-size: 0.95rem;
  color: #999;
  margin-bottom: 20px;
}

.service-body ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.service-body ul li {
  font-size: 0.85rem;
  color: #aaa;
  padding-left: 16px;
  position: relative;
}

.service-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ecdc4;
  opacity: 0.5;
}

.service-cta {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4ecdc4;
  transition: color 0.2s;
}

.service-cta:hover {
  color: #6ee7de;
}

/* ── Testimonials ── */

.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

blockquote {
  padding: 32px;
  border-left: 2px solid rgba(78, 205, 196, 0.3);
  background: transparent;
}

blockquote p {
  font-size: 0.95rem;
  font-style: italic;
  color: #ccc;
  margin-bottom: 0;
  line-height: 1.8;
  padding-top: 16px;
}

/* ── Credentials ── */

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cert-card {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.cert-card:hover {
  border-color: rgba(78, 205, 196, 0.2);
}

.cert-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #fff;
}

.cert-card span {
  display: block;
  padding: 14px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ccc;
  text-align: center;
}


/* ── Form ── */

.contact-text {
  color: #999;
  margin-bottom: 40px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #f5f5f5;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #555;
}

.form input:focus,
.form textarea:focus {
  border-color: #4ecdc4;
  background: rgba(78, 205, 196, 0.03);
}

.form textarea {
  resize: vertical;
}

/* ── Footer ── */

.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer p {
  font-size: 0.8rem;
  color: #444;
}

/* ── Auth Pages ── */

.page-center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 380px;
}

.auth-card h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.auth-sub {
  color: #666;
  margin-bottom: 32px;
}

.auth-link {
  margin-top: 16px;
  font-size: 0.85rem;
}

.auth-link a {
  color: #888;
  transition: color 0.2s;
}

.auth-link a:hover {
  color: #4ecdc4;
}

/* ── Password Toggle ── */

.input-password-wrap {
  position: relative;
}

.input-password-wrap input {
  padding-right: 44px;
}

.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.pw-toggle:hover {
  color: #888;
}

.error-msg {
  color: #c45;
  font-size: 0.85rem;
  margin-top: 12px;
}

.success-msg {
  color: #5a8;
  font-size: 0.85rem;
  margin-top: 12px;
}

/* ── Button Variants ── */

.btn-outline {
  background: transparent;
  color: #d4d4d4;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: none;
  box-shadow: none;
}

/* ── Admin ── */

.admin-block {
  margin-bottom: 64px;
}

.admin-block h2 {
  margin-bottom: 24px;
}

.form-row {
  flex-direction: row;
  flex-wrap: wrap;
  max-width: 100%;
}

.form-row input {
  flex: 1;
  min-width: 160px;
}

.form-row .btn {
  flex-shrink: 0;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: -8px;
}

.form-row-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row-dates input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #f5f5f5;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-row-dates input:focus {
  border-color: #4ecdc4;
}

.form-actions {
  display: flex;
  gap: 12px;
}

.muted {
  color: #666;
  font-size: 0.85rem;
}

/* Client Rows */

.client-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.client-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.client-info strong {
  color: #f5f5f5;
  font-weight: 500;
}

.client-plan {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.9rem;
}

.client-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Modal ── */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  backdrop-filter: blur(4px);
}

.modal.open {
  display: flex;
}

.modal-content {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 48px 40px;
  width: 100%;
  max-width: 520px;
}

.modal-content h2 {
  margin-bottom: 32px;
}

.modal-content .form {
  max-width: 100%;
}

/* ── Dashboard ── */

.empty-state {
  padding: 60px 0;
  color: #666;
  font-size: 1.05rem;
}

.plan-header {
  margin-bottom: 40px;
}

.plan-header h2 {
  margin-bottom: 12px;
}

.plan-dates {
  display: flex;
  align-items: center;
  gap: 16px;
}

.badge {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
}

.badge-active {
  background: rgba(90, 170, 130, 0.15);
  color: #5a8;
}

.badge-expired {
  background: rgba(200, 70, 80, 0.15);
  color: #c45;
}

.plan-body p {
  margin-bottom: 12px;
  line-height: 1.8;
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .about-grid,
  .journey-grid,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .service-row {
    flex-direction: column;
    gap: 24px;
    padding: 32px;
  }

  .service-icon {
    width: 48px;
    height: 48px;
  }

  .service-body ul {
    grid-template-columns: 1fr;
  }

  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links.open {
    display: flex;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .client-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row-dates {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .journey-grid {
    grid-template-columns: 1fr;
  }
}
