/* ============================================================
   REDY — Queue Management System
   Design tokens
   ============================================================ */
:root {
  --blue: #0099ff;
  --blue-dark: #0077cc;
  --navy: #071c33;
  --navy-2: #0d2c4d;
  --mint: #00e6b4;
  --ink: #10151c;
  --ink-soft: #4a5568;
  --paper: #ffffff;
  --mist: #f2f7fb;
  --line: #e3ebf2;

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --max: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(0, 230, 180, 0.25);
}

section { padding: 96px 0; }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { font-size: 1.05rem; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(0, 153, 255, 0.6);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); }

.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover { transform: translateY(-1px); }

.btn-outline-light {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn-outline-light:hover { border-color: #fff; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   Header
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo img { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--blue-dark); }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.nav-toggle { display: none; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-links-mobile {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  border-top: 1px solid transparent;
  font-size: 1rem;
  font-weight: 500;
}

.nav-toggle:checked ~ .nav-links-mobile {
  border-top-color: var(--line);
}

.nav-links-mobile a {
  display: block;
  padding: 14px 24px;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.nav-toggle:checked ~ .nav-links-mobile {
  max-height: 400px;
}

.nav-toggle:checked ~ .wrap .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .wrap .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .wrap .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 90px 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 500px at 85% 10%, rgba(0, 153, 255, 0.35), transparent 60%),
    radial-gradient(500px 400px at 100% 90%, rgba(0, 230, 180, 0.18), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-copy .eyebrow { color: var(--mint); }
.hero-copy .eyebrow::before { box-shadow: 0 0 0 3px rgba(0, 230, 180, 0.3); }

.hero-copy h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  color: #fff;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.12rem;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
}

.hero-stats div span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* --- LED ticket board: signature element --- */
.ticket-board {
  position: relative;
  background: linear-gradient(180deg, #0a2540, #081c33);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.ticket-board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
}

.ticket-board-head .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  display: inline-block;
  margin-right: 6px;
  animation: pulse 2.4s ease-in-out infinite;
}

.now-serving {
  text-align: center;
  padding: 26px 10px 30px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.now-serving .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.now-serving .number {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 6vw, 4.2rem);
  font-weight: 500;
  color: var(--mint);
  letter-spacing: 0.04em;
  text-shadow: 0 0 24px rgba(0, 230, 180, 0.45);
}

.ticket-queue {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
}

.ticket-queue .q {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

.ticket-queue .q span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 4px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-scroll-cue {
  text-align: center;
  padding: 34px 0 26px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   Intro / What is REDY
   ============================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.intro-card {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
}

.intro-card .num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--blue-dark);
  margin-bottom: 18px;
  display: block;
}

.intro-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.intro-card p { font-size: 0.95rem; margin-bottom: 0; }

/* ============================================================
   How it works (numbered timeline + phones)
   ============================================================ */
.how-section { background: var(--mist); }

.how-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: start;
}

.timeline { list-style: none; margin: 0; padding: 0; }

.timeline li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding-bottom: 36px;
  position: relative;
}

.timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 46px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.timeline .step-num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--blue);
  background: #fff;
  border: 1.5px solid var(--blue);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.timeline h4 { font-size: 1.08rem; margin-bottom: 6px; }
.timeline p { font-size: 0.95rem; margin-bottom: 0; }

.phone-showcase {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: sticky;
  top: 110px;
}

.phone-frame {
  border-radius: 26px;
  overflow: hidden;
  border: 6px solid var(--navy);
  box-shadow: 0 30px 50px -25px rgba(7, 28, 51, 0.5);
  /*max-width: 210px;*/
}

/*.phone-frame:nth-child(2) { margin-top: 36px; }*/

/* ============================================================
   Ecosystem / features grid
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-cell {
  background: #fff;
  padding: 34px 30px;
}

.feature-cell .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--blue-dark);
}

.feature-cell h4 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-cell p { font-size: 0.92rem; margin-bottom: 0; }

/* ============================================================
   Implementation / kiosk photo split
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.split-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(7, 28, 51, 0.35);
}

.modes { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }

.modes li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}

.modes h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modes h4 .tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--mist);
  color: var(--blue-dark);
  padding: 3px 8px;
  border-radius: 6px;
}

.modes p { font-size: 0.92rem; margin-bottom: 0; }

/* ============================================================
   LinkedIn
   ============================================================ */
/* LinkedIn Section Slider Styles */
.li-slider-wrapper {
  position: relative;
  margin-top: 3rem;
  overflow: hidden;
}

.li-posts-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
  padding: 0 2rem;
}

.li-post-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.li-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.li-post-card iframe {
  width: 100% !important;
  height: auto !important;
  min-height: 500px;
  display: block;
}

/* Slider Navigation Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: #fff;
  border: 1px solid #ddd;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
  background: #f5f5f5;
  border-color: #999;
}

.slider-btn-prev {
  left: 10px;
}

.slider-btn-next {
  right: 10px;
}

/* Slider Indicators */
.slider-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.slider-dot.active {
  background: #0a66c2;
  width: 24px;
  border-radius: 4px;
}

/* Tablet Breakpoint */
@media (max-width: 1024px) {
  .li-posts-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .slider-btn {
    display: flex;
  }

  .slider-dots {
    display: flex;
  }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
  .li-slider-wrapper {
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
  }

  .li-posts-container {
    display: flex;
    width: 100%;
    gap: 0;
    padding: 0;
    transition: transform 0.4s ease;
  }

  .li-post-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    gap: 0;
  }

  .li-post-card iframe {
    min-height: 400px !important;
  }

  .slider-btn {
    display: flex;
  }

  .slider-dots {
    display: flex;
  }

  .slider-btn-prev {
    left: 5px;
  }

  .slider-btn-next {
    right: 5px;
  }
}

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
}

.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; }

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-list .ic {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--mist);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-list strong { display: block; font-size: 0.95rem; }
.contact-list a, .contact-list span.value { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.contact-list a:hover { color: var(--blue-dark); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 100%;
  min-height: 320px;
}

.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 28px;
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-top img { height: 26px; }

.footer-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a { text-decoration: none; color: rgba(255, 255, 255, 0.65); }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy p { max-width: 100%; }
  .how-layout { grid-template-columns: 1fr; }
  .phone-showcase { position: static; margin-top: 20px; }
  .split { grid-template-columns: 1fr; }
  .split-photo { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn-primary { padding: 10px 18px; font-size: 0.85rem; }
  .nav-burger { display: flex; }
}

@media (min-width: 781px) {
  .nav-links-mobile, .nav-burger { display: none; }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .hero { padding-top: 60px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
