/* ===================================================================
   Phol Pattay Landing Page
   Manual Responsive Design Matching "Landing Pg.jpg.jpeg"
   Palette:
   - Primary Berry Pink: #B54E79
   - Deep Plum / Espresso: #3D232C & #4F303B
   - Card Blush: #F8E6EC
   - Page Light Blush: #FFF6F9
   =================================================================== */

:root {
  --color-primary: #B54E79;
  --color-primary-hover: #9c3b63;
  --color-text-dark: #3D232C;
  --color-text-body: #4F303B;
  --color-text-white: #FFFFFF;
  --color-heading-dark: #1A1A1A;
  --color-text-muted: #595959;
  
  --color-bg-page: #FFF6F9;
  --color-card-bg: #F8E6EC;
  --color-badge-bg: #FFFFFF;
  
  --radius-card: 32px;
  --radius-card-img: 22px;
  --radius-feature-img: 18px;
  --radius-pill: 9999px;
  
  --shadow-card: 0 4px 24px rgba(181, 78, 121, 0.07);
  --shadow-btn: 0 8px 24px rgba(181, 78, 121, 0.42);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--color-bg-page);
  color: var(--color-text-dark);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  line-height: 1.4;
}

/* Ambient glow accents for large desktop screens */
.ambient-glow {
  display: none;
}

@media (min-width: 600px) {
  body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 16px 60px;
  }

  .ambient-glow {
    display: block;
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    opacity: 0.45;
    z-index: 0;
  }
  .glow-top {
    top: -120px;
    left: 50%;
    transform: translateX(-60%);
    background: radial-gradient(circle, #fcd0df 0%, rgba(255,255,255,0) 70%);
  }
  .glow-bottom {
    bottom: -120px;
    right: 20%;
    background: radial-gradient(circle, #f0bcd0 0%, rgba(255,255,255,0) 70%);
  }
}

/* ===================================================================
   MAIN MOBILE-FIRST CONTAINER
   Optimized for all smartphones (iPhone, Samsung, Pixel, etc.)
   =================================================================== */

.page-container {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 16px 14px 40px;
  position: relative;
  z-index: 1;
}

@media (min-width: 480px) {
  .page-container {
    max-width: 460px;
    padding: 20px 16px 50px;
  }
}

/* Base Card Style matching the Landing Pg design */
.card {
  background-color: var(--color-card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

/* ===================================================================
   SECTION 1: HERO CARD
   =================================================================== */

.hero-card {
  padding: 14px 14px 26px;
  text-align: center;
}

.hero-image-wrap {
  width: 100%;
  border-radius: var(--radius-card-img);
  overflow: hidden;
  line-height: 0;
}

.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 850 / 395;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-content {
  padding: 22px 6px 0;
}

.hero-title {
  color: var(--color-primary);
  font-size: clamp(20px, 5.2vw, 25px);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  line-height: 1.25;
}

.hero-subtitle {
  color: var(--color-text-dark);
  font-size: clamp(16px, 4.2vw, 20px);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.hero-desc {
  color: var(--color-text-body);
  font-size: clamp(13px, 3.4vw, 15px);
  line-height: 1.48;
  max-width: 360px;
  margin: 0 auto 20px;
}

/* 5% OFF White Badge Box */
.discount-badge-box {
  background-color: var(--color-badge-bg);
  border-radius: 18px;
  padding: 12px 28px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(181, 78, 121, 0.08);
  margin-bottom: 18px;
}

.discount-val {
  color: var(--color-primary);
  font-size: clamp(20px, 5.4vw, 26px);
  font-weight: 800;
  line-height: 1.15;
}

.discount-lbl {
  color: var(--color-text-dark);
  font-size: clamp(11px, 2.9vw, 13px);
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-top: 3px;
}

/* Micro text under buttons */
.btn-subtext {
  color: #63434E;
  font-size: clamp(11px, 2.7vw, 12.5px);
  font-weight: 500;
  margin-top: 12px;
}

/* ===================================================================
   INTERACTIVE BUTTONS (OKAY, I'M IN! ↗ & JOIN THE CLUB ♡)
   =================================================================== */

.lp-btn {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: clamp(14px, 3.8vw, 17.5px);
  padding: 14px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 90%;
  max-width: 330px;
  margin: 0 auto;
  box-shadow: var(--shadow-btn);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  border: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), 
              background-color 0.2s ease, 
              box-shadow 0.2s ease;
}

.btn-text {
  font-weight: 800;
  white-space: nowrap;
}

.btn-icon {
  font-size: 1.15em;
  line-height: 1;
}

/* Hover and Tap Interactions */
.lp-btn:hover {
  background-color: var(--color-primary-hover);
  transform: scale(1.03);
  box-shadow: 0 10px 28px rgba(181, 78, 121, 0.55);
}

.lp-btn:active {
  transform: scale(0.97);
}

.lp-btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* Shimmer Sweep Animation */
.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-20deg);
  border-radius: var(--radius-pill);
  animation: shineMove 3.6s infinite ease-in-out;
  pointer-events: none;
}

@keyframes shineMove {
  0% { left: -100%; }
  22% { left: 160%; }
  100% { left: 160%; }
}

/* ===================================================================
   SECTION 2: FEATURES (WHAT YOU'LL GET INSIDE)
   =================================================================== */

.features-section {
  margin-top: 26px;
}

.section-title {
  color: var(--color-heading-dark);
  font-size: clamp(16px, 4.2vw, 18.5px);
  font-weight: 800;
  margin: 0 0 12px 6px;
  text-align: left;
}

.grid-card {
  padding: 16px 14px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
}

.feature-item {
  display: flex;
  flex-direction: column;
}

.feature-img-wrap {
  width: 100%;
  line-height: 0;
  border-radius: var(--radius-feature-img);
  overflow: hidden;
}

.feature-img {
  width: 100%;
  height: auto;
  aspect-ratio: 404 / 389;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.3s ease;
}

.feature-item:hover .feature-img {
  transform: scale(1.03);
}

.feature-title {
  color: var(--color-heading-dark);
  font-size: clamp(13px, 3.2vw, 15px);
  font-weight: 800;
  margin-top: 10px;
  line-height: 1.25;
}

.feature-desc {
  color: var(--color-text-muted);
  font-size: clamp(11px, 2.6vw, 12.5px);
  line-height: 1.35;
  margin-top: 3px;
}

/* ===================================================================
   SECTION 3: BOTTOM CALL TO ACTION CARD
   =================================================================== */

.cta-card {
  margin-top: 28px;
  padding: 30px 18px 28px;
  text-align: center;
}

.cta-title {
  color: var(--color-primary);
  font-size: clamp(21px, 5.6vw, 27px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}

.cta-subtitle {
  color: var(--color-text-dark);
  font-size: clamp(15px, 4vw, 18.5px);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.3;
}

.cta-desc {
  color: var(--color-text-body);
  font-size: clamp(13px, 3.4vw, 14.5px);
  line-height: 1.48;
  max-width: 360px;
  margin: 0 auto 22px;
}
