/* RESET Y VARIABLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3498db;
    --secondary-color: #667eea;
    --accent-color: #f093fb;
    --text-primary: #e9ecef;
    --text-secondary: #ced4da;
    --text-muted: #adb5bd;
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-card: #343a40;
    --border-color: #495057;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-light: 0 2px 8px rgba(0,0,0,0.1);
}

/* FONTS */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* PATRÓN DE FONDO */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(ellipse at 10% 10%, rgba(52, 152, 219, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 10%, rgba(52, 152, 219, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse at 10% 90%, rgba(52, 152, 219, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse at 90% 90%, rgba(52, 152, 219, 0.15) 0%, transparent 50%);
    background-size: 120px 80px, 100px 120px, 100px 120px, 120px 80px;
    opacity: 0.9;
    pointer-events: none;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, transparent 35%, rgba(52, 152, 219, 0.08) 35%, rgba(52, 152, 219, 0.08) 37%, transparent 37%),
        radial-gradient(circle at 80% 20%, transparent 35%, rgba(52, 152, 219, 0.06) 35%, rgba(52, 152, 219, 0.06) 37%, transparent 37%),
        radial-gradient(circle at 20% 80%, transparent 35%, rgba(52, 152, 219, 0.06) 35%, rgba(52, 152, 219, 0.06) 37%, transparent 37%),
        radial-gradient(circle at 80% 80%, transparent 35%, rgba(52, 152, 219, 0.08) 35%, rgba(52, 152, 219, 0.08) 37%, transparent 37%);
    background-size: 60px 60px, 50px 50px, 50px 50px, 60px 60px;
    opacity: 0.8;
    pointer-events: none;
    z-index: -1;
}

/* TIPOGRAFÍA */
h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    position: relative;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.1;
}

h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4.2vw, 2.8rem);
    color: var(--text-secondary);
    margin: 2.5rem 0 2rem 0;
    font-weight: 600;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--text-primary);
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-secondary);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin: 1.2rem 0 0.8rem 0;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

ul, ol {
    margin: 1rem 0 1rem 2rem;
    position: relative;
    z-index: 2;
}

li {
    margin-bottom: 0.5rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--text-primary);
    line-height: 1.6;
}

/* LAYOUT */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* LOGO STYLES */
.logo-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: flex-start;
    position: relative;
    z-index: 9;
}

.logo {
    height: 150px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1) drop-shadow(0 4px 8px rgba(52, 152, 219, 0.3));
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.logo:hover {
    transform: scale(1.02);
    filter: brightness(1.15) drop-shadow(0 5px 10px rgba(52, 152, 219, 0.4));
}

.contact-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 3;
}

.contact-logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1) drop-shadow(0 3px 6px rgba(52, 152, 219, 0.3));
    transition: all 0.3s ease;
}

.contact-logo-img:hover {
    transform: scale(1.02);
    filter: brightness(1.15) drop-shadow(0 4px 8px rgba(52, 152, 219, 0.4));
}

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    position: relative;
    z-index: 5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 8;
}

.hero-text {
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    font-size: clamp(1.4rem, 3.2vw, 2rem);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
    line-height: 1.2;
}

.hero-description {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    position: relative;
    z-index: 10;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.btn {
    font-family: 'Space Grotesk', sans-serif;
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

/* HERO VISUAL */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(102, 126, 234, 0.1));
    border-radius: 40px;
    filter: blur(20px);
    z-index: 1;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 20px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.ar-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 11;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
    opacity: 0;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.ar-video:hover {
    transform: scale(1.02);
}

.screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
    border-radius: 20px;
    z-index: 12;
    pointer-events: none;
}

.video-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    z-index: 13;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* VIDEO FALLBACK STYLES */
.video-play-button:hover {
    background: rgba(0,0,0,0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-fallback {
    border-radius: 20px;
}

/* MOBILE VIDEO OPTIMIZATIONS */
@media (max-width: 768px) {
    .ar-video {
        /* Optimize for mobile performance */
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    .video-play-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

.ar-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    z-index: 10;
}

.floating-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gradient-accent);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 30%;
    animation-delay: 2s;
}

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

/* STEPS GRID */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 5;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    position: relative;
    z-index: 6;
}

.step h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

/* MODEL CARDS */
.model-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(52, 152, 219, 0.05) 100%);
    border-radius: 20px;
    padding: 3.5rem;
    margin: 3rem 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    border: 1px solid rgba(52, 152, 219, 0.2);
    position: relative;
    z-index: 3;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.model-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.5);
}

.model-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

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

.model-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.features, .examples {
    margin: 2rem 0;
}

.features h4, .examples h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.model-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.example-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.example-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.qr-container {
    text-align: center;
}

.qr-code {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.qr-container p {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.full-width-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

/* TECH GRID */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-light);
    position: relative;
    z-index: 3;
}

.tech-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

/* SITUATIONS GRID */
.situations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.situation-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    position: relative;
    z-index: 3;
}

.situation-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* PLANS GRID */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 3;
}

.plan-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* PRICING TABLE */
.pricing-table-container {
    margin-top: 3rem;
    position: relative;
    z-index: 3;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(52, 152, 219, 0.05) 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.pricing-table th {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--gradient-primary);
    color: white;
    padding: 1.8rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pricing-table td {
    font-family: 'Inter', sans-serif;
    padding: 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
}

.pricing-table tr:nth-child(even) {
    background-color: rgba(52, 152, 219, 0.08);
}

.pricing-table tr:hover {
    background-color: rgba(52, 152, 219, 0.15);
    transform: scale(1.005);
    transition: all 0.2s ease;
}

.pricing-note {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    font-weight: 500;
}

.pricing-note-small {
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}

/* PROCESS STEPS */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    position: relative;
    z-index: 3;
}

.process-step h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.process-step .step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-weight: 600;
}

.step-content p {
    font-family: 'Inter', sans-serif;
    margin: 0;
    color: var(--text-secondary);
}

/* INFO BOX STYLES */
.info-box {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(52, 152, 219, 0.08) 100%);
    border-left: 6px solid var(--primary-color);
    padding: 3rem;
    margin: 2.5rem 0;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
    border: 1px solid rgba(52, 152, 219, 0.15);
    position: relative;
    z-index: 3;
    transition: all 0.2s ease;
}

.info-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.info-box h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-primary);
    margin-top: 0;
    font-size: 2rem;
    font-weight: 600;
}

.info-box h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-secondary);
    margin: 1.5rem 0 1rem 0;
    font-weight: 500;
}

/* CONTACT SECTION */
.contact-section {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.15) 0%, rgba(52, 152, 219, 0.08) 100%);
    border: 2px solid rgba(52, 152, 219, 0.4);
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
    margin: 4rem 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    position: relative;
    z-index: 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 45px rgba(0,0,0,0.5);
}

.contact-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--text-primary);
}

.footer-message {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(52, 152, 219, 0.1) 100%);
    color: var(--text-primary);
    padding: 3.5rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
    border: 2px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.footer-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.5);
}

.footer-message p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin: 0;
    font-weight: 400;
}

.footer-message strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .logo-container {
        justify-content: center;
    }
    
    .logo {
        height: 120px;
    }
    
    .contact-logo-img {
        height: 100px;
    }
    
    .model-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .video-indicator {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .live-dot {
        width: 6px;
        height: 6px;
    }
    
    .pricing-table {
        font-size: 0.9rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 0.8rem 0.5rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .logo {
        height: 100px;
    }
    
    .contact-logo-img {
        height: 80px;
    }
    
    .model-card {
        padding: 2rem;
    }
    
    .pricing-table {
        font-size: 0.8rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 0.6rem 0.3rem;
    }
}
