/* ============================================================
   Secure Matrix — style.css
   Modern dark-tech security SaaS theme
   ============================================================ */

/* ---------- Google Font import (Poppins) ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary:       #0ea5e9;   /* sky-500  */
  --primary-dark:  #0284c7;   /* sky-600  */
  --primary-glow:  rgba(14,165,233,.25);
  --accent:        #38bdf8;   /* sky-400  */
  --success:       #22d3ee;   /* cyan-400 */
  --bg-darkest:    #020617;   /* slate-950 */
  --bg-dark:       #0f172a;   /* slate-900 */
  --bg-card:       #1e293b;   /* slate-800 */
  --bg-card-hover: #263548;
  --border:        rgba(56,189,248,.15);
  --text-primary:  #f1f5f9;   /* slate-100 */
  --text-muted:    #94a3b8;   /* slate-400 */
  --text-light:    #cbd5e1;   /* slate-300 */
  --gradient-hero: linear-gradient(135deg, #020617 0%, #0c1a33 50%, #020617 100%);
  --gradient-btn:  linear-gradient(135deg, #0ea5e9, #38bdf8);
  --radius-card:   1rem;
  --transition:    0.3s ease;
  --shadow-card:   0 4px 24px rgba(0,0,0,.35);
  --shadow-glow:   0 0 24px rgba(14,165,233,.2);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; }

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

/* ---------- Utility ---------- */
.section-tag {
  display: inline-block;
  background: rgba(14,165,233,.12);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--text-primary);
  margin-bottom: .75rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.divider {
  width: 56px;
  height: 4px;
  background: var(--gradient-btn);
  border-radius: 2px;
  margin: .5rem auto 1.5rem;
}

/* ---------- Scroll-reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }
.reveal-delay-6 { transition-delay: .6s; }

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  background: rgba(2,6,23,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: .85rem 0;
  transition: background var(--transition), box-shadow var(--transition);
  z-index: 1050;
}
#mainNav.scrolled {
  background: rgba(2,6,23,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
}

.navbar-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary) !important;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.navbar-brand .brand-icon {
  width: 34px; height: 34px;
  background: var(--gradient-btn);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 14px var(--primary-glow);
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-size: .88rem;
  font-weight: 500;
  padding: .45rem .85rem !important;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent) !important;
  background: rgba(14,165,233,.08);
}

.btn-nav-cta {
  background: var(--gradient-btn);
  color: #fff !important;
  border-radius: 8px !important;
  padding: .45rem 1.1rem !important;
  font-weight: 600 !important;
  box-shadow: 0 0 14px var(--primary-glow);
  transition: transform var(--transition), box-shadow var(--transition) !important;
}
.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px var(--primary-glow) !important;
  color: #fff !important;
}

.navbar-toggler {
  border: 1px solid var(--border) !important;
  padding: .35rem .6rem !important;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2856, 189, 248, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#home {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

/* Animated grid overlay */
#home::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridPan 25s linear infinite;
  pointer-events: none;
}
@keyframes gridPan {
  0%   { background-position: 0 0; }
  100% { background-position: 48px 48px; }
}

/* Glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero-orb-1 {
  width: 480px; height: 480px;
  background: rgba(14,165,233,.18);
  top: -100px; left: -80px;
  animation: orbFloat 8s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width: 360px; height: 360px;
  background: rgba(34,211,238,.12);
  bottom: -60px; right: -40px;
  animation: orbFloat 10s ease-in-out infinite alternate-reverse;
}
@keyframes orbFloat {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px,20px) scale(1.06); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(14,165,233,.1);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-badge .pulse-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34,197,94,.4);
  animation: pulseGreen 1.8s ease-in-out infinite;
}
@keyframes pulseGreen {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  70%  { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}
.hero-title .highlight {
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.2rem;
}

.btn-primary-custom {
  background: var(--gradient-btn);
  color: #fff;
  padding: .85rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 24px var(--primary-glow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 36px var(--primary-glow);
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  color: var(--text-primary);
  padding: .85rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-outline-custom:hover {
  border-color: var(--primary);
  color: var(--accent);
  background: rgba(14,165,233,.06);
}

/* Hero stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}
.stat-item strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item span {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero visual */
.hero-visual {
  position: relative;
  z-index: 2;
}
.hero-shield {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}
.shield-ring {
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1px solid var(--border);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 3s ease-in-out infinite;
}
.shield-ring:nth-child(2) {
  width: 260px; height: 260px;
  border-color: rgba(14,165,233,.3);
  animation-delay: .5s;
}
@keyframes ringPulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity:.7; }
  50%      { transform: translate(-50%,-50%) scale(1.04); opacity:1; }
}
.shield-center {
  width: 160px; height: 160px;
  background: linear-gradient(135deg, rgba(14,165,233,.2), rgba(56,189,248,.1));
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 90px auto 0;
  box-shadow: 0 0 40px var(--primary-glow), inset 0 0 40px rgba(14,165,233,.1);
  position: relative;
  z-index: 1;
}
.shield-center i {
  font-size: 3.5rem;
  color: var(--accent);
  filter: drop-shadow(0 0 10px var(--primary));
}

/* Floating feature badges on hero visual */
.feature-float {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .55rem .85rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex; align-items: center; gap: .5rem;
  box-shadow: var(--shadow-card);
  white-space: nowrap;
  z-index: 2;
}
.feature-float i { color: var(--accent); font-size: .9rem; }
.ff-1 { top: 10%;  left: -10%; animation: floatY 4s ease-in-out infinite; }
.ff-2 { top: 10%;  right: -10%; animation: floatY 4s ease-in-out infinite 1s; }
.ff-3 { bottom: 10%; left: -10%; animation: floatY 4s ease-in-out infinite 2s; }
.ff-4 { bottom: 10%; right: -10%; animation: floatY 4s ease-in-out infinite .5s; }
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--bg-darkest);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
}
.trust-bar .trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 500;
}
.trust-bar .trust-item i { color: var(--accent); font-size: .95rem; }

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
#products {
  background: var(--bg-dark);
  padding: 6rem 0;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-btn);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.product-icon {
  width: 68px; height: 68px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14,165,233,.15), rgba(56,189,248,.08));
  border: 1px solid rgba(14,165,233,.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.7rem;
  transition: box-shadow var(--transition), background var(--transition);
}
.product-card:hover .product-icon {
  background: linear-gradient(135deg, rgba(14,165,233,.25), rgba(56,189,248,.15));
  box-shadow: 0 0 20px var(--primary-glow);
}
.product-icon i { color: var(--accent); }

.product-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text-primary);
}
.product-card p { font-size: .88rem; color: var(--text-muted); }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
#features {
  background: var(--bg-darkest);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
#features::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,.08) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}

.feature-grid-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
  height: 100%;
}
.feature-grid-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}
.feat-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(14,165,233,.15), transparent);
  border: 1px solid rgba(14,165,233,.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
}
.feat-body h4 { font-size: 1rem; font-weight: 700; margin-bottom: .35rem; color: var(--text-primary); }
.feat-body p  { font-size: .86rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about {
  background: var(--bg-dark);
  padding: 6rem 0;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color var(--transition);
}
.about-card:hover { border-color: var(--primary); }
.about-card-icon {
  width: 50px; height: 50px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(14,165,233,.15), transparent);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
}
.about-card h5 { font-size: .95rem; font-weight: 700; margin-bottom: .2rem; color: var(--text-primary); }
.about-card p  { font-size: .83rem; color: var(--text-muted); margin: 0; }

.about-text-block p { color: var(--text-muted); margin-bottom: 1rem; }
.about-text-block p:last-child { margin-bottom: 0; }
.mission-box {
  background: linear-gradient(135deg, rgba(14,165,233,.1), rgba(56,189,248,.06));
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}
.mission-box h5 { color: var(--accent); font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.mission-box p  { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
#testimonials {
  background: var(--bg-darkest);
  padding: 6rem 0;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
  height: 100%;
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--primary);
  opacity: .15;
  position: absolute;
  top: .5rem; left: 1.2rem;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}
.testimonial-stars { color: #f59e0b; font-size: .85rem; margin-bottom: .85rem; }
.testimonial-text  { font-size: .9rem; color: var(--text-muted); margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .85rem; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-btn);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: #fff; flex-shrink: 0;
}
.author-name  { font-size: .9rem; font-weight: 700; color: var(--text-primary); margin-bottom: .1rem; }
.author-role  { font-size: .78rem; color: var(--text-muted); }

/* ============================================================
   FAQ SECTION
   ============================================================ */
#faq {
  background: var(--bg-dark);
  padding: 6rem 0;
}

.accordion-item {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-card) !important;
  margin-bottom: .75rem;
  overflow: hidden;
}
.accordion-button {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  font-size: .95rem !important;
  padding: 1.25rem 1.5rem !important;
  box-shadow: none !important;
}
.accordion-button::after {
  filter: invert(1) sepia(1) saturate(2) hue-rotate(180deg);
}
.accordion-button:not(.collapsed) {
  color: var(--accent) !important;
  background: rgba(14,165,233,.06) !important;
}
.accordion-body {
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: .9rem;
  padding: 0 1.5rem 1.25rem !important;
  border-top: 1px solid var(--border);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact {
  background: var(--bg-darkest);
  padding: 6rem 0;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
  height: 100%;
}
.contact-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}
.contact-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(14,165,233,.15), transparent);
  border: 1px solid rgba(14,165,233,.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin: 0 auto 1rem;
}
.contact-card h5 { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; color: var(--text-primary); }
.contact-card p  { font-size: .88rem; color: var(--text-muted); margin: 0; }
.contact-card a  { color: var(--accent); }
.contact-card a:hover { color: var(--primary); }

/* ============================================================
   PRIVACY & TERMS
   ============================================================ */
#privacy, #terms {
  background: var(--bg-dark);
  padding: 6rem 0;
}
#terms { background: var(--bg-darkest); }

.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
}
.policy-item {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.policy-item:last-child { border-bottom: none; padding-bottom: 0; }
.policy-item-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(14,165,233,.12), transparent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1rem;
}
.policy-item h5 { font-size: .92rem; font-weight: 700; color: var(--text-primary); margin-bottom: .25rem; }
.policy-item p  { font-size: .86rem; color: var(--text-muted); margin: 0; }

.terms-check-list { list-style: none; padding: 0; }
.terms-check-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-muted);
}
.terms-check-list li:last-child { border-bottom: none; }
.terms-check-list li i { color: var(--success); margin-top: .2rem; flex-shrink: 0; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, #0c2240 0%, #0f172a 50%, #0c2240 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(14,165,233,.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.cta-banner p { color: var(--text-muted); max-width: 520px; margin: 0 auto 2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-darkest);
  border-top: 1px solid var(--border);
  padding: 4rem 0 1.5rem;
}

.footer-brand p { font-size: .88rem; color: var(--text-muted); max-width: 280px; margin-top: .75rem; }

.footer-heading {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a {
  font-size: .88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

.social-icons { display: flex; gap: .7rem; flex-wrap: wrap; }
.social-btn {
  width: 38px; height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: .95rem;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.social-btn:hover {
  color: var(--accent);
  border-color: var(--primary);
  background: rgba(14,165,233,.08);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom p { font-size: .82rem; color: var(--text-muted); margin: 0; }
.footer-bottom .footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-bottom .footer-legal a { font-size: .82rem; color: var(--text-muted); }
.footer-bottom .footer-legal a:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 991.98px) {
  .hero-visual { margin-top: 3rem; }
  .shield-ring  { display: none; }
  .ff-1,.ff-2   { display: none; }
}

@media (max-width: 767.98px) {
  .hero-stats { gap: 1.2rem; }
  .ff-3,.ff-4 { display: none; }
  .hero-title { font-size: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom .footer-legal { justify-content: center; }
}

@media (max-width: 575.98px) {
  #home { padding-top: 90px; }
}

/* ---------- Back to top button ---------- */
#backToTop {
  position: fixed;
  bottom: 2rem; right: 1.5rem;
  width: 44px; height: 44px;
  background: var(--gradient-btn);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  box-shadow: 0 0 16px var(--primary-glow);
  z-index: 999;
  border: none;
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { transform: translateY(-3px); box-shadow: 0 0 24px var(--primary-glow); }
