/* ─────────────────────────────────────────────
   MomoPack — Account Page Stylesheet
   ───────────────────────────────────────────── */

/* ── Account Hero ──────────────────────────── */
#acc-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0c2114 0%, var(--green-900) 45%, #1d5e3a 100%);
  text-align: center;
  padding: 10rem 0 6rem;
}

/* Floating blobs */
.acc-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.acc-blob-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(82,183,136,.35), transparent 70%);
  top: -120px; right: -100px;
  animation: blobFloat1 12s ease-in-out infinite;
}
.acc-blob-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(45,106,79,.5), transparent 70%);
  bottom: -80px; left: -80px;
  animation: blobFloat2 16s ease-in-out infinite;
}
.acc-blob-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(165,214,167,.2), transparent 70%);
  top: 40%; left: 25%;
  animation: blobFloat3 10s ease-in-out infinite;
}

/* Dot grid overlay */
.acc-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.acc-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 680px;
  margin-inline: auto;
}

.acc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 100px;
  padding: .4em 1.1em;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp .7s .1s forwards;
}
.acc-hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-400);
}

.acc-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  opacity: 0;
  animation: fadeUp .8s .25s forwards;
}
.acc-hero-title em { color: var(--green-200); font-style: normal; }

.acc-hero-sub {
  margin-top: 1.2rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  max-width: 520px;
  margin-inline: auto;
  opacity: 0;
  animation: fadeUp .8s .4s forwards;
}

.acc-hero-scroll {
  position: absolute;
  bottom: 1.8rem;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.4);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeUp .8s .9s both;
}
.acc-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── Auth Section ──────────────────────────── */
#auth {
  background: var(--off-white);
  padding: 7rem 0;
}

.auth-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: start;
  max-width: 1000px;
  margin-inline: auto;
}

/* Left — benefits panel */
.auth-info {
  position: sticky;
  top: 7rem;
  padding: 3rem 2.5rem;
  background: linear-gradient(145deg, var(--green-900), var(--green-700));
  border-radius: var(--radius-lg);
  color: #fff;
  overflow: hidden;
}

.auth-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(82,183,136,.25), transparent 65%);
  pointer-events: none;
}

.auth-info-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: .6rem;
  position: relative;
}

.auth-info-sub {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 2rem;
  position: relative;
}

.auth-benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.auth-benefit-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-size: .9rem;
  color: rgba(255,255,255,.88);
  opacity: 0;
  transform: translateX(-16px);
  animation: slideIn .5s forwards;
}
.auth-benefit-item:nth-child(1) { animation-delay: .1s; }
.auth-benefit-item:nth-child(2) { animation-delay: .18s; }
.auth-benefit-item:nth-child(3) { animation-delay: .26s; }
.auth-benefit-item:nth-child(4) { animation-delay: .34s; }
.auth-benefit-item:nth-child(5) { animation-delay: .42s; }
.auth-benefit-item:nth-child(6) { animation-delay: .5s; }

.benefit-check {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .8rem;
  color: var(--green-200);
}

.auth-info-divider {
  height: 1px;
  background: rgba(255,255,255,.12);
  margin: 2rem 0;
  position: relative;
}

.auth-trust {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  position: relative;
}
.auth-trust-icon {
  font-size: 1.2rem;
}

/* Right — auth card */
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  box-shadow: 0 24px 80px rgba(0,0,0,.09);
  border: 1.5px solid var(--gray-100);
  animation: fadeUp .7s .15s both;
}

/* Tab switcher */
.auth-tabs {
  display: flex;
  background: var(--gray-100);
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 2.2rem;
  gap: 2px;
}

.auth-tab {
  flex: 1;
  padding: .65em 1em;
  border: none;
  border-radius: 100px;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--gray-500);
  transition: all .25s ease;
}
.auth-tab.active {
  background: var(--white);
  color: var(--green-700);
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.auth-tab:not(.active):hover { color: var(--green-500); }

/* Forms */
.auth-form { display: none; }
.auth-form.active { display: block; }

.auth-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: .35rem;
}

.auth-form-sub {
  font-size: .86rem;
  color: var(--gray-500);
  margin-bottom: 1.8rem;
}

.auth-form .form-group { margin-bottom: .9rem; }

.auth-form label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: .4rem;
  letter-spacing: .03em;
}

.auth-form input,
.auth-form select {
  width: 100%;
  padding: .78em 1.05em;
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-300);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.auth-form input:focus,
.auth-form select:focus {
  border-color: var(--green-400);
  box-shadow: 0 0 0 3px rgba(82,183,136,.15);
}

.auth-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.auth-check-row {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: 1.2rem;
  font-size: .82rem;
  color: var(--gray-500);
  line-height: 1.5;
}
.auth-check-row input[type="checkbox"] {
  width: 16px; height: 16px;
  border-radius: 4px;
  accent-color: var(--green-500);
  margin-top: 1px;
  flex-shrink: 0;
}
.auth-check-row a { color: var(--green-500); text-decoration: none; }
.auth-check-row a:hover { text-decoration: underline; }

.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: .5rem;
  padding: .92em;
  font-size: .95rem;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.auth-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.15) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform .5s ease;
}
.auth-submit:hover::after { transform: translateX(100%); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.4rem 0;
  font-size: .78rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-100);
}

.auth-forgot {
  display: block;
  text-align: right;
  font-size: .79rem;
  color: var(--green-500);
  text-decoration: none;
  margin-top: -.5rem;
  margin-bottom: .9rem;
  transition: color .2s;
}
.auth-forgot:hover { color: var(--green-700); }

.auth-switch {
  text-align: center;
  margin-top: 1.4rem;
  font-size: .84rem;
  color: var(--gray-500);
}
.auth-switch a {
  color: var(--green-500);
  font-weight: 600;
  text-decoration: none;
}
.auth-switch a:hover { color: var(--green-700); }

/* Success state */
.auth-success {
  display: none;
  text-align: center;
  padding: 3.5rem 1rem;
  animation: fadeUp .5s forwards;
}
.auth-success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--green-50);
  border: 2px solid var(--green-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.4rem;
}
.auth-success h3 { font-size: 1.35rem; color: var(--gray-800); margin-bottom: .5rem; }
.auth-success p  { font-size: .9rem; color: var(--gray-500); line-height: 1.7; }

/* ── Account Features Section ──────────────── */
#acc-features {
  background: var(--white);
  padding: 7rem 0;
}

.acc-features-intro {
  text-align: center;
  margin-bottom: 4rem;
}
.acc-features-intro .section-sub { margin-inline: auto; text-align: center; }

.acc-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.acc-feature-card {
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-100);
  background: var(--white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.acc-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-400), var(--green-200));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.acc-feature-card:hover {
  border-color: var(--green-100);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.acc-feature-card:hover::before { transform: scaleX(1); }

.acc-feat-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: var(--green-50);
  border: 1.5px solid var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.3rem;
  transition: var(--transition);
}
.acc-feature-card:hover .acc-feat-icon {
  background: var(--green-500);
  border-color: var(--green-500);
  transform: scale(1.08);
}

.acc-feat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: .5rem;
}
.acc-feat-desc {
  font-size: .86rem;
  color: var(--gray-500);
  line-height: 1.68;
}

/* ── Account CTA Banner ──────────────────────── */
#acc-cta {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#acc-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(82,183,136,.2), transparent 70%);
}

.acc-cta-content {
  position: relative;
  z-index: 1;
}
.acc-cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: .8rem;
}
.acc-cta-content p {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}
.acc-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-cta-white {
  background: #fff;
  color: var(--green-700);
  font-weight: 700;
}
.btn-cta-white:hover {
  background: var(--green-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,.15);
}
.btn-cta-outline-white {
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.35);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-cta-outline-white:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.65);
}

/* ── Account Navbar overrides ────────────────── */
.acc-nav-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  padding: .4em .9em;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  transition: var(--transition);
}
.acc-nav-back:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
}
#navbar.scrolled .acc-nav-back {
  color: var(--gray-500);
  border-color: var(--gray-300);
  background: transparent;
}
#navbar.scrolled .acc-nav-back:hover {
  background: var(--green-50);
  color: var(--green-700);
  border-color: var(--green-200);
}

/* ── Animations ──────────────────────────────── */
@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-40px, 30px) scale(1.06); }
  66%  { transform: translate(20px, -20px) scale(0.94); }
}
@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%  { transform: translate(50px, -40px) scale(1.08); }
  70%  { transform: translate(-20px, 30px) scale(0.96); }
}
@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50%  { transform: translate(30px, -50px); }
}
@keyframes slideIn {
  to { opacity: 1; transform: translateX(0); }
}

/* ── Account Responsive ──────────────────────── */
@media (max-width: 900px) {
  .auth-wrapper { grid-template-columns: 1fr; }
  .auth-info { position: static; }
  .acc-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .auth-card { padding: 2rem 1.5rem; }
  .auth-form .form-row { grid-template-columns: 1fr; }
  .acc-features-grid { grid-template-columns: 1fr; }
  #acc-hero { padding: 9rem 0 5rem; }
}
