/* BalancePunkt - Main Stylesheet */

:root {
    --primary-light: #F5F8F5;
    --primary-dark: #2E7D32;
    --accent-1: #4CAF50;
    --accent-2: #81C784;
    --accent-3: #DCEEDC;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --border-color: #e0e0e0;
}

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

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-dark);
    background-color: white;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.04em;
    color: var(--text-dark);
}

h1 {
    font-size: 56px;
    margin-bottom: 24px;
}

h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

h4 {
    font-size: 24px;
    margin-bottom: 12px;
}

p {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.9;
    margin-bottom: 16px;
    color: var(--text-light);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo:hover {
    color: var(--accent-1);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-1);
}

/* Main Content */
main {
    padding-top: 80px;
}

section {
    width: 100%;
    padding: 160px 20px;
}

.section-container {
    max-width: 1380px;
    margin: 0 auto;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, white 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

#hero .hero-content {
    text-align: center;
    z-index: 2;
}

#hero h1 {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 72px;
    margin-bottom: 20px;
}

#hero p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 30px;
}

#hero img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3;
}

/* Two-Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-column img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.two-column img:hover {
    transform: translateY(-8px);
    filter: brightness(1.05);
}

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse > * {
    direction: ltr;
}

/* Grid for Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-1);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.1);
}

.product-card img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.product-card p {
    font-size: 16px;
    color: var(--text-light);
}

/* Table */
.components-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.components-table thead {
    background-color: var(--accent-3);
}

.components-table th {
    padding: 16px;
    text-align: left;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-dark);
}

.components-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 16px;
}

.components-table tr:last-child td {
    border-bottom: none;
}

.components-table tr:hover {
    background-color: var(--primary-light);
}

/* Checklist */
.checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.checklist-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
}

.checklist-item::before {
    content: "✓";
    color: var(--accent-1);
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
}

/* FAQ */
.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--primary-light);
    padding: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--accent-3);
}

.faq-question h4 {
    margin: 0;
}

.faq-toggle {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 16px;
    display: none;
    background: white;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

/* Disclaimer */
#disclaimer {
    background-color: var(--accent-3);
}

#disclaimer h2 {
    color: var(--primary-dark);
}

.disclaimer-box {
    background: white;
    border-left: 4px solid var(--accent-1);
    padding: 24px;
    border-radius: 4px;
    margin-top: 20px;
}

.disclaimer-box p {
    font-size: 16px;
    line-height: 1.8;
}

/* CTA Button */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-1) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-1);
    border: 2px solid var(--accent-1);
}

.btn-secondary:hover {
    background: var(--accent-1);
    color: white;
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Footer */
footer {
    background-color: #f5f5f5;
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
}

.footer-container {
    max-width: 1380px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.footer-section p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 14px;
    color: var(--accent-1);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-light);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.modal-header h2 {
    margin: 0;
    color: var(--primary-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--primary-dark);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 20px;
    display: none;
    z-index: 1999;
    animation: slideUp 0.3s ease;
}

.cookie-banner.show {
    display: block;
}

.cookie-container {
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    font-size: 14px;
    color: var(--text-light);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-buttons button {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-accept {
    background-color: var(--accent-1);
    color: white;
}

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

.cookie-decline {
    background-color: transparent;
    color: var(--accent-1);
    border: 2px solid var(--accent-1);
}

.cookie-decline:hover {
    background-color: var(--accent-1);
    color: white;
}

.cookie-more {
    background-color: transparent;
    color: var(--text-light);
    text-decoration: underline;
}

/* Toast/Thank You */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-1);
    color: white;
    padding: 16px 24px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 3000;
    display: none;
    animation: slideIn 0.3s ease;
}

.toast.show {
    display: block;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
    }
    to {
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 24px;
    }

    p {
        font-size: 16px;
    }

    section {
        padding: 80px 20px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .checklist {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cookie-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: flex-end;
    }

    #hero {
        min-height: auto;
        padding: 100px 20px 60px;
    }

    #hero h1 {
        font-size: 40px;
    }

    .hero-content {
        z-index: 3;
    }

    .modal-content {
        width: 95%;
        padding: 24px;
    }
}
