/* ================================================
   TripleDs — Global Styles
   Colors matched to logo: Crimson Red #D42027
   ================================================ */

* {
  box-sizing: border-box;
}

html {
  font-family: 'DM Sans', sans-serif;
  background: #0A0A0F;
  color: #E8E8F0;
}

.font-display {
  font-family: 'Syne', sans-serif;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* Glowing accent dot */
.glow-dot {
  box-shadow: 0 0 40px 12px rgba(212, 32, 39, 0.25);
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(135deg, #E63946 0%, #D42027 40%, #FF6B6B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card hover effect */
.card-hover {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 32, 39, 0.3);
  box-shadow: 0 20px 60px rgba(212, 32, 39, 0.08);
}

/* Grid lines background */
.grid-bg {
  background-image:
    linear-gradient(rgba(212, 32, 39, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 32, 39, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Nav link active underline */
.nav-link {
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #D42027;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #D42027;
}

/* Section reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Marquee container */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 40s linear infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #0A0A0F;
}

::-webkit-scrollbar-thumb {
  background: #3A3A4A;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: #D42027;
}

/* Alpine.js cloak */
[x-cloak] {
  display: none !important;
}

/* Step line connector */
.step-line::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  width: 2px;
  height: calc(100% + 16px);
  background: linear-gradient(to bottom, rgba(212, 32, 39, 0.3), transparent);
}

/* Tag pill */
.tag-pill {
  border: 1px solid rgba(212, 32, 39, 0.2);
  background: rgba(212, 32, 39, 0.05);
  color: rgba(230, 57, 70, 0.9);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-family: 'Syne', sans-serif;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
}

/* Accent border left */
.border-accent-left {
  border-left: 2px solid #D42027;
  padding-left: 16px;
}

/* Hero number stat */
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #D42027;
  line-height: 1;
}

/* Icon box */
.icon-box {
  width: 44px;
  height: 44px;
  background: rgba(212, 32, 39, 0.08);
  border: 1px solid rgba(212, 32, 39, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* CTA button primary */
.btn-primary {
  background: #D42027;
  color: #FFFFFF;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 32px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  background: #E63946;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 32, 39, 0.35);
}

/* CTA button secondary */
.btn-secondary {
  background: transparent;
  color: #E8E8F0;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 13px 28px;
  border-radius: 6px;
  border: 1px solid rgba(232, 232, 240, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: rgba(212, 32, 39, 0.5);
  color: #E63946;
}

/* Industry card */
.industry-card {
  position: relative;
  overflow: hidden;
  background: #13131A;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}

.industry-card::before {
  content: attr(data-num);
  position: absolute;
  top: -10px;
  right: 16px;
  font-family: 'Syne', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: rgb(212 32 39 / 4%);
  pointer-events: none;
  line-height: 1;
}

.industry-card:hover {
  border-color: rgba(212, 32, 39, 0.2);
  transform: translateY(-3px);
}

/* Section label */
.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #D42027;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: #D42027;
  flex-shrink: 0;
}

/* Process step */
.process-step {
  display: flex;
  gap: 20px;
  position: relative;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(212, 32, 39, 0.4);
  background: rgba(212, 32, 39, 0.07);
  color: #D42027;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  background: none;
  border: none;
  color: #E8E8F0;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.faq-trigger:hover .faq-icon {
  border-color: rgba(212, 32, 39, 0.5);
  background: rgba(212, 32, 39, 0.08);
}

/* Footer links */
footer a {
  transition: color 0.2s;
}

footer a:hover {
  color: #D42027;
}

/* Form input focus state */
.form-input {
  width: 100%;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #E8E8F0;
  outline: none;
  transition: border-color 0.2s;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-input:focus {
  border-color: rgba(212, 32, 39, 0.4);
}

.form-input::placeholder {
  color: #5A5A6A;
}

/* Animation delay helpers */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

/* Keyframe animations */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.06;
  }

  50% {
    opacity: 0.12;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .stat-num {
    font-size: 1.8rem;
  }
}


/* Hero illustration card */
.light-mode .hero-illustration-card {
  background: #FFFFFF !important;
  border-color: rgba(212, 32, 39, 0.1) !important;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}