:root {
  --primary-color: #3b82f6;
  --secondary-color: #1e293b;
  --text-dark: #0f172a;
  --text-light: #475569;
  --border-color: #e2e8f0;
  --bg-light: #f8fafc;
}

/* ── Nav active state & scroll shadow ─────────────────────── */

.navbar.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
}

.navbar .nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 600;
}

/* ── Anchor scroll offset (native CSS fallback) ────────────── */

section[id] {
  scroll-margin-top: 72px;
}

/* ── Trust strip ───────────────────────────────────────────── */

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.trust-strip span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-strip i {
  color: var(--primary-color);
}

/* ── Hero icon ─────────────────────────────────────────────── */

.hero-icon-wrap {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 10px 40px rgba(59,130,246,.12);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-icon-wrap i {
  font-size: 9rem;
  color: var(--primary-color);
}

.min-vh-85 {
  min-height: 85vh;
}

/* ── Code showcase ─────────────────────────────────────────── */

.code-showcase-section {
  background: #0f172a;
  color: #e2e8f0;
}

.code-showcase-section h2, .code-showcase-section p {
  color: #e2e8f0;
}

.code-showcase-section .text-muted {
  color: #94a3b8 !important;
}

.code-block {
  background: #1e293b;
  border-radius: 0.75rem;
  padding: 1.75rem 2rem;
  overflow-x: auto;
  border: 1px solid #334155;
}

.code-block pre {
  margin: 0;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #e2e8f0;
}

.code-comment {
  color: #64748b;
}

.code-str {
  color: #86efac;
}

/* ── Secondary features ────────────────────────────────────── */

.secondary-features-section .sf-icon {
  width: 48px;
  height: 48px;
  background: rgba(59,130,246,.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary-color);
}

/* ── Compliance list ───────────────────────────────────────── */

.compliance-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-color);
}

.compliance-list li:last-child {
  border-bottom: none;
}

.compliance-list i {
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* ── Pricing table ─────────────────────────────────────────── */

.pricing-table {
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.pricing-table th {
  background: var(--bg-light);
  padding: 1.25rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 2px solid var(--border-color);
  color: var(--text-dark);
}

.pricing-table td {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-dark);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-featured-col {
  background: rgba(59,130,246,.05);
  border-left: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
}

.pricing-table thead .pricing-featured-col {
  background: rgba(59,130,246,.1);
  color: var(--primary-color);
  border-top: 2px solid var(--primary-color);
}

.pricing-amount {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
}

.pricing-period {
  font-size: 0.75rem;
  color: var(--text-light);
}

.pricing-price-row td {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.pricing-cta-row td {
  padding: 1.25rem 1rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Navbar Styles */

.navbar {
  background: white;
  border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.navbar-brand i {
  font-size: 1.8rem;
}

.nav-link {
  color: var(--text-dark) !important;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* Hero Section */

.hero-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
}

.hero-section h1 {
  color: var(--text-dark);
  line-height: 1.2;
}

.hero-section .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 0.5rem;
}

.illustration-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Features Section */

.features-section {
  background: white;
}

.features-section h2 {
  color: var(--text-dark);
  margin-bottom: 3rem;
}

.feature-card {
  padding: 2rem;
  border-radius: 1rem;
  background: white;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2rem;
  color: var(--primary-color);
}

.feature-card h5 {
  color: var(--text-dark);
  font-weight: 600;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Pricing Section */

.pricing-section {
  background: var(--bg-light);
}

.pricing-section h2 {
  color: var(--text-dark);
}

.pricing-card {
  background: white;
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
}

.pricing-card.featured:hover {
  transform: translateY(-10px);
}

.pricing-card h5 {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.3rem;
}

.price {
  margin: 1.5rem 0;
}

.price .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price .period {
  color: var(--text-light);
  font-size: 0.95rem;
}

.pricing-card li {
  color: var(--text-dark);
  font-size: 0.95rem;
}

.pricing-card .btn {
  border-radius: 0.5rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
}

/* Security Section */

.security-section {
  background: white;
}

.security-section h2 {
  color: var(--text-dark);
}

.security-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.security-item:last-child {
  border-bottom: none;
}

.security-item h6 {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
}

.security-item i {
  margin-right: 0.5rem;
}

.security-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background: var(--bg-light);
  border-radius: 1rem;
}

/* Testimonials Section */

.testimonials-section {
  background: var(--bg-light);
}

.testimonials-section h2 {
  color: var(--text-dark);
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
  color: var(--text-dark);
  font-style: italic;
  font-size: 0.95rem;
}

.testimonial-card h6 {
  color: var(--text-dark);
  font-weight: 600;
}

.testimonial-card small {
  color: var(--text-light);
}

.stars {
  font-size: 1rem;
}

/* FAQ Section */

.faq-section {
  background: white;
}

.faq-section h2 {
  color: var(--text-dark);
}

.accordion-item {
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
  border-radius: 0.5rem;
}

.accordion-button {
  background: white;
  color: var(--text-dark);
  font-weight: 500;
  border: none;
  padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
  background: var(--bg-light);
  color: var(--primary-color);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--border-color);
}

.accordion-body {
  color: var(--text-light);
  padding: 1.5rem;
}

/* CTA Section */

.cta-section {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 0.5rem;
}

/* Footer */

.footer {
  background: #0f172a;
  color: #e2e8f0;
}

.footer h6 {
  color: white;
  font-size: 0.95rem;
}

.footer .text-muted {
  color: #94a3b8 !important;
}

.footer a {
  transition: color 0.3s ease;
  color: #cbd5e1 !important;
}

.footer a:hover {
  color: #93c5fd !important;
}

.footer i {
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.footer a:hover i {
  transform: translateY(-3px);
}

/* Responsive Design */

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-section .lead {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .feature-card {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .pricing-card {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar-nav {
    padding-top: 1rem;
  }
}

@media (max-width: 768px) {
  .nav-link {
    margin-left: 0;
    padding: 0.5rem 0;
  }
}

@media (max-width: 768px) {
  .cta-section {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .cta-section .col-lg-4 {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .illustration-placeholder, .security-illustration {
    min-height: 250px;
  }
}

/* ── Sign-up modal ─────────────────────────────────────────── */

.signup-modal-content {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
}

.signup-modal-header {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 1.75rem;
  align-items: flex-start;
}

.signup-modal-footer {
  border-top: 1px solid var(--border-color);
  padding: 1rem 1.75rem;
}

/* Step indicator */

.signup-steps {
  display: flex;
  align-items: center;
}

.signup-step {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
}

.signup-step span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border-color);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s;
}

.signup-step.active {
  color: var(--primary-color);
  font-weight: 700;
}

.signup-step.active span {
  background: var(--primary-color);
  color: white;
}

.signup-step.done span {
  background: #22c55e;
  color: white;
}

.signup-step-divider {
  flex: 1;
  height: 2px;
  background: var(--border-color);
  margin: 0 0.6rem;
}

/* Tier cards */

.tier-card {
  cursor: pointer;
}

.tier-card-inner {
  border: 2px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.1rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  height: 100%;
}

.tier-card:hover .tier-card-inner {
  border-color: var(--primary-color);
}

.tier-card.selected .tier-card-inner {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

.tier-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.tier-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.tier-price span {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-light);
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-light);
}

.tier-features li::before {
  content: "✓ ";
  color: var(--primary-color);
  font-weight: 700;
}

.tier-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Payment method cards */

.payment-card {
  cursor: pointer;
}

.payment-card-inner {
  border: 2px solid var(--border-color);
  border-radius: 0.6rem;
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-dark);
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.payment-card-inner i {
  font-size: 1.5rem;
  color: var(--text-light);
  transition: color 0.2s;
}

.payment-card:hover .payment-card-inner {
  border-color: var(--primary-color);
}

.payment-card.selected .payment-card-inner {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

.payment-card.selected .payment-card-inner i {
  color: var(--primary-color);
}

/* Order summary box */

.signup-summary {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
}

/* ── Footer newsletter ─────────────────────────────────────────── */

.footer-newsletter-row {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-newsletter-input {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.15);
  color: #e2e8f0;
}

.footer-newsletter-input::placeholder {
  color: #64748b;
}

.footer-newsletter-input:focus {
  background: rgba(255,255,255,.1);
  border-color: var(--primary-color);
  color: #e2e8f0;
  box-shadow: 0 0 0 3px rgba(59,130,246,.2);
}

/* Smooth transitions */

a, button {
  transition: all 0.3s ease;
}

/* Button styles */

.btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: #2563eb;
  border-color: #2563eb;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-outline-secondary {
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.btn-outline-secondary:hover {
  background: var(--text-dark);
  color: white;
}

