:root {
    --primary-color: #716FDC;
    --primary-hover: #7451AF;
    --secondary-color: #1c2745;
    --text-color: #444;
    --light-bg: #f8f9fa;
    --grey-bg: #f1f1f1;
    --accent-bg: #F5EDFF;
    --success-color: #198754;
    --border-color: #dee2e6;
    --bs-primary-rgb: 113, 111, 220;

    --font-base: 'Open Sans', sans-serif;
    --font-heading: 'Nimbus Sans L Bold', sans-serif;

    --container-max: 1100px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;

    --transition-fast: 0.2s ease;
}

body {
    background-color: var(--light-bg);
    font-family: var(--font-base);
    font-weight: 400;
    font-size: 18px;
    color: var(--text-color);
    overflow-x: hidden;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-display: swap;
}

.container {
    max-width: var(--container-max);
}

.question, h1, h2, h3, h4 {
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--secondary-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1 {
    font-size: 1.7em;
    line-height: .9em;
    letter-spacing: -2px;
}

h2 {
    font-size: 2em;
}

.question {
    font-size: 1.25em
}

a {
    color: #514BC0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.label-gradient {
    display: inline-block;
    background: -webkit-linear-gradient(0deg, #716FDC, #6A60C6 50%, #7451AF);
    padding: 6px 12px;
    text-transform: uppercase;
    font-weight: 600;
    margin: 1.5em 0;
    border-radius: 6px;
    letter-spacing: 1px;
    font-size: 14px;
    color: #ffffff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(152, 95, 253, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(152, 95, 253, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section .lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 400;
}

section {
    padding: 3em 0;
    overflow: hidden;
    position: relative
}

.feature {
    text-align: center;
}

.btn-download {
    background: var(--success-color);
    color: white;
    padding: 12px 35px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
}

.btn-download:hover, .btn-download:disabled {
    background: #146c43;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
    color: white;
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary-color);
    padding: 12px 35px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-primary {
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
}

.btn:hover, .btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-info:hover {
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-color: #ffffff;
}

#acceptCookies {
    background-color: #514BC0;
}

.cookie-notification {
    position: fixed;
    right: 30px;
    bottom: 30px;
    margin-left: 30px;
    z-index: 10;
    max-width: 400px;
    padding: 15px;
    background: #fff;
    border-radius: .75rem;
    border: 2px solid var(--primary-color);
    animation: fadeIn .4s ease-in-out
}

.related-tools-section ul li {
    display: inline-block;
    font-weight: 600;
    background-color: #514BC0;
    color: #fff;
    border-radius: 26px;
    padding: 6px 12px;
    margin: 0 10px 8px 0;
    transition: all 0.3s ease;
}

.related-tools-section ul li a {
    color: #fff;
    text-decoration: none;
}

.related-tools-section ul li:hover {
    background-color: var(--primary-color);
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 9999;
}

.skip-link:focus {
    top: 0;
}

@media (min-width: 768px) {
    section {
        padding: 5em 0;
    }

    h1 {
        font-size: 3em;
    }

    .lead {
        font-size: 1.2em;
    }
}

@media (min-width: 992px) {
    section {
        padding: 5em 0;
    }

    h1 {
        font-size: 3.5em;
    }

    h2 {
        font-size: 2em;
    }

    .lead, .question {
        font-size: 1.5em;
    }
}

@media (min-width: 1200px) {
    section {
        padding: 8em 0;
    }

    h1 {
        font-size: 4.15em;
    }

    h2 {
        font-size: 4em;
        letter-spacing: -2px;
    }

    .lead, .question {
        font-size: 1.5em;
    }
}
