/* ===== D-Live Brand Styles ===== */
/* Primary sky blue: #45C4ED | Dark: #28A8CC | Light bg: #f0fafd */

html {
    font-family: "raleway", "avenir-lt-w05-35-light", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* ===== Header & Navigation ===== */
header {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.scroll-up header {
    background-color: #fff !important;
    box-shadow: 0 2px 16px rgba(69, 196, 237, 0.15);
}

.scroll-down header {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

header {
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-logo-dark { display: block; }
.header-logo-white { display: none; }

.hero-section .header-logo-dark { display: none; }
.hero-section .header-logo-white { display: block; }

.scroll-up .header-logo-dark { display: block !important; }
.scroll-up .header-logo-white { display: none !important; }

.header-button-shadow {
    box-shadow: 2px 2px 8px rgba(69, 196, 237, 0.25);
}

/* ===== Language Dropdown ===== */
.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    min-width: 72px;
}

/* ===== Submenu (Mobile) ===== */
.submenu {
    background-color: #45C4ED;
    transition: transform 0.3s ease;
}

/* ===== Hero Section ===== */
.hero-gradient {
    background: linear-gradient(135deg, #45C4ED 0%, #28A8CC 60%, #1A8FB0 100%);
}

/* ===== Section Titles ===== */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background-color: #45C4ED;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ===== Step Numbers ===== */
.step-number {
    min-width: 56px;
    width: 56px;
    height: 56px;
    background-color: #45C4ED;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "raleway", sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ===== Feature Cards ===== */
.feature-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(69, 196, 237, 0.2);
}

/* ===== App Store Badges ===== */
.badge-link {
    display: inline-block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.badge-link:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* ===== FAQ Accordion ===== */
.faq-answer {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.faq-arrow {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-arrow.open {
    transform: rotate(180deg);
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

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

/* ===== Cookie Consent ===== */
#cm {
    padding: 12px !important;
}

#cm.bar #c-inr {
    max-width: initial !important;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0 32px;
}

.cc_div #c-bns {
    margin-top: 0;
}

#c-bns button {
    padding: 8px 22px;
    margin-left: 12px;
    border-radius: 20px !important;
    background-color: #45C4ED !important;
    color: #fff !important;
    width: initial !important;
    font-weight: 600;
}

.btn-close-cookie-banner {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

@media screen and (max-width: 640px) {
    #cm.bar #c-inr {
        flex-direction: column;
        align-items: inherit;
        margin: 0 16px;
    }

    #c-bns button {
        margin-left: 0;
        margin-top: 12px;
    }
}

/* ===== Utility ===== */
.text-brand { color: #45C4ED; }
.bg-brand { background-color: #45C4ED; }
.border-brand { border-color: #45C4ED; }

/* Smooth anchor offset for fixed header */
section[id] {
    scroll-margin-top: 80px;
}
