* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f8f3ef;
  color: #333;
}

/* ── HEADER ── */
.header {
   background: linear-gradient(135deg, #ff4d6d, #ff758f);
  color: white;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 16px;
  font-weight: bold;
  font-size: 16px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}

nav a:hover {
  text-decoration: underline;
}

/* ── SESSION INFO & LOGOUT ── */
.login-name {
  color: white;
  margin-left: auto;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}

.session-info {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: 16px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

.session-info span {
  display: inline-block;
}

.btn-logout {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  margin-left: 12px;
  transition: all 0.3s ease;
}

.btn-logout:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-logout:active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.25);
}

/* ── HERO ── */
.hero {
  background: linear-gradient(rgba(0,0,0,0.50), rgba(0,0,0,0.50)),
    url('images/cover_photo.png') no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}

.hero-content {
  max-width: 800px;
  color: white;
}

.hero-content h1 {
  font-size: 42px;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  background: #ff758f;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  margin: 8px;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn:hover {
  background: #ff5a7a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

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

/* Action buttons container */
.action-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 0;
  padding: 0 20px;
}

.action-buttons .btn {
  width: min(100%, 320px);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Back button style */
.btn-back {
  background: #ff758f;
  color: white;
}

.btn-back:hover {
  background: #ff5a7a;
}

/* WhatsApp button style */
.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
}

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

/* ── SECTIONS ── */
.section {
  padding: 70px 40px;
  text-align: center;
}

.section h2 {
  font-size: 32px;
  color: #7b1e1e;
  margin-bottom: 12px;
}

.section p {
  max-width: 850px;
  margin: 10px auto;
  font-size: 17px;
  line-height: 1.7;
}

.how-subtitle {
  color: #777;
  font-size: 16px !important;
  margin-bottom: 40px !important;
}

/* ── HOW IT WORKS STEPS ── */
.how-section {
  background: #fff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.step-card {
  background: #fff7f2;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  position: relative;
  border-top: 4px solid #7b1e1e;
  transition: transform 0.2s;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff758f;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.step-icon {
  font-size: 36px;
  margin-bottom: 12px;
  margin-top: 8px;
}

.step-card h3 {
  color: #ff758f;
  margin-bottom: 10px;
  font-size: 17px;
}

.step-card p {
  font-size: 14px !important;
  color: #555;
  line-height: 1.6;
}

/* Success Stories */
.success-section {
  background: #fff7f2;
}

.success-grid {
  max-width: 1000px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.story-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
}

.story-card img {
  width: 130px;
  height: 130px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

.story-content h3 {
  color: #ff4d6d;
  margin-bottom: 8px;
  font-size: 20px;
}

.story-content p {
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.6;
}

.story-content .quote {
  color: #777;
  font-style: italic;
}

.success-more-btn {
  margin-top: 28px;
}

/* ── SUBSCRIPTION PLAN ── */
.subscription-section {
  background: linear-gradient(135deg, #ff4d6d 0%, #ff758f 100%);
  color: white;
}

.subscription-section h2 {
  color: #fff;
}

.subscription-section .how-subtitle {
  color: rgba(255,255,255,0.75) !important;
}

.plan-card {
  background: white;
  color: #333;
  border-radius: 20px;
  padding: 40px 40px 36px;
  max-width: 460px;
  margin: 30px auto 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  position: relative;
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #f5a623;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 18px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.plan-price {
  font-size: 56px;
  font-weight: bold;
  color: #7b1e1e;
  line-height: 1.1;
  margin-top: 10px;
}

.plan-duration {
  font-size: 18px;
  color: #888;
  margin-bottom: 24px;
}

.plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.plan-features li {
  padding: 9px 0;
  font-size: 15px;
  border-bottom: 1px solid #f0e8e8;
  color: #444;
}

.plan-features li:last-child {
  border-bottom: none;
}

/* ── KEY POINTS CARDS ── */
.cards-section {
  background: #fff7f2;
}

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

.card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border-left: 4px solid #ff758f;
}

.card h3 {
  color: #ff758f;
  margin-bottom: 10px;
}

/* ── CONTACT ── */
.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
 
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff7f2;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 3px 10px rgba(0,0,0,0.07);
   flex-wrap: wrap;
}

.contact-icon {
  font-size: 30px;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  color: #7b1e1e;
  margin-bottom: 4px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item p {
  font-size: 15px !important;
  margin: 0 !important;
  color: #333;
}

/* ── SELECTION BUTTONS (biodata.html) ── */
.selection-buttons {
  width: min(100%, 620px);
  margin: 25px auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
}

.selection-buttons .btn {
  flex: 1 1 0;
  max-width: 280px;
  min-height: 46px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.profile-title {
  margin-top: 25px;
}

/* ── BIODATA GRID ── */
.biodata-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.biodata-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  text-align: left;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.biodata-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.biodata-card:focus {
  outline: 3px solid rgba(123, 30, 30, 0.25);
  outline-offset: -3px;
}

.biodata-code-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff758f;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.biodata-card img {
  width: 100%;
  height: 280px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.biodata-content {
  padding: 18px;
}

.biodata-content h3 {
  color: #7b1e1e;
  margin-bottom: 10px;
}

.biodata-content p {
  margin: 6px 0;
  font-size: 15px;
}

.profile-code {
  display: inline-block;
  background: #fff0f0;
  color: #ff758f;
  font-weight: bold;
  font-size: 13px;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #e0b0b0;
  letter-spacing: 1px;
}

/* ── PROFILE DETAILS ── */
.profile-details {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.profile-details img {
  width: 300px;
  max-width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center top;
  border: 4px solid #7b1e73;
  flex-shrink: 0;
}

.profile-details .details-content {
  flex: 1;
  text-align: left;
}

.profile-details .details-content h1 {
  color: #7b1e1e;
  margin-bottom: 20px;
}

.profile-details .details-content p {
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.6;
}

/* ── RESPONSIVE PROFILE DETAILS ── */
@media (max-width: 768px) {
  .success-grid {
    grid-template-columns: 1fr;
  }

  .story-card {
    flex-direction: column;
    text-align: center;
  }

  .story-card img {
    width: 100%;
    height: 220px;
  }

  .selection-buttons {
    width: min(100%, 420px);
    flex-direction: column;
    gap: 10px;
  }

  .selection-buttons .btn {
    width: 100%;
    max-width: none;
    min-height: 44px;
  }

  .action-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .action-buttons .btn {
    max-width: 320px;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    padding: 10px 20px;
    font-size: 14px;
  }

  .profile-details {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .profile-details img {
    width: min(100%, 320px);
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .profile-details .details-content {
    text-align: center;
  }
}

/* ── FOOTER ── */
.footer {
  background: linear-gradient(135deg, #ff4d6d, #ff758f);
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 16px;
  line-height: 1.8;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .header {
    padding: 12px 16px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .logo {
    font-size: 18px;
    line-height: 1.3;
  }

  nav {
    width: 100%;
    gap: 8px;
  }

  nav a {
    margin: 0;
    font-size: 12px;
    line-height: 1;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
  }

  .login-name {
    margin-left: 0;
    font-size: 12px;
    padding: 6px 8px;
  }

  .session-info {
    margin-left: 0;
    font-size: 12px;
    padding: 6px 8px;
  }

  .btn-logout {
    margin-left: 0;
    padding: 6px 10px;
    font-size: 12px;
  }

  .hero-content h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .hero {
    min-height: calc(100vh - 128px);
    padding: 44px 18px;
    background-position: center top;
  }

  .hero-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 22px;
  }

  .section {
    padding: 46px 18px;
  }

  .section h2 {
    font-size: 26px;
    line-height: 1.25;
  }

  .section p {
    font-size: 15px;
    line-height: 1.65;
  }

  .how-subtitle {
    margin-bottom: 26px !important;
  }

  .steps-grid,
  .cards,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-card,
  .card,
  .contact-item {
    padding: 20px 16px;
  }

  .plan-card {
    width: 100%;
    padding: 34px 20px 26px;
    border-radius: 14px;
  }

  .plan-price {
    font-size: 44px;
  }

  .plan-features li {
    font-size: 14px;
    line-height: 1.5;
  }

  .footer {
    margin-top: 24px;
    padding: 18px 16px;
    font-size: 13px;
  }
}

/* ── PAGINATION ── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  margin-bottom: 20px;
  max-width: 100%;
  overflow: visible;
}

.pagination-btn {
  background: linear-gradient(135deg, #ff6a88, #ff8fa3);
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  min-width: 45px;
  flex-shrink: 0;
  transition: all 0.25s ease;
  box-shadow: 0 3px 8px rgba(255, 106, 136, 0.3);
}

/* Hover */
.pagination-btn:hover {
  background: linear-gradient(135deg, #ff5a7a, #ff7f96);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 106, 136, 0.5);
}

/* Active Click */
.pagination-btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 6px rgba(255, 106, 136, 0.3);
}

/* Current Page */
.pagination-btn.active {
  background: #e94e77;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Disabled */
.pagination-btn:disabled {
  background: #ddd;
  color: #888;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Pagination Ellipsis */
.pagination-ellipsis {
  color: #666;
  font-weight: bold;
  font-size: 14px;
}

/* Mobile Pagination */
@media (max-width: 768px) {
  .pagination {
    gap: 6px;
    margin-top: 20px;
    margin-bottom: 15px;
  }
  
  .pagination-btn {
    padding: 8px 10px;
    font-size: 12px;
    min-width: 38px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 10px 10px;
  }

  .logo {
    font-size: 16px;
  }

  nav {
    gap: 6px;
  }

  nav a {
    margin: 0;
    font-size: 11px;
    padding: 7px 8px;
  }

  .hero {
    min-height: calc(100vh - 118px);
    padding: 34px 14px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .section {
    padding: 38px 14px;
  }

  .section h2 {
    font-size: 23px;
  }

  .success-grid,
  .steps-grid,
  .cards,
  .contact-grid {
    margin-top: 22px;
  }

  .story-card {
    padding: 14px;
  }

  .story-card img {
    height: 190px;
  }

  .story-content h3 {
    font-size: 18px;
  }

  .plan-card {
    padding: 32px 16px 22px;
  }

  .plan-price {
    font-size: 38px;
  }

  .contact-item {
    justify-content: center;
    text-align: center;
  }

  .login-name {
    margin-left: 0;
    font-size: 10px;
    padding: 4px 6px;
  }

  .session-info {
    margin-left: 0;
    font-size: 10px;
    padding: 4px 6px;
    gap: 6px;
  }

  .btn-logout {
    margin-left: 0;
    padding: 4px 8px;
    font-size: 11px;
  }

  .action-buttons {
    flex-direction: column;
    gap: 8px;
    padding: 0 10px;
  }

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

  .biodata-card img {
    height: 240px;
  }

  .profile-details img {
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    padding: 10px 16px;
    font-size: 13px;
    margin: 0;
  }

  .pagination {
    gap: 4px;
  }
  
  .pagination-btn {
    padding: 6px 8px;
    font-size: 11px;
    min-width: 32px;
  }
}
