/* =========================================
   VARIABLES & SETUP
========================================= */
:root {
    --primary: #00e5ff;
    --primary-dark: #00b3cc;
    --secondary: #2563eb;
    --accent: #f59e0b;
    --bg-dark: #0a0f1c;
    --bg-card: rgba(20, 25, 40, 0.6);
    --bg-lighter: #111827;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --whatsapp: #25D366;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* =========================================
   TYPOGRAPHY
========================================= */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 800px;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
}

.text-large {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* =========================================
   COMPONENTS
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: #fff;
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 229, 255, 0.3);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-accent {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    border-color: rgba(245, 158, 11, 0.3);
}

/* =========================================
   HEADER
========================================= */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 15, 28, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* =========================================
   MOBILE MENU (HEADER)
========================================= */
.mobile-cta { display: none; }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}
.hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .desktop-cta { display: none !important; }
    .mobile-cta { display: inline-flex; margin-top: 1rem; }
    
    .desktop-nav {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 280px;
        height: 100vh;
        background-color: rgba(10, 15, 28, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -5px 0 25px rgba(0,0,0,0.5);
        gap: 1.5rem;
    }
    
    .desktop-nav.active {
        transform: translateX(0);
    }
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -150px;
    right: -150px;
    animation: float 10s infinite alternate;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -150px;
    left: -150px;
    animation: float 12s infinite alternate-reverse;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

/* KPI Row */
.kpi-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.kpi-item {
    display: flex;
    flex-direction: column;
}

.kpi-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.kpi-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
}

.hero-image {
    width: 100%;
    max-width: 1000px;
    display: block;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.floating {
    animation: float-y 6s ease-in-out infinite;
}

.stat-card {
    position: absolute;
    bottom: 20px;
    left: -20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 4px solid var(--accent);
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

/* =========================================
   SECTIONS: ROI & TECH
========================================= */
.roi-section, .tech-section {
    padding: 3rem 0;
}

.tech-section {
    background-color: var(--bg-lighter);
}

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

.rounded-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}

.benefits-list {
    list-style: none;
    margin-top: 2rem;
}

.benefits-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefit-icon {
    font-size: 2rem;
    background: rgba(255,255,255,0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
    border: 1px solid var(--glass-border);
}

.benefit-text {
    font-size: 1rem;
    color: var(--text-muted);
}

.benefit-text strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.tech-tag {
    padding: 0.5rem 1rem;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
}

/* =========================================
   INTEGRATION SECTION
========================================= */
.integration-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-lighter) 100%);
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mode-card {
    padding: 3rem;
    text-align: left;
    transition: transform 0.3s, border-color 0.3s;
}

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

.mode-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.mode-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.mode-card p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* =========================================
   SPECS SECTION
========================================= */
.specs-section {
    padding: 3rem 0;
}

.specs-panel {
    padding: 4rem;
}

.specs-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.spec-value {
    color: var(--text-main);
    font-size: 1.25rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

/* =========================================
   VIDEO SECTION
========================================= */
.video-section {
    padding: 2rem 0 3rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* =========================================
   DOWNLOAD SECTION
========================================= */
.download-section {
    padding: 3rem 0;
}

.download-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(20, 25, 40, 0.8), rgba(0, 229, 255, 0.05));
}

.download-content {
    flex: 1;
    padding-right: 4rem;
}

.download-content p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
}

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

.download-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.download-image img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
}

.download-image img:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

/* =========================================
   FOOTER
========================================= */
.footer {
    padding: 3rem 0 2rem;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    position: relative;
    border-top: 1px solid var(--glass-border);
}

.footer-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.footer-bottom {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 30px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* =========================================
   ANIMATIONS
========================================= */
@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* =========================================
   RESPONSIVE (MOBILE)
========================================= */
@media (max-width: 992px) {
    .hero-content, .roi-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .subtitle, .section-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions, .kpi-row, .tags-container {
        justify-content: center;
    }
    
    .benefits-list li {
        text-align: left;
    }

    .stat-card {
        left: 50%;
        bottom: -30px;
        transform: translateX(-50%);
        animation: none;
    }

    .download-container, .cards-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    
    .download-container {
        text-align: center;
        padding: 3rem 2rem;
    }

    .download-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .download-buttons {
        justify-content: center;
    }

    .download-image img {
        transform: none;
    }
    
    .specs-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 110px 0 60px;
        min-height: auto;
    }

    .glass-header .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .kpi-row {
        flex-direction: column;
        gap: 1rem;
    }
}
