/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #0037ff, #ae00ff);
    color: white;
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 55, 255, 0.3);
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border-color: #dee2e6;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #0037ff;
    border-color: #0037ff;
}

.btn-outline:hover {
    background: #0037ff;
    color: white;
    transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

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

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.close-btn:hover {
    color: #333;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-category h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.cookie-category p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

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

input:checked + .slider {
    background-color: #0037ff;
}

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

input:disabled + .slider {
    background-color: #0037ff;
    cursor: not-allowed;
}

.modal-footer {
    text-align: right;
    margin-top: 20px;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0037ff;
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

.menu-icon {
    width: 24px;
    height: 24px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0037ff, #ae00ff);
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons .btn {
    min-width: 180px;
}

.hero-buttons .btn-outline {
    color: white;
    border-color: white;
}

.hero-buttons .btn-outline:hover {
    background: white;
    color: #0037ff;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #0037ff, #ae00ff);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.header-content {
    max-width: 600px;
    margin: 0 auto;
}

.header-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    fill: white;
}

.header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.header-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Thank You Page */
.thank-you {
    padding: 80px 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 30px;
}

.success-icon {
    width: 80px;
    height: 80px;
    fill: #28a745;
}

.thank-you-content h1 {
    color: #333;
    margin-bottom: 20px;
}

.thank-you-content p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.thank-you-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.thank-you-info h3 {
    color: #333;
    margin-bottom: 20px;
}

.thank-you-info ul {
    list-style: none;
    text-align: left;
}

.thank-you-info li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.thank-you-info li:last-child {
    border-bottom: none;
}

.thank-you-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.recommended-lifehacks {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Legal Pages */
.legal-page {
    padding: 80px 0;
    background: #f8f9fa;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #0037ff;
}

.legal-header h1 {
    color: #333;
    margin-bottom: 10px;
}

.legal-header p {
    color: #666;
    margin: 0;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.legal-section h3 {
    color: #0037ff;
    margin-bottom: 15px;
}

.legal-section ul {
    padding-left: 20px;
}

.legal-section li {
    margin-bottom: 8px;
    color: #666;
}

.legal-section a {
    color: #0037ff;
    text-decoration: none;
}

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

/* Lifehacks Content */
.lifehacks-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.lifehacks-list {
    max-width: 800px;
    margin: 0 auto;
}

.lifehack-item {
    background: white;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.lifehack-icon-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0037ff, #ae00ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lifehack-icon {
    width: 40px;
    height: 40px;
    fill: white;
}

.lifehack-content h3 {
    color: #333;
    margin-bottom: 15px;
}

.lifehack-content p {
    color: #666;
    margin-bottom: 20px;
}

.lifehack-steps {
    list-style: none;
    padding: 0;
}

.lifehack-steps li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.lifehack-steps li:last-child {
    border-bottom: none;
}

.lifehack-steps li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0037ff;
    font-weight: bold;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.about-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    fill: #0037ff;
}

.about-card h3 {
    color: #333;
    margin-bottom: 15px;
}

.about-card p {
    color: #666;
    margin: 0;
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
}

.advantage-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0037ff, #ae00ff);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-item h3 {
    color: #333;
    margin-bottom: 15px;
}

.advantage-item p {
    color: #666;
    margin: 0;
}

/* Lifehacks Section */
.lifehacks {
    padding: 80px 0;
    background: #f8f9fa;
}

.lifehacks-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-button {
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.tab-button.active {
    background: linear-gradient(135deg, #0037ff, #ae00ff);
    color: white;
    border-color: transparent;
}

.tab-button:hover:not(.active) {
    border-color: #0037ff;
    color: #0037ff;
}

.tab-icon {
    width: 20px;
    height: 20px;
}

.tab-content {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

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

.lifehack-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.lifehack-card:hover {
    transform: translateY(-5px);
}

.lifehack-icon {
    width: 50px;
    height: 50px;
    margin: 0;
    fill: #0037ff;
}

.lifehack-card h3 {
    color: #333;
    margin-bottom: 15px;
}

.lifehack-card p {
    color: #666;
    margin: 0;
}

.tab-footer {
    text-align: center;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
}

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

.review-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.review-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}

.star {
    width: 20px;
    height: 20px;
    fill: #ffd700;
}

.review-card p {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f0f0;
    padding: 10px;
}

.review-info h4 {
    margin: 0;
    color: #333;
}

.review-info span {
    color: #666;
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #0037ff, #ae00ff);
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.newsletter-text h2 {
    margin-bottom: 15px;
}

.newsletter-text p {
    margin: 0;
    opacity: 0.9;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.newsletter-form input {
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button {
    grid-column: 1 / -1;
    background: white;
    color: #0037ff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    fill: #0037ff;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 5px;
    color: #333;
}

.contact-details p {
    color: #666;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0037ff;
}

.contact-form textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo {
    width: 30px;
    height: 30px;
    fill: white;
}

.footer-brand h3 {
    margin: 0;
    color: white;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #0037ff;
    transform: translateY(-2px);
}

.social-link img {
    width: 20px;
    height: 20px;
    fill: white;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #0037ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #ccc;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 99;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.show {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 30px;
        padding: 40px 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: block;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        min-width: 200px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lifehacks-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .lifehack-item {
        flex-direction: column;
        text-align: center;
    }

    .lifehack-icon-wrapper {
        margin: 0 auto 20px;
    }

    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }

    .thank-you-actions .btn {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .about-grid,
    .lifehacks-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

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

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

    .cookie-category {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .legal-content {
        padding: 30px 20px;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .header-icon {
        width: 60px;
        height: 60px;
    }

    .lifehack-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .lifehack-icon {
        width: 30px;
        height: 30px;
    }
    [class*="-grid"] {
        grid-template-columns: 1fr;
    }
    body {
        word-break: break-word;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.btn:focus,
input:focus,
textarea:focus,
button:focus {
    outline: 2px solid #0037ff;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .cookie-banner,
    .cookie-modal {
        display: none;
    }
}
