/* 
   YIO - Yo Imprimo Online
   Tema premium, moderno, rápido y con alto ratio de conversión.
*/

:root {
    /* Brand Colors (Official YIO Logo: #73408d) */
    --primary: #73408d;      /* Deep Purple */
    --primary-dark: #5a326e; /* Darker Purple for hover */
    --primary-light: #9d5bc0;/* Lighter Purple for accents */
    --secondary: #1f1423;    /* Very dark purple/black for text */
    --accent: #ff9d00;       /* Gold/Orange for high conversion buttons (Complementary) */
    --accent-dark: #cc7e00;  /* Darker Gold */
    
    /* Neutral Colors */
    --dark: #1b131e;         /* Deep rich dark background */
    --gray-dark: #3a2e3f;    /* Dark purple-gray for cards */
    --gray: #9c91a0;         /* Muted text color */
    --gray-light: #d6d1d8;   
    --white: #fdfcfc;        /* Soft white for text */
    --bg-light: #251c28;     /* Slightly lighter dark for card backgrounds */
    
    /* Backgrounds & Gradients */
    --bg-main: var(--dark);
    --bg-gradient: linear-gradient(135deg, #251c28 0%, #1b131e 100%);
    --primary-gradient: linear-gradient(135deg, #73408d 0%, #9d5bc0 100%);
    --accent-gradient: linear-gradient(135deg, #ff9d00 0%, #ffb84d 100%);
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Aesthetics */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    
    /* Radius */
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    /* Layout */
    --container-max: 1200px;
    --transition-fast: 0.2s ease-in-out;
    --transition-base: 0.3s ease-in-out;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--gray-light);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* Utilities */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-gray { color: var(--gray); }
.text-primary { color: var(--primary-light); }
.text-dark { color: var(--dark); }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-auto { margin-top: auto; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }
.section-light { background-color: var(--bg-light); }
.section-dark { background-color: var(--dark); color: var(--gray-light); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.highlight { color: var(--primary-light); }
.highlight-text { font-weight: 700; color: var(--primary-light); font-size: 1.25rem; margin-top: 1.5rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--dark);
    box-shadow: 0 4px 14px rgba(255, 157, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 157, 0, 0.6);
    color: var(--dark);
}

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

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

.arrow {
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

.btn:hover .arrow {
    transform: translateX(4px);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 157, 0, 0.7); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 15px rgba(255, 157, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 157, 0, 0); }
}

/* Header */
.site-header {
    background: rgba(27, 19, 30, 0.95); /* Using the deep dark color */
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

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

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

.logo-yio {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    color: var(--dark);
    letter-spacing: -1px;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-light);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-light);
}

.nav-link.disabled {
    color: var(--gray-dark);
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Hero Sections */
.hero {
    position: relative;
    padding: 6rem 0 8rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 90, 54, 0.1), transparent 40%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    margin: 1.5rem 0;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--gray-light);
    color: var(--gray-dark);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-accent {
    background: rgba(255, 90, 54, 0.1);
    color: var(--primary-dark);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.proof-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.check {
    color: var(--primary);
    font-weight: bold;
}

/* Features & Niches Grid */
.features-grid, .niches-grid, .guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card, .niche-card, .step-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card:hover, .niche-card.active-niche:hover, .step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon, .niche-emoji, .icon-large {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.niche-card.active-niche {
    border: 2px solid var(--primary);
}

.niche-card.coming-soon {
    opacity: 0.7;
    background: var(--bg-light);
}

/* Steps */
.step-card {
    text-align: center;
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(255, 90, 54, 0.05);
    z-index: 0;
    line-height: 1;
}

.step-card h3, .step-card p, .step-icon {
    position: relative;
    z-index: 1;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform var(--transition-base);
    color: var(--dark);
}

.pricing-card.featured-card {
    transform: scale(1.05);
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px rgba(255, 90, 54, 0.2);
    z-index: 2;
}

.badge-popular {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.pricing-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-light);
}

.pricing-header h3 {
    margin: 0;
    color: var(--gray-dark);
    font-size: 1.25rem;
}

.featured-card .pricing-header {
    padding-top: 3rem;
}

.pricing-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.taza-count {
    text-align: center;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.price {
    text-align: center;
    color: var(--dark);
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray);
}

.unit-price {
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.features-list {
    margin-bottom: 2rem;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 2rem;
    text-align: center;
}

/* Comparison Table */
.table-responsive {
    overflow-x: auto;
    margin-top: 3rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.comparison-table th {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    text-align: left;
    background: var(--bg-light);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Split Image (Bloque 6) */
.split-image-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.split-labels {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.image-placeholder-split {
    display: flex;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-placeholder-split .left-side {
    flex: 1;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: #4f46e5;
    border-right: 4px solid var(--white);
}

.image-placeholder-split .right-side {
    flex: 1;
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: #c2410c;
}

/* FAQ */
.faq-container {
    max-width: 800px;
}

.faq-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}

.faq-question {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: var(--gray-dark);
}

/* Tags */
.tags, .zones-tags, .coverage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.coverage-tags {
    justify-content: center;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tag.tag-large {
    font-size: 1.125rem;
    padding: 0.75rem 1.5rem;
}

.footer-zones .tag {
    background: var(--gray-dark);
    color: var(--white);
    border: none;
    font-size: 0.85rem;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-list li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: var(--gray);
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-card.featured-card {
        transform: scale(1);
    }
}

/* Hero Split (Home) */
.hero-home.split-hero {
    padding: 8rem 0;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(157, 91, 192, 0.15) 0%, transparent 60%);
    z-index: 0;
}

.split-hero .hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-hero .hero-text {
    flex: 1;
    text-align: left;
    position: relative;
    z-index: 2;
}

.split-hero .hero-title {
    font-size: 4rem;
    line-height: 1.1;
}

.highlight-gradient {
    background: linear-gradient(135deg, #b070d6 0%, #ebbaff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.split-hero .hero-actions {
    align-items: flex-start;
}

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

/* Hero Image Wrapper */
.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform var(--transition-base);
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-image {
    width: 100%;
    max-width: 500px;
    display: block;
    border-radius: var(--radius-xl);
}
/* Removed obsolete glass mockup CSS */

/* Services Hub Cards */
.services-hub-section {
    padding: 6rem 0;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 10;
}

.hub-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 0;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.hub-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.hub-image {
    height: 180px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.05), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hub-emoji {
    font-size: 5rem;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hub-card:hover .hub-emoji {
    transform: scale(1.1) rotate(5deg);
}

.hub-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hub-content h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hub-content p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.hub-card.active-hub {
    background: rgba(115, 64, 141, 0.1);
    border-color: rgba(157, 91, 192, 0.3);
}

.hub-card.star-hub {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(255, 157, 0, 0.05) 0%, transparent 100%);
    box-shadow: 0 0 30px rgba(255, 157, 0, 0.1);
}

.star-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--accent-gradient);
    color: var(--dark);
    text-align: center;
    padding: 0.5rem;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease backwards;
}
.slide-up {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .split-hero .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .split-hero .hero-text {
        text-align: center;
    }
    
    .split-hero .hero-actions {
        align-items: center;
    }
    
    .split-hero .hero-title {
        font-size: 3rem;
    }
}
