:root {
    --primary: #FFD700;
    --primary-glow: rgba(255, 215, 0, 0.4);
    --dark: #0f1014;
    --dark-surface: rgba(25, 26, 32, 0.6);
    --darker: #000000;
    --light: #F5F5F7;
    --gray: #86868B;
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(255, 215, 0, 0.03), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255, 215, 0, 0.04), transparent 25%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 20px 0;
    background: rgba(15, 16, 20, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
    letter-spacing: -0.5px;
}

nav a {
    color: var(--light);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

nav a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    padding: 100px 0 80px 0;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: left;
}

.text-col {
    flex: 1;
    min-width: 300px;
}

.image-col {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    min-width: 300px;
}

.badge {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--primary-glow);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

h1 {
    font-size: 4.2rem;
    line-height: 1.05;
    margin: 15px 0 25px;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 520px;
    font-weight: 400;
}

/* CTA Section */
.cta-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 10px;
}

.play-badge-link {
    transition: transform 0.2s ease, filter 0.2s ease;
    display: block;
}

.play-badge-link:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 10px 20px rgba(255, 215, 0, 0.15));
}

.play-badge {
    height: 70px;
    margin-left: -12px; /* Las insignias de google suelen tener espacio extra */
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--dark-surface);
    padding: 15px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.qr-code {
    width: 140px;
    height: 140px;
    border-radius: 10px;
    background: white;
    padding: 8px;
}

.qr-text {
    font-size: 0.75rem;
    color: var(--light);
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Phone Mockup */
@keyframes elevate {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.phone-mockup {
    width: 290px;
    height: 580px;
    background-color: #000;
    border: 12px solid #222;
    border-radius: 45px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.1);
    animation: elevate 6s ease-in-out infinite;
}

/* Simulated dynamic island */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.screen {
    background-color: #121212;
    height: 100%;
    padding: 60px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: linear-gradient(180deg, #1A1A1A 0%, #121212 100%);
}

.fake-chisme {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 18px;
    border-radius: 16px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.fake-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.fake-header .avatar {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px;
}

.fake-header .info {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
}

.fake-actions {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #888;
    display: flex;
    gap: 15px;
}

/* Features */
.features {
    padding: 100px 0;
    background-color: var(--dark);
    position: relative;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--dark-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--primary-glow);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
    color: var(--gray);
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

footer .links a {
    color: var(--gray);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.2s;
}

footer .links a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }
    
    .cta-section {
        justify-content: center;
    }
    
    .qr-container {
        display: none; /* Hide QR on mobile since they are already on it */
    }
    
    .subtitle {
        margin: 0 auto 30px;
    }
}
