:root {
    /* Paleta Híbrida: Oscura con detalles divinos */
    --bg-dark: #0D0F16; /* Muy oscuro, casi negro con tono azul marino profundo */
    --primary-orange: #DC5816; /* Color de la App */
    --primary-orange-hover: #E86A2B;
    --accent-gold: #FFC857; /* Dorado para halos divinos y acentos */
    --accent-gold-glow: rgba(255, 200, 87, 0.4);
    
    --text-main: #FFFFFF;
    --text-muted: #B3B7C4;
    
    /* Efecto Cristal */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 200, 87, 0.15); /* Borde con sutil dorado */
    
    --font-main: 'Poppins', sans-serif;
}

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

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

section {
    padding-left: 5%;
    padding-right: 5%;
}

/* --- RAYOS DE LUZ DESDE ESQUINA IZQUIERDA --- */
.light-rays-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    mix-blend-mode: screen;
}

.light-ray {
    position: absolute;
    top: 0;
    left: 0;
    width: 200vw;
    height: 80px;
    transform-origin: 0% 50%;
    background: linear-gradient(
        to right,
        rgba(255, 210, 100, 0.9) 0%,
        rgba(255, 200, 87, 0.5) 15%,
        rgba(255, 200, 87, 0.2) 45%,
        rgba(255, 200, 87, 0.05) 70%,
        transparent 100%
    );
    filter: blur(8px);
}

.ray-1 {
    transform: rotate(8deg);
    height: 90px;
    animation: ray-pulse-1 6s ease-in-out infinite;
    opacity: 0.8;
}
.ray-2 {
    transform: rotate(16deg);
    height: 50px;
    animation: ray-pulse-2 8s ease-in-out infinite;
    animation-delay: -2s;
    opacity: 0.65;
    filter: blur(5px);
}
.ray-3 {
    transform: rotate(25deg);
    height: 120px;
    animation: ray-pulse-3 10s ease-in-out infinite;
    animation-delay: -4s;
    opacity: 0.55;
    filter: blur(12px);
}
.ray-4 {
    transform: rotate(35deg);
    height: 40px;
    animation: ray-pulse-1 7s ease-in-out infinite;
    animation-delay: -1s;
    opacity: 0.7;
    filter: blur(4px);
}
.ray-5 {
    transform: rotate(45deg);
    height: 70px;
    animation: ray-pulse-2 12s ease-in-out infinite;
    animation-delay: -6s;
    opacity: 0.5;
    filter: blur(9px);
}
.ray-6 {
    transform: rotate(3deg);
    height: 30px;
    animation: ray-pulse-3 5s ease-in-out infinite;
    animation-delay: -3s;
    opacity: 0.75;
    filter: blur(3px);
}
.ray-7 {
    transform: rotate(55deg);
    height: 60px;
    animation: ray-pulse-1 9s ease-in-out infinite;
    animation-delay: -5s;
    opacity: 0.45;
    filter: blur(7px);
}

@keyframes ray-pulse-1 {
    0%   { opacity: 0.4;  transform: rotate(8deg)  scaleY(1);   }
    30%  { opacity: 0.85; transform: rotate(10deg) scaleY(1.4); }
    60%  { opacity: 0.3;  transform: rotate(6deg)  scaleY(0.8); }
    100% { opacity: 0.4;  transform: rotate(8deg)  scaleY(1);   }
}
@keyframes ray-pulse-2 {
    0%   { opacity: 0.55; transform: rotate(16deg) scaleY(1);   }
    40%  { opacity: 0.9;  transform: rotate(19deg) scaleY(1.5); }
    70%  { opacity: 0.25; transform: rotate(13deg) scaleY(0.7); }
    100% { opacity: 0.55; transform: rotate(16deg) scaleY(1);   }
}
@keyframes ray-pulse-3 {
    0%   { opacity: 0.35; transform: rotate(25deg) scaleY(1);   }
    50%  { opacity: 0.75; transform: rotate(28deg) scaleY(1.3); }
    80%  { opacity: 0.2;  transform: rotate(22deg) scaleY(0.9); }
    100% { opacity: 0.35; transform: rotate(25deg) scaleY(1);   }
}

/* --- LUZ DIVINA (AURAS) --- */
.divine-aura {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
    animation: pulse-aura 8s infinite alternate ease-in-out;
}

.aura-top-right {
    background: radial-gradient(circle, var(--accent-gold-glow), transparent);
    width: 600px; height: 600px;
    top: -10%; right: -10%;
}

.aura-bottom-left {
    background: radial-gradient(circle, rgba(220, 88, 22, 0.3), transparent);
    width: 500px; height: 500px;
    top: 30%; left: -10%;
}

.aura-center {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
    width: 800px; height: 800px;
    top: 60%; left: 50%;
    transform: translateX(-50%);
}

@keyframes pulse-aura {
    0% { opacity: 0.4; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.1); }
}

/* Glass Panels */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.highlight-gold {
    color: var(--accent-gold);
    text-shadow: 0 0 15px rgba(255, 200, 87, 0.4);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(13, 15, 22, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 1px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-gold);
    text-shadow: 0 0 8px rgba(255, 200, 87, 0.5);
}

/* Botones */
.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 8px; /* Bordes redondeados pero modernos */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--primary-orange);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(220, 88, 22, 0.4);
}

.cta-button.primary:hover {
    background: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 88, 22, 0.6);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.cta-button.secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
    padding: 0.6rem 1.4rem;
    background: var(--primary-orange);
    color: #FFFFFF;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5% 4rem;
    gap: 4rem;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero .subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero .description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.floating-img {
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.halo-effect {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: breathe 4s infinite alternate ease-in-out;
}

@keyframes breathe {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.1); opacity: 1; }
}

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

/* Global Sections */
section {
    padding: 6rem 5%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 2rem 10%;
}

.about-card {
    padding: 4rem;
    text-align: center;
}

.about-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.about-card p {
    font-size: 1.15rem;
    color: var(--text-main);
    font-weight: 300;
    line-height: 1.8;
}

/* Products Collection */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.product-card {
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.product-image {
    position: relative;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #000;
}

.product-halo {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 150%; height: 150%;
    background: radial-gradient(circle, rgba(255, 200, 87, 0.2) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-card:hover .product-halo {
    opacity: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(0,0,0,0.5));
    position: relative;
    z-index: 2;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13, 15, 22, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    z-index: 3;
    transition: opacity 0.3s ease;
}

.view-ar-btn {
    padding: 0.8rem 1.5rem;
    background: var(--primary-orange);
    color: #FFF;
    font-weight: 600;
    border-radius: 8px;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-image:hover .overlay {
    opacity: 1;
}

.product-image:hover .view-ar-btn {
    transform: translateY(0);
}

.product-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.product-card .status {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Download App */
.download-app {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.download-content {
    flex: 1;
}

.download-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.store-buttons img {
    height: 60px;
    transition: transform 0.3s ease;
}

.store-buttons img:hover {
    transform: scale(1.05);
}

.download-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.halo-effect-small {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 1;
}

.phone-mockup {
    max-width: 250px;
    border-radius: 20px;
    z-index: 2;
    position: relative;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.contact-info {
    flex: 1;
    padding: 3rem;
}

.info-item {
    margin-bottom: 2.5rem;
}

.info-item h4 {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-muted);
}

.contact-form-container {
    flex: 1;
    padding: 3rem;
}

.contact-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.required {
    color: var(--primary-orange);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: rgba(13, 15, 22, 0.9);
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
}

.footer .logo-text {
    margin-bottom: 1rem;
    display: block;
}

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

/* Animations Trigger */
.fade-in-up, .fade-in-left, .fade-in-right {
    opacity: 0;
}
.fade-in-up { transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.fade-in-left { transform: translateX(-40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right { transform: translateX(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Responsive */
@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; padding-top: 8rem; }
    .hero h1 { font-size: 3rem; }
    .hero-buttons { justify-content: center; }
    .download-app { flex-direction: column; text-align: center; }
    .contact-container { flex-direction: column; }
    .nav-links { display: none; }
}
