/* =============================================
   Solutions POS Page - Amber/Orange Theme
   ============================================= */

.solution-pos-page {
  background: #f8fafc;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1e293b;
  overflow-x: hidden;
}

/* =============================================
   POS Hero — Live Animated Gradient
   ============================================= */

.pos-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 84px;
  padding: 60px 0;

  /* Vivid multi-color animated gradient */
  background: linear-gradient(
    -45deg,
    #0b1a2f 0%,
    #1a2f44 12%,
    #6b2fa0 28%,
    #1a4a6b 44%,
    #9b59b6 58%,
    #0f6b5c 72%,
    #1a2f44 86%,
    #0b1a2f 100%
  );
  background-size: 500% 500%;
  animation: posHeroLive 18s ease-in-out infinite;
}

@keyframes posHeroLive {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 100% 50%; }
  50%  { background-position: 100% 0%; }
  75%  { background-position: 0% 50%; }
  100% { background-position: 0% 50%; }
}

/* Soft color glow blobs that drift for extra life */
.pos-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle 420px at 20% 30%, rgba(155, 89, 182, 0.35), transparent 70%),
    radial-gradient(circle 360px at 80% 20%, rgba(52, 152, 219, 0.30), transparent 70%),
    radial-gradient(circle 400px at 65% 80%, rgba(26, 188, 156, 0.25), transparent 70%),
    radial-gradient(circle 340px at 15% 85%, rgba(245, 176, 65, 0.20), transparent 70%);
  background-size: 200% 200%;
  animation: posGlowDrift 20s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes posGlowDrift {
  0%   { background-position: 0% 0%; transform: scale(1); }
  50%  { background-position: 100% 100%; transform: scale(1.15); }
  100% { background-position: 0% 0%; transform: scale(1); }
}

/* Subtle shine sweep */
.pos-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    110deg,
    transparent 35%,
    rgba(255, 255, 255, 0.10) 50%,
    transparent 65%
  );
  background-size: 250% 100%;
  animation: posHeroShine 7s linear infinite;
}

@keyframes posHeroShine {
  0%   { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

/* Contrast overlay — keeps headline readable */
.pos-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(
    ellipse 90% 70% at 50% 50%,
    transparent 25%,
    rgba(5, 10, 20, 0.45) 100%
  );
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pos-hero,
  .pos-hero::before,
  .pos-hero::after {
    animation: none !important;
  }
}
.pos-hero-shapes { position: absolute; inset: 0; }

.pos-shape { position: absolute; border-radius: 50%; opacity: 0.3; }
.pos-shape.shape-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(245, 176, 65, 0.15), transparent 70%); top: -10%; right: -5%; animation: pulse 5s ease-in-out infinite; }
.pos-shape.shape-2 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(230, 126, 34, 0.12), transparent 70%); bottom: -10%; left: -5%; animation: pulse 6s ease-in-out infinite reverse; }
.pos-shape.shape-3 { width: 200px; height: 200px; background: radial-gradient(circle, rgba(245, 176, 65, 0.1), transparent 70%); top: 40%; left: 30%; animation: pulse 4s ease-in-out infinite; }
.pos-shape.shape-4 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(230, 126, 34, 0.08), transparent 70%); bottom: 20%; right: 20%; animation: pulse 7s ease-in-out infinite reverse; }

.pos-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.pos-hero-text { color: white; }
.pos-hero-text h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.03em; }
.pos-hero-text h1 span { background: linear-gradient(135deg, #f5b041, #e67e22); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.pos-hero-text p { font-size: 1.15rem; color: rgba(255, 255, 255, 0.75); max-width: 520px; line-height: 1.7; margin-bottom: 32px; }

.pos-cta-group { display: flex; flex-wrap: wrap; gap: 16px; }
.pos-btn { display: inline-block; padding: 14px 36px; border-radius: 60px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: 0.3s ease; border: none; cursor: pointer; font-family: inherit; }
.pos-btn-primary { background: #f5b041; color: #0b1a2f; box-shadow: 0 8px 24px rgba(245, 176, 65, 0.3); }
.pos-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(245, 176, 65, 0.45); background: #f7c35c; }
.pos-btn-outline { background: transparent; border: 2px solid rgba(255, 255, 255, 0.3); color: white; }
.pos-btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: #f5b041; color: #f5b041; }
.pos-btn-outline-light { background: transparent; border: 2px solid #f5b041; color: #f5b041; }
.pos-btn-outline-light:hover { background: #f5b041; color: #0b1a2f; }

.pos-hero-visual { display: flex; justify-content: center; align-items: center; }
.pos-hero-visual img { width: 100%; max-width: 500px; height: auto; border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); object-fit: cover; }

.pos-section-header { text-align: center; margin-bottom: 60px; }
.pos-section-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 6px 16px; border-radius: 20px; background: rgba(245, 176, 65, 0.12); color: #e67e22; margin-bottom: 12px; }
.pos-section-header h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: #0b1a2f; letter-spacing: -0.02em; margin-bottom: 12px; }
.pos-section-header p { color: #475569; font-size: 1.05rem; max-width: 700px; margin: 0 auto; line-height: 1.7; }

.pos-overview { padding: 80px 0; background: #ffffff; }
.pos-overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pos-overview-card { background: #f8fafc; padding: 36px 28px; border-radius: 20px; border: 1px solid #e2e8f0; text-align: center; transition: 0.3s ease; }
.pos-overview-card:hover { transform: translateY(-6px); border-color: #f5b041; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06); }
.pos-overview-card h3 { font-size: 1.15rem; font-weight: 700; color: #0b1a2f; margin-bottom: 8px; }
.pos-overview-card p { color: #475569; font-size: 0.92rem; line-height: 1.6; }

.pos-features { padding: 80px 0; background: #f8fafc; }
.pos-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pos-feature-card { background: #ffffff; padding: 28px 24px; border-radius: 16px; border: 1px solid #e2e8f0; transition: 0.3s ease; }
.pos-feature-card:hover { transform: translateY(-4px); border-color: #f5b041; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06); }
.pos-feature-card h3 { font-size: 1.05rem; font-weight: 700; color: #0b1a2f; margin-bottom: 8px; }
.pos-feature-card p { color: #475569; font-size: 0.92rem; line-height: 1.6; }

.pos-benefits { padding: 80px 0; background: #ffffff; }
.pos-benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pos-benefit-card { background: #f8fafc; padding: 28px 24px; border-radius: 16px; border: 1px solid #e2e8f0; transition: 0.3s ease; text-align: center; }
.pos-benefit-card:hover { transform: translateY(-4px); border-color: #f5b041; }
.pos-benefit-card h3 { font-size: 1rem; font-weight: 700; color: #0b1a2f; margin-bottom: 8px; }
.pos-benefit-card p { color: #475569; font-size: 0.9rem; line-height: 1.6; }

.pos-stats { padding: 80px 0; background: #0b1a2f; }
.pos-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pos-stat-card { text-align: center; }
.pos-stat-number { display: block; font-size: 2.8rem; font-weight: 800; color: #f5b041; line-height: 1.2; margin-bottom: 4px; }
.pos-stat-label { font-size: 0.9rem; color: rgba(255, 255, 255, 0.5); }

.pos-cta { padding: 80px 0; background: #ffffff; }
.pos-cta-content { text-align: center; max-width: 700px; margin: 0 auto; padding: 0 24px; }
.pos-cta-content h2 { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 800; color: #0b1a2f; margin-bottom: 16px; }
.pos-cta-content p { font-size: 1.1rem; color: #475569; margin-bottom: 32px; }
.pos-cta-content .pos-cta-group { justify-content: center; }

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@media (max-width: 1024px) {
  .pos-overview-grid, .pos-features-grid, .pos-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .pos-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 968px) {
  .pos-hero-content { grid-template-columns: 1fr; text-align: center; }
  .pos-hero-text p { max-width: 100%; margin-left: auto; margin-right: auto; }
  .pos-cta-group { justify-content: center; }
}

@media (max-width: 768px) {
  .pos-overview-grid, .pos-features-grid, .pos-benefits-grid, .pos-stats-grid { grid-template-columns: 1fr; }
  .pos-hero { margin-top: 70px; padding: 40px 0; min-height: auto; }
}
.pos-stat-number {
  font-variant-numeric: tabular-nums;
  min-height: 1.2em;
  display: block;
}
/* =============================================
   POS — FAQ Section
   ============================================= */

.pos-faq {
  padding: 80px 0;
  background: #f8fafc;
}

.pos-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pos-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.pos-faq-item:hover {
  border-color: #f5b041;
  box-shadow: 0 8px 28px rgba(245, 176, 65, 0.10);
}

.pos-faq-item[open] {
  border-color: #f5b041;
  box-shadow: 0 10px 32px rgba(245, 176, 65, 0.14);
}

.pos-faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-size: 1.02rem;
  font-weight: 600;
  color: #0b1a2f;
  line-height: 1.5;
  transition: color 0.25s ease;
}

.pos-faq-item summary::-webkit-details-marker {
  display: none;
}

.pos-faq-item summary:hover {
  color: #f5b041;
}

.pos-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 400;
  color: #f5b041;
  border: 1.5px solid rgba(245, 176, 65, 0.45);
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.pos-faq-item[open] summary::after {
  content: "–";
  transform: translateY(-50%) rotate(180deg);
  background: #f5b041;
  color: #ffffff;
  border-color: #f5b041;
}

.pos-faq-answer {
  padding: 0 24px 22px;
  animation: posFaqFade 0.35s ease;
}

.pos-faq-answer p {
  margin: 0;
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.7;
}

.pos-faq-answer strong {
  color: #0b1a2f;
  font-weight: 700;
}

@keyframes posFaqFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .pos-faq { padding: 56px 0; }
  .pos-faq-item summary {
    padding: 16px 48px 16px 18px;
    font-size: 0.96rem;
  }
  .pos-faq-item summary::after {
    right: 16px;
    width: 22px;
    height: 22px;
    font-size: 1.1rem;
  }
  .pos-faq-answer {
    padding: 0 18px 18px;
  }
  .pos-faq-answer p { font-size: 0.92rem; }
}