:root {
  --bg: #060b13;
  --bg-2: #0c1422;
  --ink: #07111f;
  --text: #eaf2ff;
  --muted: #697789;
  --white: #ffffff;
  --line: rgba(136, 156, 188, 0.22);
  --blue: #2f80ff;
  --cyan: #36d7ff;
  --green: #35d39d;
  --surface: #f5f8fc;
  --glass: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(47, 128, 255, 0.14), transparent 34rem),
    radial-gradient(circle at 80% 8%, rgba(53, 211, 157, 0.1), transparent 28rem),
    var(--white);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: 0; }
h1 { font-size: clamp(42px, 6vw, 82px); max-width: 920px; }
h2 { font-size: clamp(30px, 4vw, 54px); }
h3 { font-size: 22px; }
p { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 12px clamp(18px, 5vw, 70px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 35px rgba(7, 17, 31, 0.08);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 220px; }
.brand-logo { width: clamp(145px, 17vw, 205px); max-height: 54px; object-fit: contain; }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 7px; padding: 6px; border: 1px solid rgba(136,156,188,.24); border-radius: 999px; background: rgba(255,255,255,.72); }
.site-nav a { padding: 10px 14px; border-radius: 999px; color: #172235; font-size: 14px; font-weight: 800; text-decoration: none; transition: .2s ease; }
.site-nav a:hover, .site-nav a.active { color: var(--blue); background: rgba(47,128,255,.1); }
.site-nav .nav-cta { color: var(--white); background: linear-gradient(135deg, var(--blue), #0f5ecf); box-shadow: 0 12px 28px rgba(47,128,255,.25); }
.site-nav .nav-cta:hover { color: var(--white); transform: translateY(-1px); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.nav-toggle span { display: block; height: 2px; margin: 6px 10px; background: var(--ink); }

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(78px, 11vw, 128px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--bg);
}
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; opacity: .72; }
.hero-overlay { background: linear-gradient(90deg, rgba(6,11,19,.98), rgba(6,11,19,.84) 40%, rgba(6,11,19,.2)); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 390px); gap: 36px; align-items: end; }
.hero-content { max-width: 820px; }
.eyebrow { margin: 0 0 15px; color: var(--blue); font-size: 12px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow, .cta-band .eyebrow, .page-hero .eyebrow { color: #95ccff; }
.hero-copy { max-width: 720px; margin: 24px 0 0; color: #d7e6fb; font-size: clamp(18px, 2vw, 22px); }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 10px; max-width: 760px; margin-top: 28px; }
.hero-highlights span { padding: 10px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #eaf4ff; font-size: 13px; font-weight: 850; background: rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 900; text-decoration: none; cursor: pointer; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--white); background: linear-gradient(135deg, var(--blue), #0f62d6); box-shadow: 0 18px 34px rgba(47,128,255,.28); }
.button.secondary { color: var(--white); border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.1); }
.glass { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.12); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.hero-panel { padding: 28px; border-radius: 24px; }
.hero-panel span, .profile-card span, .portfolio-card span { color: #9ed1ff; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.hero-panel strong, .profile-card strong { display: block; margin-top: 10px; color: var(--white); font-size: 28px; line-height: 1.1; }
.hero-panel p { color: #dce9fb; }

.stats-strip, .cred-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; padding: 1px clamp(20px, 5vw, 72px); background: var(--line); }
.stats-strip div, .cred-strip span { min-height: 92px; display: grid; place-items: center; padding: 18px; text-align: center; background: rgba(255,255,255,.86); }
.stats-strip strong { color: var(--blue); font-size: clamp(32px, 4vw, 50px); line-height: 1; }
.stats-strip span, .cred-strip span { color: #172235; font-size: 13px; font-weight: 950; text-transform: uppercase; }
.cred-strip { grid-template-columns: repeat(5, minmax(0,1fr)); }

.section, .page-hero { padding: clamp(68px, 9vw, 112px) clamp(20px, 5vw, 72px); }
.page-hero { color: var(--white); background: radial-gradient(circle at 85% 0%, rgba(54,215,255,.22), transparent 24rem), linear-gradient(135deg, var(--bg), #10213b 62%, #0d4385); }
.page-hero p:not(.eyebrow) { max-width: 860px; color: #dce9fb; font-size: 19px; }
.section-heading { max-width: 860px; margin-bottom: 34px; }
.intro-grid, .ecosystem-section, .two-column, .contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.intro-copy p, .ecosystem-copy p { font-size: 18px; }
.profile-card { padding: 34px; border-radius: 26px; background: linear-gradient(145deg, rgba(12,20,34,.92), rgba(20,54,92,.82)); }
.profile-card p { color: #d9e8fb; }

.service-grid, .value-grid, .why-grid, .outcome-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card, .value-grid article, .why-grid article, .outcome-grid article, .side-panel, .contact-card, .contact-form, .service-detail, .portfolio-card, .testimonial-card {
  position: relative; overflow: hidden; border: 1px solid rgba(136,156,188,.25); border-radius: 24px; background: rgba(255,255,255,.9); box-shadow: 0 18px 48px rgba(7,17,31,.08);
}

/* Extra spacing for the About page side panel (without touching HTML) */
.side-panel.glass {
  padding: 28px;
}
.service-card { min-height: 300px; padding: 28px; transition: .22s ease; }
.service-card:hover, .portfolio-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card:before, .service-detail:before, .portfolio-card:before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--blue), var(--cyan)); }
.service-code, .detail-number { color: var(--blue); font-size: 13px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.service-card h2 { font-size: clamp(24px, 2.4vw, 32px); }
.service-card h3, .value-grid h3, .why-grid h3, .outcome-grid h3 { margin-top: 18px; }
.service-card a, .portfolio-card a { color: var(--blue); font-weight: 900; text-decoration: none; }

.ecosystem-section { background: linear-gradient(135deg, rgba(47,128,255,.08), rgba(53,211,157,.07)); }
.ecosystem-image-wrap { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.ecosystem-image { width: 100%; min-height: 420px; object-fit: cover; }
.audience-list span { padding: 14px 16px; border: 1px solid var(--line); border-radius: 999px; color: #172235; font-weight: 850; background: rgba(255,255,255,.75); }
.why-section, .project-preview, .values { background: var(--surface); }
.why-grid, .value-grid, .outcome-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.why-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.why-grid article, .value-grid article, .outcome-grid article { padding: 28px; }
.card-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: var(--white); font-size: 13px; font-weight: 950; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.trust-section { background: #07111f; color: var(--white); }
.trust-section h2 { color: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 14px; }
.trust-card { min-height: 168px; display: grid; align-content: center; gap: 14px; padding: 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); box-shadow: 0 18px 48px rgba(0,0,0,.18); transition: .22s ease; }
.trust-card:hover { transform: translateY(-4px); border-color: rgba(54,215,255,.5); }
.trust-card strong { color: #95ccff; font-size: clamp(28px, 3vw, 44px); line-height: 1; }
.trust-card span { color: #dce8f6; font-size: 13px; font-weight: 900; text-transform: uppercase; }

.service-detail-stack { display: grid; gap: 22px; }
.service-detail { display: grid; grid-template-columns: 86px 1fr; gap: 24px; padding: clamp(24px, 4vw, 40px); }
.detail-number { display: grid; place-items: center; width: 62px; height: 62px; color: var(--white); border-radius: 18px; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.check-list { padding: 0; margin: 18px 0 0; list-style: none; }
.check-list li { position: relative; padding: 8px 0 8px 24px; font-weight: 800; color: #1d2c3d; }
.check-list li:before { content: ""; position: absolute; left: 0; top: 17px; width: 9px; height: 9px; border-radius: 3px; background: var(--blue); }
.check-list.columns { columns: 2; column-gap: 40px; }
.highlight-band { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; padding-top: 1px; padding-bottom: 1px; background: var(--line); }
.highlight-item { min-height: 155px; padding: 28px; background: var(--bg); }
.highlight-item strong { display: block; color: #95ccff; font-size: 42px; line-height: 1; }
.highlight-item span { display: block; margin-top: 12px; color: #dce8f6; font-weight: 850; }

.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.compact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.portfolio-card img { width: 100%; height: 230px; object-fit: cover; }
.portfolio-card div { padding: 24px; }
.portfolio-card span { color: var(--blue); }
.portfolio-card p { margin: 12px 0; }
.portfolio-card p strong { color: #172235; }
.tech-tags { color: #1d2c3d; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.project-filter-strip { display: flex; flex-wrap: wrap; gap: 10px; padding: 24px clamp(20px, 5vw, 72px); background: var(--surface); border-bottom: 1px solid var(--line); }
.project-filter-strip span { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: #172235; font-size: 13px; font-weight: 900; background: var(--white); }
.featured-experience { background: linear-gradient(135deg, rgba(47,128,255,.08), rgba(6,11,19,.03)); }
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.role-card, .product-card { border: 1px solid rgba(136,156,188,.25); border-radius: 22px; background: rgba(255,255,255,.92); box-shadow: 0 18px 48px rgba(7,17,31,.08); transition: .22s ease; }
.role-card { padding: 26px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { padding: 22px; }
.role-card:hover, .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card span { color: var(--blue); font-size: 12px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.product-card h3 { margin-top: 10px; font-size: 20px; }
.testimonial-band { padding: clamp(56px, 8vw, 90px) clamp(20px, 5vw, 72px); color: var(--white); background: linear-gradient(135deg, #10213b, #0d4385); }
.testimonial-card { max-width: 900px; padding: 34px; color: var(--white); background: rgba(255,255,255,.1); backdrop-filter: blur(18px); }
.testimonial-card p { color: #e8f2ff; font-size: 22px; }
.testimonial-card span { display: block; color: #a8c6e8; }

.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 30px; background: rgba(255,255,255,.92); }
.contact-form label { display: grid; gap: 8px; color: #172235; font-weight: 900; }
.contact-form .full, .contact-form button, .form-status { grid-column: 1 / -1; }
input, select, textarea { width: 100%; min-height: 50px; padding: 13px 14px; color: var(--ink); font: inherit; border: 1px solid rgba(136,156,188,.45); border-radius: 14px; background: rgba(255,255,255,.95); }
input:focus, select:focus, textarea:focus { outline: 4px solid rgba(47,128,255,.15); border-color: var(--blue); }
textarea { resize: vertical; }
.form-status { min-height: 24px; margin: 0; color: var(--blue); font-weight: 900; }
.contact-card { padding: 34px; }
.contact-links { display: grid; gap: 12px; margin: 24px 0; }
.contact-links a, .contact-note { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); font-weight: 900; text-decoration: none; }
.contact-note { display: grid; gap: 4px; margin-top: 12px; }
.map-section iframe { width: 100%; min-height: 390px; border: 0; display: block; }

.policy-content { max-width: 960px; }
.policy-content h2 { margin-top: 28px; font-size: 28px; }
.policy-content a { color: var(--blue); font-weight: 900; }

.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(46px, 7vw, 78px) clamp(20px, 5vw, 72px); color: var(--white); background: radial-gradient(circle at 90% 0%, rgba(54,215,255,.2), transparent 22rem), var(--bg); }
.cta-band h2 { max-width: 860px; }
.site-footer { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(140px, .7fr)); gap: 28px; padding: 48px clamp(20px, 5vw, 72px) 28px; color: #dce8f6; background: #050914; }
.site-footer img { width: 170px; filter: invert(1); }
.site-footer h3 { color: var(--white); font-size: 15px; }
.site-footer a { display: block; margin: 8px 0; color: #dce8f6; text-decoration: none; }
.footer-bottom { grid-column: 1 / -1; margin: 18px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #96a8bf; }

.floating-whatsapp, .chat-launcher { position: fixed; right: 20px; z-index: 80; display: grid; place-items: center; border: 0; border-radius: 999px; color: var(--white); font-weight: 950; text-decoration: none; box-shadow: var(--shadow); cursor: pointer; }
.floating-whatsapp { bottom: 94px; width: 56px; height: 56px; background: #21b15a; }
.chat-launcher { bottom: 26px; width: 72px; height: 52px; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.chat-widget { position: fixed; right: 20px; bottom: 94px; z-index: 90; display: none; width: min(360px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.chat-widget.open { display: block; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 16px; color: var(--white); background: var(--bg); }
.chat-close, .modal-close { border: 0; border-radius: 999px; cursor: pointer; }
.chat-body, .chat-reply { padding: 16px; }
.chat-body button { display: block; width: 100%; margin: 8px 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-weight: 850; cursor: pointer; }
.chat-reply { border-top: 1px solid var(--line); color: var(--muted); }
.modal-backdrop { position: fixed; inset: 0; z-index: 120; display: none; place-items: center; padding: 20px; background: rgba(5,9,20,.68); backdrop-filter: blur(8px); }
.modal-backdrop.open { display: grid; }
.modal { max-width: 480px; padding: 34px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.modal p { font-size: 18px; }
.modal-close { float: right; width: 34px; height: 34px; }
.reveal { opacity: 0; transform: translateY(24px); transition: .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 78px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; border-radius: 22px; padding: 12px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { text-align: center; }
}
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .compact-grid, .why-grid, .value-grid, .outcome-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .trust-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .hero-grid, .intro-grid, .ecosystem-section, .two-column, .contact-layout { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .site-header { min-height: 72px; }
  .brand { min-width: 0; }
  .brand-logo { width: 135px; }
  .brand small { display: none; }
  .hero { min-height: 780px; }
  .stats-strip, .cred-strip, .highlight-band, .portfolio-grid, .service-grid, .contact-form, .trust-grid, .role-grid, .product-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .check-list.columns { columns: 1; }
  .button, .cta-actions { width: 100%; }
  .cta-band { align-items: stretch; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; }
}
