/* ===========================
   CHESCO TECH — MODERN REDESIGN
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Syne:wght@600;700;800&display=swap');

:root {
  --green-primary: #16a34a;
  --green-dark: #14532d;
  --green-light: #22c55e;
  --green-glow: #4ade80;
  --green-subtle: #f0fdf4;
  --white: #ffffff;
  --off-white: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #14532d 50%, #1e293b 100%);
  --gradient-green: linear-gradient(135deg, #16a34a, #22c55e);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(22,163,74,0.08), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(22,163,74,0.12), 0 8px 24px rgba(0,0,0,0.08);
  --shadow-xl: 0 32px 80px rgba(22,163,74,0.15), 0 16px 40px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html, body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--white);
  color: var(--slate-800);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1,h2,h3,h4,h5,h6 { margin-top: 0; font-family: 'Syne', sans-serif; }
p { margin: 0; }
ul, ol { margin: 0; }
a { text-decoration: none; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; }

/* ── NAVBAR ── */
.ct-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.ct-navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 135px;
}

.ct-logo img { height: 132px; object-fit: contain; }

.ct-nav-links {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 4px;
}

.ct-nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.ct-nav-links a:hover,
.ct-nav-links .active > a {
  color: var(--green-primary);
  background: var(--green-subtle);
}

.ct-nav-cta {
  background: var(--gradient-green) !important;
  color: white !important;
  border-radius: 50px !important;
  padding: 8px 20px !important;
}
.ct-nav-cta:hover {
  background: var(--green-dark) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(22,163,74,0.4);
}

.ct-topbar {
  background: var(--slate-900);
  padding: 8px 24px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.ct-topbar span, .ct-topbar a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

.ct-topbar a:hover { color: var(--green-glow); }

/* ── HERO ── */
.ct-hero {
  background: var(--gradient-hero);
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}

.ct-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34,197,94,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.ct-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(22,163,74,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.ct-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.ct-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--green-glow);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.ct-hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--green-glow);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.ct-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
}

.ct-hero h1 span {
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ct-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
}

.ct-hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ct-btn-primary {
  background: var(--gradient-green);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(22,163,74,0.35);
}

.ct-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(22,163,74,0.45);
  color: white;
}

.ct-btn-outline {
  background: transparent;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.ct-btn-outline:hover {
  border-color: var(--green-glow);
  color: var(--green-glow);
  background: rgba(34,197,94,0.05);
}

.ct-hero-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.1);
  aspect-ratio: 4/3;
}

.ct-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── STATS BAR ── */
.ct-stats-bar {
  background: white;
  border-bottom: 1px solid var(--slate-200);
  padding: 28px 24px;
}

.ct-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.ct-stat-item {
  padding: 16px;
  border-right: 1px solid var(--slate-200);
}

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

.ct-stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.ct-stat-label {
  font-size: 0.82rem;
  color: var(--slate-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── SECTIONS ── */
.ct-section {
  padding: 88px 24px;
}

.ct-section-alt {
  background: var(--off-white);
}

.ct-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ct-section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-primary);
  background: var(--green-subtle);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.ct-section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 16px;
}

.ct-section-title span {
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ct-section-sub {
  font-size: 1rem;
  color: var(--slate-600);
  line-height: 1.7;
  max-width: 560px;
}

.ct-section-header {
  margin-bottom: 56px;
}

/* ── CARDS ── */
.ct-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.ct-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ct-service-card {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.ct-service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.ct-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(22,163,74,0.2);
}

.ct-service-card:hover::before { transform: scaleX(1); }

.ct-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--green-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.ct-service-card:hover .ct-card-icon {
  background: var(--gradient-green);
}

.ct-service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.ct-service-card p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* ── PRODUCT CARDS ── */
.ct-product-card {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.ct-product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(22,163,74,0.25);
  color: inherit;
}

.ct-product-img {
  aspect-ratio: 16/9;
  background: var(--green-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
}

.ct-product-img img {
  max-height: 120px;
  object-fit: contain;
}

.ct-product-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ct-product-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.ct-product-body p {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.ct-product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-primary);
  transition: gap 0.2s;
}

.ct-product-card:hover .ct-product-link { gap: 10px; }

/* ── FEATURE ROW ── */
.ct-feature-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.ct-feature-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.ct-feature-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ct-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--slate-700);
  line-height: 1.6;
}

.ct-feature-list li::before {
  content: '✓';
  min-width: 22px;
  height: 22px;
  background: var(--gradient-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 1px;
}

/* ── CTA BANNER ── */
.ct-cta-banner {
  background: var(--gradient-hero);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.ct-cta-banner::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(34,197,94,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.ct-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.ct-cta-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: white;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.ct-cta-inner p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.ct-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── CLIENTS STRIP ── */
.ct-clients {
  padding: 56px 24px;
  background: var(--slate-900);
  text-align: center;
}

.ct-clients-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate-400);
  margin-bottom: 32px;
}

.ct-clients-logos {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.ct-clients-logos a {
  opacity: 0.55;
  filter: grayscale(1) brightness(2);
  transition: all 0.3s;
  display: inline-block;
}

.ct-clients-logos a:hover {
  opacity: 1;
  filter: none;
}

.ct-clients-logos img {
  height: 88px;
  max-width: 140px;
  object-fit: contain;
}

/* ── FOOTER ── */
.ct-footer {
  background: var(--slate-900);
  color: rgba(255,255,255,0.75);
  padding: 72px 24px 32px;
}

.ct-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ct-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.ct-footer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 20px;
}

.ct-footer-about p {
  font-size: 0.87rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}

.ct-footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.ct-footer-payments img {
  height: 32px;
  max-width: 80px;
  object-fit: contain;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  padding: 4px 8px;
}

.ct-footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ct-footer-links a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.ct-footer-links a:hover { color: var(--green-glow); }

.ct-footer-contact address {
  font-style: normal;
  font-size: 0.87rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
}

.ct-footer-contact a {
  color: var(--green-glow);
}

.ct-footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.ct-social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s;
  text-decoration: none;
}

.ct-social-btn:hover {
  background: var(--gradient-green);
  color: white;
  transform: translateY(-2px);
}

.ct-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}

/* ── PAGE BANNER ── */
.ct-page-banner {
  background: var(--gradient-hero);
  padding: 64px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ct-page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(34,197,94,0.15) 0%, transparent 70%);
}

.ct-page-banner h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: white;
  font-weight: 800;
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

.ct-page-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0 auto;
}

/* ── POS FEATURE TAGS ── */
.ct-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.ct-tag {
  background: var(--green-subtle);
  border: 1px solid rgba(22,163,74,0.2);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}

/* ── POS HARDWARE ── */
.ct-hw-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.ct-hw-item {
  text-align: center;
  padding: 20px 12px;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}

.ct-hw-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(22,163,74,0.3);
}

.ct-hw-item img {
  width: 100%;
  max-height: 100px;
  object-fit: contain;
  margin-bottom: 10px;
}

.ct-hw-item p {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-600);
}

/* ── CUSTOMERS LOGOS ── */
.ct-pos-customers {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin: 28px 0;
}

.ct-pos-customers img {
  height: 70px;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: filter 0.3s;
}

.ct-pos-customers img:hover { filter: none; }

/* ── DIFFERENCE CARDS ── */
.ct-diff-card {
  background: white;
  border-left: 4px solid var(--green-primary);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ct-diff-num {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-green);
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-diff-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.ct-diff-card p {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ── SVG ICONS ── */
.ct-icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.ct-card-icon .ct-icon {
  width: 28px;
  height: 28px;
}

/* ── MOBILE NAV ── */
.ct-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.ct-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-800);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .ct-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ct-footer-grid { grid-template-columns: 1fr 1fr; }
  .ct-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .ct-hw-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .ct-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .ct-hero-img { display: none; }
  .ct-hero { padding: 64px 20px 60px; }
  .ct-grid-3 { grid-template-columns: 1fr; }
  .ct-grid-2 { grid-template-columns: 1fr; }
  .ct-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .ct-hw-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .ct-nav-links, .ct-topbar { display: none; }
  .ct-hamburger { display: flex; }
  .ct-section { padding: 60px 20px; }
  .ct-stat-item { border-right: none; border-bottom: 1px solid var(--slate-200); padding: 12px; }
  .ct-stat-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .ct-grid-4 { grid-template-columns: 1fr; }
  .ct-hw-grid { grid-template-columns: repeat(2, 1fr); }
  .ct-hero-btns { flex-direction: column; }
  .ct-cta-btns { flex-direction: column; align-items: center; }
}
