html {
    scroll-behavior: smooth;
}

body {
    background-color: #0f1117;
    color: #e0e6ed;
}

/* Hero gradient animation */
.hero-gradient {
    background: linear-gradient(-45deg, #3b82f6, #1e40af, #0f1117, #1a1d27);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

/* Blue glow text effect */
.text-glow {
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* Navbar — transparent at top, dark+blur on scroll */
.navbar-blur {
    background-color: transparent;
    backdrop-filter: none;
    border-color: transparent;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}

.navbar-blur.scrolled {
    background-color: rgba(15, 17, 23, 0.85);
    backdrop-filter: blur(10px);
    border-color: rgb(30, 41, 59);
}

/* Button hover effects */
.btn-primary {
    background-color: #3b82f6;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2563eb;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.25);
}

.btn-outline {
    border: 2px solid #3b82f6;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #3b82f6;
    color: white;
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.1);
}

/* FAQ Accordion */
.faq-checkbox {
    display: none;
}

.faq-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 1rem;
    background-color: #1e2130;
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
}

.faq-label:hover {
    background-color: #262d3d;
}

.faq-checkbox:checked + .faq-label {
    background-color: #262d3d;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #1a1d27;
    padding: 0 1rem;
}

.faq-checkbox:checked + .faq-label + .faq-content {
    max-height: 500px;
    padding: 1rem;
}

.faq-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.faq-checkbox:checked + .faq-label .faq-icon {
    transform: rotate(180deg);
}

/* Radial blue spotlight + linear dark gradient for alternating sections */
.section-gradient {
    background:
        radial-gradient(circle at 14% 26%, rgba(59, 130, 246, 0.10), transparent 28%),
        linear-gradient(180deg, #1a1d27 0%, #141720 100%);
}

/* 45° pinstripe overlay — uses ::before so it works over gradients too */
.pinstripe {
    position: relative;
}
.pinstripe::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.018) 0px,
        rgba(255, 255, 255, 0.018) 1px,
        transparent 1px,
        transparent 10px
    );
}

/* Hide reCAPTCHA v3 badge */
.grecaptcha-badge { visibility: hidden; }

/* Mobile menu toggle (checkbox-driven, CSS only) */
.mobile-menu-checkbox { display: none; }

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(15, 17, 23, 0.95);
    backdrop-filter: blur(10px);
}

.mobile-menu-checkbox:checked ~ .mobile-menu {
    max-height: 28rem;
}

.mobile-menu-checkbox:checked ~ div .icon-burger { display: none; }
.mobile-menu-checkbox:not(:checked) ~ div .icon-close { display: none; }

/* Referral form fieldset (matches dark card style) */
.referral-form fieldset legend,
form fieldset legend {
    font-size: 0.95rem;
}

/* Inline field-level error text */
.field-error {
    line-height: 1.3;
}

