/* ================================
   RetroSuit — POS Page CSS
   ================================ */

/* --------- Root Variables --------- */
:root {
    --bg-dark: #0e0e12;
    --bg-card: #121212;
    --bg-accent: #1f1f27;
    --primary: #4f8cff;
    --text-main: #ffffff;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(0,0,0,0.4);
    --shadow-light: 0 4px 14px rgba(0,0,0,0.3);
    --max-width: 1200px;
    --transition: 0.25s ease;
    --gap-section: 2rem;
    --font-base: "Poppins", sans-serif;
  }
  
  /* --------- Base Styles --------- */
  body {
    font-family: var(--font-base);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
  }
  
  h1,h2,h3,h4 {
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: var(--text-main);
  }
  
  /* Shared section layout */
  section {
    padding: 3rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  
  /* ================================
     Hero Section
     ================================ */
  .features-hero {
    text-align: center;
    padding: 5rem 1.5rem 3rem;
    background: linear-gradient(180deg, #4f8cff14, transparent 80%);
    border-radius: 40px;
  }
  
  .features-hero h1 { font-size: 2.75rem; }
  .features-hero p {
    max-width: 680px;
    margin: 1.5rem auto 0;
    font-size: 1.125rem;
    color: var(--text-main);
  }
  
  /* ================================
     Dashboard Section
     ================================ */
  .dashboard-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-section);
  }
  .dashboard-text h2 { font-size: 2rem; }
  .dashboard-text p { color: var(--text-main); }
  
  /* ================================
     POS Highlights
     ================================ */
  .pos-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: flex-start;
  }
  
  .highlight-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-light);
    color: var(--text-main);
    transition: transform var(--transition), box-shadow var(--transition);
    text-align: center;
    flex: 1 1 220px;
    min-width: 180px;
  }
  
  .highlight-card .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
  }
  
  .highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }
  
  /* ================================
     POS Mockup (Dark Theme Clean)
     ================================ */
  .mockup-section {
    margin-top: var(--gap-section);
    color: #ffffff;
  }
  
  .mockup-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
  }
  
  .mockup {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-light);
    padding: 1.5rem;
    display: grid;
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 900px;
    color: #ffffff;
    flex: 1;
  }
  
  /* --------- POS Page Layout --------- */
  .pos-page {
    grid-template-columns: 1fr 1fr;
  }
  
  .items-panel,
  .order-summary {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1rem;
  }
  
  .items-panel h3,
  .order-summary h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
  }
  
  .items-panel ul,
  .summary-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .items-panel li,
  .summary-panel li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  
  /* Order Summary Buttons */
  .order-summary p {
    margin: 1rem 0;
    opacity: 0.9;
  }
  
  .order-summary .btn,
  .order-summary .btn-secondary {
    width: 100%;
    margin: 0.25rem 0;
    padding: 0.75rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    color: #ffffff;
  }
  
  .order-summary .btn {
    background: #333333;
    box-shadow: 0 3px 10px rgba(0,0,0,0.6);
  }
  .order-summary .btn:hover {
    transform: translateY(-2px);
    background: #444444;
  }
  
  .order-summary .btn-secondary {
    background: rgba(255,255,255,0.05);
  }
  .order-summary .btn-secondary:hover {
    background: rgba(255,255,255,0.15);
  }
  
  /* --------- Cashout Page Layout --------- */
  .cashout-page {
    grid-template-columns: 1fr 1fr;
  }
  
  .total-panel {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
  }
  
  .total-panel h1 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }
  
  .total-panel .btn {
    width: 100%;
    margin: 0.5rem 0;
  }
  
  .summary-panel {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.5rem;
  }
  
  /* --------- Print Report Layout --------- */
  .print-report {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
  
  .printer {
    text-align: center;
    font-size: 3rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  
  .receipt {
    background: var(--bg-card);
    font-family: monospace;
    text-align: left;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.4);
    width: 220px;
  }
  
  .receipt p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
  }
  
  .receipt hr {
    border: none;
    border-top: 1px dashed rgba(255,255,255,0.2);
    margin: 0.5rem 0;
  }
  
  /* ================================
     Layout wrapper for mockups + info
     ================================ */
  .layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
  }
  
  .layout.reverse {
    flex-direction: row-reverse;
  }
  
  .mockup-info {
    flex: 1;
    max-width: 400px;
  }
  
  .mockup-info h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .mockup-info p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
  }
  
/* ================================
   CTA Section (Glowing Buttons)
   ================================ */
   .cta {
    text-align: center;
    padding: 3rem 1.5rem;
    margin-top: 3rem;
    background: linear-gradient(0deg, #4f8cff14, transparent 80%);
    border-radius: var(--radius);
    box-shadow: var(--shadow-light);
  }
  
  .cta .btn,
  .cta .btn-ghost {
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    margin: 0.5rem;
    border-radius: 10px;
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
    color: #fff; /* ✅ white text, consistent */
  }
  
  /* Solid Button */
  .cta .btn {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 12px rgba(79,140,255,0.6), 0 0 24px rgba(79,140,255,0.3);
  }
  
  .cta .btn:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(79,140,255,0.8), 0 0 32px rgba(79,140,255,0.45);
  }
  
  /* Ghost Button */
  .cta .btn-ghost {
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: rgba(255,255,255,0.9);
    box-shadow: 0 0 10px rgba(255,255,255,0.05);
  }
  
  .cta .btn-ghost:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-1px);
    color: #fff;
    box-shadow: 0 0 14px rgba(255,255,255,0.15), 0 0 24px rgba(255,255,255,0.1);
  }
  
  

  /* ================================
     Responsive Adjustments
     ================================ */
  @media (max-width: 900px) {
    .features-hero h1 { font-size: 2.25rem; }
    .features-hero p { font-size: 1rem; }
    .dashboard-text h2 { font-size: 1.5rem; }
  
    .layout,
    .layout.reverse {
      flex-direction: column;
    }
    .mockup-info {
      max-width: 100%;
      text-align: center;
    }
  }
  
  @media (max-width: 768px) {
    .pos-page,
    .cashout-page {
      grid-template-columns: 1fr;
    }
    .mockup {
      padding: 1rem;
    }
  }
  
  /* Cashout Page Buttons */
.cashout-page .btn {
    width: 100%;
    margin: 0.5rem 0;
    padding: 0.9rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 3px 12px rgba(79,140,255,0.3);
    transition: var(--transition);
  }
  
  .cashout-page .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(79,140,255,0.5);
    background: #3d74d6; /* slightly darker shade */
  }
  
  .receipt-machine {
    position: relative;
    width: 240px;
    height: 260px;
    background: #2b2b2b;
    border-radius: 12px;
    box-shadow: inset 0 -6px 12px rgba(0,0,0,0.4), var(--shadow);
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
  }
  
  .receipt-machine .slot {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 14px;
    background: #111;
    border-radius: 4px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
    z-index: 2;
  }
  
  .receipt {
    position: absolute;
    top: -150%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: #fff;
    color: #000;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    line-height: 1.3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 1;
    z-index: 1;
  }
  
  @keyframes printAndDrop {
    0%   { top: -150%; opacity: 1; }
    40%  { top: 20px;  opacity: 1; }
    70%  { top: 20px;  opacity: 1; }
    100% { top: 120%; opacity: 0; }
  }
  
  .receipt.active {
    animation: printAndDrop 3s ease forwards;
  }
  
  .receipt::before {
    content: "";
    display: block;
    width: 100%;
    height: 6px;
    background: repeating-linear-gradient(
      to right,
      #ccc 0,
      #ccc 4px,
      transparent 4px,
      transparent 8px
    );
    margin-bottom: 6px;
  }
  
/* === Overview Section === */
.overview-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 4rem 2rem;
    background: #0e0e12;
    border-radius: 12px;
    margin-bottom: 3rem;
    color: #fff; /* default text white */
  }
  
  /* Text */
  .overview-section .dashboard-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff; /* white headings */
  }
  
  .overview-section .dashboard-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #f0f0f0; /* softer white for readability */
  }
  
  /* Highlighted parts */
  .overview-section strong {
    color: #ffffff; /* subtle bright accent */
  }
  
  .overview-section em {
    font-style: italic;
    color: #d0d0d0; /* lighter grayish white */
  }
  
  /* Image */
  .overview-section .dashboard-devices {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .overview-section .dashboard-img {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .overview-section .dashboard-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.8);
  }
  
  /* Bottom paragraph (below image) */
  .overview-section > p {
    grid-column: span 2;
    margin-top: 1rem;
    font-size: 1rem;
    color: #e0e0e0;
    text-align: center;
    line-height: 1.6;
  }
  
  /* Responsive */
  @media (max-width: 900px) {
    .overview-section {
      grid-template-columns: 1fr;
      text-align: center;
    }
    .overview-section > p {
      grid-column: 1;
    }
  }
  