/* ===================================
   AX Control - Landing Page
   =================================== */

/* Header */
.header {
    background: var(--bg2);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: inline-flex;
    align-items: center;
}

.logo-image {
    width: auto;
    height: 42px;
    display: block;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    display: block;
}

.nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav a {
    color: var(--text);
    font-weight: 600;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--accent);
}

.nav .btn {
    margin: 0;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    /* gap: 40px; */
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-content h2 {
    font-size: 40px;
    font-weight: var(--font-weight-extra-bold);
    font-family: var(--font-family-base), 'Inter', sans-serif;
    letter-spacing: 0;
    margin: 0 0 24px 0;
    line-height: 1.2;
    color: var(--text);
}

.hero-title-mobile {
    display: none;
}

.hero-content p {
    font-size: 18px;
    color: var(--muted);
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.hero-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: center;
    justify-items: start;
}

.store-badge {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    width: fit-content;
    transition: transform 0.2s, opacity 0.2s;
}

.store-badge img {
    width: auto;
    max-width: 240px;
    height: auto;
    max-height: 66px;
    display: block;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
    object-fit: contain;
}

.store-badge:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.desktop-downloads {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 560px;
}

.download-badge {
    background: linear-gradient(145deg, rgba(28, 39, 66, 0.95), rgba(13, 20, 39, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    color: var(--text);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.download-badge:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.34);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

.download-platform {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.download-file {
    font-size: 14px;
    color: var(--muted);
}

.desktop-downloads-mobile {
    display: none;
}

.btn-android {
    background: var(--accent);
    color: var(--bg);
    padding: 14px 28px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-android:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.14);
}

.btn-iphone,
.btn-resources {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--line);
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-iphone:hover,
.btn-resources:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

.store-logo {
     width: 20px;
     height: 20px;
     object-fit: contain;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 24px;
}

.hero-visual .hero-buttons {
    justify-content: center;
    width: 100%;
    gap: 40px;
}

.hero-buttons-mobile {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.hero-carousel {
    width: 100%;
    max-width: 700px;
    position: relative;
}

.device-frame {
    position: relative;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 4 / 3;
    --frame-image: none;
    --screen-left: 2.4%;
    --screen-right: 2.4%;
    --screen-top: 3%;
    --screen-bottom: 3%;
    --screen-radius: 20px;
    background: linear-gradient(145deg, #1b2437, #111a2d);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 34px;
    box-shadow: 0 30px 55px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.device-canvas {
    position: absolute;
    left: var(--screen-left);
    right: var(--screen-right);
    top: var(--screen-top);
    bottom: var(--screen-bottom);
    z-index: 3;
    border-radius: var(--screen-radius);
    overflow: hidden;
}

.device-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image: var(--frame-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.device-screen {
    width: 100%;
    height: 100%;
    position: relative;
    background: #070d1b;
    border-radius: var(--screen-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.device-frame-mockup {
    --screen-left: 4.9%;
    --screen-right: 4.9%;
    --screen-top: 6.4%;
    --screen-bottom: 6.4%;
    --screen-radius: 12px;
    border: none;
    background: transparent;
    box-shadow: 0 30px 55px rgba(0, 0, 0, 0.38);
}

.device-frame-mockup .device-screen {
    border: none;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.98);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.shot-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    background: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.08), transparent 40%), linear-gradient(140deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.shot-placeholder strong {
    font-size: 22px;
    letter-spacing: 0.6px;
    margin-bottom: 10px;
}

.shot-placeholder p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    max-width: 420px;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(180deg, rgba(12, 20, 44, 0.98), rgba(4, 10, 26, 0.92));
    color: var(--text);
    font-size: 22px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.carousel-control:hover {
    border-color: rgba(255, 255, 255, 0.42);
    transform: translateY(-50%) scale(1.04);
}

.carousel-control.prev {
    left: -26px;
}

.carousel-control.next {
    right: -26px;
    border-color: rgba(104, 175, 255, 0.34);
    background: linear-gradient(135deg, rgba(26, 91, 166, 0.98), rgba(4, 10, 26, 0.92));
    box-shadow:
        0 16px 32px rgba(12, 74, 136, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.carousel-control.next:hover {
    border-color: rgba(104, 175, 255, 0.6);
    box-shadow:
        0 18px 34px rgba(12, 74, 136, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.carousel-dots {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    cursor: pointer;
    transition: all 0.25s;
}

.carousel-dot.is-active {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.85);
    width: 28px;
}

@media (max-width: 768px) {
    .store-buttons {
        gap: 8px;
        flex-wrap: wrap;
    }

    .store-link {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background: transparent;
}

.features h2 {
    font-size: 40px;
    font-family: var(--font-family-base), 'Inter', sans-serif;
    font-weight: var(--font-weight-extra-bold);
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 8px 14px;
    align-items: start;
    text-align: left;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
    grid-row: 1 / span 2;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 19px;
    margin: 0;
    color: var(--text);
    align-self: center;
}

.feature-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
}

.how-it-works h2 {
    font-size: 40px;
    font-family: var(--font-family-base), 'Inter', sans-serif;
    font-weight: var(--font-weight-extra-bold);
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 60px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.step {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    text-align: left;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px 12px;
    align-items: center;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.step:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--text);
    color: var(--bg);
    font-weight: 800;
    font-size: 15px;
    border-radius: 50%;
    margin: 0;
    grid-column: 1;
    grid-row: 1;
}

.step h3 {
    font-size: 20px;
    margin: 0;
    grid-column: 2;
    grid-row: 1;
}

.step p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 2px 0 0 0;
    grid-column: 1 / -1;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq h2 {
    font-size: 40px;
    font-family: var(--font-family-base), 'Inter', sans-serif;
    font-weight: var(--font-weight-extra-bold);
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.faq-item h4 {
    font-size: 16px;
    margin: 0 0 12px 0;
    color: var(--text);
    cursor: pointer;
    transition: color 0.3s;
}

.faq-item h4:hover {
    color: var(--text);
}

.faq-item p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--bg2);
    border-top: 1px solid var(--line);
    padding: 60px 0 20px 0;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-section p,
.footer-section ul {
    color: var(--muted);
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--muted);
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--text);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

/* Responsivo */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        /* gap: 40px; */
    }

    .hero-visual {
        order: 2;
    }

    .hero-content {
        order: 1;
    }

    .hero-buttons {
        display: none;
    }

    .hero-buttons-mobile {
        display: flex;
    }

    .desktop-downloads {
        display: none;
    }

    .desktop-downloads-mobile {
        display: grid;
        width: 100%;
        max-width: none;
        margin-top: 12px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }

    .header-content {
        position: relative;
        justify-content: center;
        gap: 12px;
        min-height: 40px;
    }

    .logo {
        margin: 0 auto;
    }

    .menu-toggle {
        display: inline-flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .logo-image {
        height: 32px;
    }

    .nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        background: var(--bg2);
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 12px;
        box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28);
    }

    .header-content.menu-open .nav {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .nav a {
        display: block;
        padding: 10px 12px;
        border-radius: 10px;
    }

    .nav .btn {
        width: 100%;
        text-align: center;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-content h2 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-buttons {
        display: none;
    }

    .hero-buttons-mobile {
        display: grid;
    }

    .device-frame {
        max-width: 100%;
        border-color: rgba(255, 255, 255, 0.1);
    }

    .device-screen {
        border-color: rgba(255, 255, 255, 0.08);
    }

    .carousel-control {
        display: none;
    }

    .carousel-dots {
        margin-top: 22px;
    }

    .store-badge {
        width: 100%;
        min-width: 0;
    }

    .store-badge img {
        width: 100%;
        max-width: 100%;
        max-height: 60px;
    }

    .desktop-downloads-mobile {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .btn-android,
    .btn-iphone,
    .btn-resources {
        width: 100%;
        justify-content: center;
    }

    .features h2,
    .how-it-works h2,
    .faq h2 {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .feature-card h3 {
        font-size: 17px;
    }

    .feature-card p,
    .step p,
    .faq-item p,
    .footer-section p,
    .footer-section ul,
    .footer-bottom {
        font-size: 13px;
    }

    .features,
    .how-it-works,
    .faq {
        padding: 40px 0;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .step {
        padding: 18px;
        grid-template-columns: 30px 1fr;
        gap: 8px 10px;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .step h3 {
        font-size: 16px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav a {
        font-size: 14px;
    }

    .hero-content h2 {
        font-size: 22px;
        text-align: center;
    }

    .hero-title-desktop {
        display: none;
    }

    .hero-title-mobile {
        display: inline;
    }

    .hero-content p {
        font-size: 14px;
    }

    .store-badge {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .store-badge img {
        width: 100%;
        max-width: 100%;
        max-height: 56px;
    }

    .device-frame {
        border-color: rgba(255, 255, 255, 0.08);
        border-radius: 26px;
    }

    .device-screen {
        border-color: rgba(255, 255, 255, 0.06);
        border-radius: 16px;
    }

    .features h2,
    .how-it-works h2,
    .faq h2 {
        font-size: 21px;
        margin-bottom: 24px;
        text-align: center;
    }

    .feature-card h3,
    .step h3 {
        font-size: 15px;
    }

    .btn-large {
        padding: 12px 24px;
        font-size: 14px;
    }

    .footer {
        margin-top: 24px;
        padding: 24px 0 12px 0;
    }

    .footer-content {
        gap: 20px;
        margin-bottom: 20px;
    }

    .footer-section h4 {
        margin-bottom: 8px;
    }

    .footer-section ul li {
        margin-bottom: 5px;
    }

    .footer-bottom {
        padding-top: 12px;
    }
