/* Tulkas Security Group — site styles */
:root {
  --bg: #0a0e15;
  --bg-2: #111722;
  --bg-3: #18202e;
  --line: #263044;
  --text: #e6e9ef;
  --muted: #9aa4b5;
  --accent: #2f7bf5;      /* blue */
  --accent-2: #6aa6ff;
  --radius: 10px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-2); }
h1, h2, h3 { font-family: "Rajdhani", "Inter", sans-serif; line-height: 1.15; margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 92%); margin: 0 auto; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .18em;
  font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: 1rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 21, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--text); }
.brand img { height: 44px; width: auto; }
.brand .wordmark { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 1.35rem; letter-spacing: .08em; }
.nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.nav a.link { color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a.link:hover, .nav a.link.active { color: var(--accent-2); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 6px; padding: .45rem .7rem; font-size: 1.1rem; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 6px;
  font-weight: 600; text-decoration: none; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; transition: .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* Hero */
.hero {
  position: relative; padding: 9rem 0 8rem; overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 20%, rgba(47,123,245,.16), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(60,90,140,.25), transparent 60%),
    var(--bg);
}
.hero::after {
  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: 48px 48px; opacity: .25;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero .container { position: relative; z-index: 1; }
.hero-sm { padding: 6rem 0 4.5rem; }

/* Sections */
section { padding: 6rem 0; }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 4rem; align-items: center; }
.section-head { margin-bottom: 3rem; }

.card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem;
}
.card .icon {
  width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(47,123,245,.12); color: var(--accent); font-size: 1.4rem; margin-bottom: 1.2rem;
}
.card p { color: var(--muted); margin: 0; }

.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checklist li { padding-left: 1.8rem; position: relative; margin-bottom: .8rem; color: var(--muted); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.checklist strong { color: var(--text); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 2.5rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-3); }
.stat .num { font-family: "Rajdhani", sans-serif; font-size: 3rem; font-weight: 700; color: var(--accent-2); line-height: 1; }
.stat .label { color: var(--muted); margin-top: .6rem; font-size: .95rem; }
.source-note { color: var(--muted); font-size: .8rem; text-align: center; margin-top: 1.2rem; }

/* Visual panel (stand-in for photos) */
.panel {
  aspect-ratio: 4/3; border-radius: var(--radius); border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(47,123,245,.22), transparent 45%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 28px, rgba(47,123,245,.08) 28px 29px),
    var(--bg-3);
  display: grid; place-items: center;
}
.panel svg { width: 34%; height: auto; color: var(--accent); }

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.price { font-family: "Rajdhani", sans-serif; font-size: 2.6rem; font-weight: 700; color: var(--text); margin: .4rem 0 .2rem; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-card .checklist { flex: 1; }
.price-card .btn { margin-top: 1.5rem; text-align: center; }
.tag { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; background: rgba(47,123,245,.15); color: var(--accent-2); padding: .25rem .6rem; border-radius: 4px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-3); margin-bottom: 1rem; }
.faq summary { cursor: pointer; padding: 1.3rem 1.5rem; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 1.5rem 1.4rem; color: var(--muted); }

/* Contact form */
.form { display: grid; gap: 1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { font-size: .88rem; color: var(--muted); display: block; margin-bottom: .35rem; }
.form input, .form textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 6px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { min-height: 150px; resize: vertical; }
.form .btn { justify-self: start; }

/* CTA band */
.cta { text-align: center; background: linear-gradient(135deg, #141b28, #0d1219); border-top: 1px solid var(--line); }

/* Footer */
.site-footer { background: #070a10; border-top: 1px solid var(--line); padding: 4rem 0 2rem; color: var(--muted); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { color: var(--text); font-family: "Rajdhani", sans-serif; font-size: 1.1rem; margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent-2); }
.badge { width: 96px; margin-top: .3rem; border-radius: 6px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }

.prose { max-width: 780px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose p, .prose li { color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .stats { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  .nav ul {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line);
  }
  .nav ul.open { display: flex; }
  .nav ul li a.link { display: block; padding: 1rem 4%; border-top: 1px solid var(--line); }
  section { padding: 4.5rem 0; }
  .hero { padding: 6rem 0 5rem; }
  .form .row { grid-template-columns: 1fr; }
}

.price-card .tag { align-self: flex-start; }
@media (max-width: 600px) {
  .brand .wordmark { font-size: 1.05rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Photos & icons */
.hero-photo {
  background:
    linear-gradient(90deg, rgba(10,14,21,.96) 0%, rgba(10,14,21,.85) 45%, rgba(10,14,21,.35) 100%),
    var(--photo) center right / cover no-repeat, var(--bg);
}
.hero-photo::after { opacity: .12; }
.card .icon { width: 64px; height: 64px; background: rgba(47,123,245,.10); padding: 10px; }
.card .icon img { width: 100%; height: 100%; object-fit: contain; }
.photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.photo.tall { aspect-ratio: 4/5; max-height: 560px; width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.stat-icon { width: 64px; height: 64px; margin: 0 auto 1.2rem; opacity: .9; }
.brand img { height: 46px; }
@media (max-width: 900px) {
  .hero-photo { background: linear-gradient(rgba(10,14,21,.82), rgba(10,14,21,.92)), var(--photo) center / cover no-repeat, var(--bg); }
}

/* ---------- Animations ---------- */
/* Fade-in on scroll (only when JS is running, so content never stays hidden) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* Hero entrance */
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero .eyebrow, .hero h1, .hero .lead, .hero .btn-row { animation: heroIn .9s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 { animation-delay: .12s; }
.hero .lead { animation-delay: .26s; }
.hero .btn-row { animation-delay: .4s; }

/* Hover lift on cards + icon glow */
.card, .stat { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, opacity .7s ease; }
.card:hover, .stat:hover { transform: translateY(-6px); border-color: rgba(47,123,245,.55); box-shadow: 0 14px 34px rgba(0,0,0,.35), 0 0 0 1px rgba(47,123,245,.15); }
.card .icon img, .stat-icon { transition: filter .3s ease, transform .3s ease; }
.card:hover .icon img { filter: drop-shadow(0 0 8px rgba(0,212,255,.75)); transform: scale(1.08); }
.stat:hover .stat-icon { filter: drop-shadow(0 0 8px rgba(106,166,255,.8)); }
.photo img { transition: transform .8s ease; }
.photo:hover img { transform: scale(1.04); }
.btn { transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(47,123,245,.35); }

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
