/* ─── 1. DESIGN TOKENS ─── */
:root {
  --blue-dark:   #0033cc;
  --blue-light:  #00d2ff;
  --orange:      #ff6600;
  --gold:        #ffcc00;
  --ink:         #08112b;
  --ink-soft:    #1a2540;
  --muted:       #64748b;
  --surface:     #f4f7ff;
  --white:       #ffffff;
  --grad-blue:   linear-gradient(135deg, #00d2ff 0%, #0033cc 100%);
  --grad-orange: linear-gradient(135deg, #ff6600 0%, #ffcc00 100%);
  --grad-green:  linear-gradient(135deg, #00c896 0%, #0066ff 100%);
}

/* ─── 2. RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Roboto', sans-serif; background: var(--white); color: var(--ink); overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: 'Roboto', sans-serif; font-weight: 900; }

/* ─── 3. GRADIENT TEXT ─── */
.gt-blue {
  background: var(--grad-blue); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.gt-orange {
  background: var(--grad-orange); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.gt-green {
  background: var(--grad-green); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}


/* ─── 6. SECTION HELPERS ─── */
.section-eyebrow { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .28em; margin-bottom: .9rem; display: block; }
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); line-height: 1.08; }
.section-sub { color: var(--muted); line-height: 1.8; font-size: 1rem; }

/* ─── 7. BUTTONS ─── */
.btn-primary-q {
  background: var(--grad-blue); color: #fff; font-family: 'Roboto', sans-serif; font-weight: 700;
  border: none; padding: .85rem 2rem; border-radius: .9rem;
  box-shadow: 0 10px 28px rgba(0,51,204,.22); transition: transform .3s, box-shadow .3s;
  font-size: .97rem; text-decoration: none; display: inline-block;
}
.btn-primary-q:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,51,204,.35); color: #fff; }
.btn-outline-q {
  border: 2px solid var(--blue-dark); color: var(--blue-dark); font-family: 'Roboto', sans-serif;
  font-weight: 700; background: transparent; padding: .83rem 2rem; border-radius: .9rem;
  transition: all .3s; font-size: .97rem; text-decoration: none; display: inline-block;
}
.btn-outline-q:hover { background: var(--blue-dark); color: #fff; }
.btn-cta-primary {
  background: var(--grad-blue); color: #fff; font-family: 'Roboto', sans-serif; font-weight: 700;
  border: none; padding: .95rem 2.2rem; border-radius: .9rem;
  transition: transform .3s, box-shadow .3s; font-size: 1rem; text-decoration: none; display: inline-block;
}
.btn-cta-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(0,51,204,.42); color: #fff; }
.btn-cta-outline {
  border: 2px solid rgba(255,255,255,.2); color: #fff; font-family: 'Roboto', sans-serif;
  font-weight: 700; background: rgba(255,255,255,.05); padding: .93rem 2.2rem; border-radius: .9rem;
  transition: all .3s; font-size: 1rem; text-decoration: none; display: inline-block; backdrop-filter: blur(8px);
}
.btn-cta-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.42); color: #fff; }

/* ─── 8. HERO ─── */
.hero {
  padding-top: 9rem; padding-bottom: 6rem;
  background: var(--ink); position: relative; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,210,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,210,255,.055) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-orb-1 {
  position: absolute; top: -140px; right: -80px;
  width: 580px; height: 580px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,51,204,.4) 0%, transparent 68%);
  filter: blur(70px); pointer-events: none;
}
.hero-orb-2 {
  position: absolute; bottom: -100px; left: -60px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,198,150,.22) 0%, transparent 70%);
  filter: blur(55px); pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(0,210,255,.12); border: 1px solid rgba(0,210,255,.25);
  border-radius: 100px; padding: .4rem 1rem .4rem .5rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: 1.6rem;
}
.hero-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-light); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero-title { font-size: clamp(2.6rem, 5vw, 4.4rem); color: #fff; line-height: 1.06; margin-bottom: 1.4rem; }
.hero-desc { color: #94a3b8; font-size: 1.12rem; line-height: 1.8; max-width: 540px; margin-bottom: 2.5rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.75rem; padding-top: 2.25rem; margin-top: 2.25rem; border-top: 1px solid rgba(255,255,255,.1); }
.hstat { }
.hstat-num { font-size: 1.9rem; font-weight: 900; color: #fff; line-height: 1; }
.hstat-label { font-size: .78rem; color: #64748b; margin-top: .2rem; letter-spacing: .04em; }

/* Hero visual — SaaS dashboard mockup */
.hero-visual {
  position: relative;
}
.saas-screen {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 1.5rem; padding: 1.5rem; overflow: hidden;
  backdrop-filter: blur(12px);
}
.saas-screen-bar {
  display: flex; align-items: center; gap: .5rem; margin-bottom: 1.2rem;
}
.saas-dot { width: .6rem; height: .6rem; border-radius: 50%; }
.saas-dot.r { background: #ff5f57; }
.saas-dot.y { background: #febc2e; }
.saas-dot.g { background: #28c840; }
.saas-screen-title { font-size: .75rem; font-weight: 700; color: rgba(255,255,255,.4); letter-spacing: .1em; text-transform: uppercase; margin-left: .5rem; }
.saas-kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1rem; }
.saas-kpi {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: .9rem; padding: .85rem; text-align: center;
}
.saas-kpi-val { font-size: 1.3rem; font-weight: 900; color: #fff; }
.saas-kpi-lbl { font-size: .65rem; color: #64748b; margin-top: .15rem; text-transform: uppercase; letter-spacing: .06em; }
.saas-kpi.accent .saas-kpi-val { background: var(--grad-blue); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.saas-kpi.accent2 .saas-kpi-val { background: var(--grad-green); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.saas-kpi.accent3 .saas-kpi-val { background: var(--grad-orange); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.saas-chart { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); border-radius: .9rem; padding: .9rem; margin-bottom: .9rem; }
.saas-chart-label { font-size: .65rem; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .7rem; }
.saas-bars { display: flex; align-items: flex-end; gap: .4rem; height: 60px; }
.saas-bar { flex: 1; border-radius: .35rem .35rem 0 0; min-width: 0; }
.saas-bar.b1 { background: rgba(0,210,255,.5); height: 45%; }
.saas-bar.b2 { background: rgba(0,210,255,.4); height: 70%; }
.saas-bar.b3 { background: rgba(0,210,255,.6); height: 55%; }
.saas-bar.b4 { background: rgba(0,51,204,.7); height: 85%; }
.saas-bar.b5 { background: rgba(0,51,204,.5); height: 60%; }
.saas-bar.b6 { background: rgba(0,198,150,.6); height: 95%; }
.saas-bar.b7 { background: rgba(0,198,150,.5); height: 75%; }
.saas-module-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.saas-module {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: .75rem; padding: .7rem .9rem;
  display: flex; align-items: center; gap: .6rem;
}
.saas-module-icon { font-size: 1rem; }
.saas-module-name { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.7); letter-spacing: .04em; }
.saas-module-status { font-size: .6rem; color: #22c55e; margin-top: .1rem; }
/* Floating badge */
.hero-badge {
  position: absolute; background: #fff; border-radius: 1rem;
  padding: .75rem 1rem; box-shadow: 0 16px 40px rgba(8,17,43,.2);
  display: flex; align-items: center; gap: .6rem;
}
.hero-badge-icon { width: 2.2rem; height: 2.2rem; border-radius: .6rem; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.hero-badge-text { font-size: .75rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.hero-badge-sub { font-size: .65rem; color: var(--muted); font-weight: 400; }
.badge-tl { top: -4.5rem; left: 0rem; }
.badge-br { bottom: -4.5rem; right: 0rem; }

/* ─── SAAS MODULES SECTION ─── */
.modules-section { padding: 7rem 0; background: var(--white); }
.module-card {
  background: #fff; border: 1px solid #e8edf5; border-radius: 1.75rem;
  padding: 2rem; height: 100%; transition: all .35s; position: relative; overflow: hidden;
}
.module-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  opacity: 0; transition: opacity .35s;
}
.module-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,51,204,.1); border-color: transparent; }
.module-card:hover::before { opacity: 1; }
.module-card.erp::before { background: linear-gradient(90deg, #0033cc, #00d2ff); }
.module-card.crm::before { background: linear-gradient(90deg, #ff6600, #ffcc00); }
.module-card.hrm::before { background: linear-gradient(90deg, #00c896, #0066ff); }
.module-card.saas::before { background: linear-gradient(90deg, #7c3aed, #00d2ff); }
.module-card.web::before { background: linear-gradient(90deg, #0033cc, #7c3aed); }
.module-card.mobile::before { background: linear-gradient(90deg, #ff6600, #0033cc); }

.module-icon-wrap {
  width: 3.5rem; height: 3.5rem; border-radius: 1rem; margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.module-icon-wrap.blue { background: linear-gradient(135deg, rgba(0,210,255,.15), rgba(0,51,204,.12)); color: var(--blue-dark); }
.module-icon-wrap.orange { background: linear-gradient(135deg, rgba(255,102,0,.12), rgba(255,204,0,.1)); color: var(--orange); }
.module-icon-wrap.green { background: linear-gradient(135deg, rgba(0,200,150,.15), rgba(0,102,255,.1)); color: #00c896; }
.module-icon-wrap.purple { background: linear-gradient(135deg, rgba(124,58,237,.12), rgba(0,210,255,.1)); color: #7c3aed; }
.module-icon-wrap.indigo { background: linear-gradient(135deg, rgba(0,51,204,.12), rgba(124,58,237,.1)); color: var(--blue-dark); }
.module-icon-wrap.red { background: linear-gradient(135deg, rgba(255,102,0,.12), rgba(0,51,204,.1)); color: var(--orange); }

.module-tag {
  display: inline-block; font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; padding: .22rem .8rem; border-radius: 100px; margin-bottom: .85rem;
}
.module-tag.blue { background: rgba(0,51,204,.08); color: var(--blue-dark); }
.module-tag.orange { background: rgba(255,102,0,.1); color: var(--orange); }
.module-tag.green { background: rgba(0,200,150,.1); color: #059669; }
.module-tag.purple { background: rgba(124,58,237,.1); color: #7c3aed; }
.module-tag.indigo { background: rgba(0,51,204,.08); color: var(--blue-dark); }
.module-tag.red { background: rgba(255,102,0,.1); color: var(--orange); }

.module-title { font-size: 1.2rem; font-weight: 900; margin-bottom: .6rem; }
.module-desc { font-size: .88rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.2rem; }
.module-features { list-style: none; padding: 0; margin: 0; }
.module-features li {
  font-size: .82rem; color: var(--muted); padding: .3rem 0;
  border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; gap: .6rem;
}
.module-features li:last-child { border-bottom: none; }
.module-features li i { color: var(--blue-dark); font-size: .8rem; flex-shrink: 0; }

/* ─── WHY SAAS SECTION ─── */
.why-section { padding: 7rem 0; background: var(--surface); }
.why-card {
  background: #fff; border-radius: 1.5rem; padding: 2rem;
  height: 100%; transition: transform .3s, box-shadow .3s;
  border: 1px solid transparent;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,51,204,.08); border-color: rgba(0,51,204,.1); }
.why-num { font-size: 3rem; font-weight: 900; line-height: 1; opacity: .08; margin-bottom: .5rem; color: var(--blue-dark); }
.why-icon { width: 3rem; height: 3rem; border-radius: .85rem; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; background: var(--grad-blue); color: #fff; }
.why-title { font-size: 1.05rem; font-weight: 900; margin-bottom: .5rem; }
.why-desc { font-size: .88rem; color: var(--muted); line-height: 1.7; }

/* ─── DEPLOYMENT PROCESS ─── */
.process-section { padding: 7rem 0; background: var(--white); }
.process-track {
  position: relative;
}
.process-track::before {
  content: ''; position: absolute; top: 2.75rem; left: calc(1.75rem + 1px); right: 0;
  height: 2px; background: linear-gradient(90deg, var(--blue-dark), var(--blue-light), transparent);
  opacity: .2;
}
.proc-step {
  position: relative;
}
.proc-num {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--grad-blue); color: #fff; font-weight: 900; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; position: relative; z-index: 1;
  box-shadow: 0 8px 22px rgba(0,51,204,.3);
}
.proc-title { font-size: 1rem; font-weight: 900; margin-bottom: .5rem; }
.proc-desc { font-size: .85rem; color: var(--muted); line-height: 1.7; }
.proc-duration {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 700; color: var(--blue-dark);
  background: rgba(0,51,204,.08); border-radius: 100px; padding: .2rem .7rem; margin-top: .75rem;
}

/* ─── PRICING ─── */
.pricing-section { padding: 7rem 0; background: var(--surface); }
.price-card {
  border-radius: 2rem; border: 2px solid #e8edf5;
  padding: 2.5rem; height: 100%; transition: all .4s; position: relative; overflow: hidden;
}
.price-card:hover { border-color: rgba(0,51,204,.3); box-shadow: 0 24px 60px rgba(0,51,204,.1); transform: translateY(-6px); }
.price-card.featured { background: var(--ink); border-color: transparent; box-shadow: 0 30px 80px rgba(0,51,204,.3); }
.price-card.featured:hover { transform: translateY(-8px); box-shadow: 0 40px 90px rgba(0,51,204,.4); }
.price-badge {
  display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; padding: .28rem .9rem; border-radius: 100px; margin-bottom: 1.2rem;
}
.price-badge.starter { background: rgba(0,51,204,.08); color: var(--blue-dark); }
.price-badge.pro { background: var(--grad-blue); color: #fff; }
.price-badge.enterprise { background: rgba(255,102,0,.1); color: var(--orange); }
.price-name { font-size: 1.3rem; font-weight: 900; margin-bottom: .3rem; }
.price-card.featured .price-name { color: #fff; }
.price-desc { font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.6; }
.price-card.featured .price-desc { color: #94a3b8; }
.price-amount { font-size: 2.2rem; font-weight: 900; line-height: 1; margin-bottom: .3rem; }
.price-card.featured .price-amount { color: #fff; }
.price-period { font-size: .82rem; color: var(--muted); margin-bottom: 1.8rem; }
.price-card.featured .price-period { color: #64748b; }
.price-divider { border: none; border-top: 1px solid #f1f5f9; margin: 1.5rem 0; }
.price-card.featured .price-divider { border-color: rgba(255,255,255,.08); }
.price-feature {
  display: flex; align-items: center; gap: .75rem; font-size: .86rem;
  color: var(--muted); margin-bottom: .85rem;
}
.price-card.featured .price-feature { color: #94a3b8; }
.price-feature i { font-size: .9rem; flex-shrink: 0; }
.price-feature i.on { color: #22c55e; }
.price-feature i.off { color: #cbd5e1; }
.price-card.featured .price-feature i.off { color: rgba(255,255,255,.15); }
.price-cta {
  display: block; width: 100%; text-align: center; font-family: 'Roboto', sans-serif;
  font-weight: 700; font-size: .95rem; padding: .9rem; border-radius: .9rem;
  text-decoration: none; transition: all .3s; margin-top: 1.75rem;
}
.price-cta.outline { border: 2px solid #e8edf5; color: var(--ink); background: transparent; }
.price-cta.outline:hover { border-color: var(--blue-dark); background: var(--blue-dark); color: #fff; }
.price-cta.filled { background: var(--grad-blue); color: #fff; box-shadow: 0 10px 28px rgba(0,51,204,.3); }
.price-cta.filled:hover { box-shadow: 0 16px 40px rgba(0,51,204,.45); transform: translateY(-2px); }
.price-cta.orange { border: 2px solid rgba(255,102,0,.3); color: var(--orange); background: transparent; }
.price-cta.orange:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ─── INTEGRATIONS ─── */
.integrations-section { padding: 6rem 0; background: var(--ink); position: relative; overflow: hidden; }
.integrations-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0,210,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,210,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.int-logo {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 1rem; padding: 1.2rem 1.5rem;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.5);
  letter-spacing: .06em; text-transform: uppercase; transition: all .3s;
  text-align: center; gap: .6rem; min-height: 3.5rem;
}
.int-logo:hover { background: rgba(255,255,255,.1); color: rgba(255,255,255,.9); border-color: rgba(0,210,255,.3); }
.int-logo i { font-size: 1.1rem; color: var(--blue-light); }

/* ─── FAQ ─── */
.faq-section { padding: 7rem 0; background: var(--surface); }
.faq-item { background: #fff; border-radius: 1.25rem; border: 1px solid #e8edf5; margin-bottom: .75rem; overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: rgba(0,51,204,.25); }
.faq-btn { width: 100%; background: none; border: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.75rem; cursor: pointer; text-align: left; }
.faq-question { font-size: .97rem; font-weight: 700; color: var(--ink); line-height: 1.4; }
.faq-icon { width: 2rem; height: 2rem; border-radius: .6rem; flex-shrink: 0; background: var(--surface); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: .8rem; transition: all .3s; }
.faq-item.open .faq-icon { background: var(--grad-blue); color: #fff; transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s; padding: 0 1.75rem; }
.faq-body p { color: var(--muted); font-size: .9rem; line-height: 1.8; }

/* ─── CTA BANNER ─── */
.cta-section { padding: 6rem 0; background: var(--ink); position: relative; overflow: hidden; }
.cta-banner { background: linear-gradient(135deg, rgba(0,51,204,.6), rgba(0,210,255,.15)); border: 1px solid rgba(0,210,255,.2); border-radius: 2.5rem; padding: 5rem 3rem; text-align: center; position: relative; overflow: hidden; }
.cta-banner-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(0,210,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0,210,255,.045) 1px, transparent 1px); background-size: 40px 40px; }
.cta-glow { position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 680px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(0,51,204,.5) 0%, transparent 70%); filter: blur(60px); pointer-events: none; }
.cta-banner h2 { font-size: clamp(2rem, 4vw, 3.1rem); color: #fff; line-height: 1.1; margin-bottom: 1.1rem; position: relative; z-index: 1; }
.cta-banner p { color: #94a3b8; max-width: 500px; margin: 0 auto 2.5rem; line-height: 1.8; position: relative; z-index: 1; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; position: relative; z-index: 1; }

/* ─── RESPONSIVE ─── */
@media (max-width: 991px) {
  .hero-orb-1 { width: 300px; height: 300px; right: -60px; top: -60px; }
  .hero-orb-2 { width: 200px; height: 200px; left: -40px; }
  .badge-tl { display: none; }
  .badge-br { display: none; }
  .process-track::before { display: none; }
}
@media (max-width: 767px) {
  .cta-banner { padding: 3.5rem 1.5rem; }
  .saas-kpi-row { grid-template-columns: repeat(3, 1fr); }
}