/* ============================================
   MUTAL.FR — Shared Styles
   ============================================ */

:root {
    --color-bg: #000000;
    --color-surface: #0a0a0a;
    --color-surface-hover: #141414;
    --color-gold: #FFD700;
    --color-gold-light: #C9A200;
    --color-green: #4CAF50;
    --color-green-light: #81C784;
    --color-text: #e0e0e0;
    --color-text-muted: #888888;
    --color-border: #222222;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --nav-height: 60px;
    --max-width: 1100px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.75;
}

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

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-inner {
    width: 100%;
    max-width: var(--max-width);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar-logo img {
    height: 32px;
    width: 32px;
    border-radius: 6px;
}

.navbar-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.navbar-links a {
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s ease;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--color-gold);
    opacity: 1;
    border-bottom-color: var(--color-gold);
}

.navbar-links a.lang-switch {
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    letter-spacing: 1px;
}

.navbar-links a.lang-switch:hover {
    border-color: var(--color-gold);
    border-bottom-color: var(--color-gold);
}

/* Burger menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   MAIN CONTENT
   ============================================ */

main {
    flex: 1;
    margin-top: var(--nav-height);
    width: 100%;
}

.section {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 24px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

/* ============================================
   HERO
   ============================================ */

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 40px;
}

.hero-title {
    font-size: 3rem;
    color: var(--color-gold);
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.hero-logo {
    width: 180px;
    height: 180px;
    border-radius: 24px;
    margin-bottom: 24px;
}

.hero-tagline {
    font-size: 20px;
    font-style: italic;
    color: var(--color-gold-light);
    letter-spacing: 1px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.hero-release {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-green);
    background: rgba(76, 175, 80, 0.12);
    border: 1px solid rgba(76, 175, 80, 0.35);
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.hero-release-note {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.btn-primary {
    background: var(--color-gold);
    color: #000;
}

.btn-primary:hover {
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

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

.btn-outline:hover {
    background: rgba(255, 215, 0, 0.08);
}

/* ============================================
   MODULES
   ============================================ */

.modules .section-title,
.modules .section-subtitle {
    text-align: center;
}

.modules .section-subtitle {
    margin-bottom: 60px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.module-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 64px 0;
    border-top: 1px solid var(--color-border);
}

.module-row:first-of-type {
    border-top: none;
}

.module-ipad,
.module-iphone {
    display: flex;
    justify-content: center;
}

.module-ipad img {
    width: 100%;
    max-width: 480px;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-border);
}

.module-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.module-iphone img {
    width: 100%;
    max-width: 260px;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-border);
}

.module-name {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--color-gold);
}

.module-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.module-row[data-module="script"] .module-name { color: #FF4747; }
.module-row[data-module="trig"]   .module-name { color: #FF941F; }
.module-row[data-module="slice"]  .module-name { color: #FFD100; }
.module-row[data-module="play"]   .module-name { color: #4CD966; }
.module-row[data-module="rf"]     .module-name { color: #00CCD1; }
.module-row[data-module="files"]  .module-name { color: #408CFF; }

.module-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
}

.module-badge {
    display: inline-block;
    margin-top: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 6px 14px;
    border-radius: 999px;
}

/* ============================================
   PRICING
   ============================================ */

.pricing .section-title,
.pricing .section-subtitle {
    text-align: center;
}

.pricing .section-subtitle {
    margin-bottom: 48px;
}

.pricing-table {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    overflow: hidden;
}

.pricing-head {
    padding: 28px 20px;
    background: #0d0d0d;
    border-bottom: 1px solid var(--color-border);
}

.pricing-head.plan-col {
    text-align: center;
}

.pricing-head.pro-col {
    background: rgba(255, 215, 0, 0.06);
    border-left: 1px solid var(--color-border);
}

.plan-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.pro-col .plan-name {
    color: var(--color-gold);
}

.plan-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
}

.pro-col .plan-price {
    color: var(--color-gold);
}

.plan-alt {
    margin-top: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.plan-alt strong {
    color: var(--color-text);
    font-weight: 600;
    margin: 0 4px;
}

.savings-badge {
    display: inline-block;
    margin-left: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-green);
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.4);
    padding: 2px 8px;
    border-radius: 999px;
}

.pricing-cell {
    padding: 14px 20px;
    font-size: 14px;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
}

.pricing-cell.feat {
    color: var(--color-text);
}

.pricing-cell.free,
.pricing-cell.pro {
    justify-content: center;
    text-align: center;
    color: var(--color-text);
}

.pricing-cell.pro {
    background: rgba(255, 215, 0, 0.04);
    border-left: 1px solid var(--color-border);
    font-weight: 500;
    color: var(--color-gold-light);
}

.pricing-cell.dash {
    color: var(--color-text-muted);
}

.pricing-cell.check {
    color: var(--color-green);
    font-weight: 700;
}

.pricing-cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.pricing-legal {
    text-align: center;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 16px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ============================================
   SUPPORT SECTION
   ============================================ */

.support-section {
    text-align: center;
    padding: 60px 24px;
    border-top: 1px solid var(--color-border);
}

.support-section a {
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    border-top: 1px solid var(--color-border);
    padding: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer a {
    color: var(--color-gold-light);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .navbar-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.96);
        flex-direction: column;
        padding: 16px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--color-border);
    }

    .navbar-links.open {
        display: flex;
    }

    .burger {
        display: flex;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
    }

    .hero-tagline {
        font-size: 17px;
    }

    .section {
        padding: 40px 16px;
    }

    .section-title {
        font-size: 22px;
    }

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

    .hero-release {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .module-row {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 44px 0;
    }

    .module-right {
        gap: 28px;
    }

    .module-name {
        font-size: 26px;
        text-align: center;
    }

    .module-desc {
        text-align: center;
        font-size: 15px;
    }

    .module-ipad img {
        max-width: 320px;
    }

    .module-iphone img {
        max-width: 200px;
    }

    .pricing-table {
        grid-template-columns: 1.4fr 0.8fr 0.8fr;
    }

    .pricing-head {
        padding: 20px 10px;
    }

    .plan-price {
        font-size: 17px;
    }

    .plan-alt {
        font-size: 11px;
    }

    .savings-badge {
        display: block;
        margin: 6px auto 0;
        width: fit-content;
    }

    .pricing-cell {
        padding: 12px 10px;
        font-size: 13px;
    }
}
