/* Saftmeister - Core Design System */
:root {
    --primary-color: #ff6b00;
    /* Vibrant Orange */
    --secondary-color: #1a1a1a;
    /* Charcoal */
    --accent-color: #2ecc71;
    /* Fresh Green */
    --text-primary: #333333;
    --text-secondary: #666666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-bold: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.body-container {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Advertisement Top Bar */
.ad-top-bar {
    background-color: #f0f0f0;
    color: #666;
    text-align: center;
    padding: 10px;
    font-size: 0.85rem;
    border-bottom: 1px solid #ddd;
}

/* Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-content {
    color: var(--bg-white);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    animation: pulse-loader 1.5s infinite;
}

@keyframes pulse-loader {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0.5;
        transform: scale(0.95);
    }
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.cta-button {
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background: var(--text-primary);
    position: relative;
    transition: var(--transition);
}

.hamburger-line::before,
.hamburger-line::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

.hamburger-line::before {
    top: -10px;
}

.hamburger-line::after {
    top: 10px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    height: 100%;
    background: var(--bg-white);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 100px 40px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-bold);
    transform: translateX(100%);
    visibility: hidden;
}

.mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
}

.close-menu-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
    border-radius: 50%;
}

.close-menu-icon:hover {
    background: #f0f0f0;
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    padding: 100px 5% 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-image-container {
    flex: 1;
    text-align: center;
}

.hero-image {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-bold);
}

/* Sections */
.section-container {
    padding: 80px 5%;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card-item {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.card-item:hover {
    transform: translateY(-10px);
}

.card-icon-container {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Feature List */
.feature-list-container {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.feature-item-icon {
    color: var(--accent-color);
    margin-right: 15px;
    margin-top: 5px;
}

.text-bold-label {
    font-weight: 700;
}

/* Testimonials */
.testimonials-section {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 80px 5%;
    text-align: center;
}

.testimonial-item {
    margin: 40px auto;
    max-width: 700px;
    font-style: italic;
    font-size: 1.2rem;
}

.testimonial-author {
    margin-top: 20px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

/* FAQ */
.faq-section-container {
    padding: 80px 5%;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item-box {
    background: var(--bg-white);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.faq-question-btn {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer-content {
    padding: 0 20px 20px;
    display: none;
    color: var(--text-secondary);
}

/* Cookies Popup */
.cookies-consent-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-bold);
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookies-button-group {
    display: flex;
    gap: 15px;
}

.btn-ghost {
    padding: 10px 20px;
    border: 1px solid var(--text-secondary);
    border-radius: 5px;
    background: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-solid-primary {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

/* Footer */
.footer-main-container {
    background: #f1f1f1;
    padding: 80px 5% 20px;
}

.footer-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-text-element {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-ad-disclaimer {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.4;
}

.footer-bottom-row {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Modals */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 800px;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
    width: 100%;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .mobile-menu {
        width: 75%;
    }
}

/* Utilities */
.text-alignment-center {
    text-align: center;
}

.margin-top-40 {
    margin-top: 40px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.vertical-spacing-20 {
    margin-bottom: 20px;
}

.divider-line {
    height: 1px;
    background: #ddd;
    margin: 20px 0;
    border: none;
}