/* VirClan Technologies — company site.
   Logo colours: indigo V (#7c6cff on dark), blue → teal wordmark, orange "i" (#ff6b2f).
   Theme borrowed from the product sites: dark ink canvas (Connector Foundry #060b16,
   DressClan black), elevated surfaces, neon-orange actions (DressClan #ff6b2f). Dark only. */
:root {
  --bg: #070b18; --bg-2: #0a1020; --surface: #0f1629; --surface-2: #16203a;
  --line: rgba(255, 255, 255, .09); --text: #e6ebf4; --muted: #9aa7bd; --faint: #67748c;
  --indigo: #7c6cff; --blue: #3f8ae0; --teal: #19d3c5; --orange: #ff6b2f; --orange-2: #ff8a4c;
  --brand-gradient: linear-gradient(90deg, var(--indigo), var(--blue) 50%, var(--teal));
  --radius: 16px; --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
html, body { overflow-x: clip; }
body { margin: 0; font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.02em; color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(7, 11, 24, .82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: inline-flex; text-decoration: none; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav a:not(.btn):hover { color: #fff; }
@media (max-width: 640px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 28px -8px rgba(255, 107, 47, .65); }
.btn-primary:hover { background: var(--orange-2); box-shadow: 0 10px 34px -8px rgba(255, 107, 47, .8); }
.btn-ghost { border-color: rgba(255, 255, 255, .2); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); }
.btn-sm { padding: 8px 18px; font-size: 15px; }
.btn-lg { padding: 14px 28px; font-size: 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 104px; text-align: center; border-bottom: 1px solid var(--line);
  background: radial-gradient(760px 420px at 18% 0%, rgba(124, 108, 255, .28), transparent 62%),
              radial-gradient(700px 400px at 88% 100%, rgba(25, 211, 197, .18), transparent 62%), var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); opacity: .5; }
.hero .wrap { position: relative; max-width: 880px; }
.hero-logo { width: min(420px, 82vw); height: auto; margin: 0 auto 40px; }
.hero h1 { font-size: clamp(36px, 6vw, 62px); font-weight: 800; }
.grad { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dot { color: var(--orange); }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 680px; margin: 0 auto 32px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.platforms { margin: 28px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p:last-child { color: var(--muted); margin: 0; }
.kicker { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }

/* Products — each card carries its product's own brand colour */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product { --accent: var(--indigo); position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.product::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--accent); }
.product:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 22px 50px -24px color-mix(in srgb, var(--accent) 55%, transparent); }
.product-dressclan { --accent: #ff6b2f; }
.product-inspectclan { --accent: #fdb913; }
.product-cf { --accent: #ffa02e; }
.product-top { display: flex; align-items: center; gap: 14px; }
.product-top h3 { font-size: 22px; margin: 0; }
.product-tag { margin: 2px 0 0; color: var(--muted); font-size: 14px; font-weight: 500; }
.product-logo { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.product-logo-cf { display: grid; place-items: center; background: #060b16; border: 1px solid var(--line); }
.product > p { margin: 0; color: var(--muted); flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--text); }
.product-link { font-weight: 700; color: #fff; text-decoration: none; }
.product-link:hover { color: var(--accent); }
.product-link span { display: inline-block; transition: transform .15s; }
.product-link:hover span { transform: translateX(4px); }
@media (max-width: 960px) { .products { grid-template-columns: 1fr; max-width: 560px; } }

/* Approach */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pillar h3 { font-size: 18px; }
.pillar p { margin: 0; color: var(--muted); font-size: 15px; }
.pillar-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--indigo), var(--teal)); }
@media (max-width: 960px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.about-copy p { margin: 0 0 16px; font-size: 18px; color: var(--muted); }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 8px; } }

/* Contact */
.contact { padding-top: 0; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 44px 40px; border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(520px 260px at 100% 0%, rgba(255, 107, 47, .2), transparent 60%),
              radial-gradient(520px 260px at 0% 100%, rgba(124, 108, 255, .18), transparent 60%), var(--surface); }
.contact-inner h2 { margin-bottom: 6px; }
.contact-inner p { margin: 0; color: var(--muted); max-width: 520px; }
@media (max-width: 560px) { .contact-inner { padding: 32px 22px; } .btn-lg { font-size: 16px; } }

/* Footer */
.site-footer { background: #04070f; border-top: 1px solid var(--line); color: var(--muted); padding: 56px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer .brand img { height: 56px; margin-bottom: 12px; }
.site-footer h4 { margin: 0 0 12px; color: #fff; font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:not(.brand) { color: var(--muted); text-decoration: none; }
.site-footer a:not(.brand):hover { color: #fff; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--faint); }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
