/* ============================================
   Agilebridge Technologies — Upgraded Stylesheet
   ============================================ */

:root {
  --navy: #0C1422;
  --navy-mid: #121D2D;
  --navy-card: #172334;
  --blue: #2457A7;
  --blue-light: #4D78B8;
  --sky: #82A9D6;
  --accent: #C99545;
  --green: #10B981;
  --purple: #7069A8;
  --text: #F1F4F7;
  --text-muted: #A5AFBD;
  --surface: rgba(255,255,255,0.035);
  --surface-hover: rgba(255,255,255,0.065);
  --border: rgba(255,255,255,0.11);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-head: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

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

h1,h2,h3,h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,86,200,0.4); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--sky); color: var(--sky); background: rgba(56,189,248,0.05); }
.btn-outline { background: transparent; border: 1.5px solid var(--blue); color: var(--blue-light); }
.btn-outline:hover { background: var(--blue); color: white; }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 56px; height: 56px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }

/* ---- HEADER ---- */
body > header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(8,15,31,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
body > header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.3); }

.nav { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; gap: 2rem; }

.logo { display: flex; align-items: center; gap: 0.7rem; }
.logo img { width: 38px; height: 38px; object-fit: contain; }
.logo-text {
  font-family: var(--font-head);
  font-size: 1.2rem; font-weight: 800;
  letter-spacing: 0.05em; color: white;
}
.logo-text span { color: var(--sky); }

.nav-links { display: flex; list-style: none; gap: 0.25rem; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a {
  color: var(--text-muted); font-weight: 500; font-size: 0.9rem;
  padding: 0.5rem 0.9rem; border-radius: 8px;
  transition: var(--transition); display: block; white-space: nowrap;
}
.nav-links a:hover { color: white; background: var(--surface); }

.has-dropdown:hover .dropdown { opacity:1; visibility:visible; transform:translateY(0); }
.dropdown {
  position: absolute; top: calc(100% + 0.5rem); left: 0;
  background: var(--navy-mid); border: 1px solid var(--border);
  border-radius: 12px; padding: 0.5rem; list-style: none;
  min-width: 200px; opacity: 0; visibility: hidden;
  transform: translateY(-10px); transition: var(--transition);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4); z-index: 100;
}
.dropdown li a { padding: 0.65rem 1rem; border-radius: 8px; font-size: 0.88rem; }
.dropdown li a:hover { background: var(--surface-hover); color: white; }

.nav-cta { flex-shrink: 0; }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

.mobile-menu {
  display: none; background: var(--navy-mid);
  border-top: 1px solid var(--border);
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.mobile-menu.active { max-height: 700px; }
.mobile-menu ul { list-style: none; padding: 1rem 1.5rem; }
.mobile-menu li a {
  display: block; padding: 0.75rem 0;
  color: var(--text-muted); border-bottom: 1px solid var(--border); font-weight: 500;
}
.mobile-menu li a:hover { color: white; }
.mobile-cta { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.25rem 1.5rem; }

/* ---- HERO ---- */
.hero { position: relative; padding: 160px 0 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); animation: pulse 8s ease-in-out infinite; }
.orb-1 { width:500px;height:500px; background:rgba(30,86,200,0.18); top:-100px;right:-100px; }
.orb-2 { width:400px;height:400px; background:rgba(16,185,129,0.1); bottom:0;left:-100px; animation-delay:3s; }
.orb-3 { width:300px;height:300px; background:rgba(139,92,246,0.1); top:30%;left:30%; animation-delay:6s; }
@keyframes pulse { 0%,100% { transform:scale(1) translate(0,0); } 50% { transform:scale(1.1) translate(20px,-20px); } }

.hero-content { position:relative; z-index:1; display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.3);
  color: var(--accent); padding: 0.4rem 1rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; letter-spacing: 0.02em;
}
.hero-text h1 { font-size:clamp(2.6rem,5vw,4rem); font-weight:800; margin-bottom:1.25rem; }
.gradient-text {
  background: linear-gradient(135deg, var(--sky), var(--blue-light), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-text p { font-size:1.15rem; color:var(--text-muted); margin-bottom:2rem; max-width:520px; }
.hero-buttons { display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:2.5rem; }
.product-hero .hero-buttons:has(> a[href*="ResellerCustomerSignUp.do"]) {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0.75rem;
}
.product-hero .hero-buttons:has(> a[href*="ResellerCustomerSignUp.do"]) .btn {
  width:100%; min-width:0; justify-content:center; text-align:center; padding-inline:1rem;
}
.product-hero .hero-buttons:has(> a[href*="ResellerCustomerSignUp.do"]) .btn:first-child { grid-column:1/-1; }
.hero-stats { display:flex; align-items:center; gap:2rem; }
.stat-num { display:block; font-family:var(--font-head); font-size:2rem; font-weight:800; color:var(--sky); }
.stat-lbl { display:block; font-size:0.82rem; color:var(--text-muted); }
.stat-divider { width:1px; height:40px; background:var(--border); }

/* Hero card stack */
.hero-visual { position:relative; display:flex; justify-content:center; align-items:center; height:380px; }
.hero-card-stack { position:relative; width:320px; }
.hcard { position:absolute; border-radius:20px; padding:1.5rem; border:1px solid var(--border); transition:var(--transition); }
.hcard-back { background:rgba(30,86,200,0.2); width:260px; height:140px; top:0;right:0; transform:rotate(6deg); }
.hcard-mid { background:rgba(16,185,129,0.15); width:260px; height:140px; top:30px;left:0; transform:rotate(-4deg); }
.hcard-front { background:linear-gradient(135deg,var(--navy-mid),rgba(30,86,200,0.3)); border-color:rgba(56,189,248,0.3); width:290px; top:90px;left:20px; padding:2rem; animation:float 4s ease-in-out infinite; }
@keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-12px); } }
.hcard-icon { font-size:1.5rem; margin-bottom:0.5rem; }
.hcard-label { font-size:0.78rem; color:var(--text-muted); }
.hcard-value { font-family:var(--font-head); font-size:1.3rem; font-weight:800; color:var(--green); }
.hcard-logo { width:60px; margin-bottom:0.75rem; }
.hcard-title { font-family:var(--font-head); font-size:1.1rem; font-weight:700; margin-bottom:0.25rem; }
.hcard-subtitle { font-size:0.8rem; color:var(--text-muted); margin-bottom:1rem; }
.hcard-partners { display:flex; gap:0.75rem; align-items:center; }
.hcard-partners img { height:20px; object-fit:contain; filter:brightness(1.5); }

/* Marquee */
.hero-marquee { position:relative; z-index:1; margin-top:5rem; border-top:1px solid var(--border); border-bottom:1px solid var(--border); background:rgba(255,255,255,0.02); overflow:hidden; padding:1rem 0; }
.marquee-track { display:flex; gap:2rem; white-space:nowrap; animation:marquee 30s linear infinite; font-size:0.85rem; font-weight:600; color:var(--text-muted); letter-spacing:0.05em; text-transform:uppercase; }
.marquee-track span { flex-shrink:0; }
@keyframes marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* ---- PARTNERS ---- */
.partners { padding:3rem 0; border-bottom:1px solid var(--border); }
.partners-label { text-align:center; font-size:0.8rem; text-transform:uppercase; letter-spacing:0.12em; color:var(--text-muted); margin-bottom:1.5rem; }
.partners-logos { display:flex; justify-content:center; align-items:center; gap:3rem; flex-wrap:wrap; }
.partners-logos img { height:36px; object-fit:contain; filter:brightness(0) invert(1); opacity:0.6; transition:var(--transition); }
.partners-logos img:hover { opacity:1; }

/* ---- SECTION HEADER ---- */
.section-header { margin-bottom:3.5rem; }
.section-header h2 { font-size:clamp(2rem,4vw,3rem); font-weight:800; margin-bottom:0.75rem; }
.section-header p { font-size:1.1rem; color:var(--text-muted); max-width:60ch; }
.section-tag {
  display: inline-block;
  background: rgba(56,189,248,0.12); border: 1px solid rgba(56,189,248,0.25);
  color: var(--sky); padding: 0.3rem 0.85rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 1rem;
}

/* ---- SERVICES ---- */
.services { padding:6rem 0; }
.services-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1.5rem; }
.service-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius); padding:2rem; transition:var(--transition);
  display:block; position:relative; overflow:hidden;
}
.service-card::before { content:''; position:absolute; top:0;left:0;right:0; height:3px; background:linear-gradient(90deg,var(--blue),var(--sky)); opacity:0; transition:var(--transition); }
.service-card:hover { transform:translateY(-6px); border-color:rgba(56,189,248,0.3); box-shadow:0 20px 40px rgba(0,0,0,0.3); }
.service-card:hover::before { opacity:1; }
.sc-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:1.25rem; }
.sc-logo { height:28px; object-fit:contain; filter:brightness(1.5); }
.sc-icon { font-size:2rem; }
.sc-tag { font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; color:var(--sky); background:rgba(56,189,248,0.1); padding:0.25rem 0.6rem; border-radius:6px; }
.service-card h3 { font-size:1.2rem; font-weight:700; margin-bottom:0.6rem; }
.service-card p { color:var(--text-muted); font-size:0.92rem; line-height:1.65; margin-bottom:1.25rem; }
.sc-link { color:var(--sky); font-size:0.88rem; font-weight:600; }

/* ---- E-INVOICING ---- */
.einvoicing { padding:6rem 0; background:linear-gradient(135deg,rgba(30,86,200,0.1) 0%,rgba(8,15,31,0) 100%); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.ei-inner { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; }
.ei-badge { display:inline-flex; gap:0.5rem; background:rgba(16,185,129,0.1); border:1px solid rgba(16,185,129,0.3); color:var(--green); padding:0.4rem 1rem; border-radius:999px; font-size:0.82rem; font-weight:700; margin-bottom:1.25rem; letter-spacing:0.04em; }
.ei-text h2 { font-size:clamp(1.8rem,3.5vw,2.8rem); font-weight:800; margin-bottom:1rem; }
.ei-text p { color:var(--text-muted); margin-bottom:1.5rem; font-size:1rem; }
.ei-features { list-style:none; margin-bottom:2rem; }
.ei-features li { display:flex; align-items:flex-start; gap:0.75rem; padding:0.6rem 0; border-bottom:1px solid var(--border); font-size:0.94rem; }
.ei-features li:last-child { border-bottom:none; }
.check { display:flex; align-items:center; justify-content:center; width:20px; height:20px; background:rgba(16,185,129,0.15); color:var(--green); border-radius:50%; font-size:0.7rem; flex-shrink:0; margin-top:2px; }
.ei-image img { width:100%; border-radius:16px; border:1px solid var(--border); box-shadow:0 20px 60px rgba(0,0,0,0.3); }

/* ---- SOFTWARE TRAINING ---- */
.training { padding:6rem 0; }
.training-formats { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-bottom:2.5rem; }
.format-pill { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:1.25rem; text-align:center; transition:var(--transition); }
.format-pill:hover { background:var(--surface-hover); border-color:rgba(56,189,248,0.3); }
.format-pill .fp-icon { font-size:1.5rem; margin-bottom:0.5rem; }
.format-pill h4 { font-size:0.9rem; font-family:var(--font-head); margin-bottom:0.25rem; }
.format-pill p { font-size:0.78rem; color:var(--text-muted); }
.training-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:1.25rem; margin-bottom:3rem; }
.training-card { background:var(--navy-card); border:1px solid var(--border); border-radius:var(--radius); padding:1.75rem; transition:var(--transition); position:relative; overflow:hidden; }
.training-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,var(--blue),var(--sky)); opacity:0; transition:var(--transition); }
.training-card:hover { border-color:rgba(56,189,248,0.35); transform:translateY(-4px); }
.training-card:hover::before { opacity:1; }
.tc-icon { font-size:2rem; margin-bottom:1rem; }
.training-card h3 { font-size:1.05rem; margin-bottom:0.5rem; font-family:var(--font-head); }
.training-card p { color:var(--text-muted); font-size:0.87rem; line-height:1.65; margin-bottom:1rem; }
.tc-tag { font-size:0.72rem; font-weight:600; padding:0.25rem 0.65rem; border-radius:100px; background:rgba(139,92,246,0.12); color:#A78BFA; border:1px solid rgba(139,92,246,0.25); }
.training-cta-row { display:flex; justify-content:center; gap:1rem; flex-wrap:wrap; }
.training-services { padding:6rem 0; background:linear-gradient(180deg,rgba(56,189,248,0.04),transparent); border-top:1px solid var(--border); }
.training-services .section-header p { max-width:75ch; }
.training-price { color:var(--sky)!important; font-family:var(--font-head); font-size:1.4rem!important; font-weight:800; margin:0.75rem 0!important; }
.training-price span { color:var(--text-muted); font:500 0.75rem var(--font-body); }
.training-card h4 { font-size:0.9rem; margin:1rem 0 0.5rem; }
.training-topic-list { list-style:none; display:grid; gap:0.45rem; color:var(--text-muted); font-size:0.86rem; }
.training-topic-list li::before { content:'✓'; color:var(--green); font-weight:700; margin-right:0.55rem; }
.training-supported { padding-top:0.75rem; border-top:1px solid var(--border); }
.training-includes { display:grid; grid-template-columns:1fr 2fr; align-items:center; gap:2rem; padding:1.75rem; margin:1rem 0; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); }
.training-includes h3 { margin-top:0.35rem; font-size:1.2rem; }
.training-includes .training-topic-list { grid-template-columns:repeat(3,1fr); }
.corporate-training-note { color:var(--text-muted); text-align:center; font-size:0.9rem; }
.training-registration { padding:6rem 0; border-top:1px solid var(--border); }
.training-registration .section-header p { max-width:70ch; }
.registration-form { max-width:950px; margin:0 auto; padding:2rem; background:var(--navy-card); border:1px solid var(--border); border-radius:var(--radius); }
.registration-form fieldset { min-width:0; margin:0 0 1.75rem; padding:1.5rem; border:1px solid var(--border); border-radius:12px; }
.registration-form legend { padding:0 0.6rem; color:var(--sky); font-family:var(--font-head); font-weight:700; }
.registration-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.15rem; }
.registration-fields > label, .registration-field { min-width:0; display:flex; flex-direction:column; gap:0.4rem; color:var(--text); font-size:0.86rem; font-weight:600; }
#otherModuleField[hidden] { display:none; }
.registration-fields input:not([type="radio"]):not([type="checkbox"]), .registration-fields select, .registration-fields textarea {
  width:100%; min-height:46px; padding:0.7rem 0.8rem; color:var(--text); background:var(--navy); border:1px solid var(--border); border-radius:8px; font:400 0.9rem var(--font-body);
}
.registration-fields textarea { resize:vertical; }
.registration-fields select:focus, .registration-fields input:focus, .registration-fields textarea:focus { outline:2px solid var(--sky); outline-offset:2px; }
.registration-fields select option { background:var(--navy); color:var(--text); }
.registration-full-width { grid-column:1/-1; }
.field-label { font-size:0.86rem; font-weight:600; }
.registration-options { display:flex; flex-wrap:wrap; gap:1rem 1.5rem; min-height:46px; align-items:center; }
.registration-options label, .registration-consent { display:flex; align-items:center; gap:0.55rem; font-size:0.86rem; font-weight:400; }
.registration-options input, .registration-consent input { accent-color:var(--blue-light); }
.registration-fee { display:flex; flex-direction:column; gap:0.25rem; padding:1rem; background:rgba(56,189,248,0.06); border:1px solid rgba(56,189,248,0.2); border-radius:10px; }
.registration-fee > span { color:var(--text-muted); font-size:0.82rem; }
.registration-fee strong { color:var(--sky); font-family:var(--font-head); font-size:1.35rem; }
.registration-fee small, .registration-email-note { color:var(--text-muted); font-size:0.78rem; }
.registration-summary { margin:0 0 1.5rem; padding:1.5rem; background:rgba(30,86,200,0.12); border:1px solid rgba(56,189,248,0.25); border-radius:12px; }
.registration-summary h3 { margin-bottom:1rem; font-size:1.2rem; }
.registration-summary dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0.8rem 1.5rem; }
.registration-summary dl div { min-width:0; }
.registration-summary dt { color:var(--text-muted); font-size:0.76rem; }
.registration-summary dd { font-size:0.9rem; font-weight:600; overflow-wrap:anywhere; }
.registration-consent { margin-bottom:0.75rem; }
.registration-email-note { margin-bottom:1rem; }
.registration-feedback { margin:0.75rem 0; color:var(--green); font-size:0.85rem; }
.registration-email-options { margin-top:1.25rem; padding:1.5rem; background:rgba(56,189,248,0.06); border:1px solid rgba(56,189,248,0.2); border-radius:12px; }
.registration-email-options[hidden] { display:none; }
.registration-email-options h3 { font-size:1.1rem; margin-bottom:0.4rem; }
.registration-email-options > p { color:var(--text-muted); font-size:0.84rem; margin-bottom:1rem; }
.registration-email-actions { display:flex; flex-wrap:wrap; gap:0.75rem; margin-bottom:1rem; }
.registration-email-actions .btn { font-size:0.84rem; padding:0.7rem 1rem; }
.registration-copy-label { display:block; margin-bottom:0.4rem; color:var(--text-muted); font-size:0.8rem; }
.registration-email-options textarea { width:100%; padding:0.8rem; color:var(--text); background:var(--navy); border:1px solid var(--border); border-radius:8px; font:400 0.82rem/1.5 var(--font-body); resize:vertical; }

/* ---- CASES ---- */
.cases { padding:6rem 0; }
.cases-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:1.5rem; margin-bottom:4rem; }
.case-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:2rem; transition:var(--transition); position:relative; }
.case-card:hover { transform:translateY(-4px); border-color:rgba(56,189,248,0.2); }
.case-tag { display:inline-block; font-size:0.75rem; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; padding:0.3rem 0.75rem; border-radius:6px; margin-bottom:1rem; }
.case-tag.zoho { background:rgba(30,86,200,0.15); color:#60A5FA; }
.case-tag.sage { background:rgba(16,185,129,0.12); color:#34D399; }
.case-tag.bc { background:rgba(56,189,248,0.12); color:var(--sky); }
.case-card h3 { font-size:1.05rem; font-weight:700; margin-bottom:0.6rem; }
.case-card p { color:var(--text-muted); font-size:0.9rem; line-height:1.6; margin-bottom:1.25rem; }
.case-metric { font-family:var(--font-head); font-size:1.1rem; font-weight:800; color:var(--green); }
.clients-label { text-align:center; font-size:0.8rem; text-transform:uppercase; letter-spacing:0.12em; color:var(--text-muted); margin-bottom:1.5rem; }
.clients-logos { display:flex; justify-content:center; align-items:center; gap:3rem; flex-wrap:wrap; }
.clients-logos img { height:40px; object-fit:contain; filter:brightness(0) invert(1); opacity:0.45; transition:var(--transition); }
.clients-logos img:hover { opacity:0.85; }

/* ---- TESTIMONIALS ---- */
.testimonials { padding:6rem 0; background:linear-gradient(180deg,transparent,rgba(139,92,246,0.03),transparent); }
.testimonials-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:1.25rem; }
.testi-card { background:var(--navy-card); border:1px solid var(--border); border-radius:var(--radius); padding:2rem; transition:var(--transition); }
.testi-card:hover { border-color:rgba(139,92,246,0.3); transform:translateY(-3px); }
.testi-quote { font-size:2rem; color:var(--purple); opacity:0.5; font-family:Georgia,serif; line-height:1; margin-bottom:1rem; }
.testi-stars { color:var(--accent); font-size:0.85rem; margin-bottom:0.25rem; }
.testi-card p { color:var(--text-muted); font-size:0.9rem; line-height:1.75; margin-bottom:1.5rem; font-style:italic; }
.testi-author { display:flex; align-items:center; gap:0.75rem; }
.testi-avatar { width:42px; height:42px; border-radius:50%; background:linear-gradient(135deg,var(--blue),var(--sky)); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:0.9rem; font-family:var(--font-head); flex-shrink:0; }
.testi-name { font-weight:600; font-size:0.9rem; }
.testi-role { font-size:0.78rem; color:var(--text-muted); }

/* ---- ABOUT ---- */
.about { padding:6rem 0; border-top:1px solid var(--border); }
.about-inner { display:grid; grid-template-columns:3fr 2fr; gap:4rem; align-items:start; }
.about-text p { color:var(--text-muted); margin-bottom:1rem; font-size:1rem; line-height:1.75; }
.about-text h2 { font-size:clamp(1.8rem,3.5vw,2.6rem); font-weight:800; margin-bottom:1.25rem; }
.about-pillars { margin-top:2rem; display:flex; flex-direction:column; gap:1.25rem; }
.pillar { display:flex; gap:1rem; align-items:flex-start; }
.pillar-icon { font-size:1.5rem; flex-shrink:0; margin-top:2px; }
.pillar strong { display:block; margin-bottom:0.25rem; }
.pillar p { color:var(--text-muted); font-size:0.9rem; margin:0; }
.about-certs { display:flex; flex-direction:column; gap:1rem; }
.cert-box { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:1.5rem; display:flex; align-items:center; gap:1rem; transition:var(--transition); }
.cert-box:hover { border-color:rgba(56,189,248,0.3); }
.cert-box img { height:30px; object-fit:contain; filter:brightness(1.5); }
.cert-box img[src$="partner.svg"],
.product-hero-img img[src$="partner.svg"] {
  background:white; padding:0.4rem; border-radius:6px; filter:none;
}
.product-hero-img img[src$="partner.svg"] { max-width:100%; }
.cert-box span { font-size:0.9rem; font-weight:600; }

/* ---- CONTACT ---- */
.contact { padding:6rem 0; }
.contact-inner { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:start; }
.contact-form-wrap { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.contact-info h3 { font-size:1.5rem; font-weight:700; margin-bottom:1.5rem; }
.contact-cards { display:flex; flex-direction:column; gap:0.75rem; margin-bottom:2rem; }
.contact-card { display:flex; align-items:center; gap:1rem; padding:1rem 1.25rem; background:var(--surface); border:1px solid var(--border); border-radius:12px; transition:var(--transition); }
.contact-card:hover { border-color:rgba(56,189,248,0.3); background:var(--surface-hover); }
.cc-icon { font-size:1.4rem; flex-shrink:0; }
.contact-card strong { display:block; font-size:0.82rem; color:var(--text-muted); margin-bottom:0.15rem; }
.contact-card span, .contact-card a { font-size:0.92rem; color:var(--text); }
.contact-ctas { display:flex; gap:1rem; flex-wrap:wrap; }

/* ---- FOOTER ---- */
footer { background:rgba(0,0,0,0.3); border-top:1px solid var(--border); padding:4rem 0 2rem; }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr 1fr; gap:2.5rem; margin-bottom:3rem; }
.footer-brand img { height:40px; object-fit:contain; margin-bottom:1rem; }
.footer-brand .zoho-partner-link {
  display:inline-flex; align-items:center; justify-content:center;
  margin-top:0.25rem; padding:0.4rem 0.6rem;
  background:white; border-radius:6px;
}
.footer-brand .zoho-partner-link img { display:block; width:145px; height:auto; margin:0; }
.footer-brand p { color:var(--text-muted); font-size:0.9rem; line-height:1.7; margin-bottom:1.25rem; }
.footer-social { display:flex; gap:0.75rem; }
.footer-social a { width:36px; height:36px; border-radius:8px; background:var(--surface); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:0.85rem; font-weight:700; color:var(--text-muted); transition:var(--transition); }
.footer-social a:hover { background:var(--blue); color:white; border-color:var(--blue); }
.footer-col h4 { font-size:0.9rem; font-weight:700; margin-bottom:1.25rem; text-transform:uppercase; letter-spacing:0.05em; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:0.6rem; }
.footer-col li a, .footer-col li span { color:var(--text-muted); font-size:0.88rem; transition:var(--transition); }
.footer-col li a:hover { color:white; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; padding-top:2rem; border-top:1px solid var(--border); color:var(--text-muted); font-size:0.85rem; flex-wrap:wrap; gap:0.5rem; }

/* ---- BLOG ---- */
.blog-hero { padding:160px 0 4rem; background:radial-gradient(ellipse at 70% 0%,rgba(30,86,200,0.2) 0%,transparent 60%); }
.blog-hero h1 { font-size:clamp(2.5rem,6vw,4.5rem); font-weight:800; margin-bottom:1rem; }
.blog-hero p { color:var(--text-muted); font-size:1.1rem; max-width:65ch; }
.blog-listing { padding:2rem 0 6rem; }
.blog-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr)); gap:1.5rem; }
.blog-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; background:var(--navy-card); border:1px solid var(--border); border-radius:var(--radius); transition:var(--transition); }
.blog-card:hover { transform:translateY(-4px); border-color:rgba(130,169,214,0.45); }
.blog-card-image { display:flex; aspect-ratio:16/9; align-items:center; justify-content:center; overflow:hidden; background:linear-gradient(135deg,rgba(36,87,167,0.45),rgba(112,105,168,0.35)); color:white; font-family:var(--font-head); font-size:1.3rem; font-weight:700; }
.blog-card-image img { width:100%; height:100%; object-fit:cover; }
.blog-card-body { display:flex; flex:1; flex-direction:column; align-items:flex-start; padding:1.5rem; }
.blog-meta { display:flex; flex-wrap:wrap; gap:0.75rem; color:var(--text-muted); font-size:0.82rem; }
.blog-card h2 { margin:0.75rem 0; font-size:1.35rem; }
.blog-card p { margin-bottom:1rem; color:var(--text-muted); font-size:0.93rem; }
.blog-read-more { margin-top:auto; color:var(--sky); font-weight:700; }
.blog-empty { padding:3rem 1.5rem; border:1px solid var(--border); border-radius:var(--radius); background:var(--surface); color:var(--text-muted); text-align:center; }
.blog-article { padding:140px 0 5rem; }
.blog-article-header { max-width:800px; margin:0 auto 1.5rem; }
.blog-article-header h1 { margin:0.65rem 0; font-size:clamp(1.9rem,4.2vw,3rem); }
.blog-article-description { max-width:70ch; margin-top:0.65rem; color:var(--text-muted); font-size:1rem; line-height:1.65; }
.blog-article-header .blog-meta { margin-top:0.75rem; gap:0.5rem; }
.blog-cover { display:block; width:min(100%,1000px); max-height:340px; margin:0 auto 1.5rem; border-radius:var(--radius); object-fit:cover; }
.blog-article-content { max-width:760px; margin:0 auto; color:#d5dbe4; font-size:1rem; line-height:1.7; overflow-wrap:anywhere; }
.blog-article-content > * + * { margin-top:0.65rem; }
.blog-article-content h2,.blog-article-content h3 { margin-top:1.4rem; color:var(--text); }
.blog-article-content h2 { font-size:clamp(1.35rem,2.5vw,1.75rem); }
.blog-article-content h3 { font-size:1.2rem; }
.blog-article-content ul,.blog-article-content ol { padding-left:1.5rem; }
.blog-article-content li + li { margin-top:0.35rem; }
.blog-article-content a { color:var(--sky); text-decoration:underline; text-underline-offset:0.2em; }
.blog-article-content blockquote { padding:0.5rem 1.25rem; border-left:3px solid var(--sky); color:var(--text-muted); }
.blog-article-content img { max-width:100%; height:auto; border-radius:8px; }
.blog-article-content pre { overflow-x:auto; padding:1rem; border-radius:8px; background:#080f1f; }
.blog-article-footer { max-width:760px; margin:2rem auto 0; padding-top:1.25rem; border-top:1px solid var(--border); }
.blog-article-footer a { color:var(--sky); font-weight:700; }
.blog-footer .footer-top { grid-template-columns:2fr 1fr; }

/* ---- PRODUCT PAGE SHARED ---- */
.product-hero { padding:140px 0 6rem; position:relative; overflow:hidden; }
.product-hero::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at 70% 0%,rgba(30,86,200,0.2) 0%,transparent 60%); }
.product-hero .container { position:relative; z-index:1; }
.product-hero-inner { display:grid; grid-template-columns:1.2fr 1fr; gap:4rem; align-items:center; }
.breadcrumb { display:flex; align-items:center; gap:0.5rem; font-size:0.82rem; color:var(--text-muted); margin-bottom:1.5rem; }
.breadcrumb a { color:var(--sky); }
.product-hero h1 { font-size:clamp(2.4rem,5vw,3.5rem); font-weight:800; margin-bottom:1.25rem; }
.product-hero p { font-size:1.1rem; color:var(--text-muted); margin-bottom:2rem; max-width:500px; }
.product-hero-img { display:flex; align-items:center; justify-content:center; }
.product-hero-img img { max-width:100%; height:auto; filter:drop-shadow(0 20px 40px rgba(0,0,0,0.4)); }
.product-hero-img .product-brand-logo {
  width:min(100%,140px); height:116px; padding:0.35rem;
  object-fit:contain; border-radius:12px; background:#fff;
  filter:none; box-shadow:0 12px 28px rgba(0,0,0,0.16);
}
.product-hero-img .product-brand-logo[alt^="Zoho "] {
  width:min(100%,100px); height:84px; padding:0.2rem;
  border-radius:9px; box-shadow:0 8px 20px rgba(0,0,0,0.14);
}
.product-hero-img .product-hero-art { width:min(100%,420px); border-radius:20px; }
.microsoft-brand-pair {
  width:min(100%,140px); height:116px; padding:0.65rem;
  display:flex; align-items:center; justify-content:center; gap:0.5rem;
  border-radius:12px; background:#fff; box-shadow:0 12px 28px rgba(0,0,0,0.16);
}
.microsoft-brand-pair img { width:46%; max-height:100%; object-fit:contain; }
.product-brand-mark {
  display:block; width:48px; height:48px; margin-bottom:0.65rem; padding:0.25rem;
  object-fit:contain; border-radius:9px; background:#fff;
}
.product-brand-mark-group {
  width:48px; height:48px; margin-bottom:0.65rem; padding:0.25rem;
  display:flex; align-items:center; justify-content:center; gap:0.15rem;
  border-radius:9px; background:#fff;
}
.product-brand-mark-group img { width:48%; max-height:100%; object-fit:contain; }
.zoho-category-group .product-brand-mark {
  width:32px; height:32px; margin-bottom:0.5rem; padding:0.15rem;
  border-radius:7px;
}

.features-section { padding:6rem 0; }
.features-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:1.5rem; }
.zoho-category-nav { display:flex; flex-wrap:wrap; gap:0.75rem; margin:-1.5rem 0 2.5rem; }
.zoho-category-nav a { padding:0.55rem 1rem; border:1px solid var(--border); border-radius:999px; color:var(--sky); background:var(--surface); font-size:0.88rem; font-weight:600; transition:var(--transition); }
.zoho-category-nav a:hover { border-color:var(--sky); background:var(--surface-hover); }
.zoho-category-group { scroll-margin-top:100px; margin-top:3rem; }
.zoho-category-group h3 { margin-bottom:1.25rem; font-size:clamp(1.35rem,2.4vw,1.8rem); }
.feature-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:1.75rem; transition:var(--transition); }
.feature-card:hover { border-color:rgba(56,189,248,0.3); transform:translateY(-4px); }
.feature-card .fc-icon { font-size:2rem; margin-bottom:1rem; }
.feature-card h3 { font-size:1rem; font-weight:700; margin-bottom:0.5rem; }
.feature-card p { color:var(--text-muted); font-size:0.9rem; line-height:1.6; }

.cta-banner { margin:4rem 0 0; padding:3.5rem; background:linear-gradient(135deg,rgba(30,86,200,0.25),rgba(56,189,248,0.1)); border:1px solid rgba(56,189,248,0.25); border-radius:20px; text-align:center; }
.cta-banner h2 { font-size:2rem; font-weight:800; margin-bottom:1rem; }
.cta-banner p { color:var(--text-muted); margin-bottom:2rem; font-size:1.05rem; }
.cta-btns { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* Stats for product hero */
.hero-stats.product-stats { margin-top:2rem; }

/* ---- LINE ICONS (revamp) ---- */
.icon { width: 1em; height: 1em; display: block; }
.fc-icon, .sc-icon, .tc-icon, .fp-icon, .ei-badge {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(56,189,248,0.12), rgba(139,92,246,0.12));
  border: 1px solid var(--border); border-radius: 12px; color: var(--sky); flex-shrink: 0;
}
.fc-icon { width: 48px; height: 48px; margin-bottom: 1rem; }
.fc-icon .icon { width: 24px; height: 24px; }
.sc-icon { width: 44px; height: 44px; }
.sc-icon .icon { width: 22px; height: 22px; }
.tc-icon { width: 44px; height: 44px; margin-bottom: 1rem; }
.tc-icon .icon { width: 22px; height: 22px; }
.fp-icon { width: 44px; height: 44px; margin: 0 auto 0.5rem; }
.fp-icon .icon { width: 22px; height: 22px; }
.ei-badge { width: auto; height: auto; display: inline-flex; padding: 0.4rem 1rem; border-radius: 999px; gap: 0.5rem; color: var(--green); background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.3); }
.ei-badge .icon { width: 16px; height: 16px; }

/* ---- HERO ICON FRAME (product pages) ---- */
.hero-icon-frame {
  width: 220px; height: 220px; max-width: 100%;
  display: flex; align-items: center; justify-content: center;
  border-radius: 28px; color: var(--sky);
  background: linear-gradient(135deg, rgba(56,189,248,0.12), rgba(139,92,246,0.12));
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.hero-icon-frame .icon { width: 92px; height: 92px; }

/* ---- SECTION DIVIDER (wave) ---- */
.section-divider { line-height: 0; margin-top: -1px; position: relative; z-index: 1; }
.section-divider svg { width: 100%; height: 64px; display: block; }

/* ---- PRODUCT HERO ENTRANCE ANIMATION ---- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.product-hero .breadcrumb, .product-hero .section-tag, .product-hero h1,
.product-hero p, .product-hero .hero-buttons, .product-hero .hero-stats,
.product-hero-img {
  animation: fadeUp 0.8s cubic-bezier(0.4,0,0.2,1) both;
}
.product-hero .breadcrumb { animation-delay: 0s; }
.product-hero .section-tag { animation-delay: 0.05s; }
.product-hero h1 { animation-delay: 0.1s; }
.product-hero p { animation-delay: 0.2s; }
.product-hero .hero-buttons { animation-delay: 0.3s; }
.product-hero .hero-stats { animation-delay: 0.4s; }
.product-hero-img { animation-delay: 0.35s; }

/* ---- RESPONSIVE ---- */
@media (max-width:1024px) {
  .footer-top { grid-template-columns:1fr 1fr; }
  .footer-brand { grid-column:1/-1; }
  .hero-content { grid-template-columns:1fr; }
  .hero-visual { display:none; }
  .ei-inner { grid-template-columns:1fr; }
  .about-inner { grid-template-columns:1fr; }
  .contact-inner { grid-template-columns:1fr; }
  .product-hero-inner { grid-template-columns:1fr; }
  .product-hero-img { display:none; }
  .product-hero-img.product-brand-hero { display:flex; margin-top:0.5rem; }
  .training-formats { grid-template-columns:1fr 1fr; }
  .training-includes { grid-template-columns:1fr; }
}
@media (max-width:768px) {
  .nav-links, .nav-cta { display:none; }
  .menu-toggle { display:flex; }
  .mobile-menu { display:block; }
  .footer-top { grid-template-columns:1fr; }
  .hero { padding-top:100px; }
  .cases-grid { grid-template-columns:1fr; }
  .services-grid { grid-template-columns:1fr; }
  .cta-banner { padding:2rem; }
  .training-formats { grid-template-columns:1fr; }
  .training-includes .training-topic-list { grid-template-columns:1fr; }
  .registration-form { padding:1.1rem; }
  .registration-form fieldset { padding:1rem; }
  .registration-fields, .registration-summary dl { grid-template-columns:1fr; }
  .testimonials-grid { grid-template-columns:1fr; }
  .blog-hero { padding-top:120px; }
  .blog-article { padding-top:110px; }
  .blog-footer .footer-top { grid-template-columns:1fr; }
}
@media (max-width:480px) {
  .product-hero .hero-buttons:has(> a[href*="ResellerCustomerSignUp.do"]) { grid-template-columns:1fr; }
  .product-hero .hero-buttons:has(> a[href*="ResellerCustomerSignUp.do"]) .btn:first-child { grid-column:auto; }
}

/* ---- FAQ (shared across service/product pages) ---- */
.faq-section { padding: 6rem 0; }
.faq-list { display: flex; flex-direction: column; gap: 1rem; max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.25rem 1.75rem; transition: var(--transition); }
.faq-item[open] { border-color: rgba(56,189,248,0.3); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.25rem 0; font-weight: 700; font-family: var(--font-head); font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--sky); flex-shrink: 0; transition: var(--transition); }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; padding-bottom: 1.5rem; }

/* ---- CASE STUDY ---- */
.case-study-summary { padding:0 0 2rem; }
.case-study-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }
.case-study-fact { min-width:0; padding:1.25rem; background:var(--surface); border:1px solid var(--border); border-radius:12px; }
.case-study-fact dt { color:var(--text-muted); font-size:0.75rem; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; margin-bottom:0.35rem; }
.case-study-fact dd { font-size:0.95rem; font-weight:600; line-height:1.5; }
.case-study-fact a, .case-study-related a { color:var(--sky); text-decoration:underline; text-underline-offset:3px; }
.case-study-related { padding:0 0 2rem; text-align:center; color:var(--text-muted); }
@media (max-width:768px) { .case-study-facts { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:480px) { .case-study-facts { grid-template-columns:1fr; } }

/* ---- ZOHO POS LANDING PAGE ---- */
.zoho-pos-hero { background:radial-gradient(ellipse at 70% 0%,rgba(239,68,68,0.12) 0%,transparent 60%); }
.zoho-pos-video { padding-top:2rem; }
.video-frame { position:relative; width:min(100%,960px); aspect-ratio:16 / 9; margin:0 auto; overflow:hidden; border:1px solid var(--border); border-radius:var(--radius); background:#000; box-shadow:0 20px 60px rgba(0,0,0,0.3); }
.video-frame iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.zoho-solution-video { width:100%; margin-top:1rem; border-radius:10px; }
.zoho-video-fallback { margin-top:0.5rem; color:var(--text-muted); font-size:0.75rem; line-height:1.5; }
.zoho-video-fallback a { color:var(--sky); text-decoration:underline; }
.video-fallback { width:min(100%,960px); margin:0.9rem auto 0; text-align:right; color:var(--text-muted); font-size:0.88rem; }
.video-fallback a { color:var(--sky); text-decoration:underline; text-underline-offset:3px; }
.zoho-pos-note { max-width:760px; margin:2rem auto 0; color:var(--text-muted); font-size:0.9rem; text-align:center; }
.zoho-pos-related { display:block; color:inherit; }
.zoho-pos-related:hover { text-decoration:none; }
.zoho-pos-contact-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:1rem; }

/* ---- POLISH & ACCESSIBILITY ---- */
.gradient-text {
  background: none;
  color: var(--sky);
  -webkit-text-fill-color: currentColor;
}
.orb { animation: none; }
.has-dropdown:focus-within .dropdown { opacity:1; visibility:visible; transform:translateY(0); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}
.faq-section .section-header { margin-bottom:2rem; }
.faq-item p a { color:var(--sky); text-decoration:underline; text-underline-offset:3px; }
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after {
    scroll-behavior:auto !important;
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.01ms !important;
  }
}
