/* assets/css/nr-custom.css */
/* Custom styles for netreaction.com additions */
/* Complements existing LandKit/Bootstrap theme */

/* ================================================
   NET REACTION BRAND COLORS (existing)
   ================================================ */
.NR-Red {
  color: #c9302c !important;
}

.NR-DarkBlue {
  color: #1a3a52 !important;
}

.btn-NR-DarkBlue {
  background-color: #1a3a52;
  border-color: #1a3a52;
  color: #fff;
}

.btn-NR-DarkBlue:hover {
  background-color: #0f2a3d;
  border-color: #0f2a3d;
  color: #fff;
}

/* ================================================
   SECURITY FOUNDATIONS SECTION
   ================================================ */
.sf-section {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  overflow: hidden;
}

.sf-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(26, 58, 82, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201, 48, 44, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

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

.sf-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(26, 58, 82, 0.1);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a3a52;
  margin-bottom: 1.5rem;
}

.sf-badge i {
  color: #c9302c;
}

.sf-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a3a52;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .sf-title {
    font-size: 3rem;
  }
}

.sf-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Security Foundations Cards */
.sf-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.sf-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.sf-card-icon.individual {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.sf-card-icon.group {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.sf-card-icon.facilitated {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.sf-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a3a52;
  margin-bottom: 0.75rem;
}

.sf-card-description {
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.sf-card-price {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.sf-card-price strong {
  font-size: 1.5rem;
  color: #1a3a52;
}

/* CTA Section within SF */
.sf-cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.sf-cta-text {
  font-size: 1.125rem;
  color: #475569;
  margin-bottom: 1rem;
}

/* ================================================
   FREE SCAN REQUEST MODAL
   ================================================ */
.scan-modal .modal-content {
  border: none;
  border-radius: 1rem;
}

.scan-modal .modal-header {
  border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem;
}

.scan-modal .modal-body {
  padding: 1.5rem;
}

.scan-modal .modal-footer {
  border-top: 1px solid #e2e8f0;
  padding: 1rem 1.5rem;
}

/* ================================================
   SECURITY FOUNDATIONS DEDICATED PAGE
   ================================================ */
.sf-hero {
  background: linear-gradient(135deg, #1a3a52 0%, #2d5a7b 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.sf-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.sf-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .sf-hero-title {
    font-size: 3.5rem;
  }
}

.sf-hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
}

/* Features grid */
.sf-feature {
  text-align: center;
  padding: 2rem 1rem;
}

.sf-feature-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border-radius: 1rem;
  background: rgba(26, 58, 82, 0.1);
  color: #1a3a52;
  font-size: 1.75rem;
}

.sf-feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a3a52;
  margin-bottom: 0.75rem;
}

.sf-feature-text {
  color: #64748b;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* How it works steps */
.sf-step {
  position: relative;
  padding-left: 4rem;
  margin-bottom: 2rem;
}

.sf-step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a3a52;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.125rem;
}

.sf-step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a3a52;
  margin-bottom: 0.5rem;
}

.sf-step-text {
  color: #64748b;
  line-height: 1.6;
}

/* ================================================
   UTILITY CLASSES
   ================================================ */
.text-balance {
  text-wrap: balance;
}

.gap-3 {
  gap: 1rem;
}

.gap-4 {
  gap: 1.5rem;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Better focus states for accessibility */
.btn:focus,
.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(26, 58, 82, 0.25);
}

/* ================================================
   RESPONSIVE ADJUSTMENTS
   ================================================ */
@media (max-width: 767.98px) {
  .sf-card {
    margin-bottom: 1rem;
  }

  .sf-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
