* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Sims 4 Color Palette */
    --primary-green: #00FFA3;
    --primary-cyan: #00D9FF;
    --dark-bg: #0A0E27;
    --darker-bg: #060920;
    --card-bg: rgba(15, 20, 45, 0.8);
    --text-white: #FFFFFF;
    --text-gray: #B8C5D6;
    --accent-purple: #9D4EDD;
    --accent-pink: #FF006E;
    --warning-red: #FF3366;
    --gradient-primary: linear-gradient(135deg, #00FFA3 0%, #00D9FF 100%);
    --gradient-secondary: linear-gradient(135deg, #9D4EDD 0%, #FF006E 100%);
    --gradient-dark: linear-gradient(180deg, #0A0E27 0%, #060920 100%);
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--gradient-dark);
    color: var(--text-white);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 163, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(157, 78, 221, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    gap: 0.5rem;
    background: var(--card-bg);
    padding: 0.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 255, 163, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.lang-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-gray);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--gradient-primary);
    color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(0, 255, 163, 0.4);
}

.lang-btn:hover:not(.active) {
    color: var(--primary-green);
    transform: scale(1.05);
}

/* Floating Plumbobs */
.plumbob {
    position: fixed;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

.plumbob-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.plumbob-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.plumbob-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.plumbob-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.plumbob-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 255, 163, 0.5));
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 10px 30px rgba(0, 255, 163, 0.5));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 15px 40px rgba(0, 255, 163, 0.7));
    }
}

.brand-title {
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.main-title {
    font-size: 4.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 0 60px rgba(0, 255, 163, 0.3);
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-cyan);
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.description {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Download Section */
.download-section {
    padding: 4rem 0;
}

.download-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 3rem;
    border: 2px solid rgba(0, 255, 163, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 700px;
    margin: 0 auto;
    transition: all 0.4s ease;
}

.download-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 163, 0.5);
    box-shadow: 0 30px 80px rgba(0, 255, 163, 0.2);
}

.version-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.version-badge {
    background: var(--gradient-primary);
    color: var(--dark-bg);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 255, 163, 0.4);
}

.release-date {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.download-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.requirements {
    background: rgba(255, 51, 102, 0.1);
    border: 2px solid var(--warning-red);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.requirements-title {
    color: var(--warning-red);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 51, 102, 0.15);
    border-radius: 12px;
    color: var(--warning-red);
    font-weight: 600;
}

.requirement-item .icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.download-btn {
    width: 100%;
    padding: 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 15px;
    color: var(--dark-bg);
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 255, 163, 0.4);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 163, 0.6);
}

.download-btn:active {
    transform: translateY(-1px);
}

.download-icon {
    width: 28px;
    height: 28px;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.link {
    color: var(--primary-cyan);
    text-decoration: none;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.link:hover {
    color: var(--primary-green);
    background: rgba(0, 255, 163, 0.1);
}

/* Tutorials Section */
.tutorials-section {
    padding: 4rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.tutorial-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.5rem;
    border: 2px solid rgba(0, 217, 255, 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
}

.tutorial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 217, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.3);
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(0, 255, 163, 0.2) 0%, rgba(0, 217, 255, 0.2) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.tutorial-card:hover .video-placeholder::before {
    left: 100%;
}

.play-icon {
    width: 60px;
    height: 60px;
    color: var(--primary-green);
    filter: drop-shadow(0 4px 15px rgba(0, 255, 163, 0.5));
    transition: all 0.3s ease;
}

.tutorial-card:hover .play-icon {
    transform: scale(1.2);
}

.tutorial-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.tutorial-description {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Troubleshooting Section */
.troubleshooting-section {
    padding: 4rem 0 6rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    margin-bottom: 1rem;
    border: 2px solid rgba(157, 78, 221, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(157, 78, 221, 0.5);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-purple);
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
}

/* Footer */
.footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 2px solid rgba(0, 255, 163, 0.2);
    background: rgba(6, 9, 32, 0.8);
    backdrop-filter: blur(10px);
}

.footer p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.footer-note {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }

    .brand-title {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .description {
        font-size: 1rem;
    }

    .download-card {
        padding: 2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .tutorials-grid {
        grid-template-columns: 1fr;
    }

    .language-toggle {
        top: 1rem;
        right: 1rem;
    }

    .hero {
        padding: 6rem 0 3rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-green);
    color: var(--dark-bg);
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}
