/* style.css */

/* -------------------------------
   Colostor Theme (Deep Blue + Slate)
   Premium Dark Mode (Default)
--------------------------------- */
:root {
  /* Permanent dark-mode palette */
  --bg: #070b14;
  --bg-2: #0b1220;
  --bg-3: #0f172a;

  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --surface-3: rgba(255, 255, 255, 0.07);

  --text: #e5e7eb;
  --text-strong: #f8fafc;
  --muted: rgba(229, 231, 235, 0.72);
  --muted-2: rgba(229, 231, 235, 0.56);

  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(148, 163, 184, 0.28);

  --blue: #3b82f6;
  --blue-hover: #2563eb;
  --blue-soft: rgba(59, 130, 246, 0.12);
  --blue-soft-2: rgba(59, 130, 246, 0.18);

  --shadow: 0 14px 40px rgba(0, 0, 0, 0.52);
  --shadow-hover: 0 24px 70px rgba(0, 0, 0, 0.62);

  --radius: 18px;
  --max-width: 1200px;

  /* Logo sizing */
  --logo-width: 280px;
  --logo-width-tablet: 240px;
  --logo-width-mobile: 200px;

  /* Typography */
  --font: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Premium gradients */
  --hero-grad: radial-gradient(
      1100px circle at 20% 15%,
      rgba(59, 130, 246, 0.22),
      transparent 55%
    ),
    radial-gradient(
      1000px circle at 85% 25%,
      rgba(99, 102, 241, 0.16),
      transparent 55%
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent);

  /* NEW: service accents */
  --accent-colo: rgba(59, 130, 246, 0.80);
  --accent-connect: rgba(99, 102, 241, 0.80);
  --accent-remote: rgba(34, 211, 238, 0.75);
  --accent-network: rgba(16, 185, 129, 0.72);
  --accent-security: rgba(244, 114, 182, 0.65);
  --accent-power: rgba(251, 191, 36, 0.72);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: 0.1px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.container {
  max-width: var(--max-width);
  padding: 0 20px;
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

/* Premium accent line */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.0) 0%,
    rgba(59, 130, 246, 0.55) 20%,
    rgba(59, 130, 246, 0.55) 80%,
    rgba(59, 130, 246, 0.0) 100%
  );
  pointer-events: none;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  padding: 0;
}

.site-logo {
  width: var(--logo-width);
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 750;
  color: var(--muted);
}

.site-nav a {
  position: relative;
  padding: 10px 2px;
  transition: color 160ms ease, opacity 160ms ease;
}

.site-nav a:hover {
  color: var(--text-strong);
  opacity: 0.95;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0%;
  height: 2px;
  background: var(--blue);
  border-radius: 999px;
  transition: width 180ms ease;
}

.site-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(180deg, rgba(59,130,246,1), rgba(37,99,235,1));
  color: white !important;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.32);
  box-shadow: 0 18px 34px rgba(59, 130, 246, 0.14);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 44px rgba(59, 130, 246, 0.18);
  filter: brightness(1.04);
}

/* Mobile nav fallback */
.mobile-nav { display: none; }
.mobile-cta { padding: 10px 14px; }

/* ---------- Hero (NEW: premium animated glow) ---------- */
.hero {
  padding: 96px 0;
  background: var(--hero-grad);
  position: relative;
  overflow: hidden;
}

/* NEW: animated glow layers */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: -40%;
  pointer-events: none;
  opacity: 0.55;
  filter: blur(70px);
  transform: translate3d(0,0,0);
  animation: heroGlow 14s ease-in-out infinite;
}

.hero::before {
  background: radial-gradient(circle at 30% 20%, rgba(59,130,246,0.35), transparent 55%);
}

.hero::after {
  background: radial-gradient(circle at 70% 35%, rgba(99,102,241,0.28), transparent 55%);
  animation-duration: 18s;
  opacity: 0.45;
}

@keyframes heroGlow {
  0% { transform: translate(-2%, -2%) scale(1.0); }
  50% { transform: translate(2%, 1%) scale(1.08); }
  100% { transform: translate(-2%, -2%) scale(1.0); }
}

.hero.small { padding: 60px 0; }

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.8rem);
  margin: 0 0 14px;
  line-height: 1.08;
  color: var(--text-strong);
  letter-spacing: -0.6px;
}

.hero p {
  max-width: 780px;
  font-size: 1.14rem;
  color: var(--muted);
  margin: 0;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 780;
  display: inline-block;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-strong);
  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.btn-primary {
  background: linear-gradient(180deg, rgba(59,130,246,1), rgba(37,99,235,1));
  color: white;
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow: 0 22px 46px rgba(59, 130, 246, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 28px 60px rgba(59, 130, 246, 0.22);
  filter: brightness(1.04);
}

.btn-secondary {
  background: rgba(255,255,255,0.03);
  color: var(--text-strong);
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }

.section-title {
  font-size: 2.15rem;
  margin: 0 0 10px;
  color: var(--text-strong);
  letter-spacing: -0.4px;
}

.section-subtitle {
  margin: 0 0 38px;
  color: var(--muted);
  max-width: 820px;
  font-size: 1.05rem;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, var(--surface), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  position: relative;
  overflow: hidden;
}

/* NEW: service accent line + glow */
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: rgba(59,130,246,0.35);
  opacity: 0;
  transition: opacity 200ms ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% 10%, rgba(59,130,246,0.18), transparent 55%);
  opacity: 0;
  filter: blur(40px);
  transition: opacity 240ms ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(59, 130, 246, 0.24);
}

.card:hover::before,
.card:hover::after {
  opacity: 1;
}

.card-icon {
  height: 46px;
  width: 46px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--blue-soft-2), rgba(255,255,255,0.02));
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-weight: 950;
  color: var(--blue);
  font-size: 1.05rem;
  border: 1px solid rgba(59,130,246,0.22);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.22rem;
  color: var(--text-strong);
}

.card p {
  margin: 0;
  color: var(--muted);
}

/* NEW: category accent modifiers */
.card.accent-colo::before { background: var(--accent-colo); }
.card.accent-connect::before { background: var(--accent-connect); }
.card.accent-remote::before { background: var(--accent-remote); }
.card.accent-network::before { background: var(--accent-network); }
.card.accent-security::before { background: var(--accent-security); }
.card.accent-power::before { background: var(--accent-power); }

/* NEW: icon background tuning */
.card.accent-colo .card-icon { border-color: rgba(59,130,246,0.35); }
.card.accent-connect .card-icon { border-color: rgba(99,102,241,0.35); }
.card.accent-remote .card-icon { border-color: rgba(34,211,238,0.28); }
.card.accent-network .card-icon { border-color: rgba(16,185,129,0.28); }
.card.accent-security .card-icon { border-color: rgba(244,114,182,0.24); }
.card.accent-power .card-icon { border-color: rgba(251,191,36,0.22); }

/* ---------- Feature list ---------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.feature {
  background: linear-gradient(180deg, var(--surface), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.feature strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-strong);
  letter-spacing: -0.2px;
}

.feature span { color: var(--muted); }

/* ---------- Markets ---------- */
.market-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.market-pill {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border-radius: 999px;
  padding: 10px 12px;
  text-align: center;
  font-weight: 850;
  color: var(--muted);
  box-shadow: 0 12px 24px rgba(0,0,0,0.32);
  transition: transform 160ms ease, border-color 160ms ease;
}

.market-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(59,130,246,0.30);
}

/* ---------- Trust band (NEW) ---------- */
.trust-band {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.trust-copy strong {
  display: block;
  color: var(--text-strong);
  font-weight: 950;
  letter-spacing: -0.2px;
}

.trust-copy span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.trust-logos {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.trust-pill {
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: rgba(229, 231, 235, 0.78);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price {
  font-size: 2.1rem;
  margin: 8px 0 0;
  font-weight: 950;
  color: var(--text-strong);
}

.price small { font-size: 0.95rem; font-weight: 800; color: var(--muted); }

.badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.14);
  color: rgba(147, 197, 253, 0.95);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.9rem;
  border: 1px solid rgba(59,130,246,0.22);
}

/* ---------- Lists ---------- */
.ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.ul li {
  margin: 10px 0;
  color: var(--muted);
  padding-left: 22px;
  position: relative;
}

.ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: rgba(147, 197, 253, 0.95);
  font-weight: 950;
}

/* ---------- Forms ---------- */
.form {
  background: linear-gradient(180deg, var(--surface), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

label {
  display: block;
  font-weight: 880;
  margin-bottom: 8px;
  color: var(--text-strong);
}

input, textarea, select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255,255,255,0.02);
  color: var(--text-strong);
  transition: border-color 160ms ease, background 160ms ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: rgba(59,130,246,0.55);
  background: rgba(255,255,255,0.03);
}

textarea { min-height: 130px; resize: vertical; }

.form small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

/* ---------- Utilities ---------- */
.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}

.notice {
  background: rgba(59, 130, 246, 0.10);
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 16px;
  padding: 16px;
  color: rgba(229, 231, 235, 0.86);
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 70px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-top: 1px solid var(--border);
  padding: 54px 0 18px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-title { font-weight: 950; font-size: 1.2rem; color: var(--text-strong); }
.footer-tagline { max-width: 440px; color: var(--muted); margin: 10px 0 0; }
.footer-mini { margin-top: 12px; color: var(--muted); }

.footer-links { display: flex; gap: 42px; flex-wrap: wrap; }
.footer-col h4 { margin: 0 0 10px; font-weight: 900; color: var(--text-strong); }

.footer-col a {
  display: block;
  margin: 7px 0;
  color: var(--muted);
  transition: color 160ms ease;
}

.footer-col a:hover { color: rgba(147, 197, 253, 0.95); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 28px auto 0;
  padding: 18px 20px 0;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 0.95rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .site-logo { width: var(--logo-width-tablet); }
  .card-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .market-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; }
  .trust-inner { justify-content: center; }
  .trust-logos { justify-content: center; }
}

@media (max-width: 760px) {
  .site-logo { width: var(--logo-width-mobile); }
  .site-nav { display: none; }
  .mobile-nav { display: block; }

  .card-grid, .pricing-grid { grid-template-columns: 1fr; }
  .hero { padding: 76px 0; }
  .form-row { grid-template-columns: 1fr; }
}

