@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0C1340;
  --dark:       #131B4A;
  --slate:      #2D3585;
  --brand-blue: #2D3585;
  --brand-red:  #C0392B;
  --brand-red-d:#A93226;
  --light:      #F8FAFC;
  --white:      #FFFFFF;
  --muted:      #94A3B8;
  --text:       #1E293B;
  /* aliases so existing classes still resolve */
  --green:      #C0392B;
  --green-d:    #A93226;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--white); }

/* ── NAV ───────────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(15,23,42,.97); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 40px; width: auto; }
.nav-logo-fallback { font-size: 1.5rem; font-weight: 800; color: var(--white); letter-spacing: -.5px; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,.8); text-decoration: none; font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta { background: var(--green); color: var(--white) !important; padding: .5rem 1.25rem; border-radius: 6px; font-weight: 600 !important; transition: background .2s !important; }
.nav-cta:hover { background: var(--green-d) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }
.lang-toggle { display:flex; align-items:center; gap:.35rem; font-size:.8rem; }
.lang-toggle span { color:rgba(255,255,255,.3); }
.lang-btn { background:none; border:none; cursor:pointer; font-size:.8rem; font-weight:700; color:rgba(255,255,255,.5); padding:.2rem .3rem; transition:color .2s; letter-spacing:.5px; }
.lang-btn.active { color:#fff; }
.lang-btn:hover { color:#fff; }

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #080C2E 0%, #0C1340 40%, #131B4A 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(45,53,133,.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(192,57,43,.08) 0%, transparent 40%);
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; padding-top: 72px; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.25); color: var(--green); font-size: .8rem; font-weight: 600; padding: .35rem .85rem; border-radius: 50px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; color: var(--white); line-height: 1.1; letter-spacing: -1.5px; max-width: 800px; margin-bottom: 1.5rem; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero p { font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.7); max-width: 620px; line-height: 1.7; margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 2rem; border-radius: 8px; font-weight: 600; font-size: .95rem; text-decoration: none; transition: all .2s; border: none; cursor: pointer; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--brand-red-d); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(192,57,43,.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.35); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--dark); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ── HERO SCROLL INDICATOR ─────────────────────────────── */
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; color: rgba(255,255,255,.4); font-size: .75rem; }
.scroll-indicator::after { content: ''; width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent); }

/* ── SECTIONS ──────────────────────────────────────────── */
.section { padding: 6rem 1.5rem; }
.section-light { background: var(--light); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark2 { background: var(--dark); color: var(--white); }
.container { max-width: 1280px; margin: 0 auto; }
.section-label { font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin-bottom: .75rem; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; line-height: 1.2; letter-spacing: -.5px; margin-bottom: 1rem; }
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 620px; line-height: 1.7; margin-bottom: 3rem; }
.section-dark .section-title, .section-dark2 .section-title { color: var(--white); }
.section-dark .section-sub, .section-dark2 .section-sub { color: rgba(255,255,255,.6); }

/* ── TRUST STRIP ───────────────────────────────────────── */
.trust-strip { background: var(--dark); padding: 3rem 0; overflow: hidden; }
.trust-label { text-align: center; font-size: .8rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 2rem; }
.logo-track-wrap { overflow: hidden; }
.logo-track { display: flex; gap: 3rem; width: max-content; animation: logoScroll 30s linear infinite; }
.logo-track:hover { animation-play-state: paused; }
.logo-placeholder { display: flex; align-items: center; justify-content: center; height: 48px; min-width: 140px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 0 1.5rem; font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.5); letter-spacing: .5px; white-space: nowrap; transition: all .2s; }
.logo-placeholder:hover { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.logo-item { display: flex; align-items: center; justify-content: center; height: 56px; min-width: 150px; background: rgba(255,255,255,.93); border-radius: 8px; padding: 0 1.5rem; transition: all .2s; }
.logo-item:hover { background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.logo-item img { max-height: 34px; max-width: 120px; width: auto; object-fit: contain; filter: grayscale(0.25); opacity: .85; transition: all .2s; }
.logo-item:hover img { filter: grayscale(0); opacity: 1; }
.partner-logo-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; padding: 1rem 2rem; background: white; border: 1px solid #E2E8F0; border-radius: 12px; min-width: 140px; height: 90px; transition: box-shadow .2s; }
.partner-logo-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.partner-logo-item img { max-height: 36px; max-width: 120px; object-fit: contain; }
.partner-logo-item span:last-child { font-size: .75rem; font-weight: 600; color: #94A3B8; }
.ref-logo-item { display: flex; align-items: center; justify-content: center; padding: .4rem .9rem; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 6px; height: 44px; min-width: 100px; }
.ref-logo-item img { max-height: 26px; max-width: 90px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: all .2s; }
.ref-logo-item:hover img { filter: grayscale(0); opacity: 1; }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── APPROACH / PILLARS ────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.pillar-card { background: var(--white); border: 1px solid #E2E8F0; border-radius: 12px; padding: 2rem; transition: box-shadow .2s, transform .2s; }
.pillar-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.08); transform: translateY(-3px); }
.pillar-icon { width: 52px; height: 52px; background: rgba(34,197,94,.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.pillar-icon svg { color: var(--green); }
.pillar-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .75rem; color: var(--navy); }
.pillar-card p { font-size: .95rem; color: #64748B; line-height: 1.7; }

/* ── METRICS ───────────────────────────────────────────── */
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.metric-item { padding: 3rem 2rem; text-align: center; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.metric-value { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 900; color: var(--green); letter-spacing: -2px; line-height: 1; margin-bottom: .5rem; }
.metric-label { font-size: .9rem; color: rgba(255,255,255,.6); font-weight: 500; line-height: 1.4; }

/* ── PRE-FOOTER CTA ────────────────────────────────────── */
.cta-section { background: linear-gradient(135deg, #080C2E 0%, #1a0c0a 100%); padding: 6rem 1.5rem; text-align: center; }
.cta-section h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; color: var(--white); margin-bottom: 1rem; }
.cta-section p { font-size: 1.05rem; color: rgba(255,255,255,.65); max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.7; }

/* ── FOOTER ────────────────────────────────────────────── */
.footer { background: #080F1A; color: rgba(255,255,255,.7); padding: 4rem 1.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; max-width: 1280px; margin: 0 auto 3rem; }
.footer-logo { font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: .75rem; }
.footer-logo span { color: var(--green); }
.footer p { font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.5); }
.footer-col h4 { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.5); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .9rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-social { display: flex; gap: .75rem; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; color: rgba(255,255,255,.5); text-decoration: none; transition: all .2s; }
.footer-social a:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.2); }

/* ── PAGE HERO (inner pages) ───────────────────────────── */
.page-hero { background: linear-gradient(135deg, #080C2E 0%, #131B4A 100%); padding: 10rem 1.5rem 6rem; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; color: var(--white); letter-spacing: -.5px; margin-bottom: 1.25rem; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,.65); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ── CARDS ─────────────────────────────────────────────── */
.card { background: var(--white); border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 16px 48px rgba(0,0,0,.1); transform: translateY(-3px); }
.card-body { padding: 2rem; }
.card-tag { display: inline-block; background: rgba(34,197,94,.1); color: var(--green-d); font-size: .75rem; font-weight: 700; padding: .3rem .75rem; border-radius: 50px; margin-bottom: 1rem; }
.card h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: .75rem; line-height: 1.3; }
.card p { font-size: .9rem; color: #64748B; line-height: 1.7; margin-bottom: 1rem; }
.card-roi { font-size: .85rem; font-weight: 600; color: var(--green-d); background: rgba(34,197,94,.08); border-left: 3px solid var(--green); padding: .6rem .85rem; border-radius: 0 6px 6px 0; margin-top: .5rem; }
.card-problem { font-size: .85rem; color: #94A3B8; font-style: italic; margin-bottom: .75rem; }

/* ── SOLUTIONS GRID ────────────────────────────────────── */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* ── CASE STUDIES ──────────────────────────────────────── */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.case-card { background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid #E2E8F0; transition: box-shadow .2s, transform .2s; }
.case-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,.1); transform: translateY(-3px); }
.case-img { height: 200px; background: var(--dark); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.case-company-badge { position: absolute; bottom: 1rem; left: 1rem; background: rgba(0,0,0,.7); backdrop-filter: blur(8px); color: var(--white); font-size: .8rem; font-weight: 700; padding: .35rem .85rem; border-radius: 50px; }
.case-body { padding: 1.75rem; }
.case-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; line-height: 1.35; }
.case-meta { display: flex; flex-direction: column; gap: .75rem; }
.case-meta-item { font-size: .875rem; color: #475569; line-height: 1.5; }
.case-meta-item strong { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--green-d); margin-bottom: .2rem; }

/* ── PLATFORMS ─────────────────────────────────────────── */
.platforms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.platform-card { border-radius: 12px; padding: 2.5rem; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); transition: background .2s; }
.platform-card:hover { background: rgba(255,255,255,.07); }
.platform-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: .75rem; }
.platform-card p { font-size: .95rem; color: rgba(255,255,255,.6); line-height: 1.7; }
.platform-logos { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.tech-badge { display: inline-flex; align-items: center; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.25); color: var(--green); font-size: .78rem; font-weight: 700; padding: .3rem .75rem; border-radius: 50px; }

/* ── ABOUT ─────────────────────────────────────────────── */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-intro-img { border-radius: 12px; overflow: hidden; }
.about-intro-img img { width: 100%; height: 420px; object-fit: cover; }
.diffs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.diff-card { padding: 2rem; border-radius: 12px; border: 1px solid #E2E8F0; background: var(--white); transition: box-shadow .2s; }
.diff-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.07); }
.diff-number { font-size: 3rem; font-weight: 900; color: rgba(34,197,94,.15); line-height: 1; margin-bottom: .5rem; }
.diff-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .6rem; }
.diff-card p { font-size: .9rem; color: #64748B; line-height: 1.7; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.value-card { text-align: center; padding: 2rem 1.25rem; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.value-card .value-icon { font-size: 2rem; margin-bottom: 1rem; }
.value-card h4 { font-size: 1rem; font-weight: 700; color: var(--white); }
.blockquote { border-left: 4px solid var(--green); padding: 1.25rem 1.75rem; background: rgba(34,197,94,.07); border-radius: 0 8px 8px 0; font-size: 1.15rem; font-weight: 600; font-style: italic; color: var(--white); margin: 2rem 0; }

/* ── CONTACT ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-form { background: var(--white); padding: 2.5rem; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .5rem; }
.form-group input, .form-group textarea { width: 100%; padding: .75rem 1rem; border: 1.5px solid #E2E8F0; border-radius: 8px; font-family: inherit; font-size: .95rem; color: var(--text); transition: border-color .2s; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-info-card { background: var(--navy); color: var(--white); padding: 2.5rem; border-radius: 12px; }
.contact-info-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.contact-info-item .icon { width: 40px; height: 40px; min-width: 40px; background: rgba(34,197,94,.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.contact-info-item p { font-size: .9rem; color: rgba(255,255,255,.7); line-height: 1.5; }
.contact-info-item strong { color: var(--white); display: block; font-size: .9rem; }
.contact-divider { border: 0; border-top: 1px solid rgba(255,255,255,.1); margin: 2rem 0; }
.contact-success { display: none; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: var(--green-d); border-radius: 8px; padding: 1rem; text-align: center; font-weight: 600; margin-top: 1rem; }

/* ── MOBILE NAV OVERLAY ────────────────────────────────── */
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--navy); z-index: 99; padding: 6rem 2rem 2rem; flex-direction: column; gap: 1.5rem; }
.mobile-nav.open { display: flex; }
.mobile-nav a { color: rgba(255,255,255,.8); text-decoration: none; font-size: 1.3rem; font-weight: 600; padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav a:last-child { border-bottom: none; }

/* ── UTILITY ───────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 4rem 1rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .pillars { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: 1fr; }
  .diffs-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: fit-content; }
}
