:root {
    --primary-color: #2C5F8D;
    --secondary-color: #45B7AF;
    --accent-color: #F39C12;
    --background-light: #F8F9FA;
    --background-white: #FFFFFF;
    --background-dark: #1A2332;
    --text-primary: #2C3E50;
    --text-secondary: #5A6C7D;
    --text-light: #95A5A6;
    --success-color: #27AE60;
    --warning-color: #E67E22;
    --border-color: #E1E8ED;
    --shadow-color: rgba(44, 95, 141, 0.1);
}

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

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

#rejectOptionalCookies, #customizeCookies, #closeCookieSettings {
  color: var(--primary-color);
}

.iti {
    width: 100%;
}

.main-header {
    background: var(--background-white);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    height: 50px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.main-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
}

@media screen and (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: var(--background-white);
        box-shadow: -2px 0 10px var(--shadow-color);
        transition: right 0.3s ease;
        padding: 2rem;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--background-white);
    padding: 5rem 0;
}

.hero-content {
    padding: 2rem 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image {
        margin-top: 2rem;
    }
}

.button {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.primary-button {
    background: var(--accent-color);
    color: var(--background-white);
}

.primary-button:hover {
    background: #E8930E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.secondary-button {
    background: transparent;
    color: var(--background-white);
    border: 2px solid var(--background-white);
}

.secondary-button:hover {
    background: var(--background-white);
    color: var(--primary-color);
}

.large-button {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.principles-section,
.getting-started-section,
.simulator-preview-section,
.projects-preview-section,
.lifehacks-preview-section,
.contact-form-section {
    padding: 5rem 0;
}

.principles-section {
    background: var(--background-light);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.principle-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    margin-bottom: 2rem;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.principle-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--background-white);
    font-size: 2rem;
}

.principle-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.principle-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--background-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

@media screen and (max-width: 768px) {
    .step-item {
        flex-direction: column;
        gap: 1rem;
    }
}

.simulator-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.simulator-content {
    padding: 2rem;
}

.simulator-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.simulator-features {
    list-style: none;
    margin: 2rem 0;
}

.simulator-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.simulator-features i {
    color: var(--success-color);
    font-size: 1.25rem;
}

.project-card,
.lifehack-card {
    background: var(--background-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.project-card:hover,
.lifehack-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info,
.lifehack-card {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.project-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    flex-grow: 1;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--secondary-color);
}

.lifehack-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--background-white);
    font-size: 1.5rem;
}

.lifehack-card h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.lifehack-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.section-footer {
    margin-top: 3rem;
}

.form-container {
    background: var(--background-white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.form-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-header p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.required {
    color: var(--warning-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: auto;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-actions {
    margin-top: 2rem;
}

.form-note {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
}

.main-footer {
    background: var(--background-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--background-white);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-menu,
.footer-contacts {
    list-style: none;
}

.footer-menu li,
.footer-contacts li {
    margin-bottom: 0.75rem;
}

.footer-menu a,
.footer-contacts a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover,
.footer-contacts a:hover {
    color: var(--secondary-color);
}

.footer-contacts i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
    .footer-legal {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--secondary-color);
}

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

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

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

.modal-content {
    background: var(--background-white);
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

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

.modal-header,
.modal-body,
.modal-footer {
    padding: 2rem;
}

.modal-header {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.modal-header h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin: 0;
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--background-white);
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

@media screen and (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero .lead {
        font-size: 1rem;
    }
}

.intro-block {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.intro-block h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.intro-block p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.125rem;
}

.project-detail-card {
    background: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-color);
    margin-bottom: 3rem;
    padding: 2rem;
}

.project-detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-white);
    font-size: 2rem;
    flex-shrink: 0;
}

.project-detail-header h3 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin: 0;
}

.project-tag {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--background-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.project-detail-body h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
}

.project-list {
    list-style: none;
    margin: 1rem 0;
}

.project-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    line-height: 1.7;
}

.project-list li:last-child {
    border-bottom: none;
}

.project-insights {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.simulator-controls {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.budget-input-section h3,
.presets-section h3,
.envelopes-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group input {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 1rem;
    font-size: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
}

.input-suffix {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.preset-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.preset-btn {
    flex: 1;
    min-width: 120px;
}

.envelope-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

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

.envelope-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.envelope-name {
    font-weight: 600;
    color: var(--text-primary);
}

.envelope-percentage {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.envelope-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--border-color);
    outline: none;
    margin-bottom: 0.5rem;
}

.envelope-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
}

.envelope-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
}

.envelope-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
}

.total-check {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.allocated-amount {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.total-note {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.simulator-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

@media screen and (max-width: 768px) {
    .simulator-actions {
        flex-direction: column;
    }

    .simulator-actions .button {
        width: 100%;
    }
}

.visualization-panel {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-color);
    position: sticky;
    top: 100px;
}

.visualization-panel h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.chart-wrapper {
    margin-bottom: 2rem;
}

.summary-stats {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--background-light);
    border-radius: 6px;
}

.stat-label {
    font-weight: 600;
    color: var(--text-primary);
}

.stat-value {
    font-weight: 700;
    color: var(--accent-color);
}

.thanks-section {
    padding: 5rem 0;
    text-align: center;
}

.thanks-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 2rem;
}

.thanks-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.thanks-message {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.next-steps {
    max-width: 600px;
    margin: 3rem auto;
}

.next-steps h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.steps-list {
    list-style: none;
    text-align: left;
}

.steps-list li {
    padding: 1rem 1rem 1rem 3rem;
    position: relative;
    margin-bottom: 1rem;
    background: var(--background-light);
    border-radius: 8px;
}

.steps-list li:before {
    content: "✓";
    position: absolute;
    left: 1rem;
    color: var(--success-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.additional-info {
    max-width: 700px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 12px;
}

.additional-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.info-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.info-links a:hover {
    text-decoration: underline;
}

.legal-content-section {
    padding: 3rem 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--background-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-content li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--background-white);
}

.cookie-table th {
    background: var(--primary-color);
    color: var(--background-white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.cookie-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

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

.cookie-settings-cta {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.cookie-settings-cta h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--background-white);
    box-shadow: 0 -2px 10px var(--shadow-color);
    padding: 2rem;
    z-index: 1500;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-consent-text {
    margin-bottom: 1.5rem;
}

.cookie-consent-text h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cookie-consent-text p {
    color: var(--text-secondary);
}

.cookie-consent-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-consent-actions .button {
        width: 100%;
    }
}

.cookie-settings-modal .modal-content {
    max-width: 700px;
}

.cookie-category {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category-header h4 {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--text-light);
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--success-color);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-info h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.method-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.method-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.map-note {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.working-hours {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.working-hours h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.hours-list span {
    font-weight: 600;
    color: var(--text-primary);
}

.faq-section {
    background: var(--background-light);
    padding: 4rem 0;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 10px var(--shadow-color);
    margin-bottom: 2rem;
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.category-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-button {
    background: var(--background-light);
    color: var(--text-primary);
    border: 2px solid transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tab-button:hover {
    background: var(--background-white);
    border-color: var(--primary-color);
}

.tab-button.active {
    background: var(--primary-color);
    color: var(--background-white);
}

.lifehack-detail-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-color);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lifehack-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.lifehack-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.lifehack-icon-large {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-white);
    font-size: 2rem;
}

.lifehack-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--background-white);
}

.lifehack-badge.daily {
    background: var(--accent-color);
}

.lifehack-badge.monthly {
    background: var(--secondary-color);
}

.lifehack-badge.digital {
    background: var(--primary-color);
}

.lifehack-detail-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.lifehack-detail-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.lifehack-tip {
    background: var(--background-light);
    padding: 1rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
    margin-top: 1.5rem;
}

.lifehack-tip strong {
    color: var(--primary-color);
}

.chart-container {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-color);
    margin-bottom: 2rem;
}

.chart-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.chart-note {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
}

.chart-note p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--background-white);
    padding: 4rem 2rem;
    border-radius: 15px;
}

.cta-box h2 {
    color: var(--background-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

@media screen and (max-width: 768px) {
    .form-container {
        padding: 2rem 1.5rem;
    }

    .legal-content {
        padding: 2rem 1.5rem;
    }

    .contact-method-item {
        flex-direction: column;
    }

    .method-icon {
        align-self: flex-start;
    }
}