/* =========================================================
   Graficodo Etech Logics — Core Stylesheet
   Design tokens, base, layout, components, responsive
   ========================================================= */

:root {
  /* Colors */
  --c-primary:   #0B7285;
  --c-primary-2: #0a8ea3;
  --c-secondary: #00C2A8;
  --c-accent:    #FF8A00;
  --c-dark:      #073B4C;
  --c-light:     #F8FAFC;
  --c-bg:        #FFFFFF;
  --c-success:   #10B981;
  --c-text:      #0f2a35;
  --c-muted:     #5b6b74;
  --c-border:    #e6ecef;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0B7285 0%, #00C2A8 100%);
  --grad-hero:    linear-gradient(160deg, #EFFBF9 0%, #F3F8FA 45%, #FFF6EA 100%);
  --grad-dark:    linear-gradient(160deg, #073B4C 0%, #0B7285 100%);
  --grad-accent:  linear-gradient(135deg, #FF8A00 0%, #FFB366 100%);

  /* Shadows — kept intentionally light */
  --shadow-sm: 0 1px 3px rgba(7,59,76,.05), 0 1px 2px rgba(7,59,76,.03);
  --shadow:    0 4px 14px rgba(7,59,76,.07), 0 1px 4px rgba(7,59,76,.04);
  --shadow-lg: 0 10px 28px rgba(7,59,76,.10), 0 3px 8px rgba(7,59,76,.05);
  --shadow-primary: 0 12px 28px -10px rgba(11,114,133,.35);

  /* Radii */
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-2xl: 36px; --r-full: 999px;

  /* Type scale */
  --f-heading: 'Poppins', system-ui, sans-serif;
  --f-body:    'Inter', system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --nav-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-primary-2); }
h1, h2, h3, h4, h5 { font-family: var(--f-heading); color: var(--c-dark); margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--c-muted); }
ul { padding: 0; margin: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section   { padding: clamp(32px, 4vw, 54px) 0; position: relative; }
.section-tight { padding: clamp(24px, 3vw, 40px) 0; }
.center { text-align: center; }
.visually-hidden { position:absolute; width:1px;height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); border:0; }
.skip-link { position:absolute; left:-999px; top:0; background:#fff; padding:.5rem 1rem; z-index:1000; }
.skip-link:focus { left: 1rem; top: 1rem; box-shadow: var(--shadow); border-radius: 8px; }

/* ================= Buttons ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--f-body); font-weight: 600; font-size: .95rem;
  padding: .8rem 1.4rem; border-radius: var(--r-full);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .55rem 1rem; font-size: .875rem; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -14px rgba(11,114,133,.55); color: #fff; }
.btn-accent  { background: var(--grad-accent); color: #fff; box-shadow: 0 14px 32px -12px rgba(255,138,0,.55); }
.btn-accent:hover { transform: translateY(-2px); color: #fff; }
.btn-ghost   { background: transparent; color: var(--c-dark); border-color: rgba(7,59,76,.15); }
.btn-ghost:hover { background: rgba(11,114,133,.06); color: var(--c-primary); }
.btn-white   { background: #fff; color: var(--c-primary); }
.btn .ripple { position: absolute; border-radius: 50%; transform: scale(0); animation: ripple .55s linear; background: rgba(255,255,255,.5); pointer-events: none; }
@keyframes ripple { to { transform: scale(3); opacity: 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .85rem; border-radius: var(--r-full);
  background: rgba(11,114,133,.08); color: var(--c-primary);
  font-weight: 600; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--c-secondary); }

/* ================= Navbar ================= */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(7,59,76,.08);
  transition: box-shadow .3s ease;
  /* NO overflow:hidden — would clip things */
}
.nav-wrap.is-scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
}

/* Brand */
.nav-brand {
  display: flex; align-items: center; gap: .6rem;
  flex-shrink: 0; text-decoration: none;
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav-brand-text strong {
  font-family: var(--f-heading); font-weight: 700;
  color: var(--c-dark); font-size: 1.05rem; white-space: nowrap;
}
.nav-brand-text em {
  font-style: normal; font-size: .7rem; color: var(--c-muted);
  letter-spacing: .06em; text-transform: uppercase;
  margin-top: 2px; white-space: nowrap;
}

/* ---- Desktop nav links ---- */
.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: .1rem;
  flex: 1;
  justify-content: center;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links-desktop a {
  display: block;
  padding: .5rem .7rem;
  border-radius: var(--r-full);
  color: var(--c-dark);
  font-weight: 500; font-size: .87rem;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-links-desktop a:hover   { background: rgba(11,114,133,.08); color: var(--c-primary); }
.nav-links-desktop a.is-active { color: var(--c-primary); background: rgba(11,114,133,.1); }

/* Right controls */
.nav-cta { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

.lang-switch {
  display: inline-flex; padding: 3px;
  background: rgba(7,59,76,.06); border-radius: var(--r-full);
}
.lang-btn {
  border: 0; background: transparent; padding: .3rem .6rem;
  border-radius: var(--r-full); font: inherit; font-size: .78rem; font-weight: 600;
  color: var(--c-muted); cursor: pointer;
  display: inline-flex; align-items: center; gap: .3rem;
  white-space: nowrap;
}
.lang-btn.is-active { background: #fff; color: var(--c-dark); box-shadow: var(--shadow-sm); }

/* Hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1.5px solid var(--c-border); background: #fff;
  cursor: pointer; padding: 0;
  flex-direction: column; justify-content: center;
  align-items: center; gap: 6px; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--c-dark); border-radius: 2px;
  transition: transform .3s ease, opacity .25s ease;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =================================================================
   MOBILE DRAWER
   Rendered OUTSIDE <header> in the DOM so the sticky header's
   stacking context can never clip or constrain it.
   position:fixed is always relative to the viewport.
   ================================================================= */
.nav-drawer {
  /* Invisible & non-interactive by default */
  visibility: hidden;
  pointer-events: none;
  opacity: 0;

  /* Full-viewport panel below the navbar */
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;           /* above everything */

  /* Layout */
  display: flex;
  flex-direction: column;

  /* Appearance */
  background: #ffffff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  /* Slide-down animation */
  transform: translateY(-12px);
  transition: opacity .22s ease, transform .22s ease, visibility 0s .22s;
}

.nav-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease;
}

/* Link list */
.nav-drawer-links {
  list-style: none;
  margin: 0; padding: 0;
  flex-shrink: 0;           /* never compress — let the container scroll */
}
.nav-drawer-links li {
  border-bottom: 1px solid var(--c-border);
}
.nav-drawer-links li:last-child { border-bottom: none; }

.nav-drawer-links a {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--c-dark);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.nav-drawer-links a:hover   { background: rgba(11,114,133,.06); color: var(--c-primary); }
.nav-drawer-links a.is-active {
  color: var(--c-primary); font-weight: 600;
  background: rgba(11,114,133,.07);
  border-left: 3px solid var(--c-primary);
  padding-left: calc(1.5rem - 3px);
}

/* CTA at bottom */
.nav-drawer-footer {
  padding: 1.25rem 1.5rem 2rem;
  border-top: 1px solid var(--c-border);
  margin-top: auto;
}

/* Semi-transparent backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(7,59,76,.35);
  backdrop-filter: blur(2px);
}
.nav-backdrop.is-open { display: block; }

/* =================================================================
   BREAKPOINTS
   ================================================================= */

/* Tablet & below: show hamburger, hide desktop links */
@media (max-width: 1100px) {
  .nav-links-desktop { display: none; }
  .nav-toggle        { display: flex; }
  .nav-demo-btn      { display: none; }
}

/* Small phones */
@media (max-width: 640px) {
  .nav-brand-text em { display: none; }
  .lang-switch { padding: 2px; }
  .lang-btn span { display: none; }
}

/* Very small phones */
@media (max-width: 360px) {
  :root { --nav-h: 62px; }
  .nav-brand img { width: 34px; height: 34px; }
}

/* ================= Hero ================= */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero);
  padding: clamp(32px, 4vw, 52px) 0 clamp(24px, 3vw, 36px);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1rem; }
.hero p.lead { font-size: 1.15rem; color: var(--c-muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-trust { display: flex; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-trust small { color: var(--c-muted); font-size: .82rem; display: flex; align-items: center; gap: .4rem; }
.hero-visual { position: relative; }
.hero-visual img, .hero-visual svg { border-radius: var(--r-2xl); box-shadow: var(--shadow); }

/* Floating blobs */
.blob { position: absolute; filter: blur(60px); opacity: .55; border-radius: 50%; pointer-events: none; z-index: 0; }
.blob-1 { width: 460px; height: 460px; background: radial-gradient(circle,#00C2A8 0%, transparent 70%); top: -160px; right: -140px; animation: floatBlob 14s ease-in-out infinite; }
.blob-2 { width: 380px; height: 380px; background: radial-gradient(circle,#0B7285 0%, transparent 70%); bottom: -180px; left: -120px; animation: floatBlob 18s ease-in-out infinite reverse; }
.blob-3 { width: 300px; height: 300px; background: radial-gradient(circle,#FF8A00 0%, transparent 70%); top: 30%; left: 40%; animation: floatBlob 22s ease-in-out infinite; opacity: .3; }
.blob-cta { width: 700px; height: 700px; background: radial-gradient(circle, rgba(0,194,168,.35) 0%, transparent 70%); top: -300px; right: -220px; }
@keyframes floatBlob {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-20px) scale(1.05); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 560px; margin: 0 auto; }
}

/* ================= Cards / Feature grids ================= */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 1.5rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(11,114,133,.2); }
.card .icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1rem;
  background: rgba(11,114,133,.08); color: var(--c-primary);
}
.card h3 { margin-bottom: .35rem; }
.card p  { margin: 0; font-size: .93rem; }

.card-glass {
  background: rgba(255,255,255,.6); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.5);
}

/* ================= Section header ================= */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 1.75rem; }
.section-head p { font-size: 1.05rem; }

/* ================= Trust / Stats ================= */
.trust {
  padding: clamp(28px, 3vw, 44px) 0;
  background: #fff; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border);
}
.trust p.trust-label { text-align: center; color: var(--c-muted); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.5rem; }
.client-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem 3rem; align-items: center; opacity: .75; margin-bottom: 3rem; }
.client-strip img { height: 32px; filter: grayscale(1); transition: filter .3s; }
.client-strip img:hover { filter: none; }
.client-strip-text {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 3.5rem; align-items: center;
  opacity: .75; margin-bottom: 3rem; font-family: var(--f-heading); font-weight: 700;
  font-size: 1.15rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.08em;
}
.client-logo-item {
  transition: color 0.3s; cursor: default;
}
.client-logo-item:hover {
  color: var(--c-primary);
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1.5rem 1rem; border-radius: var(--r-lg); background: var(--c-light); }
.stat .num { font-family: var(--f-heading); font-weight: 800; font-size: clamp(2rem, 3.5vw, 2.75rem); color: var(--c-primary); line-height: 1; }
.stat .label { display: block; margin-top: .5rem; color: var(--c-muted); font-size: .9rem; font-weight: 500; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ================= Why choose us ================= */
.why-grid .card { text-align: left; }
.why-grid .icon { background: var(--grad-primary); color: #fff; }

/* ================= Service Cards ================= */
.card-service {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 2rem; border-radius: var(--r-xl);
  border: 1px solid var(--c-border); background: #fff;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.card-service:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-service .icon--lg {
  width: 64px; height: 64px; border-radius: 18px;
  background: var(--grad-primary); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.card-service h3 { margin: 0; font-size: 1.2rem; }
.card-service p { margin: 0; flex: 1; }

/* ================= Product Showcase & Dark Section Contrast ================= */
.section--dark, section[style*="var(--c-dark)"] {
  background: var(--c-dark) !important;
  color: rgba(255,255,255,.9) !important;
}
.section--dark h2, section[style*="var(--c-dark)"] h2,
.section--dark h3, section[style*="var(--c-dark)"] h3,
.section--dark h4, section[style*="var(--c-dark)"] h4 {
  color: #ffffff !important;
}
.section--dark p, section[style*="var(--c-dark)"] p,
.section--dark .section-head p, section[style*="var(--c-dark)"] .section-head p,
.section--dark .lead, section[style*="var(--c-dark)"] .lead {
  color: rgba(255,255,255,.88) !important;
}
.section--dark .eyebrow, section[style*="var(--c-dark)"] .eyebrow {
  background: rgba(0,194,168,.22) !important;
  color: #7ff0dc !important;
  border: 1px solid rgba(0,194,168,.3) !important;
}

.product-showcase {
  position: relative; margin-top: 1.5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-2xl); padding: 2.5rem;
  overflow: hidden; color: #ffffff !important;
}
.product-badge {
  display: inline-block; padding: .35rem .95rem;
  background: var(--grad-accent); color: #fff !important;
  border-radius: var(--r-full); font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.5rem;
}
.product-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.product-info h3 { font-size: 1.8rem; margin: 0 0 1rem; color: #ffffff !important; }
.product-info p { color: rgba(255,255,255,.88) !important; line-height: 1.7; }
.product-features { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-direction: column; gap: .65rem; }
.product-features li { display: flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.95) !important; font-size: .95rem; font-weight: 500; }
.product-ctas { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.product-ctas .btn-ghost { color: #ffffff !important; border-color: rgba(255,255,255,.4) !important; background: rgba(255,255,255,.08) !important; }
.product-ctas .btn-ghost:hover { background: rgba(255,255,255,.18) !important; color: #ffffff !important; }

/* Dashboard Mockup Screen */
.product-visual { display: flex; justify-content: center; }
.product-screen {
  background: var(--c-dark); border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px; overflow: hidden; width: 100%; max-width: 360px;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.screen-bar {
  background: rgba(255,255,255,.06); padding: .6rem 1rem;
  display: flex; gap: .45rem; align-items: center;
}
.screen-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.15);
}
.screen-bar span:first-child  { background: #ff6b6b; }
.screen-bar span:nth-child(2) { background: #ffd93d; }
.screen-bar span:nth-child(3) { background: #6bcb77; }
.screen-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .7rem; }
.screen-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .55rem .75rem; background: rgba(255,255,255,.05);
  border-radius: 8px; font-size: .85rem;
}
.screen-label { color: rgba(255,255,255,.6); }
.screen-val { font-weight: 600; color: #fff; }
.status-live { color: #6bcb77; }
.status-warn { color: #ffd93d; }
.screen-chart {
  display: flex; align-items: flex-end; gap: 6px; height: 80px;
  padding: .75rem; background: rgba(255,255,255,.04); border-radius: 8px; margin-top: .3rem;
}
.chart-bar {
  flex: 1; background: rgba(0,194,168,.3); border-radius: 4px 4px 0 0;
  transition: background .3s;
}
.chart-bar.active { background: var(--c-secondary); }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-screen { max-width: 100%; }
}
@media (max-width: 600px) {
  .product-showcase { padding: 1.5rem; }
  .product-ctas { flex-direction: column; }
  .product-ctas .btn { width: 100%; justify-content: center; }
}



/* ================= Industries ================= */
.industries-grid { grid-template-columns: repeat(4, 1fr); }
.industry {
  aspect-ratio: 1.2/1; border-radius: var(--r-lg); padding: 1.25rem;
  background: linear-gradient(160deg, #fff 0%, var(--c-light) 100%);
  border: 1px solid var(--c-border);
  display: flex; flex-direction: column; justify-content: flex-start; gap: 0.85rem;
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative; overflow: hidden;
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.industry .icon-lg {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-primary); color: #fff;
}
.industry h3 { margin: 0; font-size: 1.1rem; }
.industry p { font-size: .85rem; margin: 0; }
@media (max-width: 1024px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .industries-grid { grid-template-columns: repeat(2, 1fr); } }

/* ================= AI Features ================= */
.ai-section { background: var(--grad-dark); color: #fff; position: relative; overflow: hidden; }
.ai-section h2, .ai-section h3 { color: #fff; }
.ai-section p { color: rgba(255,255,255,.75); }
.ai-section .eyebrow { background: rgba(0,194,168,.18); color: #7ff0dc; }
.ai-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); padding: 1.5rem;
  transition: transform .25s ease, background .25s ease;
}
.ai-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); }
.ai-card .icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1rem;
  background: rgba(0,194,168,.15); color: var(--c-secondary);
}

/* ================= Screenshots ================= */
.shots { position: relative; padding: clamp(64px, 8vw, 96px) 0; overflow: hidden; }
.shot-stack { position: relative; max-width: 1000px; margin: 0 auto; }
.shot-desktop { width: 100%; border-radius: var(--r-2xl); box-shadow: var(--shadow); }
.shot-tablet, .shot-mobile { position: absolute; box-shadow: var(--shadow); border-radius: var(--r-xl); }
.shot-tablet { width: 30%; bottom: -8%; left: -6%; }
.shot-mobile { width: 14%; bottom: -12%; right: 4%; border-radius: 24px; }
@media (max-width: 700px) { .shot-tablet, .shot-mobile { display: none; } }

/* ================= Process / Timeline ================= */
.process {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; counter-reset: step;
}
.step {
  flex: 1 1 200px; max-width: 230px; text-align: left;
  padding: 1.5rem 1.25rem; background: #fff; border-radius: var(--r-lg);
  border: 1px solid var(--c-border); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease; position: relative;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .num-badge {
  font-family: var(--f-heading); font-weight: 800; font-size: 1.5rem;
  background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .5rem; display: block;
}
.step h3 { font-size: 1rem; }
.step p  { font-size: .85rem; margin: 0; }
@media (max-width: 700px) { .step { max-width: 100%; flex: 1 1 100%; } }

/* ================= Testimonials ================= */
.testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial {
  background: #fff; border-radius: var(--r-lg); padding: 1.75rem;
  border: 1px solid var(--c-border); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1rem;
}
.testimonial .stars { color: var(--c-accent); letter-spacing: 2px; }
.testimonial blockquote { margin: 0; color: var(--c-text); font-size: 1rem; line-height: 1.6; }
.testimonial .who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.testimonial .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial .who strong { display: block; color: var(--c-dark); font-size: .95rem; }
.testimonial .who small { color: var(--c-muted); font-size: .8rem; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ================= Pricing ================= */
.pricing-toggle {
  display: inline-flex; padding: 4px; margin: 0 auto 2.5rem;
  background: rgba(7,59,76,.06); border-radius: var(--r-full);
}
.pricing-toggle button {
  border: 0; background: transparent; padding: .55rem 1.25rem;
  border-radius: var(--r-full); cursor: pointer; font: inherit; font-weight: 600;
  color: var(--c-muted); font-size: .9rem;
}
.pricing-toggle button.is-active { background: #fff; color: var(--c-dark); box-shadow: var(--shadow-sm); }
.pricing-toggle .save { color: var(--c-success); font-size: .75rem; margin-left: .4rem; }

.pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r-xl); padding: 2rem; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan h3 { font-size: 1.15rem; color: var(--c-primary); }
.plan .price { font-family: var(--f-heading); font-weight: 800; font-size: 2.5rem; color: var(--c-dark); margin: .5rem 0; }
.plan .price small { font-size: .9rem; font-weight: 500; color: var(--c-muted); }
.plan ul.features li {
  padding: .55rem 0; color: var(--c-text); display: flex; align-items: flex-start; gap: .6rem;
  font-size: .93rem; border-bottom: 1px dashed var(--c-border);
}
.plan ul.features li:last-child { border-bottom: 0; }
.plan ul.features li::before {
  content: "✓"; color: var(--c-success); font-weight: 700; margin-top: 1px;
}
.plan .btn { margin-top: 1.5rem; width: 100%; }
.plan.featured {
  background: var(--grad-dark); color: #fff; border-color: transparent;
  transform: scale(1.04); box-shadow: var(--shadow); position: relative;
}
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured p, .plan.featured ul.features li { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.12); }
.plan.featured .badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--grad-accent); color: #fff; padding: .3rem .8rem;
  border-radius: var(--r-full); font-size: .75rem; font-weight: 700; letter-spacing: .05em;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } .plan.featured { transform: none; } }

/* ================= FAQ ================= */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r-md); padding: 1rem 1.25rem; margin-bottom: .75rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--c-primary); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--c-dark);
  display: flex; justify-content: space-between; align-items: center;
  list-style: none; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; color: var(--c-primary); font-weight: 400;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .8rem 0 0; color: var(--c-muted); font-size: .95rem; }

/* ================= CTA band ================= */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--grad-dark); color: #fff; text-align: center;
  padding: clamp(32px, 4vw, 56px) 0;
}
.cta-band h2 { color: #fff; }
.cta-band p  { color: rgba(255,255,255,.8); max-width: 640px; margin: 0 auto 1.5rem; font-size: 1.05rem; }
.cta-inner { position: relative; z-index: 1; }
.cta-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ================= Footer ================= */
.site-footer { background: var(--c-dark); color: rgba(255,255,255,.78); padding: 2.5rem 0 1.25rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: .8rem; }
.site-footer a  { color: rgba(255,255,255,.7); font-size: .9rem; }
.site-footer a:hover { color: var(--c-secondary); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand p { color: rgba(255,255,255,.7); font-size: .92rem; max-width: 320px; margin: .8rem 0 1rem; }
.footer-brand img { filter: brightness(0) invert(1); }
.newsletter { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.newsletter input {
  flex: 1 1 200px; min-width: 180px;
  padding: .7rem 1rem; border-radius: var(--r-full);
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.15); font: inherit; font-size: .9rem;
}
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter input:focus { outline: 2px solid var(--c-secondary); outline-offset: 2px; }
.newsletter-msg { color: var(--c-secondary); flex-basis: 100%; margin-top: .5rem; }
.site-footer ul li { margin-bottom: .4rem; }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.6); }
.socials { display: flex; gap: .5rem; }
.socials a {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.08); color: #fff;
}
.socials a:hover { background: var(--c-secondary); color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1/-1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ================= Generic page hero ================= */
.page-hero {
  padding: clamp(44px, 5vw, 68px) 0 clamp(24px, 3vw, 36px);
  background: var(--grad-hero); position: relative; overflow: hidden;
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

/* ================= Contact ================= */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; }
.contact-info { display: grid; gap: 1rem; }
.info-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem; border: 1px solid var(--c-border); border-radius: var(--r-lg); background: #fff;
}
.info-card .icon { flex: 0 0 44px; height: 44px; border-radius: 12px; background: rgba(11,114,133,.08); color: var(--c-primary); display: grid; place-items: center; }
.info-card h4 { margin: 0 0 .2rem; font-size: 1rem; color: var(--c-dark); font-family: var(--f-heading); }
.info-card p  { margin: 0; font-size: .9rem; }
.contact-form { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: 2rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 500; font-size: .85rem; color: var(--c-dark); margin-bottom: .35rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem 1rem;
  border: 1px solid var(--c-border); border-radius: var(--r-md);
  font: inherit; font-size: .95rem; color: var(--c-text); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(11,114,133,.12);
}
.form-msg { padding: 1rem; border-radius: var(--r-md); background: rgba(16,185,129,.1); color: #065f46; margin-top: 1rem; }
.map-wrap { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); margin-top: 3rem; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ================= About / Timeline / Values ================= */
.values-grid .card .icon { background: var(--grad-primary); color: #fff; }
.timeline { max-width: 800px; margin: 0 auto; position: relative; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: var(--c-border); }
.tl-item { position: relative; padding-bottom: 2rem; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--grad-primary); box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(11,114,133,.15); }
.tl-item h4 { color: var(--c-primary); margin: 0 0 .2rem; font-family: var(--f-heading); font-size: 1rem; letter-spacing: .04em; }
.tl-item h3 { margin: 0 0 .3rem; }
.tl-item p { margin: 0; font-size: .93rem; }

.team-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.team-card { text-align: center; padding: 1.5rem; }
.team-card .avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1rem;
  background: var(--grad-primary); display: grid; place-items: center; color: #fff;
  font-family: var(--f-heading); font-weight: 700; font-size: 1.5rem;
  box-shadow: var(--shadow-primary);
}
.team-card h3 { margin: 0; font-size: 1rem; }
.team-card small { color: var(--c-muted); font-size: .85rem; }

/* ================= Blog ================= */
.blog-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 16/10; background: var(--grad-primary); position: relative; }
.post-card .thumb svg { width: 100%; height: 100%; }
.post-card .body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.post-card .tag { font-size: .75rem; color: var(--c-primary); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.post-card h3 { font-size: 1.1rem; margin: 0; }
.post-card p { font-size: .9rem; margin: 0; }
.post-card .meta { margin-top: auto; font-size: .8rem; color: var(--c-muted); display: flex; gap: .8rem; }
@media (max-width: 900px) { .blog-grid, .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .blog-grid, .team-grid { grid-template-columns: 1fr; } }

/* ================= Reduced motion ================= */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE — Mobile-first fixes
   ========================================================= */

/* ---- Fluid container padding on small screens ---- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
}

/* ---- Hero ---- */
@media (max-width: 640px) {
  .hero { padding: 40px 0 32px; }
  .hero p.lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: .75rem; }
  .hero-visual img, .hero-visual svg { border-radius: var(--r-lg); }
}
@media (max-width: 480px) {
  .hero-trust { flex-direction: column; gap: .5rem; }
}

/* ---- Section heads ---- */
@media (max-width: 640px) {
  .section-head { margin-bottom: 2rem; }
  .section-head p { font-size: .95rem; }
}

/* ---- Trust / stats strip ---- */
@media (max-width: 480px) {
  .client-strip { gap: 1.5rem 2rem; }
  .client-strip img { height: 26px; }
  .stats { gap: .75rem; }
}

/* ---- Cards ---- */
@media (max-width: 480px) {
  .card { padding: 1.25rem; }
  .card:hover { transform: none; } /* avoid janky hover on touch */
}

/* ---- Industries ---- */
@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
  .industry { aspect-ratio: auto; padding: 1.25rem; }
}

/* ---- AI section grid ---- */
@media (max-width: 640px) {
  .ai-section .grid-3 { grid-template-columns: 1fr; }
}

/* ---- Screenshots ---- */
@media (max-width: 480px) {
  .shots { padding: 40px 0; }
  .shot-desktop { border-radius: var(--r-lg); }
}

/* ---- Process steps ---- */
@media (max-width: 480px) {
  .process { grid-template-columns: 1fr; }
  .step { padding: 1.25rem 1rem; }
}

/* ---- Testimonials ---- */
@media (max-width: 480px) {
  .testimonial { padding: 1.25rem; }
}

/* ---- Pricing ---- */
@media (max-width: 480px) {
  .pricing-toggle { flex-direction: row; width: 100%; }
  .pricing-toggle button { flex: 1; }
  .plan { padding: 1.5rem; }
  .plan .price { font-size: 2rem; }
}

/* ---- CTA band ---- */
@media (max-width: 480px) {
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ---- Contact ---- */
@media (max-width: 480px) {
  .contact-form { padding: 1.25rem; }
  .map-wrap iframe { height: 260px; }
}

/* ---- Footer ---- */
@media (max-width: 480px) {
  .site-footer { padding: 3rem 0 1.25rem; }
  .footer-grid { gap: 1.5rem; }
  .newsletter { flex-direction: column; }
  .newsletter input { min-width: 0; width: 100%; }
  .newsletter .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .75rem; }
}

/* ---- Page hero (inner pages) ---- */
@media (max-width: 640px) {
  .page-hero { padding: 64px 0 40px; text-align: left; }
  .page-hero .eyebrow { justify-content: flex-start; }
  .page-hero p { font-size: .95rem; }
}

/* ---- Blog / team grids on small phones ---- */
@media (max-width: 400px) {
  .blog-grid, .team-grid { grid-template-columns: 1fr; }
}

/* ---- Make buttons full-width on mobile where they appear alone ---- */
@media (max-width: 480px) {
  .plan .btn { font-size: .9rem; }
  .btn-lg { padding: .9rem 1.5rem; font-size: .95rem; }
}

/* ---- Spinner animation for form submit button ---- */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ================= Corporate Category Filter Tabs ================= */
.category-filter {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  border: 1px solid var(--c-border); background: #fff;
  padding: .6rem 1.25rem; border-radius: var(--r-full);
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--c-muted);
  cursor: pointer; transition: all .25s ease;
}
.filter-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.filter-btn.is-active {
  background: var(--grad-primary); color: #fff; border-color: transparent;
  box-shadow: var(--shadow-sm);
}

/* ================= Solution Cards & Badges ================= */
.solution-card {
  display: flex; flex-direction: column; height: 100%;
  padding: 1.75rem; border-radius: var(--r-xl);
  border: 1px solid var(--c-border); background: #fff;
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.solution-card .card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.solution-card .card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(11,114,133,.08); color: var(--c-primary);
  display: grid; place-items: center;
}
.solution-card .tag-badge {
  font-size: .75rem; font-weight: 700; padding: .25rem .7rem;
  border-radius: var(--r-full); background: var(--c-light); color: var(--c-primary);
  text-transform: uppercase; letter-spacing: .05em;
}
.solution-card h3 { font-size: 1.2rem; margin: .5rem 0 .4rem; }
.solution-card p { font-size: .92rem; color: var(--c-muted); flex: 1; margin: 0 0 1rem; }
.solution-card .card-link {
  font-size: .88rem; font-weight: 600; color: var(--c-primary);
  display: inline-flex; align-items: center; gap: .4rem; margin-top: auto;
}

/* ================= Integrations Grid ================= */
.integrations-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.integration-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: 1.25rem; display: flex; align-items: center; gap: 1rem;
  box-shadow: var(--shadow-sm); transition: transform .2s ease;
}
.integration-card:hover { transform: translateY(-3px); }
.integration-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--c-light); display: grid; place-items: center;
  font-weight: 700; color: var(--c-primary); flex-shrink: 0;
}
.integration-card h4 { margin: 0 0 .2rem; font-size: .95rem; }
.integration-card small { color: var(--c-muted); font-size: .8rem; }
@media (max-width: 900px) { .integrations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .integrations-grid { grid-template-columns: 1fr; } }

