:root {
  /* Brand palette, sampled from the TechRise IT logo */
  --navy-900: #0f1624;
  --navy-800: #1a2334;
  --navy-700: #263349;
  --brand-300: #4da4f3;
  --brand-500: #367ae9;
  --brand-600: #2458d6;
  --brand-700: #1d47bf;
  --brand-gradient: linear-gradient(180deg, #4da4f3 0%, #3578e1 55%, #1d47bf 100%);
  --ink: #1a2334;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(26, 35, 52, 0.08);
  --shadow-lg: 0 24px 60px rgba(26, 35, 52, 0.18);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1, h2 { font-family: "Exo 2", "Inter", sans-serif; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--brand-600); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: .75rem;
}
.accent {
  background: linear-gradient(90deg, var(--brand-300), var(--brand-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted { color: var(--muted); font-size: .95rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 2px; }
.btn-primary { background: linear-gradient(180deg, var(--brand-500), var(--brand-700)); color: #fff; box-shadow: 0 6px 18px rgba(36, 88, 214, .35); }
.btn-primary:hover { background: linear-gradient(180deg, var(--brand-600), var(--brand-700)); box-shadow: 0 8px 22px rgba(36, 88, 214, .45); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-outline { color: var(--navy-800); border-color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-sm { padding: .55rem 1rem; font-size: .92rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); font-family: "Exo 2", "Inter", sans-serif; font-size: 1.45rem; font-weight: 700; letter-spacing: .01em; }
.brand strong { color: var(--brand-500); font-weight: 700; }
.brand-light { color: #fff; }
.brand-light strong { color: var(--brand-300); }
.nav-menu { display: flex; align-items: center; gap: 1.75rem; }
.nav-menu a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav-menu a:not(.btn):hover { color: var(--brand-600); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 520px at 85% -10%, rgba(77,164,243,.28), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(29,71,191,.35), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: #cbd5e1;
  padding: 90px 0 110px;
}
.hero h1 { color: #fff; }
.hero .eyebrow, .area .eyebrow { color: var(--brand-300); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.lead { font-size: 1.2rem; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 1.75rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--brand-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}

.hero-visual { position: relative; }
.dash-card {
  position: relative; z-index: 2;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 22px 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.dash-head { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #f87171; } .dot.amber { background: #fbbf24; } .dot.green { background: #4ade80; }
.dash-title { margin-left: 10px; color: #fff; font-weight: 600; font-size: .95rem; }
.dash-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .95rem; }
.ok { color: #4ade80; font-weight: 600; }
.dash-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 18px; }
.dash-bars span {
  flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--brand-300), rgba(29,71,191,.35));
  animation: grow 1.2s ease-out both;
}
.dash-bars span:nth-last-child(-n+3) { background: var(--brand-gradient); }
@keyframes grow { from { height: 0; } }

/* Trust bar */
.trust { background: var(--navy-900); color: #94a3b8; border-top: 1px solid rgba(255,255,255,.06); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 28px; padding-bottom: 28px; }
.trust-grid div { display: flex; flex-direction: column; }
.trust-grid strong { color: #fff; font-size: 1.35rem; font-weight: 800; }
.trust-grid span { font-size: .92rem; }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { margin: 0; font-size: .98rem; }
.icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(77,164,243,.16), rgba(29,71,191,.12));
}
.icon svg, .contact-list svg {
  width: 26px; height: 26px; fill: none; stroke: var(--brand-600);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Why */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.features li { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 4px solid var(--brand-500); }
.features li:nth-child(even) { border-top-color: var(--brand-300); }
.features p { margin: 0; font-size: .96rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.steps p { margin: 0; font-size: .96rem; }
.step-num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand-gradient); color: #fff; font-weight: 800; margin-bottom: 14px;
}

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px 30px;
}
.plan.featured { border: 2px solid var(--brand-500); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.plan .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand-gradient); color: #fff; font-size: .78rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em;
}
.plan h3 { font-size: 1.4rem; }
.plan-desc { color: var(--muted); font-size: .96rem; }
.plan ul { list-style: none; padding: 0; margin: 8px 0 28px; flex: 1; }
.plan li { padding: 9px 0 9px 30px; position: relative; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(54,122,233,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232458d6' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* Industries */
.chips { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; }
.chips li { padding: 10px 20px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-weight: 500; color: var(--ink); }

/* Area */
.area { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); color: #cbd5e1; }
.area h2 { color: #fff; }
.area .muted { color: #94a3b8; }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cities li {
  padding: 12px 10px; text-align: center; font-size: .92rem; font-weight: 500; color: #e2e8f0;
  border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.04);
}

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 600; color: var(--ink); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--brand-600); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 20px; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.contact-list svg { flex: none; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--brand-600); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(54,122,233,.25);
}
.field.invalid input { border-color: #dc2626; }
.form-status { margin: 14px 0 0; font-weight: 600; text-align: center; min-height: 1.5em; }
.form-status.success { color: #15803d; }
.form-status.error { color: #dc2626; }

/* Footer */
.site-footer { background: var(--navy-900); color: #94a3b8; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.brand-light { margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #94a3b8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 22px; padding-bottom: 22px; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 20px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(26, 35, 52, .08);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-menu .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 64px 0 80px; }
  .hero-grid, .why-grid, .area-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan.featured { transform: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .cards, .steps, .features, .field-row { grid-template-columns: 1fr; }
  .cities { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .hero-actions .btn { width: 100%; }
}
