/* ============================================
   MIXAPPXPANDER WEBSITE STYLING
   ============================================ */

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

:root {
    --primary-color: #03515b;
    --primary-dark: #01202e;
    --primary-light: #11888c;
    --secondary-color: #ff6b35;
    --secondary-light: #ff8c56;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --background-light: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #43a047;
    --warning-color: #ffa726;
    --spacing-unit: 1rem;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 80px;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 6px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .nav-content {
        flex-direction: row;
        gap: 0;
        padding: 0.5rem 0;
        justify-content: space-between;
    }

    .logo img {
        height: 50px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-light) 100%);
        flex-direction: column;
        gap: 0;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        list-style: none;
    }

    .nav-links.active {
        max-height: 500px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a {
        display: block;
        padding: 1rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-text .tagline {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
}

.hero-text .description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

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

.btn {
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero-text .tagline {
        font-size: 1.3rem;
    }
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    padding: 80px 0;
    background-color: var(--background-light);
}

.how-it-works h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.process-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.diagram-section {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.diagram-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 80px 0;
    background-color: white;
}

.features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.feature-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   SUPPORTED CONSOLES SECTION
   ============================================ */
.supported {
    padding: 80px 0;
    background-color: var(--background-light);
}

.supported h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.supported-image {
    display: flex;
    justify-content: center;
}

.desk-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.supported-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.supported-info > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.desk-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.desk-list li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    color: var(--text-dark);
    position: relative;
}

.desk-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.coming-soon {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #fffbea;
    border-left: 4px solid var(--warning-color);
    color: var(--text-dark);
    border-radius: 4px;
}

.disclaimer {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #ffebee;
    border-left: 4px solid #e53935;
    color: var(--text-dark);
    border-radius: 4px;
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .supported-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   DOWNLOAD SECTION
   ============================================ */
.download {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download > .container > p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 20px 40px;
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid white;
}

.download-btn:hover {
    background-color: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

.app-store-icon,
.play-store-icon {
    height: 80px;
}

@media (max-width: 768px) {
    .download h2 {
        font-size: 1.8rem;
    }

    .download-buttons {
        gap: 1rem;
    }

    .download-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: 80px 0;
    background-color: var(--background-light);
}

.faq h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.faq-item {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.faq-item h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PRIVACY POLICY PAGE
   ============================================ */
.privacy-container {
    padding: 60px 0;
    min-height: 80vh;
}

.privacy-article {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-article h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.effective-date {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

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

.privacy-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.privacy-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.privacy-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.policy-list li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    color: var(--text-light);
    position: relative;
    line-height: 1.7;
}

.policy-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.permissions-table {
    background-color: var(--background-light);
    border-radius: 8px;
    overflow: hidden;
    margin: 1.5rem 0;
}

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

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

.permission-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.permission-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-info {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.policy-summary {
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.1), rgba(255, 107, 53, 0.1));
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    color: var(--text-dark) !important;
    line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

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

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 0.95rem;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-light);
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text .tagline {
        font-size: 1.1rem;
    }

    .hero {
        padding: 60px 0;
    }

    .how-it-works,
    .features,
    .supported,
    .download,
    .faq {
        padding: 60px 0;
    }

    .how-it-works h2,
    .features h2,
    .supported h2,
    .download h2,
    .faq h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .privacy-article h1 {
        font-size: 1.8rem;
    }

    .privacy-section h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-unit: 0.8rem;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-text .tagline {
        font-size: 1rem;
    }

    .hero-text .description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero {
        padding: 40px 0;
    }

    .how-it-works,
    .features,
    .supported,
    .download,
    .faq {
        padding: 40px 0;
    }

    .nav-links {
        gap: 0.8rem;
        font-size: 0.85rem;
    }

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

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: var(--spacing-unit);
}

.mt-2 {
    margin-top: calc(var(--spacing-unit) * 2);
}

.mb-1 {
    margin-bottom: var(--spacing-unit);
}

.mb-2 {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.hidden {
    display: none !important;
}
