/* ============================================
   SENTINEL CYBER SOLUTION — SHARED STYLESHEET
   ============================================ */

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

/* ─── CSS Variables ─── */
:root {
  --clr-bg:        #050a14;
  --clr-bg2:       #0b1120;
  --clr-surface:   #0f1929;
  --clr-surface2:  #162135;
  --clr-border:    rgba(0, 180, 255, 0.12);
  --clr-blue:      #00b4ff;
  --clr-blue-dark: #0076cc;
  --clr-blue-glow: rgba(0, 180, 255, 0.15);
  --clr-gold:      #c9a84c;
  --clr-gold-light: #e0bc6e;
  --clr-gold-glow: rgba(201, 168, 76, 0.15);
  --clr-gold-border: rgba(201, 168, 76, 0.25);
  --clr-text:      #e2e8f0;
  --clr-muted:     #8899aa;
  --clr-white:     #ffffff;
  --font-main:     'Inter', sans-serif;
  --font-heading:  'Space Grotesk', sans-serif;
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    0.3s ease;
  --shadow:        0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-blue:   0 0 32px rgba(0, 180, 255, 0.12);
  --shadow-gold:   0 0 32px rgba(201, 168, 76, 0.12);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-bg2); }
::-webkit-scrollbar-thumb { background: var(--clr-gold); border-radius: 3px; }

/* ─── Typography ─── */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; }

/* ─── Layout ─── */
.container {
  width: 90%;
  max-width: 1160px;
  margin: 0 auto;
}

section { padding: 96px 0; }

/* ─── Navigation ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(5, 10, 20, 0.97);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-muted);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--clr-blue);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active { color: var(--clr-white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--clr-gold) !important;
  color: #050a14 !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}

.nav-cta:hover { background: var(--clr-gold-light) !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,168,76,0.35) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--clr-gold);
  color: #050a14;
}
.btn-primary:hover {
  background: var(--clr-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--clr-blue);
  border: 1.5px solid var(--clr-blue);
}
.btn-outline:hover {
  background: var(--clr-blue-glow);
  transform: translateY(-2px);
}

/* ─── Section Heading ─── */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--clr-white);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--clr-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ─── Cards ─── */
.card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--clr-blue-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
}

.card:hover {
  border-color: rgba(0, 180, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}
.card:hover::before { opacity: 1; }

/* ─── Grid ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ─── Divider ─── */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--clr-border), transparent);
  margin: 0;
}

/* ─── Footer ─── */
footer {
  background: var(--clr-bg2);
  border-top: 1px solid var(--clr-border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.9rem;
  color: var(--clr-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.9rem;
  color: var(--clr-muted);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--clr-white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--clr-border);
  font-size: 0.85rem;
  color: var(--clr-muted);
}

.footer-bottom a { color: var(--clr-gold); }

/* ─── Glow Orbs (decorative) ─── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0;   }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

/* ─── Page Hero (non-home) ─── */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--clr-bg2) 0%, var(--clr-bg) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--clr-white);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--clr-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Highlight span ─── */
.highlight {
  color: var(--clr-gold);
}

/* ─── Badge ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--clr-gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

/* ─── Icon Box ─── */
.icon-box {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(0, 180, 255, 0.1);
  border: 1px solid rgba(0, 180, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(5, 10, 20, 0.98);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--clr-border);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
