/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables */
:root {
    --primary: #00ff88;
    --primary-dark: #00cc6a;
    --black: #000000;
    --gray-900: #0a0a0a;
    --gray-800: #1a1a1a;
    --gray-700: #2a2a2a;
    --gray-600: #3a3a3a;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --white: #ffffff;
    --spacing: 8px;
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar customizada */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--gray-900);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 6px;
    border: 2px solid var(--gray-900);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--gray-900);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-800);
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 48px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 40px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.2s;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.btn-text {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.btn-text:hover {
    color: var(--primary);
}

/* Menu Toggle (escondido em desktop) */
.menu-toggle {
    display: none;
}

/* Menu Overlay (mobile) */
.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--gray-700);
}

.btn-secondary:hover {
    border-color: var(--gray-600);
    background: var(--gray-900);
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 18px;
    color: var(--gray-400);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-graphic {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.graphic-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.circle-1 {
    width: 400px;
    height: 400px;
    animation: rotate 20s linear infinite;
}

.circle-2 {
    width: 300px;
    height: 300px;
    animation: rotate 15s linear infinite reverse;
}

.circle-3 {
    width: 200px;
    height: 200px;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.graphic-icon {
    position: relative;
    z-index: 10;
    width: 160px;
    height: 160px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 
        0 0 0 1px rgba(0, 255, 136, 0.2),
        0 0 60px rgba(0, 255, 136, 0.3),
        inset 0 0 60px rgba(0, 255, 136, 0.1);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 0 1px rgba(0, 255, 136, 0.2),
            0 0 60px rgba(0, 255, 136, 0.3),
            inset 0 0 60px rgba(0, 255, 136, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 0 0 1px rgba(0, 255, 136, 0.3),
            0 0 80px rgba(0, 255, 136, 0.4),
            inset 0 0 80px rgba(0, 255, 136, 0.15);
    }
}

/* Stats Section */
.stats {
    padding: 80px 0;
    border-top: 1px solid var(--gray-800);
    border-bottom: 1px solid var(--gray-800);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Diferenciais Section */
.differentials {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--black) 0%, var(--gray-900) 50%, var(--black) 100%);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.differential-card {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.differential-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.15);
}

.differential-card.highlight {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 204, 106, 0.05) 100%);
    border-color: var(--primary);
}

.differential-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.differential-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
}

.differential-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-400);
}

.differential-card.highlight p {
    color: var(--gray-300);
}

.differential-card p strong {
    color: var(--primary);
    font-weight: 600;
}

/* Products Section */
.products {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-400);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

.product-image {
    width: 100%;
    height: 240px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 32px;
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-description {
    font-size: 15px;
    color: var(--gray-400);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.3s;
}

.product-card:hover .product-cta {
    gap: 12px;
}

.product-specs {
    list-style: none;
}

.product-specs li {
    font-size: 14px;
    color: var(--gray-500);
    padding: 8px 0;
    border-top: 1px solid var(--gray-800);
}

.product-specs li:first-child {
    border-top: none;
}

/* Tracking Section */
.tracking {
    padding: 120px 0;
    background: var(--gray-900);
}

.tracking-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.tracking-header {
    text-align: center;
    margin-bottom: 48px;
}

.tracking-form {
    background: var(--black);
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 6px;
    color: var(--white);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input::placeholder {
    color: var(--gray-600);
}

/* App Download Section */
.app-download {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--black) 0%, var(--gray-900) 50%, var(--black) 100%);
    border-top: 1px solid var(--gray-800);
    position: relative;
    overflow: hidden;
}

.app-download::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.app-download-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Phone Mockup */
.app-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    position: relative;
    width: 320px;
    height: 650px;
}

.phone-frame {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 0 0 8px rgba(0, 0, 0, 0.8),
        0 0 0 10px rgba(255, 255, 255, 0.05),
        0 30px 80px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 28px;
    background: #000;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    padding: 36px 20px 20px;
    display: flex;
    flex-direction: column;
}

.app-header-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.app-logo-preview {
    height: 24px;
    width: auto;
}

.app-menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.app-menu-icon span {
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.app-hero-preview h1 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 12px;
    color: var(--white);
}

.app-hero-preview p {
    font-size: 12px;
    color: var(--gray-400);
    line-height: 1.5;
    margin-bottom: 24px;
}

.app-features-preview {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    font-size: 11px;
    color: var(--gray-300);
    line-height: 1.3;
}

.feature-badge svg {
    color: var(--primary);
    flex-shrink: 0;
}

.phone-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* App Content */
.app-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    width: fit-content;
}

.app-badge svg {
    flex-shrink: 0;
}

.app-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.02em;
}

.app-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-400);
}

.app-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 32px 0;
    border-top: 1px solid var(--gray-800);
    border-bottom: 1px solid var(--gray-800);
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-stars {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.download-btn:hover {
    border-color: var(--primary);
    transform: translateX(8px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.btn-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.google-play .btn-icon {
    color: var(--primary);
}

.app-store .btn-icon {
    color: var(--white);
}

.btn-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.btn-label {
    font-size: 11px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-store {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
}

/* Tracking Result */
.tracking-result {
    margin-top: 32px;
    background: var(--black);
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    padding: 40px;
}

.result-header {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-800);
    margin-bottom: 24px;
}

.result-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.status-processando { background: rgba(251, 191, 36, 0.1); color: #fbbf24; }
.status-em-separacao { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.status-em-transporte { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.status-saiu-para-entrega { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.status-entregue { background: rgba(34, 197, 94, 0.1); color: #22c55e; }

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.result-item {
    padding: 16px;
    background: var(--gray-900);
    border-radius: 8px;
}

.result-label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.result-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
}

.qr-section {
    padding-top: 32px;
    border-top: 1px solid var(--gray-800);
}

.qr-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.qr-options {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.qr-container {
    text-align: center;
    margin-top: 24px;
}

#qrcode {
    display: inline-block;
    padding: 24px;
    background: white;
    border-radius: 8px;
    margin-bottom: 24px;
}

.qr-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Modal Sobre */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-sobre {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 16px;
    padding: 48px;
    max-width: 700px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: var(--gray-800);
    color: var(--white);
}

.modal-sobre h2 {
    font-size: 32px;
    margin-bottom: 32px;
    color: var(--white);
    text-align: center;
}

.modal-sobre-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.modal-sobre-content strong {
    color: var(--primary);
    font-weight: 600;
}

.modal-sobre-cta {
    font-size: 19px;
    font-weight: 600;
    color: var(--white);
    margin-top: 32px;
    text-align: center;
}

/* Modal Legal (Termos, Privacidade) */
.modal-legal {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 16px;
    padding: 40px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

/* Scrollbar profissional para modal legal */
.modal-legal::-webkit-scrollbar {
    width: 8px;
}

.modal-legal::-webkit-scrollbar-track {
    background: var(--gray-800);
    border-radius: 0 16px 16px 0;
}

.modal-legal::-webkit-scrollbar-thumb {
    background: var(--gray-700);
    border-radius: 4px;
}

.modal-legal::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Firefox */
.modal-legal {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-700) var(--gray-800);
}

.modal-legal h2 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--white);
}

.last-update {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 32px;
    font-style: italic;
}

.modal-legal-content h3 {
    font-size: 18px;
    color: var(--primary);
    margin-top: 32px;
    margin-bottom: 16px;
}

.modal-legal-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-300);
    margin-bottom: 16px;
}

.modal-legal-content ul {
    margin: 16px 0 16px 24px;
    color: var(--gray-300);
}

.modal-legal-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.modal-legal-content a {
    color: var(--primary);
    text-decoration: none;
}

.modal-legal-content a:hover {
    text-decoration: underline;
}

.terms-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.terms-footer p {
    margin-bottom: 8px;
    color: var(--gray-400);
}

.terms-footer strong {
    color: var(--primary);
}

/* Footer */
.footer {
    padding: 80px 0 32px;
    border-top: 1px solid var(--gray-800);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-text {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--gray-500);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 8px;
    font-size: 14px;
    transform: translateX(400px);
    transition: transform 0.3s;
    z-index: 10000;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-color: var(--primary);
}

.toast.error {
    border-color: #ef4444;
}

/* Loading */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-800);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gray-900);
    border-top: 1px solid var(--gray-800);
    padding: 24px;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.cookie-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.cookie-text p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
    margin: 0;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 10px 24px;
    font-size: 14px;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-title {
        font-size: 48px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* REMOVED DUPLICATE MEDIA QUERY - KEEPING ONLY THE CLEAN ONE AT THE END */

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.video-modal.show {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    background: var(--gray-900);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--gray-800);
}

.video-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--gray-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: all 0.2s;
}

.video-close-btn:hover {
    background: var(--gray-800);
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.1);
}

.video-wrapper {
    position: relative;
    width: 100%;
    background: #000000;
}

.modal-video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 80vh;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: 40px 24px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-wrapper:hover .video-controls {
    opacity: 1;
}

.video-control-btn {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.video-control-btn:hover {
    background: rgba(0, 255, 136, 0.2);
    border-color: var(--primary);
    transform: scale(1.1);
}

.video-progress {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.video-progress-bar {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.1s;
    border-radius: 3px;
}

.video-time {
    font-size: 14px;
    color: var(--white);
    font-weight: 500;
    white-space: nowrap;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.volume-slider {
    width: 100px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--primary);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
    }

    .video-close-btn {
        width: 40px;
        height: 40px;
        top: 12px;
        right: 12px;
    }

    .video-controls {
        padding: 30px 16px 16px;
        gap: 12px;
    }

    .video-control-btn {
        width: 36px;
        height: 36px;
    }

    .video-time {
        font-size: 12px;
    }

    .volume-slider {
        width: 60px;
    }
}


/* ========================================
   SISTEMA DE LOGIN DO CLIENTE
   ======================================== */

/* Modal base */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 16px;
    padding: 32px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 32px;
    color: var(--gray-500);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--white);
}

.btn-login {
    background: var(--primary) !important;
    color: var(--dark) !important;
    padding: 8px 20px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.btn-login:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
}

.modal-small {
    max-width: 450px;
}

.modal-large {
    max-width: 900px;
}

.cliente-info-card {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    padding: 24px;
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-800);
}

.info-header h3 {
    margin: 0;
    color: var(--white);
    font-size: 24px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 16px;
    color: var(--white);
    font-weight: 500;
}

.chave-section,
.observacoes-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-800);
}

.chave-section h4,
.observacoes-section h4 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 18px;
}

.chave-display {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--dark);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--gray-800);
}

.chave-display code {
    flex: 1;
    font-size: 18px;
    color: var(--primary);
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.observacoes-section p {
    color: var(--gray-300);
    line-height: 1.6;
}

/* Centralizar melhor o menu */
.header-content {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    align-items: center;
    gap: 60px;
}

.logo {
    justify-self: start;
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: center;
    margin-right: -100px;
}

.btn-login {
    justify-self: end;
    margin-left: 80px;
}
    margin-left: auto;
}

/* Dashboard do Cliente */
.painel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-800);
}

.painel-header h3 {
    font-size: 28px;
    margin: 0;
    color: var(--white);
}

.moto-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.dashboard-card {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.dashboard-card.card-destaque {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05) 0%, var(--gray-900) 100%);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.icon-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.icon-warning {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

.icon-primary {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary);
}

.icon-info {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.card-content {
    flex: 1;
}

.card-content h4 {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--white);
}

.text-success {
    color: #22c55e;
}

.text-error {
    color: #ef4444;
}

.card-subtitle {
    font-size: 13px;
    color: var(--gray-500);
    margin: 8px 0 0 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gray-800);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.info-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.info-section {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    padding: 24px;
}

.info-section h4 {
    font-size: 18px;
    margin: 0 0 16px 0;
    color: var(--white);
}

.info-section p {
    color: var(--gray-400);
    margin: 0 0 16px 0;
}

.info-grid-small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.info-grid-small > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-hint {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 8px;
}

.chave-display {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--black);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--gray-800);
    margin-bottom: 8px;
}

.chave-display code {
    flex: 1;
    font-size: 18px;
    color: var(--primary);
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.ultima-atualizacao {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 8px;
    font-size: 14px;
    color: var(--gray-500);
}

/* REMOVED DUPLICATE MEDIA QUERY - KEEPING ONLY THE CLEAN ONE AT THE END */


/* Mobile - Solução Simples */
@media (max-width: 768px) {
    .header-content {
        height: 60px;
    }

    .logo img {
        height: 32px;
    }

    /* Esconder menu desktop */
    .nav {
        display: none;
    }

    /* Mostrar hamburger */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 24px;
        height: 2px;
        background: var(--primary);
        border-radius: 2px;
        transition: all 0.3s;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Menu mobile quando ativo */
    .nav.active {
        display: flex !important;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 20px;
        z-index: 999;
    }

    .nav.active .nav-link {
        padding: 20px 0;
        font-size: 18px;
        text-align: center;
        width: 100%;
        max-width: 300px;
        border-bottom: 1px solid rgba(0, 255, 136, 0.1);
    }

    .nav.active .nav-link:last-child {
        border-bottom: none;
    }

    .nav.active .btn-login {
        background: var(--primary);
        color: var(--black);
        padding: 16px 40px;
        border-radius: 8px;
        margin-top: 20px;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-visual {
        height: 300px;
    }

    .hero-graphic {
        width: 200px;
        height: 200px;
    }

    .circle-1 { width: 200px; height: 200px; }
    .circle-2 { width: 140px; height: 140px; }
    .circle-3 { width: 90px; height: 90px; }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* App Download Mobile */
    .app-download {
        padding: 80px 0;
    }

    .app-download-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .phone-mockup {
        width: 280px;
        height: 570px;
    }

    .app-title {
        font-size: 36px;
    }

    .app-description {
        font-size: 15px;
    }

    .app-stats {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 0;
    }

    .stat-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px;
        background: var(--gray-900);
        border-radius: 8px;
    }

    .stat-box .stat-number {
        font-size: 24px;
        margin: 0;
    }

    .stat-box .stat-label {
        text-align: right;
    }

    .download-btn:hover {
        transform: translateX(0) translateY(-4px);
    }
}
