/* ============================================================
   KemitSecurity — style.css
   ============================================================ */

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

:root {
  --bg:        #080b14;
  --bg-1:      #0d1120;
  --bg-2:      #111827;
  --border:    rgba(255,255,255,0.07);
  --border-md: rgba(255,255,255,0.12);

  --blue:      #3b82f6;
  --blue-glow: rgba(59,130,246,0.25);
  --blue-deep: #1d4ed8;
  --violet:    #8b5cf6;
  --cyan:      #06b6d4;
  --green:     #10b981;

  --text:      #f1f5f9;
  --text-2:    #94a3b8;
  --text-3:    #475569;

  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font:      'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --nav-h:     72px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Utilities ─────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 540px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 0.6rem 1.25rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(59,130,246,0.5);
}
.btn-primary:hover {
  background: #2563eb;
  box-shadow: 0 0 20px rgba(59,130,246,0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--violet), var(--blue-deep));
  color: #fff;
}
.btn-secondary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(139,92,246,0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-md);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-md);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.25);
}

.btn-white {
  background: #fff;
  color: #0d1120;
  font-weight: 700;
}
.btn-white:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.8rem 1.75rem;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--transition);
}
.btn-link:hover { color: var(--text); }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(8,11,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 9px;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.05em;
}

.logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  margin-left: 0.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.nav-actions {
  display: flex;
  gap: 0.6rem;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 24px 1.5rem;
  background: rgba(8,11,20,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  gap: 0.25rem;
}
.nav-mobile a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  padding: 0.6rem 0.5rem;
  border-radius: 8px;
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--text); }
.nav-mobile.open { display: flex; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.glow-1 {
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
}
.glow-2 {
  width: 500px;
  height: 350px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  top: 30%;
  right: -100px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-md);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2.5s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.stat-plus, .stat-unit {
  font-size: 0.85em;
  color: var(--blue);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 0.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-md);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator {
  width: 26px;
  height: 42px;
  border: 2px solid var(--border-md);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--blue);
  border-radius: 2px;
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(12px); opacity: 0.2; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ── Products ──────────────────────────────────────────────── */
.products {
  padding: 7rem 0;
  background: var(--bg-1);
}

.products .section-sub {
  margin-top: 0.5rem;
  margin-bottom: 4rem;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.product-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
}

.product-card-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

.product-vpn:hover .product-card-bg {
  background: radial-gradient(ellipse 80% 60% at 10% 0%, rgba(59,130,246,0.1) 0%, transparent 70%);
  opacity: 1;
}
.product-pass:hover .product-card-bg {
  background: radial-gradient(ellipse 80% 60% at 10% 0%, rgba(139,92,246,0.1) 0%, transparent 70%);
  opacity: 1;
}

.product-vpn { border-color: rgba(59,130,246,0.2); }
.product-pass { border-color: rgba(139,92,246,0.2); }

.product-vpn:hover  { border-color: rgba(59,130,246,0.45); }
.product-pass:hover { border-color: rgba(139,92,246,0.45); }

.product-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-icon svg { width: 26px; height: 26px; }

.vpn-icon  { background: rgba(59,130,246,0.15); color: var(--blue); }
.pass-icon { background: rgba(139,92,246,0.15); color: var(--violet); }

.product-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.product-name {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-2);
}

.product-features svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--green);
}

.product-ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ── Mission ───────────────────────────────────────────────── */
.mission {
  padding: 7rem 0;
  background: var(--bg);
}

.mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.mission-body {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.mission-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.pillar {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
}
.pillar:hover {
  border-color: var(--border-md);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  background: rgba(59,130,246,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 1rem;
}
.pillar-icon svg { width: 22px; height: 22px; }

.pillar h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.pillar p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.55;
}

/* ── Trust ─────────────────────────────────────────────────── */
.trust {
  padding: 7rem 0;
  background: var(--bg-1);
  text-align: center;
}

.trust .section-sub {
  margin: 0 auto 4rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.trust-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: left;
  transition: border-color var(--transition), transform var(--transition);
}
.trust-card:hover {
  border-color: var(--border-md);
  transform: translateY(-3px);
}

.trust-icon {
  width: 48px;
  height: 48px;
  background: rgba(59,130,246,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 1.25rem;
}
.trust-icon svg { width: 24px; height: 24px; }

.trust-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.trust-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29,78,216,0.15) 0%, rgba(139,92,246,0.1) 100%);
  border-top: 1px solid rgba(59,130,246,0.2);
  border-bottom: 1px solid rgba(59,130,246,0.2);
}

.glow-cta {
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.cta-content h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.cta-content p {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 420px;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-2);
  max-width: 280px;
  line-height: 1.65;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-md);
  border-radius: 9px;
  color: var(--text-3);
  text-decoration: none;
  transition: all var(--transition);
}
.footer-socials a:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
}
.footer-socials svg { width: 16px; height: 16px; }

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.4rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-3);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  .products-grid { grid-template-columns: 1fr; }
  .mission-inner { grid-template-columns: 1fr; gap: 3rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-links { gap: 2rem; }
}

@media (max-width: 600px) {
  .trust-grid { grid-template-columns: 1fr; }
  .mission-pillars { grid-template-columns: 1fr; }
  .hero-stats { padding: 1.25rem 1.5rem; gap: 1rem; }
  .stat { padding: 0 1rem; }
  .stat-divider { display: none; }
  .footer-links { flex-wrap: wrap; gap: 2rem; }
  .footer-bottom .container { flex-direction: column; gap: 0.5rem; text-align: center; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; justify-content: center; }
}

/* ── Scroll animations ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
