/* Global Vars */
:root {
    --primary-blue: #4285f4;
    /* Google-like blue from description/screenshot */
    --text-dark: #202124;
    --text-gray: #5f6368;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #dadce0;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-primary {
    background-color: #000;
    color: #fff;
}

.btn-primary:hover {
    background-color: #333;
}

.btn-blue {
    background-color: var(--primary-blue);
    color: #fff;
    padding: 8px 16px;
    /* Slightly smaller for header */
    font-size: 14px;
}

.btn-blue:hover {
    background-color: #3367d6;
    /* Darker shade of google blue */
}

.btn-outline {
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--bg-light);
}

.text-blue {
    color: var(--primary-blue);
}

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

.section-padding {
    padding: 80px 0;
}

/* Header */
header {
    padding: 20px 0;
    border-bottom: 1px solid transparent;
}

.header-inner {
    display: flex;
    justify-content: flex-start;
    /* Changed from space-between */
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-right: auto;
    /* Pushes Nav and Button to the right */
}

.logo span {
    color: var(--primary-blue);
}

nav {
    margin-right: 30px;
    /* Space between Nav and Button */
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

nav a:hover {
    color: var(--primary-blue);
}

/* Burger & Mobile Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-text {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:first-child {
    border-top: 1px solid var(--border-color);
}

.faq-question {
    padding: 30px 20px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--text-gray);
    font-weight: 300;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 24px 20px;
    color: var(--text-gray);
}

/* Contact Page */
.contact-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.contact-box {
    background: transparent;
    padding: 20px 0;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-email {
    font-size: 1.1rem;
    /* Normalized size */
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: underline;
    margin: 10px 0;
    display: inline-block;
}

.contact-email:hover {
    color: #3367d6;
}

.company-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

/* Upgrade Page */
.upgrade-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 60px;
}

.plan-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    background: #fff;
}

.game-container {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

.slider-group {
    margin-bottom: 30px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.slider-val {
    font-weight: 700;
    color: var(--primary-blue);
}

input[type=range] {
    width: 100%;
    cursor: pointer;
    accent-color: var(--primary-blue);
}

.price-display {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
}

.price-period {
    color: var(--text-gray);
    font-size: 18px;
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 15px;
    color: var(--text-gray);
}

.copyright {
    color: #9aa0a6;
    font-size: 14px;
}

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

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

    .header-inner {
        flex-direction: row;
        /* Keep row for logo and burger */
        justify-content: space-between;
        position: relative;
    }

    .burger {
        display: block;
    }

    nav {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 60px;
        /* approximarly header height */
        background-color: var(--bg-white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        z-index: 1000;
        margin-right: 0;
        border-top: 1px solid var(--border-color);
        padding-top: 40px;
    }

    nav ul {
        flex-direction: column;
        gap: 40px;
    }

    .nav-active {
        transform: translateX(0%);
    }

    body.hidden-overflow {
        overflow: hidden;
    }

    /* Burger Animation */
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hide the standalone button in header actions on mobile to avoid duplication or clutter */
    .header-actions .btn {
        display: block;
        /* Keep visible as per design, maybe adjust size if needed */
        font-size: 13px;
        padding: 8px 16px;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(2px);
    transition: opacity 0.3s ease;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.hidden {
    display: none !important;
}