/*
Theme Name: KRM Technology
Theme URI: https://krmtechnology.co.uk/
Author: KRM Technology
Description: A modern, conversion-focused WordPress theme for KRM Technology.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: krm-technologies
*/

:root {
  --ink: #112238;
  --muted: #5e6d80;
  --blue: #2166f3;
  --cyan: #43d9d0;
  --surface: #f4f8fc;
  --line: #dce6ef;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(17, 34, 56, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(220,230,239,.8); backdrop-filter: blur(12px); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.18rem; letter-spacing: -.03em; }
.brand img { display: block; width: 220px; height: auto; }
.site-footer .brand img { filter: brightness(0) invert(1); opacity: .96; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: var(--white); background: linear-gradient(135deg, var(--blue), #764df5); border-radius: 11px; font-size: .85rem; }
.main-nav ul { display: flex; align-items: center; gap: 26px; list-style: none; padding: 0; margin: 0; font-size: .94rem; font-weight: 650; }
.main-nav a:hover { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--blue); color: var(--white); font-weight: 750; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(33,102,243,.22); }
.button--light { color: var(--ink); background: var(--white); }
.button--light:hover { color: var(--ink); }
.hero { position: relative; overflow: hidden; padding: 118px 0 124px; background: linear-gradient(130deg, #eef7ff 0%, #fff 58%, #edfffb 100%); }
.hero::after { content: ""; position: absolute; width: 440px; height: 440px; right: -150px; top: -180px; border: 1px solid rgba(33,102,243,.13); border-radius: 50%; box-shadow: 0 0 0 36px rgba(33,102,243,.04), 0 0 0 72px rgba(33,102,243,.025); }
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.eyebrow { color: var(--blue); font-size: .78rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; margin: 0 0 20px; }
h1 { max-width: 720px; font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.35rem; }
.lead { max-width: 650px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.logos { padding-top: 72px; padding-bottom: 80px; }
.logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.logo-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 34, 56, .04);
  transform: translateY(12px) scale(.98);
  opacity: 0;
  animation: logoReveal .55s ease forwards;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.logo-pill:nth-child(2) { animation-delay: .05s; }
.logo-pill:nth-child(3) { animation-delay: .1s; }
.logo-pill:nth-child(4) { animation-delay: .15s; }
.logo-pill:nth-child(5) { animation-delay: .2s; }
.logo-pill:nth-child(6) { animation-delay: .25s; }
.logo-pill:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 14px 28px rgba(17, 34, 56, .12);
  border-color: #c6d7ea;
}
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #2166f3, #14345c);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
}
@keyframes logoReveal {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.section { padding: 100px 0; }
.section--soft { background: var(--surface); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 40px; }
.section-heading > div { max-width: 680px; }
.section-heading p { max-width: 520px; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; color: var(--blue); background: #eaf2ff; border-radius: 14px; font-weight: 900; }
.card p, .split p, .site-footer p { color: var(--muted); font-size: 1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.check-list { padding: 0; margin: 28px 0 0; list-style: none; }
.check-list li { position: relative; padding: 8px 0 8px 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }
.feature-panel { min-height: 390px; display: grid; place-items: center; padding: 35px; color: var(--white); background: linear-gradient(145deg, var(--ink), #1c4670); border-radius: 28px; box-shadow: var(--shadow); }
.feature-panel-inner { width: 100%; padding: 28px; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; background: rgba(255,255,255,.08); }
.feature-panel strong { display: block; font-size: 2.7rem; letter-spacing: -.06em; }
.technology-illustration { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow); }
.cta { padding: 72px 0; color: var(--white); background: linear-gradient(110deg, #14345c, #2166f3); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { max-width: 650px; margin: 0; }
.site-footer { padding: 58px 0 28px; background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 45px; padding-bottom: 45px; }
.footer-grid h3 { font-size: 1rem; letter-spacing: 0; }
.footer-grid ul { padding: 0; margin: 0; list-style: none; color: #b9c9d9; }
.footer-grid li { margin: 8px 0; }
.footer-grid a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; color: #9fb1c4; border-top: 1px solid rgba(255,255,255,.15); font-size: .9rem; }
@media (max-width: 1000px) { .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .main-nav { display: none; } .brand img { width: 190px; } .hero { padding: 82px 0 90px; } .card-grid, .split, .footer-grid, .logo-grid { grid-template-columns: 1fr; } .section-heading, .cta-inner, .footer-bottom { display: block; } .section-heading p { margin-top: 18px; } .cta .button { margin-top: 25px; } .footer-bottom > * { margin: 8px 0; } }
