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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #1a1a1a;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f70fff, #ffc70f);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    color: #b0b0b0;
}

a {
    color: #f70fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffc70f;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #f70fff, #ff6b9d);
    color: #ffffff !important;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e60eff, #ff5a8a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 15, 255, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #ffc70f, #ffb000);
    color: #1a1a1a !important;
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ffb800, #ffa000);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 199, 15, 0.3);
}

.btn-outline {
    background: transparent;
    color: #f70fff;
    border: 2px solid #f70fff;
}

.btn-outline:hover {
    background: #f70fff;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.logo-text {
    background: linear-gradient(135deg, #f70fff, #ffc70f);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #f70fff;
    background: rgba(247, 15, 255, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #f70fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
    z-index: 1;
}

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

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #b0b0b0;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

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

.section-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: block;
}

.page-header {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-header-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: block;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    color: #f70fff;
    margin-bottom: 1rem;
}

.about-stats {
    display: grid;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(247, 15, 255, 0.2);
}

.stat h4 {
    font-size: 2.5rem;
    color: #ffc70f;
    margin-bottom: 0.5rem;
}

/* Grid Layouts */
.advantages-grid,
.experts-grid,
.achievements-grid,
.reviews-grid,
.lifehacks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card,
.expert-card,
.achievement-card,
.review-card,
.lifehack-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.advantage-card:hover,
.expert-card:hover,
.achievement-card:hover,
.review-card:hover,
.lifehack-card:hover {
    transform: translateY(-5px);
    border-color: rgba(247, 15, 255, 0.3);
    box-shadow: 0 10px 30px rgba(247, 15, 255, 0.1);
}

.expert-card h4 {
    color: #ffc70f;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.review-rating {
    color: #ffc70f;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card h4 {
    color: #f70fff;
    font-style: italic;
    font-weight: normal;
    margin-top: 1rem;
}

/* Life Hacks Specific */
.category-section {
    margin-bottom: 4rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #ffc70f;
    font-size: 1.1rem;
}

.rating-text {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.difficulty {
    background: rgba(255, 199, 15, 0.1);
    color: #ffc70f;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-top: 1rem;
}

/* Subscription Section */
.subscription {
    background: linear-gradient(135deg, rgba(247, 15, 255, 0.1), rgba(255, 199, 15, 0.1));
}

.subscription-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.subscription-form {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #e0e0e0;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f70fff;
    box-shadow: 0 0 0 3px rgba(247, 15, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #808080;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #f70fff;
    border-radius: 4px;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #f70fff;
    font-weight: bold;
}

/* Contact Page */
.contact-section {
    padding: 4rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-details {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.contact-item h3 {
    color: #f70fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-item small {
    color: #808080;
    font-size: 0.8rem;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    color: #e0e0e0;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: rgba(247, 15, 255, 0.1);
    color: #f70fff;
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item h3 {
    color: #f70fff;
    margin-bottom: 1rem;
}

/* Thank You Page */
.thank-you-section {
    padding: 6rem 0;
    text-align: center;
    margin-top: 70px;
}

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

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-message {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
}

.submission-details {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: left;
    border: 1px solid rgba(247, 15, 255, 0.2);
}

.detail-item {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.detail-item strong {
    color: #f70fff;
}

.next-steps {
    margin: 3rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f70fff, #ffc70f);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0 auto 1rem;
}

.while-you-wait {
    background: rgba(255, 199, 15, 0.1);
    padding: 3rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-reminder {
    background: rgba(247, 15, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    border: 1px solid rgba(247, 15, 255, 0.2);
}

.popular-resources {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
}

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

.resource-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: rgba(247, 15, 255, 0.3);
}

.resource-link {
    color: #f70fff;
    font-weight: 500;
    text-decoration: none;
    margin-top: 1rem;
    display: inline-block;
}

.resource-link:hover {
    color: #ffc70f;
}

/* Legal Pages */
.legal-content {
    padding: 4rem 0;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-text h2 {
    color: #f70fff;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.legal-text h3 {
    color: #ffc70f;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text ul {
    margin: 1rem 0 1rem 2rem;
    color: #b0b0b0;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid rgba(247, 15, 255, 0.2);
}

.cookie-table {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.browser-instructions {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.browser-instructions h4 {
    color: #ffc70f;
    margin-bottom: 0.5rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    z-index: 1001;
    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;
    gap: 2rem;
}

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

.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1002;
    backdrop-filter: blur(5px);
}

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

.cookie-modal-content {
    background: #2d2d2d;
    padding: 3rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(247, 15, 255, 0.3);
}

.cookie-option {
    margin: 1rem 0;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e0e0e0;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-end;
}

/* Footer */
.footer {
    background: #0f0f0f;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section h3 {
    color: #f70fff;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: #ffc70f;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #808080;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

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

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

    .section {
        padding: 3rem 0;
    }

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

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .advantages-grid,
    .experts-grid,
    .achievements-grid,
    .reviews-grid,
    .lifehacks-grid {
        grid-template-columns: 1fr;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-modal-content {
        padding: 2rem;
    }

    .cookie-modal-buttons {
        flex-direction: column;
    }
    [class*="-grid"] {
        grid-template-columns: 1fr;
    }
}

option {
    background-color: #1a1a1a;
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .cookie-modal,
    .hamburger,
    .social-links {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        background: white;
        color: black;
    }

    .section {
        background: white;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #f70fff;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #ffffff;
        color: #000000;
        border: 2px solid #000000;
    }

    .btn-secondary {
        background: #000000;
        color: #ffffff;
        border: 2px solid #ffffff;
    }
}
