@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@500;600;700&display=swap');

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #0f172a;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --danger: #ef4444;
    --success: #22c55e;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary-color);
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.hidden {
    display: none !important;
}

.x-nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.x-container, .q-container, .w-container, .j-container, .k-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.x-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.x-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.x-desktop-menu {
    display: none;
}

.x-cta-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
}

.x-cta-btn:hover {
    background-color: var(--primary-dark);
}

.x-burger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.x-burger span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.x-mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    display: none;
}

.x-mobile-menu.active {
    display: flex;
}

.x-mobile-menu a {
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bg-light);
}

.z-hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
}

.z-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.z-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.5));
    z-index: -1;
}

.z-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.z-hero-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.z-hero-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.125rem;
    min-height: 50px;
    line-height: normal;
    display: inline-flex;
    align-items: center;
}

.z-hero-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.q-features-grid {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.q-header-text {
    text-align: center;
    margin-bottom: 3rem;
}

.q-header-text h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.q-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.q-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.q-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.q-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.q-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.q-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.q-read-more {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.q-read-more:hover {
    background: var(--primary-color);
    color: var(--white);
}

.w-blog-section {
    padding: 5rem 0;
}

.w-blog-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.w-article-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.w-article-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.w-article-card:hover {
    box-shadow: var(--shadow-md);
}

.w-article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.w-content {
    padding: 1.5rem;
}

.w-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.w-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.w-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.j-contact-wrapper {
    padding: 5rem 0;
    background-color: var(--secondary-color);
    color: var(--white);
}

.j-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.j-text-side h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.j-text-side p {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.j-benefits li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.j-benefits i {
    color: var(--success);
}

.j-form-side {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    color: var(--text-main);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input, .form-group select {
    width: 100%;
    min-height: 48px;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input:valid {
    border-left: 4px solid var(--success);
}

.j-submit-btn {
    width: 100%;
    min-height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.j-submit-btn:hover {
    background-color: var(--primary-dark);
}

.k-footer {
    background-color: #1e293b;
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.k-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.k-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.k-col a {
    display: block;
    margin-bottom: 0.75rem;
    color: inherit;
}

.k-col a:hover {
    color: var(--white);
}

.k-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.k-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.legal-trigger {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
}

.legal-trigger:hover {
    color: var(--white);
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    animation: slideUp 0.5s forwards;
}

@keyframes slideUp {
    to { transform: translateY(0); }
}

.cb-text h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cb-text p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cb-buttons {
    display: flex;
    gap: 1rem;
}

#cookie-accept, #cookie-decline {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    flex: 1;
}

#cookie-accept {
    background-color: var(--primary-color);
    color: var(--white);
}

#cookie-accept:hover {
    background-color: var(--primary-dark);
}

#cookie-decline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

#cookie-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.m-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.m-modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.m-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.m-modal-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .x-desktop-menu {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .x-desktop-menu a:not(.x-cta-btn) {
        font-weight: 500;
    }

    .x-desktop-menu a:not(.x-cta-btn):hover {
        color: var(--primary-color);
    }

    .x-burger, .x-mobile-menu {
        display: none !important;
    }

    .z-hero-content h1 {
        font-size: 3.5rem;
    }

    .q-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .w-article-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .j-container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .k-top {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .k-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    #cookie-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem 2rem;
        width: auto;
        left: 2rem;
        right: 2rem;
        bottom: 2rem;
        border-radius: var(--radius);
        max-width: 900px;
        margin: 0 auto;
    }

    .cb-text {
        flex: 1;
        margin-right: 2rem;
    }

    .cb-buttons {
        flex: 0 0 auto;
    }
}

@media (min-width: 1024px) {
    .q-grid-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

    .w-article-row {
        grid-template-columns: repeat(3, 1fr);
    }
}