/* ===== ISMA Dating Website - CSS Design System ===== */
/* Fonts loaded via HTML <link> tags with preconnect for faster rendering */

:root {
  --pink: #E91E8C;
  --pink-light: #FF5CB8;
  --pink-dark: #C4006E;
  --blue: #1A8DE8;
  --blue-light: #4DACFF;
  --blue-dark: #0A5EA8;
  --gradient: linear-gradient(135deg, var(--pink), var(--blue));
  --gradient-soft: linear-gradient(135deg, #FFE6F5, #E6F0FF);
  --gradient-hero: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 50%, #0a1a3e 100%);
  --white: #FFFFFF;
  --off-white: #F8F9FC;
  --gray-50: #F5F6FA;
  --gray-100: #E8EAF0;
  --gray-200: #D1D5E0;
  --gray-500: #6B7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px rgba(233, 30, 140, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--white);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: var(--radius-full);
  border: 2px solid var(--white);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--pink);
}

/* Firefox support */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--gray-200) var(--white);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: clip !important;
  overflow-y: auto !important;
  /* Only html should have the scrollbar */
  height: auto !important;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  overflow: visible !important;
  /* Must be visible for sticky to work on descendants */
  height: auto !important;
  -webkit-font-smoothing: antialiased;
  display: block !important;
  align-items: unset !important;
  justify-content: unset !important;
}

/* Ensure all presentation wrappers don't clip the sticky cards */
.presentation-container,
.center-content,
.center-content>div {
  overflow: visible !important;
  display: block !important;
  min-height: auto !important;
  height: auto !important;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

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

.nav-logo img {
  height: 42px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a:not(.nav-cta) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: 4px 0;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active:not(.nav-cta)::after {
  width: 100%;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--pink);
}

.nav-cta {
  background: var(--gradient);
  color: #fff;
  padding: 10px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233, 30, 140, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(233, 30, 140, 0.15), transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(26, 141, 232, 0.15), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5)
  }
}

.hero h1 {
  font-size: 3.8rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--pink-light), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  padding: 14px 36px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(233, 30, 140, 0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(233, 30, 140, 0.5);
}

.btn-outline {
  background: transparent;
  color: #fff;
  padding: 14px 36px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: var(--pink-light);
  color: var(--pink-light);
  transform: translateY(-3px);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 400;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.hero-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.hero-float.top-right {
  top: -20px;
  right: -10px;
}

.hero-float.bottom-left {
  bottom: 20px;
  left: -20px;
  animation-delay: 3s;
}

.hero-float .stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-float .stat-label {
  font-size: 0.75rem;
  color: var(--gray-500);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-15px)
  }
}

/* Floating Hearts */
.floating-hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-heart {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0.15;
  animation: rise 8s ease-in infinite;
}

@keyframes rise {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.15;
  }

  90% {
    opacity: 0.15;
  }

  100% {
    transform: translateY(-10vh) rotate(360deg);
    opacity: 0;
  }
}

/* ===== SECTIONS COMMON ===== */
section {
  padding: 100px 0;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pink);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.8rem;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== FEATURES ===== */
.features {
  background: var(--off-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

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

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.feature-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: var(--white);
  position: relative;
  overflow: visible !important;
}

.steps-container {
  display: block !important;
  /* Changed from flex to block to avoid potential sticky issues */
  position: relative;
}

.step-card {
  position: sticky !important;
  position: -webkit-sticky !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  /* Use margin for spacing instead of flex gap */
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.06), 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-100);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, top;
  margin: 60px 0;
}

/* Stacking logic — each card sticks at a slightly lower top offset */
#step-1 {
  top: 100px;
  z-index: 10;
}

#step-2 {
  top: 130px;
  z-index: 20;
}

#step-3 {
  top: 160px;
  z-index: 30;
}

/* Scale-down earlier cards when they're stuck behind */
#step-1.is-pinned {
  transform: scale(0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

#step-2.is-pinned {
  transform: scale(0.97);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.step-content {
  padding-right: 20px;
}

.step-number {
  font-size: 4rem;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gray-200);
  margin-bottom: 10px;
  transition: var(--transition);
  line-height: 1;
}

.step-card:hover .step-number {
  color: var(--pink);
  -webkit-text-fill-color: var(--pink);
  -webkit-text-stroke: 0;
}

.step-content h3 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.step-content p {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.8;
}

.step-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--off-white);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.step-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.step-card:hover .step-image img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .step-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 20px;
  }

  .step-content {
    padding-right: 0;
    margin-bottom: 30px;
  }

  #step-1 {
    top: 80px;
  }

  #step-2 {
    top: 100px;
  }

  #step-3 {
    top: 120px;
  }
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--gradient-hero);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  position: relative;
  overflow: hidden;
  background: var(--off-white);
  padding: 100px 0;
}

.testi-bg-graphics {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.testi-blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.4;
  border-radius: 50%;
  animation: float-blob 10s ease-in-out infinite alternate;
}

.testi-blob.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--pink);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.testi-blob.shape-2 {
  width: 500px;
  height: 500px;
  background: var(--blue);
  bottom: -200px;
  right: -100px;
  animation-delay: -5s;
}

.testi-blob.shape-3 {
  width: 300px;
  height: 300px;
  background: rgba(255, 182, 255, 0.8);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 15s;
}

@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(50px, 50px) scale(1.1);
  }
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.quote-icon {
  font-size: 2rem;
  color: var(--pink);
  opacity: 0.3;
  margin-bottom: 20px;
}

.testimonial-stars {
  color: #FBBF24;
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 1.05rem;
  color: var(--gray-900);
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 20px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.testimonial-author .name {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 1rem;
}

.testimonial-author .role {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ===== DOWNLOAD / APP SECTION ===== */
.download-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(233, 30, 140, 0.1), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26, 141, 232, 0.1), transparent 50%);
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.download-content h2 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.download-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.store-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 28px;
  border-radius: var(--radius);
  color: #fff;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  cursor: pointer;
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.store-btn .store-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-btn .store-icon img,
.store-btn .store-icon svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.store-btn .store-text {
  text-align: left;
}

.store-btn .store-text small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.7;
}

.store-btn .store-text span {
  display: block;
  font-weight: 600;
  font-size: 1rem;
}

.qr-section {
  display: flex;
  gap: 32px;
}

.qr-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.qr-card .qr-placeholder {
  width: 130px;
  height: 130px;
  background: #fff;
  border-radius: var(--radius-sm);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.qr-card .qr-placeholder svg {
  width: 100%;
  height: 100%;
}

.qr-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.download-image {
  text-align: center;
}

.download-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 400;
  object-fit: cover;
}

/* ===== ABOUT PAGE ===== */
.page-hero {
  padding: 160px 0 80px;
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(233, 30, 140, 0.1), transparent 60%);
}

.page-hero h1 {
  color: #fff;
  font-size: 3rem;
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
}

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

.about-content img {
  width: 100%;
  height: auto;
  aspect-ratio: 560 / 400;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.value-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ===== BLOG PAGE ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-card .blog-img {
  overflow: hidden;
}

.blog-card .blog-body {
  padding: 24px;
}

.blog-tag {
  display: inline-block;
  background: var(--gradient-soft);
  color: var(--pink);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.blog-card p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--pink);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(233, 30, 140, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-info-card {
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(233, 30, 140, 0.15), transparent 50%);
}

.contact-info-card h3 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.contact-item .ci-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ===== FAQ PAGE ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--pink);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  user-select: none;
}

.faq-question .faq-toggle {
  font-size: 1.2rem;
  color: var(--pink);
  transition: var(--transition);
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 1000px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: #fff;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer h4 {
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer ul a:hover {
  color: var(--pink-light);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gradient);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width:1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .features-grid,
  .steps-grid,
  .testimonial-grid,
  .blog-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width:768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }

  .nav-links.open {
    display: flex;
    z-index: 999;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hero-grid,
  .download-grid,
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: center;
    padding: 140px 0 60px;
  }

  .hero p {
    margin: 0 auto 36px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .features-grid,
  .steps-grid,
  .testimonial-grid,
  .blog-grid,
  .stats-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .download-content {
    text-align: center;
  }

  .store-buttons {
    justify-content: center;
  }

  .qr-section {
    justify-content: center;
  }

  .section-title {
    font-size: 1.8rem;
  }

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

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

/* ===== BLOG DETAILS PAGE ===== */
.blog-details-hero {
  padding: 160px 0 60px;
  background: var(--gradient-hero);
  text-align: center;
}

.bd-header {
  max-width: 800px;
  margin: 0 auto;
}

.bd-header .blog-tag {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 0.85rem;
}

.bd-header h1 {
  font-size: 3.2rem;
  color: #fff;
  margin-bottom: 30px;
}

.bd-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  color: rgba(255, 255, 255, 0.8);
  flex-wrap: wrap;
}

.bd-meta .author {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.bd-meta .author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.bd-meta .author strong {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.bd-meta .author span {
  font-size: 0.8rem;
}

.bd-meta .meta-info {
  display: flex;
  gap: 20px;
}

.bd-meta .meta-info span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

.blog-article-section {
  padding: 60px 0 100px;
}

.article-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.article-featured-image {
  margin-top: -100px;
  margin-bottom: 50px;
  position: relative;
  z-index: 10;
}

.article-featured-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.article-content {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.9;
}

.article-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--gray-900);
  margin: 40px 0 20px;
}

.article-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--gray-900);
  margin: 30px 0 16px;
}

.article-content p {
  margin-bottom: 24px;
}

.article-content .lead-text {
  font-size: 1.15rem;
  color: var(--gray-900);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 40px;
}

.article-content blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--pink);
  border-left: 4px solid var(--pink);
  padding: 20px 0 20px 30px;
  margin: 40px 0;
  background: var(--gradient-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.5;
}

.share-post {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.share-post h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: var(--gray-900);
}

@media (max-width: 768px) {
  .bd-header h1 {
    font-size: 2.2rem;
  }

  .bd-meta {
    gap: 20px;
    justify-content: center;
  }

  .article-featured-image {
    margin-top: -80px;
  }

  .article-featured-image img {
    height: 300px;
  }

  .article-content h2 {
    font-size: 1.8rem;
  }
}