/* ============ VARIABLES ============ */
:root {
  --fd-primary: #E8573A;
  --fd-primary-dark: #c9422a;
  --fd-accent: #6B4BCC;
  --fd-accent-dark: #5638a8;
  --fd-dark: #1a1d2e;
  --fd-text: #3a3d52;
  --fd-muted: #6b7280;
  --fd-bg-light: #f5f6fa;
  --fd-border: #e2e5ef;
  --fd-white: #ffffff;
  --fd-radius: 0.75rem;
  --fd-shadow-card: 0 4px 24px -4px rgba(26, 29, 46, 0.08);
  --fd-shadow-elevated: 0 12px 40px -8px rgba(26, 29, 46, 0.12);
}

/* ============ BASE ============ */
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--fd-text);
  background: var(--fd-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--fd-dark);
}

.btn-primary {
  background: var(--fd-primary);
  border-color: var(--fd-primary);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--fd-primary-dark);
  border-color: var(--fd-primary-dark);
}

.text-primary { color: var(--fd-primary) !important; }
.text-accent { color: var(--fd-accent) !important; }
.bg-light { background: var(--fd-bg-light) !important; }

/* ============ NAVBAR ============ */
.fd-navbar {
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
.fd-navbar .nav-link {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.fd-navbar .nav-link:hover {
  color: #fff;
}
.fd-navbar .navbar-toggler-icon {
  filter: invert(1);
}
.fd-navbar-scrolled {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.fd-navbar-scrolled .nav-link {
  color: var(--fd-text) !important;
}
.fd-navbar-scrolled .nav-link:hover {
  color: var(--fd-primary) !important;
}
.fd-navbar-scrolled .navbar-toggler-icon {
  filter: none;
}

/* ============ HERO ============ */
.fd-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.fd-hero-bg {
  position: absolute;
  inset: 0;
}
.fd-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,22,36,0.85) 0%, rgba(60,40,120,0.75) 100%);
}
.fd-hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--fd-white), transparent);
}
.fd-hero .container {
  padding-top: 7rem;
  padding-bottom: 4rem;
}
.fd-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}
.fd-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fd-primary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.fd-hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.5rem;
}
.fd-hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 2.5rem;
}
@media (min-width: 992px) {
  .fd-hero-title { font-size: 3.75rem; }
}

/* ============ SECTIONS ============ */
.fd-section {
  padding: 6rem 0;
}
.fd-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.fd-heading {
  font-size: 2rem;
  font-weight: 800;
  color: var(--fd-dark);
}
.fd-subheading {
  color: var(--fd-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin-top: 0.75rem;
}
@media (min-width: 768px) {
  .fd-heading { font-size: 2.5rem; }
}

/* ============ CARDS ============ */
.fd-card {
  background: var(--fd-white);
  border-radius: var(--fd-radius);
  padding: 1.5rem;
  box-shadow: var(--fd-shadow-card);
  transition: box-shadow 0.3s;
}
.fd-card:hover {
  box-shadow: var(--fd-shadow-elevated);
}

.fd-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.fd-icon-primary {
  background: rgba(232,87,58,0.1);
  color: var(--fd-primary);
}
.fd-icon-accent {
  background: rgba(107,75,204,0.1);
  color: var(--fd-accent);
}
.fd-icon-gradient {
  background: linear-gradient(135deg, var(--fd-primary) 0%, var(--fd-primary-dark) 100%);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
}

/* ============ STEPS ============ */
.fd-step-card {
  padding: 1.5rem;
  border: 1px solid var(--fd-border);
  border-radius: var(--fd-radius);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.fd-step-card:hover {
  border-color: rgba(232,87,58,0.3);
  box-shadow: var(--fd-shadow-card);
}
.fd-step-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fd-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ============ METRICS ============ */
.fd-metric-card {
  background: var(--fd-white);
  border-radius: var(--fd-radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--fd-shadow-card);
  transition: box-shadow 0.3s;
}
.fd-metric-card:hover {
  box-shadow: var(--fd-shadow-elevated);
}
.fd-metric-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--fd-dark);
}
.fd-metric-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fd-primary);
}

/* ============ CTA BOX ============ */
.fd-cta-box {
  background: linear-gradient(135deg, var(--fd-accent) 0%, var(--fd-accent-dark) 100%);
  padding: 3rem;
}
.fd-deco-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.fd-deco-tr {
  width: 16rem;
  height: 16rem;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
}
.fd-deco-bl {
  width: 12rem;
  height: 12rem;
  bottom: 0;
  left: 0;
  transform: translate(-50%, 50%);
}
.fd-input {
  background: rgba(255,255,255,0.9) !important;
  border: none !important;
  height: 3rem;
  color: var(--fd-text) !important;
}
textarea.fd-input {
  height: auto;
}
.fd-input::placeholder {
  color: var(--fd-muted) !important;
}

/* ============ FOOTER ============ */
.fd-footer {
  background: var(--fd-dark);
  padding: 3rem 0 2rem;
}
.fd-footer-logo {
  filter: brightness(0) invert(1);
}
.fd-footer-link {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.fd-footer-link:hover {
  color: #fff;
}

/* ============ SCROLL ANIMATIONS ============ */
.fd-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fd-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ UTILITY ============ */
.rounded-4 {
  border-radius: 1rem !important;
}
