/* ============================================
   BRIGHT TECHNO SOLUTIONS — ANIMATIONS & EXTRAS
   ============================================ */

/* ══ PORTFOLIO / WORK PAGE ══════════════════════════════════ */

/* Hero */
.work-hero { padding-bottom: 0; }
.work-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.work-hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
}
.work-hero__sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
}
.work-hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.work-stat {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.work-stat__value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.work-stat__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Filters */
.work-grid-section { padding-top: 56px; }
.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.work-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1.5px solid var(--surface-border);
  border-radius: 100px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.work-filter:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.work-filter--active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.work-filter--active .work-filter__count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.work-filter__count {
  background: var(--surface-mid);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 100px;
  min-width: 20px;
  text-align: center;
}

/* Project Grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59, 48, 158, 0.1);
}
.work-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.work-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}
.work-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.work-card__placeholder-icon { opacity: 0.45; }
.work-card__placeholder-icon svg { width: 36px; height: 36px; }
.work-card__placeholder-text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.4;
  color: #333;
}
.work-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.work-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.work-card__cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.work-card__cat-badge svg { width: 12px; height: 12px; }
.work-card__year {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}
.work-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 6px;
}
.work-card__link-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s, transform 0.18s;
  color: var(--primary);
}
.work-card:hover .work-card__link-arrow {
  opacity: 1;
  transform: translateX(0);
}
.work-card__tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.work-card__tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface-mid);
  border: 1px solid var(--surface-border);
  padding: 3px 9px;
  border-radius: 100px;
}

/* CTA section */
.work-cta-section { background: var(--surface); border-top: 1px solid var(--surface-border); }
.work-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.work-cta__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
}
.work-cta__text p { color: var(--text-secondary); max-width: 440px; }
.work-cta__actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1024px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .work-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .work-hero__stats { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-cta { flex-direction: column; align-items: flex-start; }
}

/* --- Logo --- */
.nav__logo {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav__logo-tile {
  background: var(--primary);
  border-radius: 10px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  animation: logoFloat 3s ease-in-out infinite;
  transition: filter 0.2s ease;
  overflow: hidden;
}
.nav__logo-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,0.28) 50%, transparent 75%);
  background-size: 250% 100%;
  background-position: 250% 0;
  transition: background-position 0.5s ease;
  pointer-events: none;
}
.nav__logo:hover .nav__logo-tile {
  animation-play-state: paused;
  filter: brightness(1.12);
}
.nav__logo:hover .nav__logo-tile::after {
  background-position: -250% 0;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
}
.nav__logo-img {
  height: 34px;
  width: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* --- WhatsApp Start Project Button Default -- */
.btn-whatsapp-project {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-whatsapp-project:hover {
  background: var(--primary-dark, #5c3fd1);
  transform: translateY(-1px);
}
.btn-whatsapp-project svg {
  color: #25D366;
  flex-shrink: 0;
}

/* Original WhatsApp button (green) - kept for compatibility */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
}

/* --- Logo mobile fix --- */
@media (max-width: 768px) {
  .nav__logo {
    flex-shrink: 0;
  }
  .nav__logo-tile {
    animation: none;
    padding: 6px 10px;
    flex-shrink: 0;
  }
  .nav__logo-img {
    height: 28px;
    width: auto;
    display: block;
  }
  /* Hide CTA button text on mobile, show glowing rounded icon */
  .btn-whatsapp-project {
    padding: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0; /* hide text */
    gap: 0;
    animation: waPulse 2s infinite;
  }
  .btn-whatsapp-project svg {
    width: 22px;
    height: 22px;
    fill: #fff !important;
  }
  @keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
  }
  /* Nav actions gap */
  .nav__actions { gap: 10px; }
}

/* ============================================
   CHALKBOARD IMS SECTION
   ============================================ */
.chalkboard-section { padding: 80px 0; background: var(--bg); }

/* Wrapper matches vidyaflow-section border-radius */
.chalkboard-wrapper {
  border-radius: 24px;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,0.22);
}

/* The green board itself — matching vidyaflow-section gradient + chalk-line texture */
.chalkboard {
  background: linear-gradient(135deg, #0d2810 0%, #1a4520 40%, #112914 100%);
  border-radius: 24px;
  padding: 56px 56px 52px;
  position: relative;
  min-height: 480px;
}
.chalkboard::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 24px;
  background-image: repeating-linear-gradient(0deg, transparent 0px, transparent 31px, rgba(255,255,255,0.03) 31px, rgba(255,255,255,0.03) 32px);
  pointer-events: none;
}

/* Chalk typography — clean sans-serif with chalk depth treatment */
.chalk-text {
  font-family: var(--font-display);
  color: rgba(255,255,255,0.88);
  text-shadow: 0.5px 0.5px 1px rgba(0,0,0,0.4);
  letter-spacing: 0.01em;
}
.chalk-heading {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em;
  color: rgba(255,255,255,0.97);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.45), 2px 2px 6px rgba(0,0,0,0.3);
  margin-bottom: 32px;
}
.chalk-heading .accent-chalk {
  color: #86f8b4;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.35), 2px 2px 5px rgba(0,0,0,0.25);
}
.chalk-line {
  height: 1.5px;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.25) 0px, rgba(255,255,255,0.1) 4px, rgba(255,255,255,0.25) 8px);
  border-radius: 1px;
  margin: 28px 0;
}

/* Override IMS elements inside board */
.chalkboard .ims-feature { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.chalkboard .ims-feature__title { color: rgba(255,255,255,0.95); }
.chalkboard .ims-tab { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.55); }
.chalkboard .ims-tab.active,
.chalkboard .ims-tab:hover { border-color: var(--green-light); color: var(--green-light); background: rgba(134,248,201,0.1); }
.chalkboard .ims-spotlight__inner { gap: 56px; }
.chalkboard .btn-green { box-shadow: 0 0 24px rgba(0,108,78,0.4); }

@media (max-width: 768px) {
  .chalkboard { padding: 32px 24px; }
  .chalk-heading { font-size: 28px; }
  .chalkboard .ims-spotlight__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   SERVICE SUB-PAGES
   ============================================ */
.svc-hero { padding: 80px 0 72px; background: var(--bg); border-bottom: 1px solid var(--surface-border); overflow: hidden; position: relative; }
.svc-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.svc-hero__tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary-tag-text); background: var(--primary-light); padding: 6px 12px; border-radius: 100px; margin-bottom: 20px; }
.svc-hero__heading { font-family: var(--font-display); font-size: 56px; font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; color: var(--text-primary); margin-bottom: 20px; }
.svc-hero__heading .accent { color: var(--primary); font-style: italic; }
.svc-hero__sub { font-size: 17px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 36px; }
.svc-stats { display: flex; gap: 40px; padding: 28px 0; border-top: 1px solid var(--surface-border); margin-top: 36px; }
.svc-stat { display: flex; flex-direction: column; }
.svc-stat-num { font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.svc-stat-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.svc-hero__visual { display: flex; justify-content: center; align-items: center; }
.svc-visual-card { width: 100%; max-width: 460px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,0.10); }
.svc-features { display: flex; flex-direction: column; gap: 24px; }
.svc-feature { display: flex; align-items: flex-start; gap: 20px; }
.svc-feature__num { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-light); display: grid; place-items: center; font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--primary); flex-shrink: 0; }
.svc-feature__title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.svc-feature__desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.tech-stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tech-pill { font-size: 13px; font-weight: 600; color: var(--text-primary); background: var(--surface); border: 1.5px solid var(--surface-border); padding: 6px 14px; border-radius: 100px; }
.svc-highlights { background: var(--dark); color: white; padding: var(--section-py) 0; }
.svc-highlights__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.svc-highlight-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md); padding: 32px; transition: background 0.2s; }
.svc-highlight-card:hover { background: rgba(255,255,255,0.08); }
.svc-highlight-card__icon { font-size: 28px; margin-bottom: 16px; }
.svc-highlight-card__title { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.svc-highlight-card__desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* Marquee */
.marquee-strip { background: var(--primary); padding: 14px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; will-change: transform; }
.marquee-item { display: inline-flex; align-items: center; gap: 16px; padding: 0 32px; font-family: var(--font-display); font-size: 15px; font-weight: 700; color: white; letter-spacing: 0.02em; }
.marquee-item::after { content: '✦'; opacity: 0.4; }

/* ============================================
   SERVICE PAGE — CONTENT LAYOUT
   ============================================ */
.svc-hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.svc-hero__content { max-width: 560px; }
.svc-hero__heading { font-family: var(--font-display); font-size: 52px; font-weight: 800; line-height: 1.07; letter-spacing: -0.02em; color: var(--text-primary); margin-bottom: 20px; }
.svc-hero__sub { font-size: 17px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 32px; }
.svc-stat__num { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.svc-stat__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }

/* Approach section */
.svc-approach { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.svc-approach__text h2 { font-family: var(--font-display); font-size: 36px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--text-primary); margin: 12px 0 16px; }
.svc-approach__text p { font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 14px; }
.tech-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tech-pill { font-size: 13px; font-weight: 600; color: var(--text-primary); background: var(--surface); border: 1.5px solid var(--surface-border); padding: 6px 14px; border-radius: 100px; }
.svc-approach__features { display: flex; flex-direction: column; gap: 24px; }
.svc-feature-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--surface-border); border-radius: var(--radius-md); transition: border-color 0.2s, box-shadow 0.2s; }
.svc-feature-item:hover { border-color: var(--primary); box-shadow: 0 4px 20px rgba(59,48,158,0.08); }
.svc-feature-icon { font-size: 22px; flex-shrink: 0; width: 44px; height: 44px; background: var(--primary-light); border-radius: 10px; display: grid; place-items: center; }
.svc-feature-item h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.svc-feature-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; margin: 0; }

/* Highlights section (override card child selectors) */
.svc-highlight-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.svc-highlight-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; margin: 0; }

/* Services overview card link */
.service-full-card__link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--primary); margin-top: 14px; transition: gap 0.2s; text-decoration: none; }
.service-full-card__link:hover { gap: 10px; }

/* Hero visual mockups */
.svc-hero__mockup { width: 100%; max-width: 420px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.12); border: 1px solid #e8e8e8; }
.mockup-bar { background: #f5f5f5; padding: 10px 14px; display: flex; gap: 6px; border-bottom: 1px solid #ebebeb; }
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ddd; display: block; }
.mockup-bar span:first-child { background: #ff5f56; }
.mockup-bar span:nth-child(2) { background: #ffbd2e; }
.mockup-bar span:last-child { background: #27c93f; }
.mockup-content { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.mockup-line { height: 14px; background: #f0f0f0; border-radius: 7px; }
.mockup-line--wide { width: 100%; }
.mockup-line--medium { width: 65%; }
.mockup-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 4px; }
.mockup-card { height: 80px; background: var(--primary-light); border-radius: 8px; }

/* Phone mockup */
.svc-hero__phone-mockup { display: flex; justify-content: center; }
.phone-frame { width: 200px; background: var(--dark); border-radius: 32px; padding: 12px; box-shadow: 0 24px 60px rgba(0,0,0,0.18); }
.phone-screen { background: #fff; border-radius: 22px; overflow: hidden; min-height: 360px; display: flex; flex-direction: column; }
.phone-status-bar { height: 20px; background: var(--primary); }
.phone-content { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.phone-line { height: 10px; background: #f0f0f0; border-radius: 5px; }
.phone-line--wide { width: 100%; }
.phone-line--medium { width: 70%; }
.phone-line--short { width: 45%; }
.phone-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0; }
.phone-card { height: 70px; background: var(--primary-light); border-radius: 10px; }
.phone-nav-bar { height: 48px; background: #f8f8f8; border-top: 1px solid #ebebeb; display: flex; justify-content: space-around; align-items: center; padding: 0 20px; }

/* Cloud diagram */
.svc-hero__cloud-mockup { display: flex; justify-content: center; align-items: center; }
.cloud-diagram { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cloud-node { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cloud-node--primary { width: 80px; height: 80px; background: var(--primary); border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #fff; font-size: 24px; box-shadow: 0 8px 30px rgba(59,48,158,0.3); }
.cloud-node--primary .cloud-node-label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.8); }
.cloud-connections { display: flex; gap: 20px; }
.cloud-node--secondary { width: 60px; height: 60px; background: var(--surface); border: 1.5px solid var(--surface-border); border-radius: 14px; display: flex; flex-direction: column; justify-content: center; align-items: center; font-size: 18px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.cloud-node--secondary .cloud-node-label { font-size: 9px; font-weight: 700; color: var(--text-muted); text-align: center; }

/* Brand mockup */
.svc-hero__brand-mockup { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 16px; }
.brand-palette { display: flex; gap: 10px; }
.brand-swatch { width: 52px; height: 52px; border-radius: 12px; }
.brand-logo-mock { background: var(--surface); border: 1px solid var(--surface-border); border-radius: 12px; padding: 20px; display: flex; gap: 16px; align-items: center; }
.brand-logo-circle { width: 48px; height: 48px; background: var(--primary); border-radius: 50%; flex-shrink: 0; }
.brand-logo-text { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.brand-logo-line { height: 12px; background: #e0e0e0; border-radius: 6px; }
.brand-logo-line--name { width: 80%; }
.brand-logo-line--tagline { width: 55%; }
.brand-typography-mock { background: var(--surface); border: 1px solid var(--surface-border); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.brand-type-large { height: 28px; background: var(--primary-light); border-radius: 8px; width: 60%; }
.brand-type-small { height: 12px; background: #ebebeb; border-radius: 6px; }
.brand-type-small--narrow { width: 75%; }

/* Design mockup */
.svc-hero__design-mockup { position: relative; }
.design-frame--desktop { width: 100%; max-width: 420px; background: #f5f5f5; border-radius: 12px; overflow: hidden; border: 1px solid #e0e0e0; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.design-screen { display: flex; height: 280px; }
.design-sidebar { width: 64px; background: var(--dark); flex-shrink: 0; }
.design-main { flex: 1; background: #fff; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.design-header-bar { height: 32px; background: var(--primary-light); border-radius: 6px; }
.design-content-block { height: 80px; background: #f5f5f5; border-radius: 6px; }
.design-content-block--short { height: 50px; width: 60%; }
.design-cursor { position: absolute; bottom: 40px; right: 40px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2)); }

/* ============================================
   NAV DROPDOWN
   ============================================ */
.nav__has-dropdown { position: relative; }

.nav__dropdown-label {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 15px; font-weight: 600; color: var(--text-primary);
  cursor: default; user-select: none; padding: 4px 0;
  transition: color 0.2s;
}
.nav__dropdown-label:hover { color: var(--primary); }
.nav__chevron { transition: transform 0.25s ease; flex-shrink: 0; }
.nav__has-dropdown:hover .nav__chevron { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #fff; border: 1px solid var(--surface-border);
  border-radius: var(--radius-md); padding: 8px;
  min-width: 290px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.06);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
/* Bridge gap between label and dropdown so hover doesn't drop */
.nav__dropdown::before {
  content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.nav__has-dropdown:hover .nav__dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 8px;
  text-decoration: none; color: inherit;
  transition: background 0.15s;
}
.nav__dropdown a:hover { background: var(--primary-light); }
.nav__dropdown-icon {
  font-size: 18px; width: 38px; height: 38px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: 9px; display: grid; place-items: center;
}
.nav__dropdown a strong { font-size: 13px; font-weight: 700; color: var(--text-primary); display: block; line-height: 1.3; }
.nav__dropdown a em { font-size: 11px; font-style: normal; color: var(--text-muted); display: block; line-height: 1.3; margin-top: 2px; }
.nav__dropdown-footer { border-top: 1px solid var(--surface-border); margin-top: 6px; padding-top: 6px; }
.nav__dropdown-footer a {
  font-size: 13px; font-weight: 700; color: var(--primary);
  padding: 8px 12px; border-radius: 8px; display: block;
}
.nav__dropdown-footer a:hover { background: var(--primary-light); }

/* Mobile dropdown */
@media (max-width: 768px) {
  .nav__has-dropdown {
    width: 100%;
    border-bottom: 1px solid var(--surface-border);
  }
  .nav__dropdown-label {
    width: 100%;
    padding: 12px 8px;
    justify-content: flex-start; 
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
  }
  /* Reset desktop absolute dropdown for mobile */
  .nav__dropdown {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: hidden;
    pointer-events: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    min-width: unset;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  .nav__has-dropdown.mobile-open .nav__dropdown {
    visibility: visible;
    pointer-events: auto;
    max-height: 500px;
    padding: 4px 8px 12px;
    background: var(--surface);
    border-radius: 10px;
    margin-bottom: 8px;
  }
  .nav__has-dropdown.mobile-open .nav__chevron { transform: rotate(180deg); }
  /* Dropdown items in mobile */
  .nav__dropdown a {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
  }
  .nav__dropdown-footer { display: block; }
  .nav__dropdown-footer a { font-size: 13px; }
}


/* ============================================
   RESPONSIVE (service pages)
   ============================================ */
@media (max-width: 768px) {
  .svc-hero .container { grid-template-columns: 1fr; gap: 40px; }
  .svc-hero__heading { font-size: 38px; }
  .svc-hero__visual, .svc-hero__phone-mockup, .svc-hero__cloud-mockup, .svc-hero__brand-mockup, .svc-hero__design-mockup { display: none; }
  .svc-highlights__grid { grid-template-columns: 1fr; }
  .svc-approach { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   DUAL CTA CARD (service page variant)
   ============================================ */
.dual-cta__card {
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dual-cta__card h2 {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 800; line-height: 1.15;
}
.dual-cta__card p {
  font-size: 16px; line-height: 1.7; opacity: 0.78; margin: 0;
}
.dual-cta__card--primary {
  background: var(--dark); color: white;
}
.dual-cta__card--secondary {
  background: var(--surface); color: var(--text-primary);
  border: 1px solid var(--surface-border);
}
.dual-cta__card--secondary h2 { color: var(--text-primary); }
.dual-cta__card--secondary p { color: var(--text-secondary); opacity: 1; }

/* Service pages: .dual-cta directly wraps .dual-cta__card items */
.dual-cta:has(.dual-cta__card) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 768px) {
  .dual-cta:has(.dual-cta__card) { grid-template-columns: 1fr; }
  .dual-cta__card { padding: 40px 28px; }
}

/* ============================================
   HERO SECTION ANIMATIONS
   ============================================ */

/* --- Entrance: slide from right + fade --- */
@keyframes heroSlideIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
/* --- Gentle float idle animation --- */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
/* --- Progress bar grow --- */
@keyframes barGrow {
  from { width: 0; }
  to   { width: 100%; }
}
/* --- Stagger scale-in for swatches/cards --- */
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}
/* --- Typing cursor blink --- */
@keyframes blink {
  0%, 100% { opacity: 1; } 50% { opacity: 0; }
}
/* --- Phone float --- */
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-10px) rotate(-2deg); }
}
/* --- Cloud node pulse --- */
@keyframes nodePulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(59,48,158,0.3); }
  50%       { box-shadow: 0 8px 40px rgba(59,48,158,0.55); }
}

/* APPLY: Browser mockup (web dev) */
.svc-hero__mockup {
  animation: heroSlideIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.3s both, heroFloat 4s ease-in-out 1.2s infinite;
}
.mockup-line--wide  { animation: barGrow 0.9s ease 0.8s both; }
.mockup-line--medium { animation: barGrow 0.7s ease 1.0s both; }
.mockup-card:nth-child(1) { animation: scaleIn 0.5s ease 1.1s both; }
.mockup-card:nth-child(2) { animation: scaleIn 0.5s ease 1.25s both; }
.mockup-card:nth-child(3) { animation: scaleIn 0.5s ease 1.40s both; }

/* Typing cursor on mockup */
.mockup-content::after {
  content: '|';
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  margin-left: 4px;
  animation: blink 1s step-end infinite 1.8s both;
}

/* APPLY: Phone mockup (mobile) */
.phone-frame {
  animation: heroSlideIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.3s both, phoneFloat 5s ease-in-out 1.2s infinite;
}
.phone-line--wide  { animation: barGrow 0.8s ease 0.9s both; }
.phone-line--medium { animation: barGrow 0.6s ease 1.05s both; }
.phone-line--short  { animation: barGrow 0.5s ease 1.15s both; }
.phone-card:nth-child(1) { animation: scaleIn 0.45s ease 1.2s both; }
.phone-card:nth-child(2) { animation: scaleIn 0.45s ease 1.35s both; }

/* APPLY: Brand palette (branding) */
.svc-hero__brand-mockup {
  animation: heroSlideIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.3s both, heroFloat 4.5s ease-in-out 1.2s infinite;
}
.brand-swatch:nth-child(1) { animation: scaleIn 0.4s ease 0.7s both; }
.brand-swatch:nth-child(2) { animation: scaleIn 0.4s ease 0.85s both; }
.brand-swatch:nth-child(3) { animation: scaleIn 0.4s ease 1.0s both; }
.brand-swatch:nth-child(4) { animation: scaleIn 0.4s ease 1.15s both; }
.brand-logo-mock           { animation: scaleIn 0.5s ease 1.3s both; }
.brand-typography-mock     { animation: scaleIn 0.5s ease 1.5s both; }

/* APPLY: Cloud diagram */
.cloud-diagram {
  animation: heroSlideIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.3s both;
}
.cloud-node--primary {
  animation: nodePulse 3s ease-in-out 1.5s infinite;
}
.cloud-connections .cloud-node--secondary:nth-child(1) { animation: scaleIn 0.45s ease 0.9s both; }
.cloud-connections .cloud-node--secondary:nth-child(2) { animation: scaleIn 0.45s ease 1.05s both; }
.cloud-connections .cloud-node--secondary:nth-child(3) { animation: scaleIn 0.45s ease 1.20s both; }

/* APPLY: Design / UX mockup */
.svc-hero__design-mockup {
  animation: heroSlideIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.3s both, heroFloat 4s ease-in-out 1.2s infinite;
}
.design-header-bar        { animation: barGrow 0.7s ease 0.9s both; }
.design-content-block:nth-child(2) { animation: scaleIn 0.5s ease 1.1s both; }
.design-content-block--short       { animation: scaleIn 0.5s ease 1.25s both; }

/* About page hero visual */
.page-hero__visual > div {
  animation: heroSlideIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.4s both;
}

/* ============================================
   PORTFOLIO / SHOWCASE CARDS
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.portfolio-card:hover {
  box-shadow: 0 12px 40px rgba(59,48,158,0.10);
  transform: translateY(-4px);
}
.portfolio-card__preview {
  height: 180px;
  background: #f5f5f5;
  border-bottom: 1px solid var(--surface-border);
  display: flex; flex-direction: column;
  overflow: hidden; position: relative;
}
.portfolio-card__body {
  padding: 20px 24px 24px;
}
.portfolio-card__tag {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--primary); background: var(--primary-light);
  padding: 4px 10px; border-radius: 100px; margin-bottom: 10px;
}
.portfolio-card__title {
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 6px;
}
.portfolio-card__url {
  font-size: 13px; color: var(--primary); font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px; margin-bottom: 10px;
}
.portfolio-card__url:hover { text-decoration: underline; }
.portfolio-card__desc {
  font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0;
}

/* Mini browser mockup inside portfolio card */
.mini-browser { width: 100%; height: 100%; }
.mini-browser__bar {
  background: #f0f0f0; padding: 7px 10px; display: flex; gap: 5px; align-items: center;
  border-bottom: 1px solid #e5e5e5;
}
.mini-browser__dot { width: 7px; height: 7px; border-radius: 50%; }
.mini-browser__dot:nth-child(1) { background: #ff5f56; }
.mini-browser__dot:nth-child(2) { background: #ffbd2e; }
.mini-browser__dot:nth-child(3) { background: #27c93f; }
.mini-browser__url {
  flex: 1; background: #e8e8e8; border-radius: 4px; height: 14px;
  margin: 0 8px; font-size: 10px; color: #888; display: flex; align-items: center;
  padding: 0 8px;
}
.mini-browser__content {
  padding: 10px; display: flex; flex-direction: column; gap: 7px; flex: 1;
}
.mini-browser__hero { height: 52px; border-radius: 6px; }
.mini-browser__row { height: 9px; background: #e8e8e8; border-radius: 5px; }
.mini-browser__row--short { width: 55%; }
.mini-browser__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mini-browser__card { height: 36px; border-radius: 6px; }

/* App showcase */
.app-showcase {
  background: var(--dark);
  border-radius: var(--radius-xl, 24px);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 48px;
}
.app-showcase__content .tag { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); margin-bottom: 20px; }
.app-showcase__title {
  font-family: var(--font-display); font-size: 36px; font-weight: 800; line-height: 1.15;
  color: #fff; margin-bottom: 16px; letter-spacing: -0.02em;
}
.app-showcase__desc { font-size: 16px; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 28px; }
.app-showcase__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.app-showcase__pill {
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 100px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.12);
}
.app-showcase__phones {
  display: flex; gap: 16px; justify-content: center; align-items: flex-end;
}
.app-phone {
  background: #1a1a2e;
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border: 1.5px solid rgba(255,255,255,0.08);
}
.app-phone--main { width: 160px; transform: rotate(-3deg); }
.app-phone--side { width: 130px; transform: rotate(5deg) translateY(16px); opacity: 0.8; }
.app-phone__screen {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 9/19;
}
.app-phone__screen--1 { background: linear-gradient(145deg, #6C63FF 0%, #3B309E 100%); }
.app-phone__screen--2 { background: linear-gradient(145deg, #1a1a2e 0%, #2d2d4e 100%); }
.app-screen-ui {
  padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; height: 100%;
}
.app-screen-topbar {
  height: 16px; background: rgba(255,255,255,0.15); border-radius: 4px; width: 60%; margin-bottom: 4px;
}
.app-screen-card {
  background: rgba(255,255,255,0.12); border-radius: 10px; padding: 10px;
  display: flex; flex-direction: column; gap: 5px;
}
.app-screen-card-line { height: 7px; background: rgba(255,255,255,0.25); border-radius: 4px; }
.app-screen-card-line--short { width: 55%; }
.app-screen-avatar { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.3); margin-bottom: 4px; }
.app-screen-btn {
  height: 28px; background: rgba(255,255,255,0.2); border-radius: 8px; margin-top: auto;
}

/* Animate app phones */
.app-phone--main { animation: heroFloat 5s ease-in-out 1s infinite; }
.app-phone--side { animation: heroFloat 5s ease-in-out 1.8s infinite; }

@media (max-width: 768px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .app-showcase { grid-template-columns: 1fr; gap: 36px; padding: 36px 24px; }
  .app-showcase__phones { transform: scale(0.9); }
}

/* ============================================
   LOGO PORTFOLIO (branding page)
   ============================================ */
.logo-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.logo-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.logo-card:hover {
  box-shadow: 0 10px 36px rgba(59,48,158,0.09);
  transform: translateY(-3px);
}
.logo-card__visual {
  height: 100px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  letter-spacing: -0.02em;
}
.logo-card__industry {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--text-muted); background: var(--bg);
  padding: 4px 10px; border-radius: 100px;
  border: 1px solid var(--surface-border);
}
.logo-card__name {
  font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--text-primary);
}
.logo-card__swatches { display: flex; gap: 6px; }
.logo-card__swatch { width: 18px; height: 18px; border-radius: 50%; }

@media (max-width: 768px) {
  .logo-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   TEAM SECTION (about page)
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.team-card:hover {
  box-shadow: 0 12px 40px rgba(59,48,158,0.09);
  transform: translateY(-4px);
}
.team-card__photo {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.team-card__initials {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 24px; font-weight: 800; color: white;
}
.team-card__body { padding: 24px; }
.team-card__role {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--primary); margin-bottom: 6px;
}
.team-card__name {
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  color: var(--text-primary); margin-bottom: 10px;
}
.team-card__bio {
  font-size: 14px; color: var(--text-secondary); line-height: 1.65;
}

/* ============================================
   TESTIMONIALS (about page)
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
  transition: box-shadow 0.25s;
}
.testimonial-card:hover { box-shadow: 0 8px 30px rgba(59,48,158,0.07); }
.testimonial-card__stars { display: flex; gap: 3px; }
.testimonial-card__star {
  color: #f59e0b; font-size: 14px;
}
.testimonial-card__quote {
  font-size: 15px; color: var(--text-primary); line-height: 1.75;
  font-style: italic; flex: 1;
}
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 16px; font-weight: 800; color: white;
  flex-shrink: 0;
}
.testimonial-card__info { display: flex; flex-direction: column; gap: 2px; }
.testimonial-card__name { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.testimonial-card__company { font-size: 13px; color: var(--text-muted); }

/* Intern testimonials (smaller variant) */
.intern-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.intern-card {
  background: var(--primary-light);
  border: 1px solid rgba(59,48,158,0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.intern-card__quote {
  font-size: 14px; color: var(--text-primary); line-height: 1.7; font-style: italic; margin-bottom: 20px;
}
.intern-card__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 14px; font-weight: 800; color: white;
  flex-shrink: 0;
}
.intern-card__name { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.intern-card__role { font-size: 12px; color: var(--text-muted); }

@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .intern-testimonials-grid { grid-template-columns: 1fr; }
}

/* ============================================
   VIDYAFLOW CHALK THEME (products page)
   ============================================ */
.vidyaflow-hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(134,248,201,0.15); border: 1px solid rgba(134,248,201,0.3);
  border-radius: 100px; padding: 8px 18px;
  font-family: var(--font-display); font-size: 15px; color: #9dffd1; margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.vidyaflow-title {
  font-family: var(--font-display);
  font-size: 52px; font-weight: 700; line-height: 1.15;
  color: #fff; margin-bottom: 16px; letter-spacing: 0.01em;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.5), 2px 2px 4px rgba(0,0,0,0.3);
}
.vidyaflow-title .accent-chalk { color: #9dffd1; }
.vidyaflow-section {
  background: linear-gradient(135deg, #1e3d12 0%, #2E5B1E 40%, #1a3610 100%);
  border-radius: var(--radius-xl, 24px);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}
.vidyaflow-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent 0px, transparent 31px, rgba(255,255,255,0.03) 31px, rgba(255,255,255,0.03) 32px);
  pointer-events: none;
}
@media (max-width: 768px) {
  .vidyaflow-title { font-size: 36px; }
  .vidyaflow-section { padding: 36px 24px; }
}

/* --- Also Explore (service cross-links) --- */
.also-explore {
  padding: 24px 0 0;
}
.also-explore__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 28px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
}
.also-explore__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.also-explore__pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.also-explore__pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.also-explore__pill:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

/* --- Coming Soon Product Cards --- */
.coming-soon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.coming-soon-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.coming-soon-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 6px 24px rgba(59,48,158,0.08);
  transform: translateY(-3px);
}
.coming-soon-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  width: fit-content;
}
.coming-soon-card__icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.coming-soon-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}
.coming-soon-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}
.coming-soon-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.15s;
}
.coming-soon-card__link:hover {
  opacity: 0.75;
}
@media (max-width: 768px) {
  .coming-soon-grid { grid-template-columns: 1fr; }
  .also-explore__inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ============================================================ */

/* --- Home testimonials grid --- */
.home-testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.home-testi-card {
  background: var(--bg);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.home-testi-card:hover {
  box-shadow: 0 6px 24px rgba(59,48,158,0.08);
  transform: translateY(-2px);
}
.home-testi-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
}
.home-testi-quote {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}
.home-testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--surface-border);
}
.home-testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.home-testi-avatar--img {
  object-fit: cover;
  display: block;
}
.home-testi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.home-testi-logo-wrap {
  display: flex;
  align-items: center;
}
.home-testi-logo-img {
  height: 28px;
  max-width: 100px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
}
.home-testi-logo-ph {
  height: 28px;
  min-width: 40px;
  background: var(--surface-border);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0 8px;
  letter-spacing: 0.5px;
}
.home-testi-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
}
.home-testi-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}
.home-testi-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

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

.blog-card {
  background: var(--bg);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover {
  box-shadow: 0 8px 32px rgba(59,48,158,0.09);
  transform: translateY(-3px);
}

.blog-card--placeholder { opacity: 0.85; }

.blog-card__img-wrap {
  background: var(--primary-light);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.blog-card__img-ph {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.blog-card__cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 100px;
  width: fit-content;
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}
.blog-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}
.blog-card__coming {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Service page hero mobile --- */
@media (max-width: 768px) {
  .svc-hero .container {
    flex-direction: column;
    gap: 32px;
  }
  .svc-hero__content { max-width: 100%; }
  .svc-hero__visual { display: none; }
  .svc-hero__heading { font-size: 36px; }
  .svc-stats { flex-wrap: wrap; gap: 16px; }

  .svc-approach { flex-direction: column; gap: 32px; }
  .svc-approach__text { max-width: 100%; }
  .svc-approach__features { grid-template-columns: 1fr; }

  .svc-highlights__grid { grid-template-columns: 1fr; }

  /* Portfolio grid mobile */
  .portfolio-grid { grid-template-columns: 1fr; }

  /* App showcase mobile */
  .app-showcase { flex-direction: column; gap: 32px; }
  .app-phone--side { display: none; }

  /* Logo portfolio mobile */
  .logo-portfolio-grid { grid-template-columns: repeat(2, 1fr); }

  /* Team grid mobile */
  .team-grid { grid-template-columns: 1fr; }

  /* Testimonials grids mobile */
  .testimonials-grid { grid-template-columns: 1fr; }
  .intern-testimonials-grid { grid-template-columns: 1fr; }

  /* Home testimonials mobile */
  .home-testi-grid { grid-template-columns: 1fr; }

  /* Also-explore mobile */
  .also-explore__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .also-explore__pills { flex-wrap: wrap; }

  /* Coming soon grid mobile */
  .coming-soon-grid { grid-template-columns: 1fr; }

  /* Dual CTA card mobile */
  .dual-cta { display: block; }
  .dual-cta__card { border-radius: var(--radius-md); padding: 32px 24px; }

  /* Products page mobile */
  .product-hero-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
  .vf-modules-grid, .ims-modules-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .institution-types { grid-template-columns: repeat(2, 1fr); }
  .vidyaflow-section { padding: 36px 24px; }
  .vidyaflow-title { font-size: 34px; }

  /* About page - intern card */
  .intern-testimonials-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Methodology mobile */
  .methodology__steps { grid-template-columns: 1fr; }

  /* Blog grid mobile */
  .blog-grid { grid-template-columns: repeat(2, 1fr); }

}

@media (max-width: 480px) {
  .hero__heading { font-size: 32px; }
  .page-hero__heading { font-size: 30px; }
  .section-title { font-size: 26px; }
  .svc-hero__heading { font-size: 30px; }
  .vf-modules-grid, .ims-modules-grid { grid-template-columns: repeat(2, 1fr); }
  .institution-types { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .logo-portfolio-grid { grid-template-columns: 1fr; }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .container { padding: 0 16px; }
  .contact-form-card { padding: 24px 16px; }
  .product-hero-card { padding: 24px 16px; }
  .vidyaflow-section { padding: 28px 16px; }
  .intern-card { padding: 20px; }
  /* Fix about page intern section dark card */
  [style*="grid-template-columns:1fr 1fr"]:has(.intern-card__avatar) {
    grid-template-columns: 1fr !important;
  }
}

/* Fix about intern section responsive (uses inline grid style) */
@media (max-width: 768px) {
  section .container [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  section .container [style*="display:grid;grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   VIDYAFLOW PAGE — SCHOOL / CHALK REALM
   ============================================================ */

/* Page hero — chalkboard dark green background */
.vf-page-hero {
  position: relative;
  padding: 80px 0 72px;
  background: linear-gradient(140deg, #0d2810 0%, #1a4520 45%, #112a16 100%);
  overflow: hidden;
  border-bottom: none;
}

/* Chalk texture overlay */
.vf-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255,255,255,0.012) 3px, rgba(255,255,255,0.012) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 5px, rgba(255,255,255,0.008) 5px, rgba(255,255,255,0.008) 6px);
  pointer-events: none;
}

/* Radial glow in centre */
.vf-page-hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(72,187,120,0.08) 0%, transparent 65%);
  pointer-events: none;
}

/* Floating school illustrations */
.vf-illus {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
.vf-illus--books  { bottom: 20px; right: 40px; animation: vfFloat 5s ease-in-out infinite; }
.vf-illus--pencil { top: 30px; left: 60px; animation: vfFloat 4s ease-in-out 1s infinite; transform: rotate(20deg); }
.vf-illus--apple  { top: 50px; right: 200px; animation: vfFloat 6s ease-in-out 0.5s infinite; }
.vf-illus--ruler  { bottom: 40px; left: 50px; animation: vfFloat 7s ease-in-out 2s infinite; transform: rotate(-8deg); }
.vf-illus--stars  { top: 80px; left: 45%; animation: vfFloat 5s ease-in-out 1.5s infinite; }

@keyframes vfFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
/* Override rotate + float */
.vf-illus--pencil { animation: vfFloatRotate 4s ease-in-out 1s infinite; }
.vf-illus--ruler  { animation: vfFloatRotate2 7s ease-in-out 2s infinite; }
@keyframes vfFloatRotate {
  0%, 100% { transform: rotate(20deg) translateY(0); }
  50% { transform: rotate(20deg) translateY(-8px); }
}
@keyframes vfFloatRotate2 {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-6px); }
}

/* Hero inner grid */
.vf-page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Tag */
.vf-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(134,248,180,0.9);
  background: rgba(72,187,120,0.12);
  border: 1px solid rgba(72,187,120,0.25);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

/* Hero heading — chalk style */
.vf-hero-heading {
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 700;
  line-height: 1.12;
  color: rgba(255,255,255,0.93);
  text-shadow:
    1px 1px 0 rgba(0,0,0,0.45),
    2px 2px 4px rgba(0,0,0,0.35),
    -0.5px -0.5px 0 rgba(255,255,255,0.04);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.vf-hero-accent {
  color: #86f8b4;
  text-shadow:
    1px 1px 0 rgba(0,0,0,0.4),
    2px 2px 4px rgba(0,0,0,0.3);
}

.vf-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 460px;
}

.vf-hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.vf-hero-scroll {
  font-family: var(--font-display);
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.vf-hero-scroll:hover { color: #86f8b4; }

/* Mini chalkboard visual */
.vf-page-hero__visual {
  display: flex;
  justify-content: center;
}
/* Hero feature list (right side of vf-page-hero) */
.vf-hero-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vf-hero-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  line-height: 1.4;
}
.vf-hero-feat svg { flex-shrink: 0; }

/* Mini board */
.vf-mini-board {
  width: 100%;
  max-width: 340px;
}
.vf-mini-board__frame {
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  backdrop-filter: blur(4px);
}
.vf-mini-board__stat {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vf-mini-board__line {
  height: 1px;
  background: rgba(255,255,255,0.1);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.3) 0, rgba(255,255,255,0.3) 4px, transparent 4px, transparent 8px);
}
.vf-mini-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: #86f8b4;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.4), 2px 2px 4px rgba(0,0,0,0.3);
  line-height: 1;
}
.vf-mini-stat-lbl {
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}

/* Comparison grid (fix for broken inline styles) */
.vf-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ---- Mobile for VidyaFlow page hero ---- */
@media (max-width: 1024px) {
  .vf-illus--ruler { display: none; }
  .vf-illus--stars { left: 35%; }
}
@media (max-width: 768px) {
  .vf-page-hero { padding: 56px 0 48px; }
  .vf-page-hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .vf-hero-heading { font-size: 40px; }
  .vf-page-hero__visual { display: none; }
  .vf-illus--books  { display: none; }
  .vf-illus--pencil { display: none; }
  .vf-illus--apple  { display: none; }
  .vf-illus--ruler  { display: none; }
  .vf-illus--stars  { display: none; }
  .vf-compare-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SEO PRICING PACKAGES PAGE
   ============================================================ */

/* Pricing grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

/* Pricing card base */
.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-lg, 20px);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.10);
}

/* Popular card */
.pricing-card--popular {
  border-color: var(--primary);
  box-shadow: 0 8px 40px rgba(var(--primary-rgb, 99,102,241), 0.15);
  background: var(--surface);
}
.pricing-card--popular:hover {
  box-shadow: 0 16px 56px rgba(var(--primary-rgb, 99,102,241), 0.22);
}

/* Popular badge */
.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

/* Header */
.pricing-card__header {
  margin-bottom: 28px;
}
.pricing-card__plan {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.pricing-card__tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
  margin-bottom: 6px;
}
.pricing-card__currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}
.pricing-card__amount {
  font-size: 44px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.pricing-card--popular .pricing-card__amount {
  color: var(--primary);
}
.pricing-card__period {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}
.pricing-card__setup {
  font-size: 13px;
  color: var(--text-muted);
}

/* Feature list */
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.feat svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.feat--yes {
  color: var(--text-secondary);
}
.feat--yes svg {
  stroke: var(--primary);
}
.feat--no {
  color: var(--text-muted);
  opacity: 0.55;
  text-decoration: line-through;
  text-decoration-color: var(--surface-border);
}
.feat--no svg {
  stroke: var(--text-muted);
}

/* CTA button */
.pricing-card__cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Pricing note */
.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}
.pricing-note a {
  color: var(--primary);
  text-decoration: underline;
}

/* ---- Comparison table ---- */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg, 20px);
  border: 1.5px solid var(--surface-border);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th,
.compare-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--surface-border);
}
.compare-table th {
  background: var(--surface);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 15px;
}
.compare-table th span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 3px;
}
.compare-table__feature-col {
  text-align: left !important;
  min-width: 180px;
}
.compare-table__popular-col {
  background: rgba(var(--primary-rgb, 99,102,241), 0.06) !important;
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table tbody tr:hover td {
  background: var(--surface);
}
.compare-table td {
  color: var(--text-secondary);
}
.compare-table td:first-child {
  text-align: left;
  color: var(--text-primary);
  font-weight: 500;
}
.cmp-yes {
  color: var(--primary);
  font-weight: 600;
}
.cmp-no {
  color: var(--text-muted);
  opacity: 0.5;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-md, 14px);
  overflow: hidden;
  background: var(--surface);
}
.faq-item[open] {
  border-color: var(--primary);
}
.faq-item__q {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color 0.2s;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] .faq-item__q::after {
  transform: rotate(45deg);
  color: var(--primary);
}
.faq-item[open] .faq-item__q {
  color: var(--primary);
  border-bottom: 1px solid var(--surface-border);
}
.faq-item__a {
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.faq-item__a p { margin: 0; }
.faq-item__a p + p { margin-top: 12px; }

/* Responsive pricing */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .pricing-card--popular { order: -1; }
}
@media (max-width: 600px) {
  .pricing-card { padding: 28px 20px 24px; }
  .pricing-card__amount { font-size: 36px; }
  .faq-item__q { font-size: 15px; padding: 16px 18px; }
  .faq-item__a { padding: 16px 18px; }
}

/* ============================================================
   BLOG LISTING PAGE
   ============================================================ */

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.blog-filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--surface-border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.blog-count {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.blog-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 80px 0;
  color: var(--text-muted);
  font-size: 15px;
}
.blog-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--surface-border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.blog-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--text-muted);
  font-size: 16px;
}
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.blog-page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1.5px solid var(--surface-border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.blog-page-btn:hover,
.blog-page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.blog-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ============================================================
   BLOG SINGLE POST PAGE
   ============================================================ */

/* ── Reading progress bar ───────────────────────────────── */
#read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--primary);
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Blog post (Medium-style) ───────────────────────────── */
.post-article { background: var(--bg); }

.post-header { padding: 72px 0 48px; border-bottom: 1px solid var(--surface-border); }
.post-header__inner { max-width: 720px; margin: 0 auto; padding: 0 24px; }

.post-back-top {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--text-muted); text-decoration: none;
  margin-bottom: 28px; transition: color 0.2s;
}
.post-back-top:hover { color: var(--primary); }

.post-cat {
  display: inline-block;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--primary); background: rgba(59,48,158,0.08);
  padding: 4px 12px; border-radius: 100px; margin-bottom: 20px;
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 900; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--dark); margin-bottom: 20px;
}
.post-excerpt {
  font-size: 18px; color: var(--text-secondary);
  line-height: 1.65; margin-bottom: 32px; max-width: 640px;
}

/* Byline */
.post-byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.post-byline__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-weight: 700; font-size: 14px;
  display: grid; place-items: center; flex-shrink: 0;
}
.post-byline__info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.post-byline__name { font-size: 14px; font-weight: 600; color: var(--dark); }
.post-byline__meta { font-size: 13px; color: var(--text-muted); }
.post-byline__share { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.post-share-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 8px;
  border: 1px solid var(--surface-border); background: var(--surface);
  color: var(--text-secondary); cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.post-share-btn:hover { border-color: var(--primary); color: var(--primary); }
.post-share-btn--wa { border-color: #22c55e; color: #16a34a; }
.post-share-btn--wa:hover { background: #f0fdf4; }

/* Cover */
.post-cover-wrap { max-width: 900px; margin: 0 auto; padding: 48px 24px 0; }
.post-cover {
  width: 100%; aspect-ratio: 16/7; object-fit: cover;
  border-radius: 16px; display: block;
}
.post-cover--ph {
  width: 100%; aspect-ratio: 16/7;
  background: linear-gradient(135deg, var(--surface) 0%, rgba(59,48,158,0.06) 100%);
  border-radius: 16px; border: 1px solid var(--surface-border);
}

/* Body */
.post-body { max-width: 720px; margin: 0 auto; padding: 56px 24px 80px; }
.post-content { font-size: 18px; line-height: 1.85; color: var(--text-secondary); }
.post-content h1 { font-size: 32px; font-weight: 800; margin: 48px 0 18px; color: var(--dark); letter-spacing: -0.01em; }
.post-content h2 { font-size: 26px; font-weight: 700; margin: 44px 0 16px; color: var(--dark); }
.post-content h3 { font-size: 20px; font-weight: 600; margin: 36px 0 12px; color: var(--dark); }
.post-content p  { margin-bottom: 24px; }
.post-content ul, .post-content ol { padding-left: 28px; margin-bottom: 24px; }
.post-content li { margin-bottom: 10px; }
.post-content a  { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.post-content img { max-width: 100%; border-radius: 12px; margin: 32px 0; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.post-content strong { color: var(--dark); font-weight: 700; }
.post-content blockquote {
  border-left: 3px solid var(--primary); padding: 4px 24px; margin: 32px 0;
  color: var(--text-secondary); font-style: italic; font-size: 19px;
}
.post-content code {
  background: var(--surface); border: 1px solid var(--surface-border);
  padding: 2px 7px; border-radius: 5px; font-size: 15px;
  font-family: 'Fira Code', 'Courier New', monospace;
}
.post-content pre {
  background: #1e1e2e; color: #cdd6f4;
  padding: 24px 28px; border-radius: 12px; overflow-x: auto;
  margin: 28px 0; font-size: 14px; line-height: 1.65;
}
.post-content pre code { background: none; border: none; padding: 0; color: inherit; font-size: inherit; }

/* Post footer */
.post-footer { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--surface-border); }
.post-footer__share {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 14px; font-weight: 600; color: var(--text-muted); margin-bottom: 24px;
}
.post-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  text-decoration: none; transition: color 0.2s;
}
.post-back-link:hover { color: var(--primary); }

/* ============================================================
   PRIVACY POLICY PAGE
   ============================================================ */

.privacy-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 0 100px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.privacy-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 48px 0 14px;
  padding-top: 8px;
  border-top: 1px solid var(--surface-border);
}
.privacy-body h2:first-child { border-top: none; margin-top: 0; }
.privacy-body p { margin-bottom: 16px; }
.privacy-body ul { padding-left: 22px; margin-bottom: 16px; }
.privacy-body li { margin-bottom: 8px; }
.privacy-body a { color: var(--primary); text-decoration: underline; }
.privacy-body strong { color: var(--text-primary); font-weight: 600; }

@media (max-width: 768px) {
  .blog-filters { gap: 8px; }
  .blog-filter-btn { padding: 7px 14px; font-size: 13px; }
  .post-hero { padding: 48px 0 32px; }
  .post-body { padding: 0 0 48px; }
  .post-content { font-size: 16px; }
  .privacy-body { padding: 40px 0 64px; }
}

/* ══════════════════════════════════════════════════════════════
   VIDYAFLOW LANDING PAGE  (.vflp-*)
   ══════════════════════════════════════════════════════════════ */

/* ── Accent & ghost btn ─────────────────────────────────────── */
.vflp-accent { color: var(--green-light, #86F8C9); }
.vflp-ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.vflp-ghost-btn:hover { color: #fff; }

/* ── Hero ───────────────────────────────────────────────────── */
.vflp-hero {
  background: #0D1117;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.vflp-hero__glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,108,78,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.vflp-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.vflp-hero__madeby {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.vflp-hero__madeby:hover { color: rgba(255,255,255,0.85); }
.vflp-hero__madeby-logo {
  height: 22px;
  width: auto;
  opacity: 0.7;
}
.vflp-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}
.vflp-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.vflp-hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.vflp-hero__note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}
.btn-green {
  background: #006C4E;
  color: #fff;
  border: none;
}
.btn-green:hover { background: #005a40; color: #fff; }

/* ── CSS Dashboard Mockup ───────────────────────────────────── */
.vflp-dashboard {
  display: flex;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.07);
  background: #161b22;
  height: 420px;
  position: relative;
}
.vflp-db-sidebar {
  width: 130px;
  background: #0d1117;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}
.vflp-db-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}
.vflp-db-brand__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #86F8C9;
  flex-shrink: 0;
}
.vflp-db-nav { display: flex; flex-direction: column; gap: 2px; }
.vflp-db-nav__item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  padding: 6px 8px;
  border-radius: 6px;
  cursor: default;
}
.vflp-db-nav__item--active {
  background: rgba(134,248,201,0.12);
  color: #86F8C9;
}
.vflp-db-nav__divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 6px 0;
}
.vflp-db-main {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.vflp-db-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vflp-db-topbar__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}
.vflp-db-topbar__inst {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
}
.vflp-db-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.vflp-db-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 10px;
}
.vflp-db-stat--green { border-color: rgba(134,248,201,0.2); background: rgba(134,248,201,0.06); }
.vflp-db-stat__val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 3px;
}
.vflp-db-stat--green .vflp-db-stat__val { color: #86F8C9; }
.vflp-db-stat__lbl {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.vflp-db-chart {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 10px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}
.vflp-db-chart__label { font-size: 0.65rem; color: rgba(255,255,255,0.45); }
.vflp-db-chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  flex: 1;
  padding-bottom: 4px;
}
.vflp-db-bar {
  flex: 1;
  background: rgba(134,248,201,0.25);
  border-radius: 3px 3px 0 0;
  min-height: 6px;
}
.vflp-db-bar--hi { background: #86F8C9; }
.vflp-db-chart__months {
  display: flex;
  justify-content: space-between;
  font-size: 0.55rem;
  color: rgba(255,255,255,0.3);
}
.vflp-db-table {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
}
.vflp-db-table__row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  align-items: center;
  padding: 6px 10px;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.65rem;
}
.vflp-db-table__row:last-child { border-bottom: none; }
.vflp-db-table__row--head {
  color: rgba(255,255,255,0.35);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255,255,255,0.03);
}
.vflp-db-pill {
  display: inline-block;
  height: 8px;
  width: 100%;
  max-width: 80px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
}
.vflp-db-pill--name { max-width: 80px; }
.vflp-db-pill--w60 { max-width: 60px; }
.vflp-db-pill--w70 { max-width: 70px; }
.vflp-db-pill--w80 { max-width: 80px; }
.vflp-db-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}
.vflp-db-badge--green { background: rgba(134,248,201,0.15); color: #86F8C9; }
.vflp-db-badge--orange { background: rgba(255,180,0,0.15); color: #FFB400; }

/* ── Feature Ribbon ─────────────────────────────────────────── */
.vflp-ribbon {
  background: var(--surface);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  padding: 18px 0;
}
.vflp-ribbon__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.vflp-ribbon__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 20px;
}
.vflp-ribbon__item svg { color: #006C4E; flex-shrink: 0; }
.vflp-ribbon__sep {
  width: 1px;
  height: 20px;
  background: var(--surface-border);
}

/* ── Institution Types Grid ─────────────────────────────────── */
.vflp-inst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.vflp-inst-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.vflp-inst-card:hover {
  box-shadow: 0 8px 32px rgba(0,108,78,0.1);
  border-color: rgba(0,108,78,0.3);
}
.vflp-inst-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.vflp-inst-card__icon--blue   { background: rgba(59,130,246,0.12); color: #3B82F6; }
.vflp-inst-card__icon--purple { background: rgba(139,92,246,0.12); color: #8B5CF6; }
.vflp-inst-card__icon--orange { background: rgba(249,115,22,0.12); color: #F97316; }
.vflp-inst-card__icon--teal   { background: rgba(20,184,166,0.12); color: #14B8A6; }
.vflp-inst-card__icon--indigo { background: rgba(99,102,241,0.12); color: #6366F1; }
.vflp-inst-card__icon--pink   { background: rgba(236,72,153,0.12); color: #EC4899; }
.vflp-inst-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.vflp-inst-card__note {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.vflp-inst-card__feats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.vflp-inst-card__feats li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}
.vflp-inst-card__feats li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #006C4E;
  font-weight: 700;
  font-size: 0.75rem;
}

/* ── Feature Pillars ────────────────────────────────────────── */
.vflp-pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.vflp-pillar {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.vflp-pillar__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 16px 18px;
  color: #fff;
}
.vflp-pillar__head--blue   { background: #1e40af; }
.vflp-pillar__head--green  { background: #006C4E; }
.vflp-pillar__head--orange { background: #c2410c; }
.vflp-pillar__head--purple { background: #6d28d9; }
.vflp-pillar__list {
  list-style: none;
  padding: 16px 18px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vflp-pillar__list li {
  font-size: 0.83rem;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
  line-height: 1.45;
}
.vflp-pillar__list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-tertiary, #aaa);
}

/* ── Platform Highlights (dark section) ─────────────────────── */
.vflp-platform {
  background: #0D1117;
  padding: 96px 0;
  position: relative;
}
.vflp-platform__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.vflp-platform__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.vflp-platform__card-icon {
  width: 52px;
  height: 52px;
  background: rgba(134,248,201,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.vflp-platform__card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.vflp-platform__card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 16px;
}
.vflp-platform__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vflp-platform__points li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  padding-left: 16px;
  position: relative;
}
.vflp-platform__points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #86F8C9;
  font-weight: 700;
  font-size: 0.72rem;
}

/* ── Before / After Comparison ──────────────────────────────── */
.vflp-compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.vflp-compare__col {
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.vflp-compare__col--before {
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.vflp-compare__col--after {
  background: #0D1117;
  border: 1px solid rgba(134,248,201,0.2);
}
.vflp-compare__col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}
.vflp-compare__col--after h4 { color: #86F8C9; }
.vflp-compare__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vflp-compare__col li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.vflp-compare__col--before li { color: #7f1d1d; }
.vflp-compare__col--after li { color: rgba(255,255,255,0.7); }
.vflp-x { color: #ef4444; font-weight: 700; flex-shrink: 0; }
.vflp-check { color: #86F8C9; font-weight: 700; flex-shrink: 0; }

/* ── How It Works ───────────────────────────────────────────── */
.vflp-how__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 56px;
  justify-content: center;
}
.vflp-step {
  flex: 1;
  max-width: 280px;
  text-align: center;
}
.vflp-step__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: 8px;
}
.vflp-step__body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.vflp-step__body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.vflp-step__arrow {
  flex-shrink: 0;
  padding: 0 12px;
  color: var(--text-tertiary, #ccc);
  margin-top: 36px;
}

/* ── Demo CTA Strip (dark/green) ────────────────────────────── */
.vflp-demo-cta {
  background: linear-gradient(135deg, #0D1117 0%, #003D2B 100%);
  padding: 80px 0;
}
.vflp-demo-cta__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.vflp-demo-cta__text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}
.vflp-demo-cta__text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
}
.vflp-demo-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.vflp-demo-cta__note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ── FAQ ────────────────────────────────────────────────────── */
.vflp-faq { background: var(--bg); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .vflp-pillars__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .vflp-hero__inner { grid-template-columns: 1fr; }
  .vflp-dashboard { display: none; }
  .vflp-inst-grid { grid-template-columns: repeat(2, 1fr); }
  .vflp-platform__cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .vflp-hero { padding: 72px 0 60px; }
  .vflp-hero__actions { flex-direction: column; align-items: flex-start; }
  .vflp-inst-grid { grid-template-columns: 1fr; }
  .vflp-pillars__grid { grid-template-columns: 1fr; }
  .vflp-platform__cards { grid-template-columns: 1fr; }
  .vflp-compare__grid { grid-template-columns: 1fr; }
  .vflp-how__steps { flex-direction: column; align-items: center; }
  .vflp-step__arrow { transform: rotate(90deg); margin: 0; padding: 8px 0; }
  .vflp-ribbon__sep { display: none; }
  .vflp-ribbon__item { padding: 6px 12px; }
}

/* ── Blog Post — Mobile ──────────────────────────────────── */
@media (max-width: 768px) {
  .post-header { padding: 48px 0 32px; }
  .post-byline { gap: 10px; }
  .post-byline__share { margin-left: 0; margin-top: 8px; width: 100%; }
  .post-cover-wrap { padding: 28px 16px 0; }
  .post-cover, .post-cover--ph { border-radius: 10px; }
  .post-body { padding: 36px 16px 60px; }
  .post-content { font-size: 16px; line-height: 1.75; }
  .post-content h1 { font-size: 24px; }
  .post-content h2 { font-size: 20px; }
  .post-content h3 { font-size: 17px; }
}
