/* ==========================================================================
   OFFIXO — Techfifo Innovations
   Design tokens
   ========================================================================== */

:root {
  --primary: #12B8D4;
  --primary-dark: #0891B2;
  --secondary: #0EA5E9;
  --light-blue: #E8F9FC;
  --background: #F7FCFD;
  --white: #FFFFFF;
  --dark: #0F172A;
  --text: #334155;
  --muted: #64748B;
  --border: #E2ECEF;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 30px rgba(18, 184, 212, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.10);
  --glow: 0 0 60px rgba(18, 184, 212, 0.25);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(1.85rem, 4.5vw + 1rem, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.2vw + 0.8rem, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.2vw + 0.6rem, 1.8rem); }
h4 { font-size: clamp(1.05rem, 1.6vw + 0.5rem, 1.25rem); }

p, a, span, li, button, input, textarea {
  overflow-wrap: break-word;
}

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

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
}

@media (max-width: 360px) {
  .container { padding: 0 12px; }
}

section { position: relative; }

.section-pad { padding: 100px 0; }

@media (max-width: 940px) {
  .section-pad { padding: 72px 0; }
}

@media (max-width: 640px) {
  .section-pad { padding: 52px 0; }
}

@media (max-width: 380px) {
  .section-pad { padding: 42px 0; }
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

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

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .section-head { margin-bottom: 38px; }
  .section-head h2 { font-size: 1.9rem; }
  .section-head p { font-size: 0.98rem; }
}

@media (max-width: 480px) {
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 1.55rem; }
  .section-head p { font-size: 0.9rem; }
}

@media (max-width: 360px) {
  .section-head h2 { font-size: 1.35rem; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(18, 184, 212, 0.28); }

.btn-outline {
  background: var(--white);
  color: var(--dark);
  border: 1.5px solid var(--border);
}

.btn-outline:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-2px); }

.btn-light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}
.btn-light:hover { background: rgba(255, 255, 255, 0.25); transform: translateY(-2px); }

/* ==========================================================================
   Scroll progress bar
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 1200;
  transition: width 0.1s linear;
}

/* ==========================================================================
   Navbar dropdown (matches: .nav-item.has-dropdown > a + .nav-drop-chevron + .nav-dropdown)
   ========================================================================== */

.nav-item.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item.has-dropdown > a { padding-right: 0; }

.nav-drop-chevron {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px 4px;
  font-size: 0.72rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
}
.nav-item.has-dropdown:hover .nav-drop-chevron,
.nav-item.has-dropdown.open .nav-drop-chevron { transform: rotate(180deg); color: var(--primary-dark); }

/* Invisible hover bridge */
.nav-item.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -12px;
  width: 270px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 14px;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.85);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.97);
  transform-origin: top left;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  z-index: 1050;
  pointer-events: none;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nav-dropdown a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}
.nav-dropdown a:hover {
  background: var(--light-blue);
  color: var(--primary-dark);
  transform: translateX(4px);
}
.nav-dropdown a::after { display: none; }

.nav-dropdown-overview {
  font-weight: 700 !important;
  color: var(--primary-dark) !important;
  border-bottom: 1px solid var(--border);
  border-radius: 0 !important;
  margin-bottom: 4px;
  padding-bottom: 10px !important;
}
.nav-dropdown-overview:hover {
  transform: none !important;
  background: transparent !important;
}

@media (max-width: 1140px) {
  .nav-item.has-dropdown { width: 100%; flex-wrap: wrap; }
  .nav-item.has-dropdown > a { font-size: 1.05rem; }
  .nav-drop-chevron { margin-left: auto; font-size: 0.95rem; padding: 8px; }
  .nav-dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 4px 0 4px 14px;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 4px;
    pointer-events: auto;
  }
  .nav-item.has-dropdown.open .nav-dropdown { max-height: 360px; }
}

/* ==========================================================================
   Hero interactions: staggered entrance, cursor glow, magnetic buttons
   ========================================================================== */

.hero-glow {
  position: absolute;
  top: 0; left: 0;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18,184,212,0.16), transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.hero-glow.active { opacity: 1; }

.hero-in {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.7s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

.magnetic { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .hero-in { opacity: 1; transform: none; animation: none; }
  .hero-glow { display: none; }
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: navbarSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes navbarSlideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(203, 213, 225, 0.8);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
}

.navbar .container {
  max-width: 1360px;
  padding: 0 32px;
}

@media (max-width: 1140px) {
  .navbar .container { padding: 0 20px; }
}
@media (max-width: 480px) {
  .navbar .container { padding: 0 16px; }
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 32px;
  height: 78px;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled .nav-inner { height: 66px; }

@media (max-width: 1140px) {
  .nav-inner {
    display: flex;
    justify-content: space-between;
    height: 70px;
  }
  .navbar.scrolled .nav-inner { height: 62px; }
}

@media (max-width: 480px) {
  .nav-inner {
    height: 64px;
  }
  .navbar.scrolled .nav-inner { height: 58px; }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--dark);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.brand:hover { opacity: 0.92; }

@media (max-width: 480px) {
  .brand { font-size: 1.2rem; gap: 8px; }
}

.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.brand:hover .brand-mark {
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(18, 184, 212, 0.25);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 480px) {
  .brand-mark { width: 32px; height: 32px; border-radius: 8px; }
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-width: 0;
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 4px;
}

.nav-links a:hover { color: var(--primary-dark); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active {
  color: var(--primary-dark);
  font-weight: 600;
}

.nav-actions { display: flex; align-items: center; gap: 16px; }

.nav-actions .btn-primary {
  padding: 12px 24px;
  font-size: 0.92rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, width 0.3s ease;
}

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

.nav-mobile-cta { display: none; }

@media (max-width: 1140px) {
  .nav-mobile-cta { display: inline-flex; width: 100%; justify-content: center; margin-top: 14px; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(85vw, 340px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    padding: 88px 28px 40px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.12);
    overflow-y: auto;
    z-index: 1050;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.05rem; padding: 8px 0; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-primary { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 168px 0 100px;
  position: relative;
  background:
    radial-gradient(700px 400px at 85% -10%, rgba(18, 184, 212, 0.14), transparent 60%),
    radial-gradient(600px 400px at 10% 20%, rgba(14, 165, 233, 0.08), transparent 60%),
    var(--background);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light-blue);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

.hero h1 {
  font-size: 3.6rem;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--dark);
  font-weight: 500;
  margin-bottom: 16px;
}

.hero p.desc {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }

.trust-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.trust-line .dots { display: flex; }
.trust-line .dots span {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: 2px solid var(--white);
  margin-left: -8px;
}
.trust-line .dots span:first-child { margin-left: 0; }

/* Phone showcase */
.hero-visual { position: relative; display: flex; justify-content: center; }

.phone-stack { position: relative; width: 300px; height: 560px; }

.phone {
  position: absolute;
  width: 260px;
  border-radius: 34px;
  background: var(--dark);
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.phone-screen {
  background: var(--white);
  border-radius: 26px;
  overflow: hidden;
  height: 520px;
  display: flex;
  flex-direction: column;
}

.phone.back-left {
  left: -30px; top: 40px;
  transform: rotate(-9deg) scale(0.92);
  opacity: 0.55;
  z-index: 1;
}
.phone.back-right {
  right: -30px; top: 40px;
  transform: rotate(9deg) scale(0.92);
  opacity: 0.55;
  z-index: 1;
}
.phone.front {
  left: 50%; top: 0;
  transform: translateX(-50%);
  z-index: 2;
  animation: float 5s ease-in-out infinite;
  box-shadow: var(--glow), var(--shadow-lg);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-14px); }
}

.app-topbar {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 22px 18px 26px;
  border-radius: 26px 26px 0 0;
}
.app-topbar .greet { font-size: 0.72rem; opacity: 0.85; }
.app-topbar .name { font-size: 1.05rem; font-weight: 700; margin-top: 2px; }

.app-body { padding: 16px; flex: 1; }

.app-status-card {
  background: var(--light-blue);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
}
.app-status-card .label { font-size: 0.68rem; color: var(--primary-dark); font-weight: 700; letter-spacing: 0.03em; }
.app-status-card .value { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-top: 4px; }

.app-mini-row { display: flex; gap: 10px; margin-bottom: 14px; }
.app-mini {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}
.app-mini .t { font-size: 0.64rem; color: var(--muted); font-weight: 600; }
.app-mini .v { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-top: 3px; }

.app-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
}
.app-pill {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}
.app-pill.green { background: #DCFCE7; color: #15803D; }
.app-pill.amber { background: #FEF3C7; color: #B45309; }
.app-pill.red { background: #FEE2E2; color: #B91C1C; }

.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  animation: bob 4.5s ease-in-out infinite;
}
.float-card .dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
.float-card.card-1 { top: 8%; left: -12%; animation-delay: 0.2s; }
.float-card.card-2 { bottom: 18%; right: -10%; animation-delay: 1s; }
.float-card.card-3 { bottom: -2%; left: 4%; animation-delay: 1.8s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-visual { order: -1; }
  .hero-actions { justify-content: center; }
  .trust-line { justify-content: center; }
  .hero p.desc { margin-left: auto; margin-right: auto; }
  .float-card.card-1 { left: 0%; }
  .float-card.card-2 { right: 0%; }
}

@media (max-width: 640px) {
  .hero { padding: 130px 0 60px; }
  .hero h1 { font-size: 2.3rem; }
  .hero-sub { font-size: 1.1rem; }
  .hero p.desc { font-size: 1rem; }
  .phone-stack { transform: scale(0.9); transform-origin: center top; height: 500px; }
  .float-card { font-size: 0.75rem; padding: 10px 14px; }
}

@media (max-width: 480px) {
  .hero { padding: 110px 0 50px; }
  .hero h1 { font-size: 1.85rem; }
  .hero-sub { font-size: 1rem; }
  .hero p.desc { font-size: 0.92rem; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; }
  .phone-stack { transform: scale(0.82); transform-origin: center top; height: 460px; }
  .phone.back-left { left: -15px; }
  .phone.back-right { right: -15px; }
}

@media (max-width: 360px) {
  .hero { padding: 96px 0 40px; }
  .hero h1 { font-size: 1.6rem; }
  .phone-stack { transform: scale(0.72); transform-origin: center top; height: 400px; }
}

/* ==========================================================================
   Intro / highlights
   ========================================================================== */

.intro-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 20px;
}

.highlight-item { border-top: 2px solid var(--border); padding-top: 20px; }
.highlight-item .num { font-family: var(--font-display); font-weight: 800; color: var(--primary); font-size: 1.4rem; }
.highlight-item h4 { font-size: 1.1rem; margin-top: 8px; }

@media (max-width: 900px) {
  .intro-highlights { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 560px) {
  .intro-highlights { grid-template-columns: 1fr; gap: 20px; }
}

/* ==========================================================================
   Feature cards
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(18, 184, 212, 0.35);
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--light-blue);
  color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.feature-card h4 { font-size: 1.02rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--muted); }

@media (max-width: 940px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Split sections (feature highlight / employee experience)
   ========================================================================== */

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

.split.reverse .split-visual { order: 2; }

.split-visual { display: flex; justify-content: center; position: relative; }

.check-list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; color: var(--dark); font-size: 0.98rem;
}
.check-list .tick {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--light-blue); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; flex-shrink: 0;
}

.floating-stat-card {
  position: absolute;
  bottom: -10px; left: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex; gap: 18px;
}
.floating-stat-card .stat .l { font-size: 0.62rem; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.floating-stat-card .stat .v { font-size: 1rem; font-weight: 800; color: var(--dark); margin-top: 2px; }

@media (max-width: 940px) {
  .split, .split.reverse .split-visual { grid-template-columns: 1fr; order: initial; }
  .split { gap: 44px; }
  .split-visual { order: -1 !important; }
  .floating-stat-card { position: static; margin-top: 18px; display: inline-flex; }
}

/* ==========================================================================
   Check-in / Check-out
   ========================================================================== */

.checkin-section {
  background: linear-gradient(180deg, var(--light-blue), var(--background));
}

.checkin-panel {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.checkin-circle {
  width: 190px; height: 190px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 10px rgba(18, 184, 212, 0.10), var(--shadow-lg);
  position: relative;
}

.checkin-circle::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px solid rgba(18, 184, 212, 0.35);
  animation: pulse-ring 2.8s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.92); opacity: 0.9; }
  80% { transform: scale(1.12); opacity: 0; }
  100% { opacity: 0; }
}

.checkin-note { color: var(--muted); font-size: 0.95rem; margin-bottom: 34px; }

.checkin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.checkin-stats .stat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 10px;
}
.checkin-stats .stat-box .t { font-size: 0.68rem; color: var(--muted); font-weight: 600; }
.checkin-stats .stat-box .v { font-size: 1.05rem; font-weight: 800; color: var(--dark); margin-top: 4px; }

@media (max-width: 480px) {
  .checkin-stats { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Leave management
   ========================================================================== */

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

.leave-card-stack { display: flex; flex-direction: column; gap: 14px; }

.leave-item-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.leave-item-card .left { display: flex; align-items: center; gap: 14px; }
.leave-item-card .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--light-blue); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.leave-item-card .type { font-weight: 700; color: var(--dark); font-size: 0.95rem; }
.leave-item-card .dates { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

@media (max-width: 940px) {
  .leave-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ==========================================================================
   How it works — timeline
   ========================================================================== */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 26px; left: 8%; right: 8%;
  height: 2px;
  background: var(--border);
}

.timeline-step { text-align: center; position: relative; }

.timeline-step .circle {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  position: relative;
  z-index: 2;
  font-size: 1.05rem;
}

.timeline-step h4 { font-size: 1rem; margin-bottom: 8px; }
.timeline-step p { font-size: 0.88rem; color: var(--muted); }

@media (max-width: 768px) {
  .timeline { grid-template-columns: 1fr; gap: 36px; }
  .timeline::before { display: none; }
}

/* ==========================================================================
   Benefits
   ========================================================================== */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-block {
  padding: 28px 22px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
}

.benefit-block h4 { font-size: 1.02rem; margin-bottom: 8px; }
.benefit-block p { font-size: 0.9rem; color: var(--muted); }

@media (max-width: 940px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Screenshot carousel
   ========================================================================== */

.carousel-wrap { position: relative; }

.carousel-wrap .carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 30px;
  scrollbar-width: none;
}
.carousel-wrap .carousel-track::-webkit-scrollbar { display: none; }

.carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: 240px;
}

.carousel-item .phone { position: static; width: 100%; animation: none; transform: none; opacity: 1; }
.carousel-item .phone-screen { height: 480px; }
.carousel-item .caption { text-align: center; margin-top: 14px; font-weight: 700; font-size: 0.92rem; color: var(--dark); }

.carousel-controls { display: flex; justify-content: center; gap: 14px; margin-top: 10px; }

.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  color: var(--dark);
}
.carousel-btn:hover { background: var(--light-blue); border-color: var(--primary); color: var(--primary-dark); }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.carousel-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border);
  transition: all 0.25s;
}
.carousel-dots span.active { background: var(--primary); width: 20px; border-radius: 4px; }

/* ==========================================================================
   Why Offixo
   ========================================================================== */

.why-section { background: var(--dark); color: var(--white); }
.why-section .section-label { color: var(--secondary); }
.why-section .section-head h2 { color: var(--white); }
.why-section .section-head p { color: rgba(255,255,255,0.65); }

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

.why-list { display: flex; flex-direction: column; gap: 18px; }
.why-list li {
  display: flex; align-items: center; gap: 14px;
  font-weight: 600; font-size: 1rem;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.why-list .tick {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(18, 184, 212, 0.2); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; flex-shrink: 0;
}

.why-mark {
  display: flex; align-items: center; justify-content: center;
}
.why-mark-circle {
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(18,184,212,0.35), rgba(18,184,212,0.05));
  border: 1px solid rgba(18,184,212,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--white);
}

@media (max-width: 940px) {
  .why-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .why-list li { justify-content: center; }
  .why-mark { order: -1; }
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.cta-section {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary) 60%, var(--secondary));
  color: var(--white);
  text-align: center;
  padding: 96px 0;
  border-radius: var(--radius-lg);
  margin: 0 24px;
  max-width: calc(var(--container) - 0px);
  margin-left: auto;
  margin-right: auto;
}

.cta-section h2 { color: var(--white); font-size: 2.3rem; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.9); max-width: 520px; margin: 0 auto 34px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-actions .btn-primary { background: var(--white); color: var(--primary-dark); box-shadow: none; }
.cta-actions .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.15); }

@media (max-width: 640px) {
  .cta-section { padding: 64px 24px; margin: 0 16px; }
  .cta-section h2 { font-size: 1.7rem; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .brand { color: var(--white); margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; }

.footer-col h5 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 26px;
  font-size: 0.82rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Inner page hero (about / features / contact)
   ========================================================================== */

.page-hero {
  padding: 150px 0 64px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% -20%, rgba(18, 184, 212, 0.14), transparent 60%),
    var(--background);
}
.page-hero h1 { font-size: 2.6rem; margin-bottom: 14px; }
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

@media (max-width: 900px) {
  .page-hero { padding: 120px 0 48px; }
  .page-hero h1 { font-size: 2.1rem; }
  .page-hero p { font-size: 0.98rem; }
}

@media (max-width: 640px) {
  .page-hero { padding: 100px 0 38px; }
  .page-hero h1 { font-size: 1.75rem; }
  .page-hero p { font-size: 0.92rem; }
}

@media (max-width: 380px) {
  .page-hero { padding: 88px 0 30px; }
  .page-hero h1 { font-size: 1.5rem; }
}

/* ==========================================================================
   Contact Page & Detail Section
   ========================================================================== */

.detail-section {
  padding: 60px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-form {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-row input, .form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  background: var(--background);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark);
}
.form-row input:focus, .form-row textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(18, 184, 212, 0.15);
  background: var(--white);
  outline: none;
}
.form-row textarea { resize: vertical; min-height: 120px; }

.form-status {
  margin-top: 16px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  border-radius: var(--radius-sm);
  display: none;
  transition: all 0.3s var(--ease);
}
.form-status.show { display: block; }
.form-status.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 12px 16px;
}
.form-status.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 12px 16px;
}
.form-status.loading {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  padding: 12px 16px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

.contact-info-item {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s var(--ease);
}
.contact-info-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--light-blue);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.contact-info-item:hover .icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.06);
}

.contact-info-text {
  flex: 1;
  min-width: 0;
}
.contact-info-text h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 4px 0;
  line-height: 1.3;
}
.contact-info-text p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
  word-break: break-word;
}
.contact-info-text p a {
  color: var(--primary-dark);
  font-weight: 600;
  transition: color 0.2s;
  word-break: break-word;
}
.contact-info-text p a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.contact-pricing-wrapper {
  padding-top: 4px;
}
.contact-pricing-wrapper .btn {
  width: 100%;
}

@media (max-width: 900px) {
  .detail-section { padding: 40px 0 70px; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 600px;
  }
}

@media (max-width: 640px) {
  .detail-section { padding: 30px 0 50px; }
  .contact-form {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }
  .form-row { margin-bottom: 16px; }
  .form-row input, .form-row textarea {
    padding: 11px 14px;
    font-size: 0.92rem;
  }
  .contact-info-item {
    padding: 14px 16px;
    gap: 14px;
  }
  .contact-info-item .icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1.1rem;
  }
  .contact-info-text h4 { font-size: 0.94rem; }
  .contact-info-text p { font-size: 0.88rem; }
}

@media (max-width: 380px) {
  .contact-form {
    padding: 18px 14px;
  }
  .contact-info-item {
    padding: 12px 14px;
    gap: 12px;
  }
  .contact-info-item .icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 1rem;
  }
  .contact-info-text p a {
    word-break: break-all;
  }
}

/* ==========================================================================
   Platform flow (Employee App -> Admin -> Insights)
   ========================================================================== */

.platform-flow {
  display: flex;
  align-items: center;
  gap: 18px;
}

.platform-card {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-align: left;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.platform-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.platform-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.platform-card h4 { font-size: 1.1rem; margin-bottom: 12px; }
.platform-card ul { display: flex; flex-direction: column; gap: 8px; }
.platform-card ul li {
  font-size: 0.9rem; color: var(--muted);
  padding-left: 16px;
  position: relative;
}
.platform-card ul li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary);
}

.platform-arrow {
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .platform-flow { flex-direction: column; }
  .platform-arrow { transform: rotate(90deg); }
}

/* ==========================================================================
   Workflow (How OFFIXO Works)
   ========================================================================== */

.workflow-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  row-gap: 28px;
  column-gap: 10px;
  position: relative;
  margin-bottom: 18px;
}

.workflow-track::before {
  content: '';
  position: absolute;
  top: 30px; left: 6%; right: 6%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.workflow-fill {
  position: absolute;
  top: 30px; left: 6%;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  z-index: 0;
  transition: width 0.5s var(--ease);
}

.workflow-step { text-align: center; position: relative; z-index: 1; cursor: default; flex: 0 1 104px; }

.workflow-step .icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}

.workflow-step .icon:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.workflow-step.active .icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-color: transparent;
  transform: scale(1.14);
  box-shadow: 0 14px 32px rgba(18,184,212,0.35);
}

.workflow-step.active .icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 26px;
  border: 2px solid rgba(18, 184, 212, 0.45);
  animation: pulse-ring 2.2s ease-out infinite;
}

.workflow-step h5 { font-size: 0.88rem; font-weight: 700; color: var(--muted); transition: color 0.3s; }
.workflow-step.active h5 { color: var(--dark); }
.workflow-active-desc {
  text-align: center;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 24px;
  margin-bottom: 30px;
  transition: opacity 0.25s ease;
}

.workflow-quote {
  background: var(--light-blue);
  border-radius: var(--radius-md);
  padding: 22px 30px;
  text-align: center;
  font-style: italic;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 36px;
}

.workflow-support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.workflow-support-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.workflow-support-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--dark); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.05rem;
}
.workflow-support-card h5 { font-size: 0.98rem; margin-bottom: 4px; }
.workflow-support-card p { font-size: 0.88rem; color: var(--muted); }

@media (max-width: 940px) {
  .workflow-track::before, .workflow-fill { display: none; }
  .workflow-support { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .workflow-step { flex: 0 1 88px; }
.workflow-step .icon { width: 58px; height: 58px; font-size: 1.3rem; border-radius: 16px; }
}

/* ==========================================================================
   Admin dashboard section
   ========================================================================== */

/* .admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}

.admin-stat-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}
.admin-stat-card .icon { font-size: 1.3rem; margin-bottom: 12px; opacity: 0.9; }
.admin-stat-card .value { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; }
.admin-stat-card .label { font-size: 0.85rem; opacity: 0.9; margin-top: 2px; }

.admin-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.admin-feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.admin-feature-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.admin-feature-card .icon { color: var(--primary-dark); font-size: 1.15rem; margin-bottom: 12px; }
.admin-feature-card h5 { font-size: 0.92rem; margin-bottom: 5px; }
.admin-feature-card p { font-size: 0.82rem; color: var(--muted); }

@media (max-width: 940px) {
  .admin-stats, .admin-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .admin-stats, .admin-features-grid { grid-template-columns: 1fr; }
} */
 /* ================= ADMIN STATS ================= */

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.admin-stat-card {
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-dark)
  );

  color: var(--white);

  border-radius: var(--radius-md);

  padding: 24px 20px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.admin-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.admin-stat-card .icon {
  font-size: 1.3rem;
  margin-bottom: 12px;
  opacity: 0.9;
}

.admin-stat-card .value {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
}

.admin-stat-card .label {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 2px;
}


/* =========================================================
   ADMIN FEATURES GRID
   ========================================================= */

.admin-features-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;

  margin-top: 35px;
}


/* =========================================================
   FEATURE CARD
   ========================================================= */

.admin-feature-card {
  position: relative;

  background: var(--white);

  border: 1px solid var(--border);

  border-radius: 18px;

  padding: 28px 26px;

  min-height: 175px;

  box-sizing: border-box;

  overflow: hidden;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}


/* ================= BLUE TOP LINE ================= */

.admin-feature-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 0;
  height: 3px;

  background: linear-gradient(
    90deg,
    var(--primary),
    #39c6df
  );

  transition: width 0.4s ease;
}


/* ================= HOVER ================= */

.admin-feature-card:hover {
  transform: translateY(-7px);

  border-color: rgba(20, 174, 205, 0.35);

  box-shadow:
    0 15px 35px rgba(15, 23, 42, 0.10);
}

.admin-feature-card:hover::before {
  width: 100%;
}


/* ================= ICON ================= */

.admin-feature-card .icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 17px;

  border-radius: 13px;

  background: rgba(20, 174, 205, 0.10);

  color: var(--primary-dark);

  font-size: 1.15rem;

  transition:
    transform 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

.admin-feature-card:hover .icon {
  transform: scale(1.08);

  background: var(--primary);

  color: var(--white);
}


/* ================= TITLE ================= */

.admin-feature-card h5 {
  font-size: 1rem;

  margin: 0 0 7px;

  color: var(--primary-dark);

  font-weight: 700;
}

.admin-feature-card:hover h5 {
  color: var(--primary);
}


/* ================= DESCRIPTION ================= */

.admin-feature-card p {
  font-size: 0.85rem;

  line-height: 1.5;

  color: var(--muted);

  margin: 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 940px) {

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 560px) {

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-features-grid {
    grid-template-columns: 1fr;
  }

  .admin-feature-card {
    padding: 24px 22px;
  }

}

/* ==========================================================================
   Comparison (Why OFFIXO Is Different)
   ========================================================================== */

/* .compare-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 420px;
  user-select: none;
  box-shadow: var(--shadow-sm);
}

.compare-slider-inner { position: relative; width: 100%; height: 100%; }

.compare-pane {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  padding: 34px 30px;
  box-sizing: border-box;
  overflow-y: auto;
}

.compare-pane.old { background: var(--light-blue); z-index: 1; }

.compare-pane.new {
  background: linear-gradient(160deg, var(--primary), var(--primary-dark));
  color: var(--white);
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.compare-pane.new .compare-col-head.new { background: rgba(255,255,255,0.18); color: var(--white); }
.compare-pane.new .compare-item { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); color: var(--white); }
.compare-pane.new .compare-item i { color: var(--white); }

.compare-col-head {
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.compare-col-head.old { background: var(--white); color: var(--primary-dark); }

.compare-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--muted);
  background: var(--white);
}
.compare-pane.old .compare-item i { color: #EF4444; }
.compare-pane.new .compare-item i { color: #22C55E; }

.compare-divider {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 5;
  cursor: ew-resize;
  touch-action: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: var(--shadow-md);
  font-size: 0.75rem;
  transition: transform 0.2s;
}
.compare-divider:hover .compare-handle,
.compare-divider:focus-visible .compare-handle { transform: translate(-50%, -50%) scale(1.08); }

@media (max-width: 640px) {
  .compare-slider { min-height: 620px; }
  .compare-pane { padding: 24px 18px; }
}

@media (max-width: 480px) {
  .compare-slider { min-height: 700px; }
}
 */


.compare-slider {
  position: relative;
  width: 100%;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  user-select: none;
  box-shadow: var(--shadow-sm);
}

/* ================= TRADITIONAL SYSTEM ================= */

.compare-old {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 34px 30px;
  overflow: hidden;
  background: var(--light-blue);
  box-sizing: border-box;
}

/* ================= OFFIXO CLIP ================= */

.compare-new-clip {
  position: absolute;
  top: 0;
  left: 0;

  /* IMPORTANT:
     Starts at 0%, so Offixo is completely hidden */
  width: 0%;

  height: 100%;
  overflow: hidden;
  z-index: 2;

  border-left: 3px solid transparent;

  box-sizing: border-box;
}

/* ================= OFFIXO CONTENT ================= */

.compare-new {
  position: absolute;
  top: 0;
  left: 0;

  /* Keep the Offixo content the SAME WIDTH
     as the complete comparison box */
  width: 100%;
  min-width: 0;
  height: 100%;

  padding: 34px 30px;
  box-sizing: border-box;

  background: linear-gradient(
    160deg,
    var(--primary),
    var(--primary-dark)
  );

  color: var(--white);
}

/* ================= HEADINGS ================= */

.compare-col-head {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  white-space: nowrap;
  text-align: center;
}

.compare-col-head.old {
  background: var(--white);
  color: var(--primary-dark);
}

.compare-col-head.new {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

/* ================= ITEMS ================= */

.compare-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 12px;

  font-size: 0.92rem;
  color: var(--muted);
  background: var(--white);

  white-space: nowrap;
  box-sizing: border-box;
}

.compare-item.highlight {
  font-weight: 700;

  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

/* ================= SLIDER HANDLE ================= */

.compare-handle {
  position: absolute;

  top: 0;
  bottom: 0;

  /* START ON LEFT */
  left: 0%;

  width: 44px;

  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: ew-resize;

  z-index: 10;

  touch-action: none;
}

/* Vertical slider line */

.compare-handle::before {
  content: "";

  position: absolute;

  top: 0;
  left: 50%;

  width: 3px;
  height: 100%;

  background: var(--white);

  transform: translateX(-50%);

  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Circle */

.compare-handle i {
  position: relative;

  width: 44px;
  height: 44px;

  border-radius: 50%;

  background: var(--white);

  color: var(--primary-dark);

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: var(--shadow-md);

  font-size: 0.9rem;

  transition: transform 0.2s;
}

.compare-handle:hover i,
.compare-handle.dragging i,
.compare-handle:focus-visible i {
  transform: scale(1.08);
}

/* ================= MOBILE ================= */

@media (max-width: 760px) {

  .compare-slider {
    min-height: 420px;
  }

  .compare-old {
    padding: 25px 20px;
  }

  .compare-new {
    padding: 25px 20px;
  }

  .compare-col-head,
  .compare-item {
    white-space: normal;
  }

  .compare-handle {
    display: flex;
  }
}

/* ==========================================================================
   Value cards (Why Invest)
   ========================================================================== */
 
.value-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
 
.value-num-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.value-num-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.value-num-card:hover .icon { background: var(--primary); color: var(--white); transform: rotate(-6deg) scale(1.08); }
.value-num-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--light-blue); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 16px;
  transition: all 0.3s var(--ease);
}
.value-num-card h4 { font-size: 1rem; margin-bottom: 8px; }
.value-num-card p { font-size: 0.88rem; color: var(--muted); }
 
.value-banner {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  text-align: center;
  font-size: 0.98rem;
}
.value-banner strong { display: block; font-size: 1.15rem; margin-bottom: 6px; }
 
@media (max-width: 940px) { .value-cards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .value-cards-grid { grid-template-columns: 1fr; } }
 
 
/* ==========================================================================
   Employee experience grid
   ========================================================================== */

/* .emp-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.emp-feature-card {
  border: 1.5px solid var(--light-blue);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
}
.emp-feature-card .icon {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1.5px solid var(--primary);
  color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; font-size: 1rem;
}
.emp-feature-card h5 { font-size: 0.9rem; margin-bottom: 4px; }
.emp-feature-card p { font-size: 0.8rem; color: var(--muted); }

.emp-quote-row {
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--light-blue);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  flex-wrap: wrap;
}
.emp-quote-row blockquote {
  flex: 1;
  font-style: italic;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  min-width: 240px;
}
.emp-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.emp-tags span {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

@media (max-width: 940px) { .emp-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .emp-features-grid { grid-template-columns: 1fr; } } */
.emp-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
 
.emp-feature-card {
  border: 1.5px solid var(--light-blue);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s var(--ease);
}
.emp-feature-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-sm); }
.emp-feature-card .icon {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1.5px solid var(--primary);
  color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; font-size: 1rem;
  transition: transform 0.25s var(--ease);
}
.emp-feature-card:hover .icon { transform: scale(1.1); }
.emp-feature-card h5 { font-size: 0.9rem; margin-bottom: 4px; }
.emp-feature-card p { font-size: 0.8rem; color: var(--muted); }
 
.emp-quote-row {
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--light-blue);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  flex-wrap: wrap;
}
.emp-quote-row blockquote {
  flex: 1;
  font-style: italic;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  min-width: 240px;
}
.emp-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.emp-tags span {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}
 
@media (max-width: 940px) { .emp-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .emp-features-grid { grid-template-columns: 1fr; } }
 

/* ==========================================================================
   Business impact + chart
   ========================================================================== */

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.impact-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
}
.impact-card .value { font-family: var(--font-display); font-size: 2rem; font-weight: 800; }
.impact-card .label { font-size: 0.85rem; opacity: 0.92; margin-top: 4px; }

.chart-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.chart-panel h4 { font-size: 1.05rem; margin-bottom: 20px; }
.chart-panel h4 span { color: var(--primary-dark); }

.impact-footer-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--light-blue);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 24px;
  font-weight: 700;
  color: var(--dark);
}

@media (max-width: 940px) { .impact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .impact-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}

.price-card.featured {
  background: linear-gradient(160deg, var(--primary), var(--primary-dark));
  color: var(--white);
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
  border: none;
}

.price-popular {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.price-tier { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em; color: var(--primary-dark); margin-bottom: 14px; }
.price-card.featured .price-tier { color: rgba(255,255,255,0.85); }

.price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price-amount .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--dark); }
.price-card.featured .price-amount .num { color: var(--white); }
.price-amount .period { font-size: 0.85rem; color: var(--muted); }
.price-card.featured .price-amount .period { color: rgba(255,255,255,0.85); }

.price-card hr { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.price-card.featured hr { border-top-color: rgba(255,255,255,0.25); }

.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; min-height: 168px; }
.price-features li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; }
.price-features .tick {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--light-blue); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; flex-shrink: 0;
}
.price-card.featured .price-features .tick { background: rgba(255,255,255,0.2); color: var(--white); }

.price-card .btn { width: 100%; }
.price-card.featured .btn-outline { background: var(--white); color: var(--primary-dark); border: none; }

.pricing-note {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 34px;
  font-size: 0.9rem;
  color: var(--muted);
}
.pricing-note span { display: flex; align-items: center; gap: 8px; }
.pricing-note i { color: var(--primary-dark); }

@media (max-width: 940px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card.featured { transform: scale(1); }
}

/* About page */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.value-card h4 { margin-bottom: 10px; font-size: 1.02rem; }
.value-card p { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 860px) {
  .about-story { grid-template-columns: 1fr; gap: 34px; }
  .value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {

  .about-story {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   ATTENDANCE CHECK-IN IMAGE SECTION
   ========================================================= */

.attendance-section {
  width: 100%;
  min-height: 720px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 80px 0;

  box-sizing: border-box;

  overflow: hidden;
}


.attendance-image-wrapper {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
}


.attendance-checkin-image {
  position: relative;
  z-index: 1;

  display: block;

  width: auto;
  max-width: 700px;
  max-height: 650px;

  height: auto;

  object-fit: contain;

  filter: drop-shadow(
    0 25px 35px rgba(15, 23, 42, 0.18)
  );

  animation: checkinPhoneMove 4s ease-in-out infinite;

  will-change: transform;
}


/* =========================================================
   CHECK-IN IMAGE MOVEMENT
   ========================================================= */

@keyframes checkinPhoneMove {

  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }

  100% {
    transform: translateY(0);
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

  .attendance-section {
    min-height: 600px;
    padding: 50px 20px;
  }

  .attendance-image-wrapper {
    min-height: 520px;
  }

  .attendance-checkin-image {
    width: 100%;
    max-width: 450px;
    max-height: none;

    animation: checkinPhoneMoveMobile 4s ease-in-out infinite;
  }

}


@keyframes checkinPhoneMoveMobile {

  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }

}

/* ---------------------------------------------------------
   IMAGE WRAPPER
   --------------------------------------------------------- */

.attendance-image-wrapper {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;

  overflow: visible;
}


/* ---------------------------------------------------------
   SOFT BACKGROUND GLOW
   --------------------------------------------------------- */

.attendance-image-wrapper::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  border-radius: 50%;

  background: rgba(14, 165, 198, 0.10);

  filter: blur(80px);

  z-index: 0;
}


/* ---------------------------------------------------------
   CHECK-IN PHONE IMAGE
   --------------------------------------------------------- */

.attendance-checkin-image {
  position: relative;

  z-index: 1;

  display: block;

  width: auto;

  max-width: 700px;

  max-height: 650px;

  height: auto;

  object-fit: contain;

  filter: drop-shadow(
    0 25px 35px rgba(15, 23, 42, 0.18)
  );

  /* SIMPLE MOVING ANIMATION */
  animation: checkInPhoneMove 4s ease-in-out infinite;
}


/* ---------------------------------------------------------
   SIMPLE UP & DOWN MOVEMENT
   --------------------------------------------------------- */

@keyframes checkInPhoneMove {

  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }

  100% {
    transform: translateY(0);
  }

}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 1000px) {

  .attendance-section {
    min-height: 650px;

    padding: 70px 30px;
  }

  .attendance-checkin-image {
    max-width: 600px;

    max-height: 600px;
  }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

  .attendance-section {
    min-height: 600px;

    padding: 60px 20px;
  }

  .attendance-image-wrapper::before {
    width: 320px;
    height: 320px;

    filter: blur(60px);
  }

  .attendance-checkin-image {
    width: 100%;

    max-width: 450px;

    max-height: none;

    animation: checkInPhoneMoveMobile 4s ease-in-out infinite;
  }

}


/* ---------------------------------------------------------
   MOBILE MOVEMENT
   --------------------------------------------------------- */

@keyframes checkInPhoneMoveMobile {

  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }

}
/* =========================================================
   ATTENDANCE TEXT + CHECK-IN IMAGE
   ========================================================= */

.attendance-section {
  width: 100%;
  padding: 80px 0;
  box-sizing: border-box;
}

.attendance-section .detail-grid-2 {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;

  align-items: center;
  gap: 70px;
}

/* TEXT */
.attendance-section .detail-content {
  min-width: 0;
}

.attendance-section .detail-content h2 {
  margin-bottom: 20px;
}

.attendance-section .detail-lead {
  line-height: 1.8;
  margin-bottom: 20px;
}

/* IMAGE AREA */
.attendance-image-wrapper {
  position: relative;

  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: visible;
}

/* Soft background glow */
.attendance-image-wrapper::before {
  content: "";

  position: absolute;

  width: 420px;
  height: 420px;

  border-radius: 50%;

  background: rgba(14, 165, 198, 0.08);

  filter: blur(70px);

  z-index: 0;

  pointer-events: none;
}

/* CHECK-IN IMAGE */
.attendance-checkin-image {
  position: relative;
  z-index: 1;

  display: block;

  width: 100%;
  max-width: 450px;

  height: auto;

  object-fit: contain;

  filter: drop-shadow(
    0 25px 35px rgba(15, 23, 42, 0.18)
  );

  animation: checkinPhoneMove 4s ease-in-out infinite;

  will-change: transform;
}

/* Simple up/down animation */
@keyframes checkinPhoneMove {

  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }

  100% {
    transform: translateY(0);
  }

}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

  .attendance-section {
    padding: 60px 20px;
  }

  .attendance-section .detail-grid-2 {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .attendance-section .detail-content {
    order: 1;
  }

  .attendance-image-wrapper {
    order: 2;
  }

  .attendance-checkin-image {
    width: 100%;
    max-width: 400px;

    animation: checkinPhoneMoveMobile 4s ease-in-out infinite;
  }

  .attendance-image-wrapper::before {
    width: 300px;
    height: 300px;
  }

}

@keyframes checkinPhoneMoveMobile {

  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }

}

/* Disable animation if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {

  .attendance-checkin-image {
    animation: none;
  }

}

/* ================= BUSINESS CTA ALIGNMENT ================= */

.detail-cta {
  width: 100%;
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 0 0 60px;
  box-sizing: border-box;
}

.detail-cta h3 {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1.25;
}

.detail-cta p {
  margin: 0 0 20px;
  font-size: 1.1rem;
  line-height: 1.5;
}

.detail-cta-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}


/* ================= MOBILE ================= */

@media (max-width: 760px) {

  .detail-cta {
    margin-top: 40px;
    padding-bottom: 40px;
  }

  .detail-cta h3 {
    font-size: 1.6rem;
  }

  .detail-cta p {
    font-size: 1rem;
  }

  .detail-cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}





/* ================= CAROUSEL ================= */
.platform-carousel-section { padding: 40px 0; background-color: var(--background); }
.carousel-container { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; overflow: hidden; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
.carousel-container .carousel-track { display: flex; transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1); overflow: visible; scroll-snap-type: none; gap: 0; padding: 0; }
.carousel-container .carousel-slide { min-width: 100%; width: 100%; flex-shrink: 0; position: relative; }
.carousel-container .carousel-slide img { width: 100%; display: block; object-fit: cover; aspect-ratio: 16/9; }
.carousel-caption { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(15,23,42,0.7), transparent); color: white; padding: 40px 30px 20px; }
.carousel-caption h3 { font-size: 1.5rem; margin-bottom: 5px; color: #fff; }
.carousel-caption p { font-size: 1rem; opacity: 0.9; margin: 0; }
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  border: 1.5px solid var(--border);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s var(--ease);
}
.carousel-button:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
  box-shadow: var(--shadow-md);
}
.carousel-button.prev { left: 20px; }
.carousel-button.next { right: 20px; }
.carousel-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(18, 184, 212, 0.25);
  border: 1.5px solid var(--primary);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s var(--ease);
}
.carousel-indicator.current-indicator {
  background: var(--primary-dark);
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(18, 184, 212, 0.45);
}

/* ================= HERO CAROUSEL ================= */
.hero-carousel-section {
  position: relative;
  width: 100%;
  height: calc(88vh - 78px);
  min-height: 540px;
  max-height: 720px;
  padding: 0;
  margin-top: 78px;
  background-color: var(--dark);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.carousel-container.full-width {
  max-width: 100%;
  border-radius: 0;
  box-shadow: none;
  height: 100%;
  width: 100%;
  position: relative;
}

.carousel-container.full-width .carousel-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  gap: 0;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: visible;
  scroll-snap-type: none;
}

.carousel-container.full-width .carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: block;
}

.carousel-container.full-width .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 1;
  filter: none;
}

.hero-carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.32);
  padding: 24px;
}

.hero-carousel-overlay .container {
  position: relative;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0 20px;
}

.hero-carousel-overlay .badge {
  background: #ffffff;
  color: var(--primary);
  border: none;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.hero-carousel-overlay h1 {
  font-size: 3.1rem;
  margin-top: 0;
  margin-bottom: 14px;
  line-height: 1.18;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero-carousel-overlay p {
  font-size: 1.14rem;
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.hero-carousel-section .carousel-button {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s var(--ease);
}

.hero-carousel-section .carousel-button:hover {
  background: rgba(255, 255, 255, 0.55);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.hero-carousel-section .carousel-nav {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s var(--ease);
}

.carousel-indicator.current-indicator {
  background: #ffffff;
  width: 28px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
  .hero-carousel-section {
    margin-top: 70px;
    height: 480px;
    min-height: 440px;
  }
  .hero-carousel-overlay .container {
    padding: 0 16px;
    max-width: 92%;
  }
  .hero-carousel-overlay h1 { font-size: 2.1rem; }
  .hero-carousel-overlay p { font-size: 0.98rem; }
}

@media (max-width: 640px) {
  .hero-carousel-section {
    margin-top: 64px;
    height: min(75vh, 420px);
    min-height: 360px;
  }
  .hero-carousel-overlay {
    padding: 16px;
  }
  .hero-carousel-overlay .container {
    padding: 0 8px;
    max-width: 96%;
  }
  .hero-carousel-overlay .badge { font-size: 0.74rem; padding: 5px 12px; margin-bottom: 10px; }
  .hero-carousel-overlay h1 { font-size: 1.55rem; line-height: 1.22; margin-bottom: 8px; }
  .hero-carousel-overlay p { font-size: 0.88rem; line-height: 1.45; }
  .hero-carousel-section .carousel-button { width: 36px; height: 36px; font-size: 0.8rem; }
  .hero-carousel-section .carousel-button.prev { left: 8px; }
  .hero-carousel-section .carousel-button.next { right: 8px; }
  .hero-carousel-section .carousel-nav { bottom: 10px; }
  .carousel-indicator { width: 8px; height: 8px; }
  .carousel-indicator.current-indicator { width: 22px; }
}

@media (max-width: 380px) {
  .hero-carousel-section {
    min-height: 340px;
  }
  .hero-carousel-overlay h1 { font-size: 1.35rem; margin-bottom: 6px; }
  .hero-carousel-overlay p { font-size: 0.82rem; }
  .hero-carousel-section .carousel-button.prev { left: 4px; }
  .hero-carousel-section .carousel-button.next { right: 4px; }
}

/* ==========================================================================
   GLOBAL RESPONSIVE SAFETY & COMPONENT GUARDS
   ========================================================================== */

/* Grid item overflow containment */
.features-grid > *,
.benefits-grid > *,
.pricing-grid > *,
.admin-features-grid > *,
.admin-stats > *,
.impact-grid > *,
.emp-features-grid > *,
.value-cards-grid > *,
.value-grid > *,
.intro-highlights > *,
.contact-grid > *,
.split > *,
.leave-grid > *,
.why-grid > *,
.about-story > * {
  min-width: 0;
  max-width: 100%;
}

/* Fluid responsive images & embeds */
img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

/* Responsive button & input helpers */
.btn {
  max-width: 100%;
}

input, textarea, select {
  max-width: 100%;
  box-sizing: border-box;
}

/* Touch device active feedback */
@media (hover: none) and (pointer: coarse) {
  .btn:active,
  .carousel-button:active,
  .carousel-btn:active {
    transform: scale(0.97);
  }
}

/* ==========================================================================
   WhatsApp Floating Quick-Chat & Action Button
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-float:hover {
  background: #20ba59;
  color: #ffffff !important;
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float .whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #0f172a;
  color: #ffffff;
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.whatsapp-float .whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #0f172a;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: whatsapp-pulse 2.2s infinite ease-out;
  pointer-events: none;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.18);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff !important;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20ba59;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.contact-pricing-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 6px;
}

@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
  .whatsapp-float .whatsapp-tooltip {
    display: none;
  }
}


