/* ============================================================
   Altclick ICT — Shared Stylesheet
   Blue + Red brand, glassmorphism design language:
   frosted translucent surfaces, blurred gradient mesh backdrop
   ============================================================ */

:root {
  --blue-900: #0a1f45;   /* deep navy — dark chrome (hero, footer, topbar) */
  --blue-800: #0e2a5c;
  --blue-700: #123f82;   /* mid blue */
  --blue-600: #1d63c4;   /* bright blue accent */
  --blue-100: #e4edfb;   /* light blue tint — text-on-dark, icon backgrounds */
  --red-600: #e0263f;    /* signal red — primary accent */
  --red-500: #ff4d61;    /* bright red — hover */
  --red-100: #ffe1e5;    /* pale red tint — badges */
  --ink: #0c1729;        /* near-black navy — body text */
  --grey-600: #52607a;   /* cool muted grey-blue — secondary text */
  --grey-300: #d7deec;   /* cool light border */
  --grey-100: #eef2fb;   /* cool light section background */
  --white: #ffffff;

  /* Glass surface tokens */
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-blur: 20px;

  --radius: 20px;
  --shadow: 0 10px 32px rgba(10, 31, 69, 0.14);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background:
    radial-gradient(circle at 12% 18%, rgba(29, 99, 196, 0.22), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(224, 38, 63, 0.18), transparent 40%),
    radial-gradient(circle at 25% 85%, rgba(224, 38, 63, 0.10), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(29, 99, 196, 0.16), transparent 45%),
    #f3f6fc;
  background-attachment: fixed;
}
h1, h2, h3, h4, .logo, .price {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.01em;
  font-weight: 800;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---------- Topbar ---------- */
.topbar { background: var(--blue-900); color: var(--blue-100); font-size: 13px; }
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 6px;
}
.topbar span { margin-right: 18px; }
.topbar a.cta-mini { background: var(--red-600); color: var(--white); padding: 4px 12px; border-radius: 999px; font-weight: 600; }

/* ---------- Header / Nav (floating glass pill) ---------- */
header.site-header {
  position: sticky; top: 14px; z-index: 100;
  background: transparent;
  padding: 14px 16px 0;
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1140px; margin: 0 auto;
  padding: 10px 10px 10px 26px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(10, 31, 69, 0.15);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--blue-900); }
.logo .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-700), var(--red-600));
  display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; font-weight: 900;
}
.logo .tag { font-size: 11px; font-weight: 600; color: var(--grey-600); display: block; letter-spacing: 0.5px; }
nav.main-nav ul { display: flex; gap: 28px; list-style: none; align-items: center; }
nav.main-nav a { font-weight: 600; font-size: 15px; color: var(--ink); padding: 6px 2px; border-bottom: 2px solid transparent; transition: 0.2s; }
nav.main-nav a:hover, nav.main-nav a.active { color: var(--blue-700); border-bottom-color: var(--red-600); }
.nav-cta { background: var(--red-600); color: white !important; padding: 10px 22px; border-radius: 999px; font-weight: 700 !important; border-bottom: none !important; margin-left: 4px; }
.nav-cta:hover { background: var(--red-500); border-bottom: none !important; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(120deg, var(--blue-900) 0%, var(--blue-700) 55%, var(--blue-600) 100%); color: white; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(224,38,63,0.4), transparent 70%); border-radius: 50%;
  filter: blur(10px);
}
.hero::before {
  content: ""; position: absolute; left: -100px; bottom: -140px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(29,99,196,0.45), transparent 70%); border-radius: 50%;
  filter: blur(10px);
}
.hero .container { padding: 90px 24px 80px; position: relative; z-index: 2; }
.hero .eyebrow {
  display: inline-block; background: rgba(255,255,255,0.14); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3); padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: 46px; line-height: 1.15; max-width: 720px; margin: 0 0 18px; font-weight: 800; }
.hero h1 span { color: #ff8a97; }
.hero p.lead { font-size: 18px; max-width: 600px; color: var(--blue-100); margin-bottom: 34px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero { background: linear-gradient(120deg, var(--blue-900), var(--blue-700)); color: white; padding: 64px 24px; text-align: center; }
.page-hero h1 { font-size: 36px; margin: 0 0 10px; font-weight: 800; }
.page-hero p { color: var(--blue-100); max-width: 640px; margin: 0 auto; font-size: 16px; }
.breadcrumb { font-size: 13px; color: var(--blue-100); margin-bottom: 14px; opacity: 0.85; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 13px 28px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: 0.2s; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--red-600); color: white; }
.btn-primary:hover { background: var(--red-500); transform: translateY(-1px); }
.btn-outline {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: white; border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.22); }
.btn-blue { background: var(--blue-700); color: white; }
.btn-blue:hover { background: var(--blue-600); }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
.section-alt { background: rgba(238, 242, 251, 0.5); backdrop-filter: blur(6px); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-head .kicker { color: var(--red-600); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; display: block; }
.section-head h2 { font-size: 32px; margin: 0 0 12px; color: var(--blue-900); font-weight: 800; }
.section-head p { color: var(--grey-600); font-size: 16px; }

/* ---------- Grids & Cards (glass) ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 30px 26px; transition: 0.25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--blue-600); }
.card .icon { width: 52px; height: 52px; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.card h3 { margin: 0 0 10px; font-size: 19px; color: var(--blue-900); }
.card p { color: var(--grey-600); font-size: 14.5px; margin: 0 0 14px; }
.card ul { list-style: none; }
.card ul li { font-size: 14px; color: var(--grey-600); padding: 5px 0 5px 22px; position: relative; }
.card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--red-600); font-weight: 800; }
.card .price { font-size: 22px; font-weight: 800; color: var(--blue-900); margin: 14px 0 4px; }
.card .price small { font-size: 13px; color: var(--grey-600); font-weight: 500; }
.badge { display: inline-block; background: var(--red-100); color: var(--red-600); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 12px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats .stat-num { font-size: 34px; font-weight: 800; color: var(--red-500); }
.stats .stat-label { font-size: 13px; color: var(--blue-100); margin-top: 4px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; margin-bottom: 28px; }
.step .num { counter-increment: step; min-width: 44px; height: 44px; border-radius: 50%; background: var(--blue-900); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.step .num::before { content: counter(step); }
.step h4 { margin: 4px 0 6px; color: var(--blue-900); }
.step p { margin: 0; color: var(--grey-600); font-size: 14.5px; }

/* ---------- Testimonials (glass) ---------- */
.testimonial {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border-radius: var(--radius); padding: 26px; border: 1px solid var(--glass-border);
}
.testimonial p.quote { font-style: italic; color: var(--ink); margin-bottom: 16px; }
.testimonial .who { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--blue-700), var(--red-600)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.testimonial .who strong { display: block; font-size: 14px; }
.testimonial .who span { font-size: 12.5px; color: var(--grey-600); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--red-600), var(--blue-700)); color: white; border-radius: var(--radius); padding: 50px 40px; text-align: center; }
.cta-band h2 { font-size: 28px; margin: 0 0 12px; }
.cta-band p { margin: 0 0 26px; color: rgba(255,255,255,0.92); }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.7); }

/* ---------- Forms (glass) ---------- */
.form-card {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; color: var(--blue-900); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--grey-300); border-radius: 12px;
  font-size: 14.5px; font-family: inherit; background: rgba(255,255,255,0.7);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--blue-600); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- Table (glass) ---------- */
table.compare {
  width: 100%; border-collapse: collapse;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--grey-300); font-size: 14.5px; }
table.compare th { background: var(--blue-900); color: white; }
table.compare tr:last-child td { border-bottom: none; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--blue-900); color: var(--blue-100); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
footer h4 { color: white; font-size: 15px; margin: 0 0 16px; }
footer p { font-size: 13.5px; color: var(--blue-100); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a { font-size: 13.5px; color: var(--blue-100); }
footer ul a:hover { color: var(--red-500); }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 12.5px; color: rgba(228,237,251,0.7); }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-row a { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.social-row a:hover { background: var(--red-600); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* ---------- Nav Toggle (Hamburger) ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: none;
  background: var(--blue-100);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue-900);
  margin: 0 auto;
  transition: 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Responsive ---------- */

/* Large tablets / small laptops */
@media (max-width: 1080px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 40px; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

/* Tablets */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero .container { padding: 64px 20px 56px; }
  .hero h1 { font-size: 34px; }
  section { padding: 54px 0; }
}

/* Mobile nav breakpoint */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  nav.main-nav {
    display: block;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur)) saturate(160%);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(10,31,69,0.15);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  nav.main-nav.open { max-height: 520px; }
  nav.main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 20px;
  }
  nav.main-nav ul li { width: 100%; }
  nav.main-nav a {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid var(--grey-100);
  }
  nav.main-nav a.active { border-bottom-color: var(--grey-100); }
  .nav-cta { text-align: center; margin-top: 8px; }
  .nav-wrap { position: relative; }
}

/* Phones */
@media (max-width: 720px) {
  .topbar .container { justify-content: center; text-align: center; }
  .topbar span { margin-right: 12px; font-size: 12px; }
  .hero h1 { font-size: 28px; }
  .hero p.lead { font-size: 16px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { text-align: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-hero { padding: 46px 20px; }
  .page-hero h1 { font-size: 26px; }
  .section-head h2 { font-size: 26px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stats .stat-num { font-size: 26px; }
  .cta-band { padding: 36px 22px; }
  .cta-band h2 { font-size: 22px; }
  .card { padding: 24px 20px; }
  table.compare { display: block; overflow-x: auto; white-space: nowrap; }
  .logo { font-size: 18px; }
  .logo .mark { width: 32px; height: 32px; font-size: 15px; }
}

/* Small phones */
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .hero h1 { font-size: 24px; }
  .nav-wrap { padding: 12px 16px; }
  .container { padding: 0 16px; }
}
