/* =====================================================
   SECUROS — DESIGN SYSTEM
   Kali-inspired dark professional theme
   ===================================================== */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Scrollbar */
html {
  scrollbar-gutter: stable;
}

/* =====================================================
   DESIGN TOKENS
   ===================================================== */
:root {
  --sec-bg:              #0d1117;
  --sec-surface:         #161b22;
  --sec-surface-raised:  #21262d;
  --sec-border:          #30363d;
  --sec-accent:          #00b4d8;
  --sec-accent-dim:      rgba(0, 180, 216, 0.12);
  --sec-accent-border:   rgba(0, 180, 216, 0.32);
  --sec-accent-hover:    #009dc0;
  --sec-text:            #c9d1d9;
  --sec-text-muted:      #8b949e;
  --sec-text-faint:      #6e7681;
  --sec-white:           #f0f6fc;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, 'JetBrains Mono', 'Fira Code', monospace;
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
}

/* =====================================================
   DAISY UI v4 — DARK THEME OVERRIDE
   Values in HSL: H S% L% (no hsl() wrapper)
   ===================================================== */
[data-theme="dark"] {
  /* Primary: #00b4d8 (cyan) */
  --p:  190 100% 42%;
  --pf: 190 100% 35%;
  --pc: 216  28%  7%;

  /* Secondary */
  --s:  215  25% 22%;
  --sf: 215  25% 17%;
  --sc: 210  14% 82%;

  /* Accent */
  --a:  187  85% 44%;
  --af: 187  85% 37%;
  --ac: 216  28%  7%;

  /* Neutral */
  --n:  215  18% 14%;
  --nf: 215  18% 10%;
  --nc: 210  14% 82%;

  /* Base colors */
  --b1: 216  28%  7%;   /* #0d1117 */
  --b2: 213  22% 11%;   /* #161b22 */
  --b3: 210  16% 15%;   /* #21262d */
  --bc: 210  14% 82%;   /* #c9d1d9 */

  /* Semantic */
  --in:  199  89% 48%;  --inc: 0 0% 100%;
  --su:  142  71% 40%;  --suc: 0 0% 100%;
  --wa:   45  93% 55%;  --wac: 0 0% 10%;
  --er:    0  72% 51%;  --erc: 0 0% 100%;

  /* Radius & borders */
  --rounded-box:   0.5rem;
  --rounded-btn:   0.375rem;
  --rounded-badge: 9999px;
  --border-btn:    1px;

  color-scheme: dark;
}

/* =====================================================
   BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  background-color: var(--sec-bg);
  color: var(--sec-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =====================================================
   TYPOGRAPHY UTILITIES
   ===================================================== */
.t-display {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--sec-white);
}

.t-heading {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--sec-white);
}

.t-subheading {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--sec-white);
}

.t-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--sec-text);
}

.t-small {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--sec-text-muted);
}

.t-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sec-accent);
}

.t-muted  { color: var(--sec-text-muted); }
.t-faint  { color: var(--sec-text-faint); }
.t-accent { color: var(--sec-accent); }
.t-white  { color: var(--sec-white); }

/* =====================================================
   ACCENT BADGE (version pill)
   ===================================================== */
.accent-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.875rem;
  background: var(--sec-accent-dim);
  border: 1px solid var(--sec-accent-border);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sec-accent);
  width: fit-content;
}

.accent-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sec-accent);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* =====================================================
   SITE NAVBAR
   ===================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sec-border);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sec-text-muted);
  transition: color 0.2s;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}

.nav-link:hover { color: var(--sec-white); }

.nav-link.active {
  color: var(--sec-white);
  cursor: default;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--sec-accent);
  border-radius: 9999px;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--sec-bg);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 5% 50%,  rgba(0, 180, 216, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 10%, rgba(0, 180, 216, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

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

/* =====================================================
   BROWSER MOCKUP (hero image frame)
   ===================================================== */
.mockup-browser-sec {
  background: var(--sec-surface);
  border: 1px solid var(--sec-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 20px 60px rgba(0,0,0,0.55),
    0 4px 16px rgba(0,0,0,0.4);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--sec-surface-raised);
  border-bottom: 1px solid var(--sec-border);
}

.m-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.m-dot-r { background: #ff5f57; }
.m-dot-y { background: #febc2e; }
.m-dot-g { background: #28c840; }

.mockup-bar-label {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--sec-text-faint);
}

/* =====================================================
   FEATURE CARDS
   ===================================================== */
.feature-card {
  background: var(--sec-surface);
  border: 1px solid var(--sec-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  border-color: var(--sec-accent-border);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,180,216,0.08);
}

.feature-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--sec-accent-dim);
  border: 1px solid var(--sec-accent-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  color: var(--sec-accent);
  flex-shrink: 0;
}

/* =====================================================
   SURFACE / SECTION HELPERS
   ===================================================== */
.surface {
  background: var(--sec-surface);
  border: 1px solid var(--sec-border);
  border-radius: var(--radius-lg);
}

.section-alt {
  background: var(--sec-surface);
  border-top: 1px solid var(--sec-border);
  border-bottom: 1px solid var(--sec-border);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary-sec {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--sec-accent);
  color: #0d1117;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, transform 0.18s, box-shadow 0.18s;
}

.btn-primary-sec:hover {
  background: var(--sec-accent-hover);
  color: #0d1117;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,180,216,0.3);
}

.btn-outline-sec {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: transparent;
  color: var(--sec-text);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--sec-border);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.18s;
}

.btn-outline-sec:hover {
  border-color: var(--sec-text-muted);
  color: var(--sec-white);
  transform: translateY(-1px);
}

/* =====================================================
   SITE FOOTER
   ===================================================== */
.site-footer {
  background: var(--sec-surface);
  border-top: 1px solid var(--sec-border);
  margin-top: auto;
}

.footer-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sec-text-faint);
  margin-bottom: 0.875rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--sec-text-muted);
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.footer-link:hover { color: var(--sec-white); }

/* =====================================================
   STAT DOT
   ===================================================== */
.stat-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sec-accent);
  flex-shrink: 0;
}

/* =====================================================
   LINK WITH ARROW
   ===================================================== */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--sec-accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}

.link-arrow:hover { gap: 0.65rem; }

/* =====================================================
   SERVICE CARDS (enterprise, help, etc.)
   ===================================================== */
.service-card {
  background: var(--sec-surface);
  border: 1px solid var(--sec-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* =====================================================
   PAGE HEADER (inner pages)
   ===================================================== */
.page-header {
  border-bottom: 1px solid var(--sec-border);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

/* =====================================================
   DARK MODE ENFORCEMENT
   Keep dark regardless of system preference
   ===================================================== */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
  }
}

[data-theme="dark"] { color-scheme: dark; }
