/* ===== Cloud & DevOps Infrastructure — Kaala Mitra ===== */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --card: #ffffff;
  --border: rgba(15, 23, 42, .1);
  --text: #0f172a;
  --muted: #475569;
  --purple: #7c3aed;
  --purple-2: #9333ea;
  --blue: #2563eb;
  --green: #16a34a;
  --grad: linear-gradient(92deg, #2563eb 0%, #7c3aed 60%, #a855f7 100%);
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Sora', 'Inter', system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }
::selection { background: rgba(124, 58, 237, .2); }
section[id], main[id] { scroll-margin-top: 86px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 14px; border-radius: 999px; padding: 10px 18px; border: 1px solid transparent; cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s, background .25s; white-space: nowrap; }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-whatsapp { background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff; }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(34, 197, 94, .35); }
.btn-signup { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; }
.btn-signup:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(168, 85, 247, .4); }
.btn-primary { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; box-shadow: 0 10px 30px rgba(139, 92, 246, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(139, 92, 246, .5); }
.btn-ghost { border-color: rgba(15, 23, 42, .18); background: #fff; color: #0f172a; }
.btn-ghost:hover { border-color: rgba(124, 58, 237, .6); background: rgba(124, 58, 237, .08); transform: translateY(-2px); }
.btn-block { width: 100%; padding: 15px; font-size: 15px; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(255, 255, 255, .95); box-shadow: 0 4px 20px rgba(15, 23, 42, .06); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #7c3aed, #db2777); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(168, 85, 247, .4); }
.brand-logo { display: block; height: 52px; width: auto; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 17px; letter-spacing: .5px; }
.brand-name em { font-style: normal; background: linear-gradient(90deg, #7c3aed, #db2777); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: 5px; }
.brand-tag { font-size: 8.5px; letter-spacing: 2.6px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-link { color: var(--muted); font-size: 14.5px; font-weight: 500; padding: 8px 2px; position: relative; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; transition: color .25s; }
.nav-link:hover, .nav-link.active { color: #0f172a; }
.nav-link.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); }
.nav-drop { position: relative; }
.nav-drop-menu { position: absolute; top: calc(100% + 10px); left: -10px; min-width: 185px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 8px; display: none; flex-direction: column; box-shadow: 0 22px 50px rgba(15, 23, 42, .12); }
.nav-drop-menu a { padding: 9px 12px; border-radius: 8px; color: var(--muted); font-size: 14px; transition: background .2s, color .2s; }
.nav-drop-menu a:hover { background: rgba(124, 58, 237, .08); color: #0f172a; }
.nav-drop.open .nav-drop-menu { display: flex; }
@media (hover: hover) and (min-width: 769px) { .nav-drop:hover .nav-drop-menu { display: flex; } }
.chev { transition: transform .25s; }
.nav-drop.open .chev { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-mobile-cta { display: none; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); background: #fff; cursor: pointer; align-items: center; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #0f172a; transition: transform .3s, opacity .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* ===== Hero ===== */
.hero { position: relative; padding: 72px 0 46px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(620px 420px at 82% 12%, rgba(124, 58, 237, .1), transparent 62%),
  radial-gradient(520px 380px at 10% 85%, rgba(37, 99, 235, .08), transparent 62%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; gap: 48px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(124, 58, 237, .3); background: rgba(124, 58, 237, .07); color: #6d28d9; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; }
.hero-title { font-family: var(--font-head); font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.08; margin: 22px 0 18px; letter-spacing: -.5px; }
.title-muted { color: #475569; }
.lead { color: var(--muted); font-size: 16.5px; line-height: 1.7; max-width: 545px; }
.hero-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 26px; margin: 28px 0 32px; }
.hero-checks li { display: flex; align-items: center; gap: 10px; color: #334155; font-size: 14.5px; font-weight: 500; }
.hero-checks svg { flex-shrink: 0; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; height: auto; display: block; border-radius: 18px; position: relative; z-index: 1; }
.hero-glow { position: absolute; inset: -10%; background: radial-gradient(closest-side, rgba(124, 58, 237, .14), transparent 72%); filter: blur(34px); }

/* ===== Stats bar ===== */
.stats-bar { position: relative; margin-top: 56px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 26px 16px; background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); }
.stat { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 4px 8px; }
@media (min-width: 861px) { .stat + .stat { border-left: 1px solid var(--border); } }
.stat-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: rgba(124, 58, 237, .08); border: 1px solid rgba(124, 58, 237, .2); display: grid; place-items: center; color: #7c3aed; }
.stat-value { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; line-height: 1.2; }
.stat-label { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }

/* ===== Sections ===== */
.section { padding: 88px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, #f8fafc, #eef2ff); border-top: 1px solid rgba(15, 23, 42, .06); border-bottom: 1px solid rgba(15, 23, 42, .06); }
.section-head { max-width: 700px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; margin-bottom: 14px; letter-spacing: -.4px; }
.section-head p { color: var(--muted); font-size: 15.5px; }

/* ===== Cards (services / benefits / results) ===== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card, .benefit-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform .3s, border-color .3s, background .3s, box-shadow .3s; box-shadow: 0 2px 10px rgba(15, 23, 42, .04); }
.service-card:hover, .benefit-card:hover { transform: translateY(-6px); border-color: rgba(124, 58, 237, .4); background: #fff; box-shadow: 0 18px 36px rgba(15, 23, 42, .1); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(124, 58, 237, .12)); border: 1px solid rgba(124, 58, 237, .25); display: grid; place-items: center; color: #7c3aed; margin-bottom: 20px; }
.service-card h3, .benefit-card h3 { font-family: var(--font-head); font-size: 1.12rem; margin-bottom: 10px; }
.service-card p, .benefit-card p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.learn-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: #7c3aed; font-weight: 600; font-size: 14px; transition: gap .25s, color .25s; }
.learn-more:hover { gap: 12px; color: #6d28d9; }

/* ===== Industries chips ===== */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: #334155; font-size: 14px; font-weight: 500; transition: transform .25s, border-color .25s, color .25s, background .25s; }
.chip svg { color: #7c3aed; }
.chip:hover { transform: translateY(-3px); border-color: rgba(124, 58, 237, .45); color: #0f172a; background: rgba(124, 58, 237, .06); }

/* ===== Results ===== */
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.result-card { background: linear-gradient(180deg, rgba(124, 58, 237, .06), #ffffff); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform .3s, border-color .3s, box-shadow .3s; box-shadow: 0 2px 10px rgba(15, 23, 42, .04); }
.result-card:hover { transform: translateY(-6px); border-color: rgba(124, 58, 237, .4); box-shadow: 0 18px 36px rgba(15, 23, 42, .1); }
.result-tag { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; background: rgba(124, 58, 237, .09); border: 1px solid rgba(124, 58, 237, .25); color: #6d28d9; font-weight: 700; font-size: 13px; margin-bottom: 18px; }
.result-card h3 { font-family: var(--font-head); font-size: 1.08rem; margin-bottom: 10px; }
.result-card p { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 44px; align-items: start; }
.faq-aside { background: linear-gradient(180deg, rgba(124, 58, 237, .06), #ffffff); border: 1px solid var(--border); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.faq-aside h3 { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 12px; line-height: 1.3; }
.faq-aside > p { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.aside-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.aside-list li { display: flex; gap: 10px; align-items: center; color: #334155; font-size: 14px; }
.aside-list svg { color: #34d399; flex-shrink: 0; }
.aside-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; background: #fff; transition: border-color .3s, background .3s, box-shadow .3s; }
.faq-item.open { border-color: rgba(124, 58, 237, .4); background: rgba(124, 58, 237, .05); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: none; border: 0; color: var(--text); font-weight: 600; font-size: 15px; text-align: left; cursor: pointer; }
.faq-num { font-family: var(--font-head); color: #7c3aed; font-size: 13px; flex-shrink: 0; }
.q-text { flex: 1; }
.faq-q .chev { flex-shrink: 0; color: var(--muted); transition: transform .3s, color .3s; }
.faq-item.open .chev { transform: rotate(180deg); color: #7c3aed; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 20px 20px 47px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.faq-item.open .faq-a { max-height: 280px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 44px; align-items: start; }
.contact-copy .badge { margin-bottom: 20px; }
.contact-copy h2 { font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; margin-bottom: 16px; letter-spacing: -.4px; }
.contact-copy > p { color: var(--muted); margin-bottom: 24px; font-size: 15.5px; }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-bottom: 30px; }
.trust-list li { display: flex; gap: 9px; align-items: center; color: #334155; font-size: 14px; }
.trust-list svg { color: #34d399; flex-shrink: 0; }
.quick-contacts { display: flex; flex-direction: column; gap: 14px; }
.qc { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14.5px; transition: color .25s; }
.qc:hover { color: #0f172a; }
.qc-icon { width: 40px; height: 40px; border-radius: 11px; background: rgba(124, 58, 237, .08); border: 1px solid rgba(124, 58, 237, .22); display: grid; place-items: center; color: #7c3aed; flex-shrink: 0; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.form-card h3 { font-family: var(--font-head); font-size: 1.25rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: #334155; margin-bottom: 7px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; color: #0f172a; font: inherit; font-size: 14px; transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124, 58, 237, .14); }
.field select option { background: #fff; color: #0f172a; }
.field textarea { resize: vertical; min-height: 96px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 4px 0 20px; cursor: pointer; }
.consent input { width: 16px; height: 16px; accent-color: #8b5cf6; margin-top: 2px; flex-shrink: 0; }
.form-status { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; margin-top: 14px; padding: 12px 14px; border-radius: 10px; }
.form-status.success { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.form-status.error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.form-note { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12.5px; margin-top: 14px; }
.form-note svg { color: #34d399; flex-shrink: 0; }
/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); background: #f8fafc; padding-top: 60px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 36px; padding-bottom: 46px; }
.f-brand p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 16px; max-width: 320px; }
.f-title { font-family: var(--font-head); font-size: 15px; margin-bottom: 18px; letter-spacing: .3px; }
.f-col a { display: block; color: var(--muted); padding: 5px 0; font-size: 14px; transition: color .2s, transform .2s; }
.f-col a:hover { color: #0f172a; transform: translateX(3px); }
.f-contact li { display: flex; gap: 11px; align-items: center; color: var(--muted); font-size: 14px; padding: 5px 0; }
.f-contact svg { color: #7c3aed; flex-shrink: 0; }
.f-contact a { color: var(--muted); transition: color .2s; }
.f-contact a:hover { color: #0f172a; }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* ===== Reveal & icons ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.ic { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icf { fill: currentColor; stroke: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .card-grid, .result-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 660px; margin: 0 auto; }
  .stats-bar { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* let single-column grid items shrink below their content min-width (prevents 320px overflow) */
  .hero-grid > *, .faq-grid > *, .contact-grid > * { min-width: 0; }
}
@media (max-width: 768px) {
  .nav { position: fixed; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: rgba(255, 255, 255, .98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 16px 24px 24px; display: none; max-height: calc(100vh - 74px); overflow: auto; box-shadow: 0 20px 40px rgba(15, 23, 42, .1); }
  .nav.open { display: flex; }
  .nav-link { padding: 13px 4px; font-size: 15.5px; }
  .nav-drop-menu { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 16px; }
  .nav-mobile-cta { display: flex; gap: 10px; margin-top: 16px; }
  .nav-mobile-cta .btn { flex: 1; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { gap: 14px; }
  .brand { margin-right: auto; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 48px; }
  .hero-checks { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  /* fluid hero heading: only shrinks below ~390px so long words never clip on 320px screens */
  .hero-title { font-size: clamp(2rem, 9.5vw, 2.3rem); }
}
@media (max-width: 560px) {
  .card-grid, .result-grid, .form-row, .trust-list { grid-template-columns: 1fr; }
  .stats-bar { padding: 20px 12px; }
  .stat { justify-content: flex-start; min-width: 0; gap: clamp(8px, 2.6vw, 13px); }
  /* fluid stat sizing: identical to desktop values at 560px, shrinks smoothly toward 320px */
  .stat-icon { width: clamp(34px, 9vw, 44px); height: clamp(34px, 9vw, 44px); }
  .stat-value { font-size: clamp(1.05rem, 4.5vw, 1.4rem); }
  .stat-label { font-size: clamp(11px, 3vw, 12.5px); }
  .hero-ctas .btn { width: 100%; }
  /* allow the full-width form CTA to wrap instead of forcing a 273px min-width */
  .btn-block { white-space: normal; }
  /* long URLs / contact strings may never push the page sideways */
  .qc, .f-contact li, .f-contact a { overflow-wrap: anywhere; }
  /* mobile menu CTAs: keep side-by-side when space allows, stack when not */
  .nav-mobile-cta { flex-wrap: wrap; }
  .nav-mobile-cta .btn { flex: 1 1 140px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}