/* ===== HRly — v3 Bento / Glassmorphism / 3D Style ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --purple-900: #1e0a3c;
  --purple-800: #2d1b69;
  --purple-700: #3f2590;
  --purple-600: #5b3dbf;
  --purple-500: #7C5CFC;
  --purple-400: #9b82fd;
  --purple-300: #b8a4fe;
  --purple-200: #d4c8ff;
  --purple-100: #ede8ff;
  --purple-50:  #f5f3ff;

  --pink-600: #db2777;
  --pink-500: #f472b6;
  --pink-400: #f9a8d4;
  --pink-300: #fbb6ce;
  --pink-200: #fce7f3;
  --pink-100: #fdf2f8;

  --bg: #f8f7fc;
  --bg-card: #ffffff;
  --text: #2d1b69;
  --text-light: #6b5b95;
  --text-muted: #9a8fc2;
  --border: rgba(124,92,252,0.08);
  --border-card: rgba(255,255,255,0.8);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 36px;
  --radius-full: 9999px;

  --shadow-card: 0 2px 16px rgba(124,92,252,0.06), 0 0 0 1px rgba(124,92,252,0.04);
  --shadow-card-hover: 0 8px 32px rgba(124,92,252,0.12), 0 0 0 1px rgba(124,92,252,0.06);
  --shadow-glass: 0 8px 32px rgba(124,92,252,0.08);
  --shadow-heavy: 0 16px 48px rgba(124,92,252,0.14);
  --shadow-glow: 0 0 48px rgba(124,92,252,0.2);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1140px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--purple-500); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--purple-700); }
ul, ol { list-style: none; }

section {
  padding: 96px 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; color: var(--purple-900); }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -1.2px; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.8px; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); letter-spacing: -0.3px; }
h4 { font-size: 1rem; font-weight: 700; }

.lead {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.75;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-header .lead { margin: 16px auto 0; }

.gradient-text {
  background: linear-gradient(135deg, var(--purple-600), var(--pink-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.overline {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--purple-500);
  margin-bottom: 12px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,92,252,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124,92,252,0.45);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-light);
  padding: 14px 24px;
  font-weight: 600;
}
.btn-ghost:hover { color: var(--purple-600); }
.btn-ghost .arrow { transition: var(--transition); }
.btn-ghost:hover .arrow { transform: translateX(4px); display: inline-block; }

.btn-secondary {
  background: rgba(124,92,252,0.08);
  color: var(--purple-600);
  border: 1.5px solid rgba(124,92,252,0.15);
}
.btn-secondary:hover {
  background: rgba(124,92,252,0.14);
  border-color: rgba(124,92,252,0.3);
  transform: translateY(-2px);
  color: var(--purple-600);
}

.btn-outline-white {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--purple-700);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  color: var(--purple-700);
}

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ========================================= */
/*  NAVBAR                                   */
/* ========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(248,247,252,0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(124,92,252,0.06);
  transition: var(--transition);
  max-width: 100vw;
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(124,92,252,0.06);
  background: rgba(248,247,252,0.92);
}

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

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 36px;
  width: auto;
}

.footer-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

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

.navbar-nav a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.88rem;
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}
.navbar-nav a:hover,
.navbar-nav a.active { color: var(--purple-700); }

.navbar-cta .btn { padding: 10px 22px; font-size: 0.85rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--purple-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================= */
/*  HERO                                     */
/* ========================================= */
.hero {
  padding: 110px 0 40px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(170deg, #f0ecff 0%, #f8f5ff 35%, #fdf2f8 65%, #f8f7fc 100%);
  position: relative;
  overflow: hidden;
}

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

.hero-content .overline { margin-bottom: 16px; }

.hero-content h1 {
  margin-bottom: 20px;
  line-height: 1.12;
}

.hero-content .hero-desc {
  color: var(--text-light);
  font-size: 0.98rem;
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 480px;
}

/* Hero image area */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

/* Glass cards floating on hero */
.hero-glass-card {
  position: absolute;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-glass);
  z-index: 3;
  animation: gentleFloat 6s ease-in-out infinite;
}

.hero-glass-card.hgc-1 { bottom: 12%; left: -8%; animation-delay: 0s; }
.hero-glass-card.hgc-2 { top: 8%; right: -5%; animation-delay: 2s; }
.hero-glass-card.hgc-3 { bottom: 40%; right: -12%; animation-delay: 4s; }

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hgc-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}

.hgc-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--purple-700);
}

.hgc-value.green { color: #22c55e; }
.hgc-value.pink { color: var(--pink-500); }

/* Soft decorative orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(124,92,252,0.12), transparent 70%);
  top: -5%; right: -5%;
}
.orb-2 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(244,114,182,0.1), transparent 70%);
  bottom: -10%; left: -8%;
}

/* ========================================= */
/*  STATS / SOCIAL PROOF                     */
/* ========================================= */
.stats-section {
  padding: 48px 0;
  position: relative;
  z-index: 2;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.stat-glass {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.stat-glass:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.stat-value {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================= */
/*  CHALLENGES — BENTO GRID                  */
/* ========================================= */
.challenges-section {
  padding: 100px 0;
  background: var(--bg);
  overflow: hidden;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 48px;
}

.bento-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* Span cards */
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-2.bento-right { grid-column: 2 / 4; }

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bento-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Color variants for bento icons */
.bento-icon.purple { background: var(--purple-100); }
.bento-icon.pink { background: var(--pink-200); }
.bento-icon.blue { background: #dbeafe; }
.bento-icon.green { background: #d1fae5; }
.bento-icon.amber { background: #fef3c7; }

/* SVG icon placeholders when no img */
.bento-icon svg {
  width: 22px;
  height: 22px;
}

.bento-card h4 {
  color: var(--purple-800);
  font-size: 1rem;
  line-height: 1.3;
}

.bento-card p {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.6;
}

.section-closing {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  color: var(--text-light);
  padding: 28px 36px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(124,92,252,0.06);
  line-height: 1.8;
}

/* ========================================= */
/*  VALUE PROP                               */
/* ========================================= */
.value-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f5f3ff 0%, var(--bg) 100%);
}

.value-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}

.value-image {
  position: relative;
}

.value-image img {
  width: 100%;
  max-width: 580px;
  height: auto;
  transform: scale(1.1);
  transform-origin: center center;
}

.value-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-dot {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-100), var(--pink-100));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-dot img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.value-item h4 {
  margin-bottom: 4px;
  color: var(--purple-800);
}

.value-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================= */
/*  PROCESS / HOW IT WORKS                   */
/* ========================================= */
.process-section {
  padding: 100px 0;
  background: var(--bg);
}

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

.process-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(124,92,252,0.3);
}

.process-step h4 {
  color: var(--purple-800);
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.process-step p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========================================= */
/*  CTA BANNER                               */
/* ========================================= */
.cta-section { padding: 40px 0 100px; }

.cta-banner {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  border-radius: var(--radius-2xl);
  padding: 64px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-text {
  color: rgba(255,255,255,0.75);
  font-size: 1.02rem;
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.cta-banner .btn-group {
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ========================================= */
/*  PAGE HEADER (inner pages)                */
/* ========================================= */
.page-header {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(170deg, #f0ecff 0%, #f8f5ff 40%, #fdf2f8 70%, #f8f7fc 100%);
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  position: relative; z-index: 1;
  margin-bottom: 16px;
  max-width: 740px;
  margin-left: auto; margin-right: auto;
}

.page-header .lead {
  position: relative; z-index: 1;
  margin: 0 auto;
}

/* ========================================= */
/*  FEATURES PAGE                            */
/* ========================================= */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(124,92,252,0.06);
}
.feature-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.feature-block:nth-child(even) { direction: rtl; }
.feature-block:nth-child(even) > * { direction: ltr; }

.feature-content h3 {
  margin-bottom: 16px;
  color: var(--purple-800);
  font-size: 1.3rem;
  line-height: 1.3;
}

.feature-content p {
  color: var(--text-light);
  font-size: 0.98rem;
  line-height: 1.8;
}

.feature-visual {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-50), var(--pink-100));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Areas */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.area-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.area-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
  color: #fff;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.area-card h4 { margin-bottom: 6px; color: var(--purple-800); }

.area-question {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.area-insight {
  color: var(--text-light);
  font-size: 0.82rem;
  padding: 10px 12px;
  background: var(--purple-50);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--purple-300);
  line-height: 1.6;
}

.area-insight strong { color: var(--purple-600); font-weight: 700; }

/* ========================================= */
/*  ABOUT PAGE                               */
/* ========================================= */

/* Story section */
.about-story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.about-story-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about-story-block h2 {
  margin-bottom: 16px;
  font-size: 1.6rem;
}

.about-story-block p {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.8;
}

.about-story-visual {
  position: relative;
}

.about-story-visual img {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Team v2 — horizontal cards */
.team-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card-v2 {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.team-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.team-card-v2-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(124,92,252,0.06);
}

.team-avatar-v2 {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(124,92,252,0.12);
}

.team-info-v2 h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--purple-800);
}

.team-card-v2 > p {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* Keep old classes for compatibility */
.team-avatar {
  width: 88px; height: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  position: relative; z-index: 1;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(124,92,252,0.12);
}

.team-avatar-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--purple-400), var(--pink-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  font-weight: 800;
}

.team-card h3 { margin-bottom: 6px; color: var(--purple-800); position: relative; z-index: 1; font-size: 1.05rem; }

.team-role {
  display: inline-block;
  padding: 3px 14px;
  background: linear-gradient(135deg, var(--purple-100), var(--pink-100));
  color: var(--purple-600);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
  position: relative; z-index: 1;
}

.team-card > p { color: var(--text-light); font-size: 0.88rem; line-height: 1.7; position: relative; z-index: 1; }

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 16px;
}

.mv-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.mv-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }

.mv-card h3 { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }

.mv-card p { color: var(--text-light); font-size: 1rem; line-height: 1.8; }

.mv-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(124,92,252,0.25);
}

.mv-icon img {
  width: 24px; height: 24px;
  filter: brightness(0) invert(1);
}

/* ========================================= */
/*  CONTACT PAGE                             */
/* ========================================= */
.contact-section {
  padding-top: 0;
}

.contact-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.contact-form {
  background: var(--bg-card);
  border-radius: var(--radius-2xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-heavy);
  border: 1px solid var(--border);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--purple-900);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(124,92,252,0.12);
  font-size: 1rem;
  color: var(--text);
  font-family: inherit;
  background: var(--bg);
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(124,92,252,0.1);
  background: #fff;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%235b3dbf' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

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

.form-consent label {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400 !important;
  font-size: 0.88rem !important;
  color: var(--text-light) !important;
  cursor: pointer;
  line-height: 1.5;
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--purple-500);
  cursor: pointer;
}

.contact-submit {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
  font-size: 1.05rem;
  margin-top: 8px;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,92,252,0.25);
}

@media (max-width: 768px) {
  .contact-form {
    padding: 32px 24px;
  }
}

/* ========================================= */
/*  PRICING                                  */
/* ========================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.pricing-card.popular {
  border-color: var(--purple-300);
  box-shadow: var(--shadow-heavy), 0 0 0 1px var(--purple-200);
  transform: scale(1.04);
}

.pricing-card.popular:hover {
  transform: scale(1.04) translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
  color: #fff;
  padding: 5px 20px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-tier-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-tier-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
}

.pricing-card h3 { text-align: center; margin-bottom: 6px; color: var(--purple-800); }

.pricing-price {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(124,92,252,0.06);
}

.pricing-old-price {
  display: block;
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--pink-600);
  text-decoration-thickness: 2px;
  font-weight: 600;
  margin-bottom: 6px;
}

.pricing-amount {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--purple-600);
  letter-spacing: -1px;
}

.pricing-netto {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
}

.pricing-discount-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink-600), var(--purple-500));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin: 0 auto 12px;
  text-align: center;
  letter-spacing: 0.5px;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.pricing-features { margin-bottom: 28px; }

.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.pricing-features li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-400), var(--purple-500));
  display: flex;
  align-items: center;
  justify-content: center;
  /* Checkmark via CSS */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.5 4.5l-7 7L3 8' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.pricing-card .btn { width: 100%; justify-content: center; }

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

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.blog-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Gradient placeholder when no image */
.blog-card-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card:nth-child(1) .blog-card-image.placeholder { background: linear-gradient(135deg, var(--purple-200), var(--purple-100)); }
.blog-card:nth-child(2) .blog-card-image.placeholder { background: linear-gradient(135deg, var(--pink-200), var(--purple-100)); }
.blog-card:nth-child(3) .blog-card-image.placeholder { background: linear-gradient(135deg, var(--purple-100), var(--pink-200)); }
.blog-card:nth-child(4) .blog-card-image.placeholder { background: linear-gradient(135deg, var(--pink-200), var(--pink-100)); }
.blog-card:nth-child(5) .blog-card-image.placeholder { background: linear-gradient(135deg, var(--purple-200), var(--pink-200)); }
.blog-card:nth-child(6) .blog-card-image.placeholder { background: linear-gradient(135deg, var(--purple-100), var(--purple-200)); }

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

.blog-tag {
  display: inline-block;
  padding: 3px 12px;
  background: var(--purple-100);
  color: var(--purple-600);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.4; color: var(--purple-800); }
.blog-card p { color: var(--text-light); font-size: 0.88rem; margin-bottom: 14px; line-height: 1.7; }

.blog-read-more {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--purple-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-read-more .arrow { transition: var(--transition); display: inline-block; }
.blog-read-more:hover .arrow { transform: translateX(4px); }

/* Blog skeleton loading */
.blog-skeleton { pointer-events: none; }

.skeleton-line {
  background: linear-gradient(90deg, var(--purple-50) 25%, var(--purple-100) 50%, var(--purple-50) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 8px;
}

.skeleton-tag { width: 80px; height: 20px; margin-bottom: 14px; }
.skeleton-title { width: 100%; height: 22px; margin-bottom: 10px; }
.skeleton-text { width: 85%; height: 16px; }

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Newsletter section */
.newsletter-section {
  padding: 40px 0 100px;
}

.newsletter-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-2xl);
  padding: 56px 48px;
  box-shadow: var(--shadow-heavy);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 120px;
  background: radial-gradient(ellipse at center, rgba(124,92,252,0.12) 0%, rgba(244,114,182,0.06) 100%);
  filter: blur(40px);
  pointer-events: none;
}

.newsletter-header {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.newsletter-header h2 {
  margin-bottom: 0;
}

.newsletter-divider {
  height: 3px;
  width: 80px;
  margin: 16px auto 20px;
  background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
  border-radius: 3px;
}

.newsletter-header p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-input-row {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.newsletter-input-row input[type="email"] {
  flex: 1;
  padding: 15px 20px;
  border: 1.5px solid rgba(124,92,252,0.15);
  border-right: none;
  border-radius: var(--radius-full) 0 0 var(--radius-full);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: var(--transition);
}

.newsletter-input-row input[type="email"]:focus {
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(124,92,252,0.08);
  background: #fff;
}

.newsletter-input-row input[type="email"]::placeholder {
  color: var(--text-muted);
}

.newsletter-input-row .btn {
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  white-space: nowrap;
  padding: 15px 28px;
}

.newsletter-consent {
  margin-top: 16px;
}

.newsletter-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-light);
  cursor: pointer;
  text-align: left;
  line-height: 1.5;
}

.newsletter-consent input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--purple-500);
  cursor: pointer;
}

.newsletter-consent a {
  color: var(--purple-500);
  font-weight: 600;
}

.newsletter-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.newsletter-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

@media (max-width: 768px) {
  .newsletter-card {
    padding: 40px 28px;
  }

  .newsletter-input-row {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-input-row input[type="email"] {
    border-right: 1.5px solid rgba(124,92,252,0.15);
    border-radius: var(--radius-full);
  }

  .newsletter-input-row input[type="email"]:focus {
    border-color: var(--purple-500);
  }

  .newsletter-input-row .btn {
    border-radius: var(--radius-full);
    width: 100%;
    justify-content: center;
  }

  .newsletter-trust {
    flex-direction: column;
    gap: 12px;
  }
}
.blog-read-more:hover { color: var(--purple-700); }

/* ========================================= */
/*  FOOTER                                   */
/* ========================================= */
.footer {
  background: var(--purple-900);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 28px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-500), var(--pink-500), transparent);
}

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

.footer-brand { font-size: 1.4rem; font-weight: 900; color: #fff; margin-bottom: 14px; }
.footer-brand span { color: var(--pink-400); }
.footer-desc { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }

.footer h4 {
  color: #fff;
  font-size: 0.78rem;
  margin-bottom: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer ul li { margin-bottom: 8px; }
.footer ul a { color: rgba(255,255,255,0.5); font-size: 0.88rem; }
.footer ul a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition);
}
.footer-social a:hover {
  background: linear-gradient(135deg, var(--purple-500), var(--pink-500));
  color: #fff;
  transform: translateY(-2px);
}

/* ========================================= */
/*  RESPONSIVE                               */
/* ========================================= */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content .btn-group { justify-content: center; }
  .hero-content .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-visual { order: -1; max-width: 440px; margin: 0 auto; }

  .value-grid,
  .process-grid,
  .feature-block,
  .about-intro,
  .about-story { grid-template-columns: 1fr; gap: 40px; }

  .feature-block:nth-child(even) { direction: ltr; }

  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span-2 { grid-column: span 1; }

  .team-grid,
  .team-grid-v2,
  .areas-grid,
  .pricing-grid,
  .blog-grid { grid-template-columns: repeat(2, 1fr); }

  .mission-vision { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .navbar-nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(248,247,252,0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 20px;
    gap: 14px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-glass);
  }
  .navbar-nav.active { display: flex; }
  .hamburger { display: flex; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .navbar-cta { display: none; }

  .bento-grid,
  .team-grid,
  .team-grid-v2,
  .areas-grid,
  .pricing-grid,
  .blog-grid { grid-template-columns: 1fr; }

  .bento-card.span-2,
  .bento-card.span-2.bento-right { grid-column: span 1; }
  .bento-card[style*="grid-column"] { grid-column: auto !important; }

  .stats-row { grid-template-columns: 1fr; max-width: 300px; }

  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-6px); }

  .cta-banner { padding: 40px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  section, .challenges-section, .value-section, .process-section { padding: 64px 0; }
  .hero-glass-card { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 100px 0 32px; min-height: auto; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}

/* ========================================= */
/*  ANIMATIONS                               */
/* ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
