:root {
    --bg-primary: #111111;
    --text-primary: #F0F0F0;
    --text-secondary: #BABABA;
    --accent: #CC0B0D;
    --accent-hover: #E31216;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Logo */

.logo-name .logo-title,
.logo-www {
  font-size: 26px;
  font-family: Megrim;
}

.logo-name {
  position: relative;
  width: 12vw;
  height: 30px;
}

.logo-name .logo-title {
  position: absolute;
  top: 0;
  left: 0;
}

.logo-www {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-wB,
.logo-w0,
.logo-wA {
  position: absolute;
  margin-bottom: -25px;
}

.logo-wB {
  transform: rotate(120deg);
  transform-origin: center -1px;
}

.logo-wA {
  transform: rotate(-120deg);
  transform-origin: center -1px;
}

/* Header */

.font-heading {
    font-family: 'Montserrat', sans-serif;
}

.font-footer {
    font-family: 'Lato', sans-serif;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.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;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

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

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

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

/* Grid pattern background */
.grid-bg {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Gradient overlays */
.gradient-radial {
    background: radial-gradient(ellipse at center, rgba(204, 11, 13, 0.08) 0%, transparent 70%);
}

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

.card-hover:hover {
    transform: translateY(-4px);
    border-color: rgba(204, 11, 13, 0.5);
}

/* H2 décoration */

h2 {
    position: relative;
    margin-bottom: 2rem !important;
}

h2::after {
  display: none;
}

@media (min-width: 768px) {
  h2::after {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 0.125rem;
  }
}

.cta-title:after {
    display: none;
}

/* Button styles */
.btn-primary {
    background-color: var(--accent);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(204, 11, 13, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Section divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}


/* FAQ accordion */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-content {
    max-height: 600px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Pricing card highlight */
.pricing-highlight {
    position: relative;
}

.pricing-highlight::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent), transparent 50%);
    border-radius: 14px;
    z-index: -1;
}


/* Align intermediate sections to the left (exclude first and last main sections) */
main > section:not(:first-of-type):not(:last-of-type) {
    text-align: left;
}

main > section:not(:first-of-type):not(:last-of-type) .text-center {
    text-align: left !important;
}

main > section:not(:first-of-type):not(:last-of-type) .text-center p.max-w-2xl.mx-auto {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
