/**
 * Pixel Media Services - Component Stylesheet
 * 100% Pure Native CSS (Zero Tailwind CDN Dependency)
 * Faithfully engineered to match the Master UI/UX Mockup
 */

/* ==========================================================================
   1. HERO SECTION & 2-COLUMN LAYOUT
   ========================================================================== */
.pms-hero-section {
  position: relative;
  padding: 40px 0 80px 0;
  background: radial-gradient(circle at 80% 20%, rgba(219, 234, 254, 0.4) 0%, transparent 60%),
              radial-gradient(circle at 10% 60%, rgba(240, 249, 255, 0.6) 0%, transparent 50%),
              #ffffff;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

.ambient-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(147, 197, 253, 0.25);
  top: -100px;
  right: -100px;
}

.ambient-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(196, 181, 253, 0.2);
  bottom: -50px;
  left: 10%;
}

.hero-container {
  position: relative;
  z-index: 10;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
}

/* Hero Left Content */
.hero-left-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 991px) {
  .hero-left-content {
    align-items: center;
  }
}

.hero-eyebrow-wrapper {
  margin-bottom: 20px;
}

.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.eyebrow-sparkle {
  color: #2563eb;
  font-size: 12px;
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  font-family: var(--pms-font-heading);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.35rem;
  }
}

.hero-heading-dark {
  color: #0f172a;
  display: block;
}

.hero-heading-gradient {
  background: linear-gradient(135deg, #1e3a8a 0%, #0284c7 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-subtext {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

@media (max-width: 991px) {
  .hero-actions {
    justify-content: center;
  }
}

.btn-hero-primary {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 9999px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  box-shadow: 0 10px 25px -4px rgba(37, 99, 235, 0.4);
}

.btn-hero-outline {
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.btn-hero-outline:hover {
  border-color: #94a3b8;
  background: #f8fafc;
  color: #0f172a;
}

.play-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  font-size: 9px;
}

/* Social Proof Bar */
.hero-social-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

@media (max-width: 991px) {
  .hero-social-proof {
    justify-content: center;
  }
}

.client-avatar-stack {
  display: inline-flex;
}

.avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background-size: cover;
  background-position: center;
  margin-right: -10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.social-proof-text {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-left: 6px;
}

.hero-watch-story-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  margin-left: 8px;
}

.hero-watch-story-btn:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.watch-play-icon {
  font-size: 10px;
}


/* ==========================================================================
   2. HERO RIGHT STAGE: 3D LAPTOP, PHONE & FLOATING ICONS
   ========================================================================== */
.hero-right-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

.device-stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  padding: 30px 10px;
}

/* Laptop Mockup */
.laptop-device {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  z-index: 10;
}

.laptop-lid {
  background: #0f172a;
  border-radius: 16px 16px 4px 4px;
  padding: 10px 10px 0 10px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  border: 3px solid #334155;
  border-bottom: none;
  position: relative;
}

.laptop-camera {
  width: 5px;
  height: 5px;
  background: #475569;
  border-radius: 50%;
  margin: 0 auto 6px auto;
}

.laptop-screen {
  background: #1e293b;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.browser-header {
  background: #0f172a;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #334155;
}

.browser-dots {
  display: flex;
  gap: 4px;
}

.browser-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.browser-url-bar {
  background: #1e293b;
  color: #94a3b8;
  font-size: 10px;
  font-family: monospace;
  padding: 2px 10px;
  border-radius: 4px;
  flex: 1;
  max-width: 200px;
  text-align: center;
}

.laptop-screen-body {
  padding: 16px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #0f172a 100%);
  color: #ffffff;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.screen-hero-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.screen-logo-badge {
  font-size: 11px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.05em;
}

.screen-nav-lines {
  display: flex;
  gap: 6px;
}

.screen-nav-lines span {
  width: 24px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
}

.screen-hero-headline h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.screen-hero-headline p {
  font-size: 10px;
  color: #94a3b8;
  line-height: 1.4;
}

.screen-hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.mini-card {
  padding: 6px;
  border-radius: 6px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.mini-num {
  display: block;
  font-size: 11px;
  font-weight: 800;
}

.mini-card-blue .mini-num { color: #38bdf8; }
.mini-card-green .mini-num { color: #4ade80; }
.mini-card-purple .mini-num { color: #c084fc; }

.mini-lbl {
  display: block;
  font-size: 8px;
  color: #94a3b8;
}

.laptop-base {
  background: #475569;
  height: 12px;
  width: calc(100% + 40px);
  margin-left: -20px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

.laptop-notch {
  width: 60px;
  height: 4px;
  background: #334155;
  margin: 0 auto;
  border-radius: 0 0 4px 4px;
}

/* Smartphone Overlapping Mockup */
.phone-device {
  position: absolute;
  right: -10px;
  bottom: 0px;
  width: 140px;
  background: #020617;
  border: 3px solid #1e293b;
  border-radius: 24px;
  padding: 8px;
  box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.4);
  z-index: 20;
}

@media (max-width: 480px) {
  .phone-device {
    width: 115px;
    right: 5px;
    bottom: -15px;
  }
}

.phone-notch-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.phone-speaker {
  width: 24px;
  height: 3px;
  background: #334155;
  border-radius: 2px;
}

.phone-lens {
  width: 4px;
  height: 4px;
  background: #1e3a8a;
  border-radius: 50%;
}

.phone-screen-content {
  background: #0f172a;
  border-radius: 16px;
  padding: 8px;
  color: #ffffff;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phone-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-badge {
  font-size: 8px;
  font-weight: 800;
  color: #38bdf8;
}

.phone-status-dot {
  width: 5px;
  height: 5px;
  background: #22c55e;
  border-radius: 50%;
}

.phone-greeting {
  margin: 8px 0 4px 0;
}

.phone-greet-sub {
  font-size: 7px;
  color: #94a3b8;
  display: block;
}

.phone-greeting h5 {
  font-size: 9px;
  font-weight: 700;
  color: #ffffff;
}

.phone-course-card {
  background: #1e293b;
  border-radius: 6px;
  padding: 6px;
  border: 1px solid #334155;
}

.course-tag {
  font-size: 7px;
  color: #f59e0b;
  font-weight: 700;
  display: block;
}

.phone-course-card h6 {
  font-size: 8px;
  font-weight: 700;
  color: #ffffff;
  margin: 2px 0 4px 0;
}

.progress-bar-wrap {
  background: #334155;
  height: 3px;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  width: 70%;
  height: 100%;
  background: #2563eb;
}

.phone-bottom-action {
  text-align: center;
  margin-top: 6px;
}

.phone-sync-btn {
  font-size: 7px;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
  padding: 3px 6px;
  border-radius: 4px;
  display: block;
}


/* ==========================================================================
   3. FLOATING GLASSMORPHIC INTERACTIVE ICONS
   ========================================================================== */
.floating-icons-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 30;
}

.floating-glass-card {
  position: absolute;
  pointer-events: auto;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
  transform: translate(-50%, -50%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.floating-glass-card:hover {
  transform: translate(-50%, -50%) scale(1.1) !important;
  box-shadow: 0 20px 35px -6px rgba(15, 23, 42, 0.2);
  border-color: var(--card-accent, #2563eb);
  z-index: 50;
}

.float-card-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
}

.float-icon-bubble {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.float-icon-bubble svg {
  width: 18px;
  height: 18px;
}

.float-card-label {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

/* Floating Animations */
.anim-float { animation: floatAnim infinite ease-in-out; }
.anim-pulse { animation: pulseAnim infinite ease-in-out; }
.anim-bob { animation: bobAnim infinite ease-in-out; }
.anim-float-rotate { animation: floatRotateAnim infinite ease-in-out; }

@keyframes floatAnim {
  0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
  50% { transform: translate(-50%, -50%) translateY(-12px); }
}

@keyframes pulseAnim {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes bobAnim {
  0%, 100% { transform: translate(-50%, -50%) translateX(0px); }
  50% { transform: translate(-50%, -50%) translateX(8px); }
}

@keyframes floatRotateAnim {
  0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(0deg); }
  50% { transform: translate(-50%, -50%) translateY(-10px) rotate(2deg); }
}

@media (max-width: 640px) {
  .floating-icons-container {
    display: none;
  }
}


/* ==========================================================================
   4. STATS FLOATING BAR SECTION
   ========================================================================== */
.pms-stats-section {
  position: relative;
  z-index: 20;
  margin-top: -30px;
  margin-bottom: 40px;
}

.stats-floating-bar {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 24px 20px;
  align-items: center;
}

@media (max-width: 991px) {
  .stats-floating-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
  }
}

@media (max-width: 540px) {
  .stats-floating-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  border-right: 1px solid #e2e8f0;
}

.stat-item:last-child {
  border-right: none;
}

@media (max-width: 991px) {
  .stat-item {
    border-right: none;
    padding: 0;
  }
}

.stat-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-meta {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  font-family: var(--pms-font-heading);
}

.stat-title {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}


/* ==========================================================================
   5. SERVICES 5-COLUMN SECTION
   ========================================================================== */
.pms-services-section {
  padding: 70px 0;
  background-color: #ffffff;
}

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .section-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.section-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-heading {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  font-family: var(--pms-font-heading);
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .section-heading {
    font-size: 1.75rem;
  }
}

.section-subtitle {
  font-size: 15px;
  color: #64748b;
  margin-top: 8px;
  max-width: 600px;
}

.section-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #2563eb;
}

.section-view-all-link:hover {
  color: #1d4ed8;
}

.section-view-all-link .link-arrow {
  transition: transform 0.2s ease;
}

.section-view-all-link:hover .link-arrow {
  transform: translateX(4px);
}

.services-5col-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1100px) {
  .services-5col-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 480px) {
  .services-5col-grid {
    grid-template-columns: 1fr;
  }
}

.service-card-clean {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 240px;
}

.service-card-clean:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px -4px rgba(15, 23, 42, 0.1);
  border-color: var(--card-color, #2563eb);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.25s ease;
}

.service-card-clean:hover .service-icon-box {
  transform: scale(1.1);
}

.service-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.service-card-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

.service-card-bottom {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.service-circle-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.service-card-clean:hover .service-circle-btn {
  background: var(--card-color, #2563eb);
  color: #ffffff;
}


/* ==========================================================================
   6. FEATURED PRODUCT: K12 SMART CLASS CARD
   ========================================================================== */
.pms-k12-featured-section {
  padding: 40px 0 60px 0;
  background-color: #ffffff;
}

.k12-featured-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.05);
}

@media (max-width: 768px) {
  .k12-featured-card {
    padding: 24px;
  }
}

.k12-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 991px) {
  .k12-grid {
    grid-template-columns: 1fr;
  }
}

.badge-featured-pill {
  display: inline-block;
  background-color: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.k12-main-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  font-family: var(--pms-font-heading);
  margin-bottom: 8px;
}

.k12-highlight {
  color: #2563eb;
}

.k12-sub-title {
  font-size: 18px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 16px;
}

.k12-body-text {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 28px;
}

.k12-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-k12-primary {
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  background: #2563eb;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-k12-primary:hover {
  background: #1d4ed8;
}

.btn-k12-outline {
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
}

.btn-k12-outline:hover {
  background: #f8fafc;
}

/* Classroom Visual & Floating Badges */
.classroom-visual-frame {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.classroom-main-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.15);
}

.floating-k12-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 8px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 25px -3px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.badge-engaging {
  top: 15px;
  left: -15px;
}

.badge-results {
  bottom: 20px;
  right: -15px;
}

.badge-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.badge-icon-circle.green { background: #dcfce7; }
.badge-icon-circle.blue { background: #dbeafe; }

.badge-text-group {
  display: flex;
  flex-direction: column;
}

.badge-text-group strong {
  font-size: 12px;
  color: #0f172a;
}

.badge-text-group span {
  font-size: 11px;
  color: #64748b;
}


/* ==========================================================================
   7. K12 ECOSYSTEM: 3-NODE CONNECTED DIAGRAM
   ========================================================================== */
.pms-k12-ecosystem-section {
  padding: 70px 0;
  background: #f8fafc;
}

.ecosystem-horizontal-wrap {
  margin-top: 30px;
}

.ecosystem-cards-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 991px) {
  .ecosystem-cards-row {
    flex-direction: column;
    gap: 20px;
  }
}

.ecosystem-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  flex: 1;
  max-width: 320px;
  box-shadow: 0 6px 20px -2px rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ecosystem-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -4px rgba(15, 23, 42, 0.1);
}

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

.bg-blue-light { background-color: #eff6ff; color: #2563eb; }
.bg-pink-light { background-color: #fdf2f8; color: #db2777; }
.bg-green-light { background-color: #f0fdf4; color: #16a34a; }
.bg-sky-light { background-color: #f0f9ff; color: #0284c7; }

.node-target-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  display: block;
  margin-bottom: 4px;
}

.node-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.node-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}

.ecosystem-connector-line {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 2px;
  border-top: 2px dashed #93c5fd;
  position: relative;
}

@media (max-width: 991px) {
  .ecosystem-connector-line {
    width: 2px;
    height: 30px;
    border-top: none;
    border-left: 2px dashed #93c5fd;
  }
}

.connector-dot {
  width: 8px;
  height: 8px;
  background: #2563eb;
  border-radius: 50%;
  position: absolute;
}


/* ==========================================================================
   8. K12STUDENT APP SHOWCASE SECTION
   ========================================================================== */
.pms-k12student-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.k12student-showcase-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 24px;
  padding: 48px;
}

@media (max-width: 768px) {
  .k12student-showcase-card {
    padding: 24px;
  }
}

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

@media (max-width: 991px) {
  .k12student-grid {
    grid-template-columns: 1fr;
  }
}

.badge-student-pill {
  display: inline-block;
  background-color: #ffffff;
  color: #0284c7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  margin-bottom: 14px;
}

.student-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  font-family: var(--pms-font-heading);
  margin-bottom: 16px;
}

.student-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 480px;
}

.platform-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-badge-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

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

.android-icon { color: #16a34a; }
.win-icon { color: #0284c7; }
.pwa-icon { color: #6366f1; }

.store-meta {
  display: flex;
  flex-direction: column;
}

.store-sub {
  font-size: 9px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
}

.store-name {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}

/* Device Mockup Visual on Right */
.student-device-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.platform-mini-badges {
  position: absolute;
  top: -15px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.p-mini-tag {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.handwritten-callout {
  position: absolute;
  top: 20px;
  right: -20px;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: rotate(4deg);
  z-index: 12;
}

.student-device-group {
  position: relative;
  width: 100%;
  max-width: 360px;
}

.student-laptop-view {
  background: #0f172a;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.laptop-screen-simple {
  background: #1e293b;
  border-radius: 8px;
  padding: 12px;
  min-height: 180px;
}

.app-ui-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.app-ui-logo {
  font-size: 12px;
  font-weight: 800;
  color: #38bdf8;
}

.app-ui-menu {
  display: flex;
  gap: 4px;
}

.app-ui-menu span {
  width: 16px;
  height: 3px;
  background: #64748b;
  border-radius: 2px;
}

.subject-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.chip-box {
  background: #334155;
  color: #ffffff;
  padding: 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.student-phone-view {
  position: absolute;
  left: -20px;
  bottom: -15px;
  width: 120px;
  background: #020617;
  border: 2px solid #334155;
  border-radius: 18px;
  padding: 6px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.phone-screen-simple {
  background: #0f172a;
  border-radius: 12px;
  padding: 8px;
  color: #ffffff;
  min-height: 120px;
}

.phone-logo {
  font-size: 9px;
  font-weight: 800;
  color: #38bdf8;
  display: block;
  margin-bottom: 6px;
}

.phone-card-mini {
  background: #1e293b;
  padding: 6px;
  border-radius: 4px;
}

.phone-card-mini strong {
  font-size: 9px;
  color: #ffffff;
  display: block;
}

.phone-card-mini p {
  font-size: 7px;
  color: #94a3b8;
}


/* ==========================================================================
   9. MORE PRODUCTS: 2-COLUMN WIDE HORIZONTAL CARDS
   ========================================================================== */
.pms-products-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.products-2col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .products-2col-grid {
    grid-template-columns: 1fr;
  }
}

.product-horizontal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-horizontal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -4px rgba(15, 23, 42, 0.1);
  border-color: #93c5fd;
}

.product-card-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

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

.product-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.product-desc {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 6px;
}

.product-explore-btn {
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
}

.product-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chevron-circle {
  font-size: 24px;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.product-horizontal-card:hover .chevron-circle {
  color: #2563eb;
  transform: translateX(4px);
}


/* ==========================================================================
   10. FEATURED WORK / PORTFOLIO: 5-COLUMN GRID
   ========================================================================== */
.pms-portfolio-section {
  padding: 60px 0;
  background-color: #f8fafc;
}

.portfolio-5col-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1100px) {
  .portfolio-5col-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 480px) {
  .portfolio-5col-grid {
    grid-template-columns: 1fr;
  }
}

.portfolio-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px -4px rgba(15, 23, 42, 0.12);
}

.portfolio-thumb-wrap {
  position: relative;
  height: 140px;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card-item:hover .portfolio-img {
  transform: scale(1.06);
}

.portfolio-card-info {
  padding: 14px;
}

.portfolio-item-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.portfolio-item-category {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}


/* ==========================================================================
   11. INDUSTRIES: 8-COLUMN GRID
   ========================================================================== */
.pms-industries-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.industries-8col-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

@media (max-width: 1100px) {
  .industries-8col-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .industries-8col-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.industry-badge-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.industry-badge-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.industry-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-label {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
}


/* ==========================================================================
   12. TESTIMONIALS SECTION
   ========================================================================== */
.pms-testimonials-section {
  padding: 70px 0;
  background-color: #f8fafc;
}

.testimonials-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.t-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.t-nav-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

@media (max-width: 640px) {
  .t-nav-btn {
    display: none;
  }
}

.testimonials-2col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  flex: 1;
}

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

.testimonial-card-clean {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 24px -2px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote-text {
  font-size: 15px;
  color: #334155;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.t-author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.t-author-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #bfdbfe;
}

.t-author-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.t-author-role {
  font-size: 12px;
  color: #64748b;
}


/* ==========================================================================
   13. CALL TO ACTION (CTA) BANNER SECTION
   ========================================================================== */
.pms-cta-section {
  padding: 60px 0 80px 0;
  background-color: #ffffff;
}

.cta-banner-card {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #7c3aed 100%);
  border-radius: 28px;
  padding: 50px 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.4);
}

@media (max-width: 991px) {
  .cta-banner-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px;
  }
}

.cta-airplane-graphic {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .cta-airplane-graphic {
    display: none;
  }
}

.cta-center-content {
  max-width: 540px;
}

@media (max-width: 991px) {
  .cta-center-content {
    margin: 0 auto;
  }
}

.cta-eyebrow-pill {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.cta-main-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  font-family: var(--pms-font-heading);
  margin-bottom: 12px;
}

.cta-sub-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin-bottom: 24px;
}

.cta-buttons-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

@media (max-width: 991px) {
  .cta-buttons-row {
    justify-content: center;
  }
}

.btn-cta-primary {
  background: #1e3a8a;
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
  background: #172554;
  color: #ffffff;
}

.btn-cta-whatsapp {
  background: #ffffff;
  color: #15803d;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-cta-whatsapp:hover {
  background: #f0fdf4;
  color: #166534;
}

.cta-right-script {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--pms-font-heading);
  line-height: 1.3;
}

@media (max-width: 991px) {
  .cta-right-script {
    display: none;
  }
}
