/* Product pages — ported from app/components/product/product.module.css
   plus each product screen's own styles.module.css (hero visuals). */

.product-page { min-height: 100vh; background: #ffffff; }

/* Section wrappers */
.product-section { padding: 80px 80px; max-width: 1400px; margin: 0 auto; }
.product-section-alt { padding: 80px 80px; }
.product-section-alt__inner { max-width: 1400px; margin: 0 auto; }
.product-section__inner { display: flex; flex-direction: column; gap: 32px; }
.product-section__header { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* Hero */
.product-hero { position: relative; padding: 80px 80px 60px; max-width: 1400px; margin: 0 auto; overflow: hidden; }
.product-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.product-hero__content { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.product-hero__visual { position: relative; height: 580px; }
.product-badge-dot { width: 7px; height: 7px; background: var(--color-secondary-500); border-radius: 50%; animation: productPulse 2s ease-in-out infinite; }
@keyframes productPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.product-hero__desc { font-size: 18px; line-height: 1.7; color: var(--text-light); margin: 0; max-width: 520px; font-weight: 400; }
.product-hero__actions { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.product-hero__platforms { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.product-platform-badge { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid rgba(53, 79, 239, 0.1); border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--text-light); cursor: help; transition: all 0.2s; background: var(--bg-alt); }
.product-platform-badge:hover { border-color: var(--primary); color: var(--primary); }
.product-platform-badge__name { font-weight: 600; }

/* Feature cards */
.product-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--color-neutral-200); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-neutral-200); }
.product-feature-card { background: var(--color-neutral-50); padding: 28px 24px; transition: background 0.18s; }
.product-feature-card:hover { background: white; }
.product-feature-card__icon { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.10), 0 4px 4px 0 rgba(255, 255, 255, 0.25) inset; }
.product-feature-card__title { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.product-feature-card__desc { font-size: 14px; line-height: 1.65; color: var(--text-light); }

/* Use case cards */
.product-usecases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.product-usecase-card { padding: 32px 28px; background: white; border: 1px solid rgba(53, 79, 239, 0.1); border-radius: 16px; transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.product-usecase-card:hover { border-color: rgba(53, 79, 239, 0.25); box-shadow: 0 12px 40px rgba(53, 79, 239, 0.12); transform: translateY(-4px); }
.product-usecase-card__title { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.product-usecase-card__desc { font-size: 14px; line-height: 1.65; color: var(--text-light); }

/* Benefit checklist */
.product-benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.product-benefit-item { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: white; border: 1px solid rgba(53, 79, 239, 0.1); border-radius: 12px; transition: all 0.3s; }
.product-benefit-item:hover { border-color: rgba(53, 79, 239, 0.2); box-shadow: 0 4px 16px rgba(53, 79, 239, 0.08); }
.product-benefit-check { font-size: 16px; color: var(--primary); font-weight: 700; flex-shrink: 0; }
.product-benefit-text { font-size: 15px; line-height: 1.5; color: var(--text); font-weight: 500; }

/* Integrations pills (Campus) */
.product-integrations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 860px; }
.product-integration-pill { padding: 18px; background: white; border: 1px solid rgba(53, 79, 239, 0.1); border-radius: 12px; text-align: center; font-size: 13px; font-weight: 600; color: var(--text); transition: all 0.2s; }
.product-integration-pill:hover { background: rgba(53, 79, 239, 0.05); border-color: var(--primary); transform: translateY(-2px); }

/* CTA */
.product-cta-section { padding: 80px 80px; background: linear-gradient(180deg, var(--surface) 0%, #f0f3ff 100%); border-top: 1px solid var(--border); text-align: center; }
.product-cta-inner { max-width: 640px; margin: 0 auto; }
.product-cta-section p { font-size: 18px; line-height: 1.7; color: var(--text-light); margin: 16px 0 32px; }
.product-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .product-hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .product-hero__visual { height: 420px; }
  .product-features-grid { grid-template-columns: repeat(2, 1fr); }
  .product-usecases-grid, .product-benefits-grid { grid-template-columns: 1fr; }
  .product-integrations-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .product-hero, .product-section, .product-section-alt, .product-cta-section { padding: 60px 20px; }
  .product-features-grid, .product-integrations-grid { grid-template-columns: 1fr; }
}

/* ══ Pabli Learn — phone + web mockup (screens/Products/PabliLearn/styles.module.css) ══ */
.learn-mockup { position: relative; width: 100%; height: 100%; }
.learn-mockup__phone { position: absolute; top: 40px; right: 80px; width: 260px; height: 520px; background: #1a1a1a; border-radius: 36px; padding: 10px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18); z-index: 2; }
.learn-phone__screen { width: 100%; height: 100%; background: white; border-radius: 28px; overflow: hidden; }
.learn-phone__header { display: flex; justify-content: space-between; padding: 12px 18px; font-size: 12px; font-weight: 600; color: var(--text); }
.learn-phone__content { padding: 16px; }
.learn-course-card { background: rgba(53, 79, 239, 0.04); border: 1px solid rgba(53, 79, 239, 0.1); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.learn-course-thumb { width: 100%; height: 110px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 8px; }
.learn-course-info { display: flex; flex-direction: column; gap: 6px; }
.learn-course-title { font-size: 15px; font-weight: 600; color: var(--text); }
.learn-course-progress { display: flex; flex-direction: column; gap: 4px; }
.learn-progress-bar { width: 100%; height: 5px; background: rgba(53, 79, 239, 0.1); border-radius: 3px; overflow: hidden; }
.learn-progress-fill { height: 100%; width: 65%; background: var(--primary); border-radius: 3px; }
.learn-progress-text { font-size: 11px; color: var(--text-light); }
.learn-mockup__web { position: absolute; top: 110px; left: 0; width: 440px; height: 340px; background: white; border-radius: 12px; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1); overflow: hidden; z-index: 1; border: 1px solid rgba(53, 79, 239, 0.08); }
.learn-web__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #f5f5f5; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.learn-web__dots { display: flex; gap: 5px; }
.learn-web__dot { width: 9px; height: 9px; background: #ddd; border-radius: 50%; }
.learn-web__url { font-size: 12px; color: var(--text-light); background: white; padding: 3px 10px; border-radius: 5px; flex: 1; }
.learn-web__content { display: flex; height: calc(100% - 40px); }
.learn-web__sidebar { width: 110px; background: rgba(53, 79, 239, 0.03); border-right: 1px solid rgba(53, 79, 239, 0.06); }
.learn-web__main { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.learn-web__block { height: 18px; background: rgba(53, 79, 239, 0.08); border-radius: 4px; }
@media (max-width: 1024px) { .product-hero__visual { height: 400px; } }

/* ══ Pabli Campus — dashboard mockup ══ */
.campus-dashboard { width: 100%; height: 100%; background: white; border-radius: 16px; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1); overflow: hidden; border: 1px solid rgba(53, 79, 239, 0.08); }
.campus-dashboard__header { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; }
.campus-dashboard__logo { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.campus-dashboard__user { font-size: 13px; padding: 5px 10px; background: rgba(255,255,255,0.2); border-radius: 6px; }
.campus-dashboard__content { display: flex; height: calc(100% - 56px); }
.campus-sidebar { width: 170px; background: rgba(53, 79, 239, 0.03); border-right: 1px solid rgba(53, 79, 239, 0.08); padding: 20px 0; }
.campus-menu-item { padding: 11px 20px; font-size: 13px; font-weight: 500; color: var(--text-light); display: flex; align-items: center; gap: 8px; }
.campus-menu-item:first-child { background: rgba(53, 79, 239, 0.08); color: var(--primary); border-left: 3px solid var(--primary); }
.campus-main { flex: 1; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.campus-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.campus-stat-card { padding: 18px; background: rgba(53, 79, 239, 0.04); border: 1px solid rgba(53, 79, 239, 0.1); border-radius: 12px; }
.campus-stat-value { font-size: 28px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.campus-stat-label { font-size: 12px; color: var(--text-light); }
.campus-chart { flex: 1; display: flex; align-items: flex-end; gap: 10px; padding: 20px; background: rgba(53, 79, 239, 0.02); border: 1px solid rgba(53, 79, 239, 0.06); border-radius: 12px; }
.campus-chart-bar { flex: 1; background: linear-gradient(to top, var(--primary), var(--primary-light)); border-radius: 4px 4px 0 0; min-height: 30px; opacity: 0.8; }
.campus-integrations-section { padding: 80px 80px; }
.campus-integrations-section__inner { max-width: 1400px; margin: 0 auto; }
@media (max-width: 1024px) { .campus-dashboard__content { flex-direction: column; } .campus-sidebar { width: 100%; border-right: none; border-bottom: 1px solid rgba(53,79,239,0.08); } }

/* ══ Pabli Board — smartboard mockup ══ */
.board-smartboard { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.board-frame { width: 100%; max-width: 520px; background: #2a2a2a; border-radius: 20px; padding: 18px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18); }
.board-screen { width: 100%; background: white; border-radius: 10px; overflow: hidden; }
.board-toolbar { display: flex; gap: 8px; padding: 10px 14px; background: #f5f5f5; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.board-tool-icon { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: white; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 6px; }
.board-tool-separator { width: 1px; background: rgba(0, 0, 0, 0.08); margin: 0 2px; }
.board-content { padding: 28px; min-height: 380px; }
.board-lesson-title { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 20px; }
.board-quiz-card { background: rgba(53, 79, 239, 0.04); border: 1px solid rgba(53, 79, 239, 0.1); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.board-quiz-question { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.board-quiz-options { display: flex; flex-direction: column; gap: 10px; }
.board-quiz-option { padding: 10px 14px; background: white; border: 1px solid rgba(53, 79, 239, 0.1); border-radius: 8px; font-size: 14px; color: var(--text); }
.board-quiz-option--correct { background: rgba(53,79,239,0.08); border-color: var(--primary); }
.board-student-count { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(53, 79, 239, 0.05); border: 1px solid rgba(53, 79, 239, 0.1); border-radius: 8px; width: fit-content; }
.board-student-dot { width: 7px; height: 7px; background: var(--primary); border-radius: 50%; animation: productPulse 2s ease-in-out infinite; }
.board-student-dot:nth-child(2) { animation-delay: 0.3s; }
.board-student-dot:nth-child(3) { animation-delay: 0.6s; }
.board-student-text { font-size: 12px; font-weight: 600; color: var(--primary); }
@media (max-width: 1024px) { .board-smartboard .product-hero__visual { height: 480px; } }

/* ══ Integrations — orbiting diagram ══ */
.integration-diagram { position: relative; width: 100%; height: 100%; }
.integration-center-node { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 110px; height: 110px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 12px 32px rgba(53, 79, 239, 0.25); z-index: 2; color: white; gap: 4px; }
.integration-center-label { font-size: 14px; font-weight: 600; color: white; }
.integration-satellite { position: absolute; width: 72px; height: 72px; background: white; border: 1px solid rgba(53, 79, 239, 0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; transform: translate(-50%, -50%); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); z-index: 1; color: var(--primary); }
.connection-line { position: absolute; top: 50%; left: 50%; width: 2px; height: 42%; background: linear-gradient(to bottom, rgba(53, 79, 239, 0.2), transparent); transform-origin: top center; z-index: 0; }
.integration-catalog-section { padding: 80px 80px; background: var(--bg-alt); }
.integration-catalog-section__inner { max-width: 1400px; margin: 0 auto; }
.integration-catalog-section__content { display: flex; flex-direction: column; gap: 48px; }
.integration-catalog-section__header { max-width: 680px; }
.integration-category { margin-bottom: 48px; }
.integration-category:last-child { margin-bottom: 0; }
.integration-category__header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(53, 79, 239, 0.08); }
.integration-category__name { font-size: 13px; font-weight: 700; color: var(--primary); margin: 0; text-transform: uppercase; letter-spacing: 0.08em; }
.integration-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.integration-card { padding: 22px; background: white; border: 1px solid rgba(53, 79, 239, 0.1); border-radius: 12px; transition: all 0.3s; }
.integration-card:hover { border-color: rgba(53, 79, 239, 0.25); box-shadow: 0 8px 24px rgba(53, 79, 239, 0.1); transform: translateY(-3px); }
.integration-card__icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(53, 79, 239, 0.07); border: 1px solid rgba(53, 79, 239, 0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; color: var(--primary); }
.integration-card__name { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.integration-card__desc { font-size: 13px; line-height: 1.6; color: var(--text-light); }
.product-features-grid--4 { grid-template-columns: repeat(4, 1fr); }
.product-feature-card--centered { text-align: center; }
@media (max-width: 1024px) { .integration-grid { grid-template-columns: repeat(2, 1fr); } .product-features-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .integration-catalog-section { padding: 60px 20px; } .integration-grid { grid-template-columns: 1fr; } .product-features-grid--4 { grid-template-columns: 1fr; } }
