/* ADRENALINA LANDING PAGE - CSS OPTIMIZADO */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ========================
   VARIABLES CSS
   ======================== */
:root {
    /* Colores de marca */
    --primary-color: #B2FA63;
    --secondary-color: #FAFAFA;
    --tertiary-color: #121C1C;
    --support-color-1: #FF7833;
    --support-color-2: #776BAA;
    
    /* Colores de texto */
    --text-color: var(--tertiary-color);
    --light-text: #FFFFFF;
    --medium-text: #555555;
    
    /* Elementos UI */
    --background-color: var(--secondary-color);
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.12);
    
    /* Tipografía */
    --font-family-main: 'Poppins', sans-serif;
    
    /* Layout */
    --header-height: 80px;
    --container-width: 1200px;
    --container-padding: 15px;
    
    /* Breakpoints */
    --bp-tablet: 768px;
    --bp-mobile: 480px;
    
    /* Transiciones */
    --transition-base: 0.3s ease;
    --transition-transform: all 0.3s ease;
    
    /* Espaciado */
    --section-padding: 80px;
    --section-margin: 60px;
}

/* ========================
   RESET Y BASE
   ======================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-main);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ========================
   TIPOGRAFÍA
   ======================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--tertiary-color);
    margin-bottom: 0.75em;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1em;
    color: var(--medium-text);
}

/* ========================
   ELEMENTOS BASE
   ======================== */
a {
    color: var(--support-color-1);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover, a:focus {
    color: var(--support-color-2);
    outline: none;
}

img:not(.logo-icon) {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ========================
   UTILIDADES
   ======================== */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.bg-primary { background-color: var(--primary-color); }
.bg-tertiary { background-color: var(--tertiary-color); color: var(--light-text); }
.alternate-bg { background-color: #f0f2f5; }

/* ========================
   COMPONENTES
   ======================== */

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: var(--section-margin);
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    border-radius: 50px;
    transition: var(--transition-transform);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button.primary-cta {
    background-color: var(--primary-color);
    color: var(--tertiary-color);
    box-shadow: 0 4px 15px rgba(178, 250, 99, 0.4);
}

.cta-button.primary-cta:hover {
    background-color: #a2e053;
    box-shadow: 0 6px 20px rgba(178, 250, 99, 0.6);
    transform: translateY(-2px);
}

.cta-button.secondary-cta {
    background-color: transparent;
    color: var(--support-color-1);
    border: 2px solid var(--support-color-1);
}

.cta-button.secondary-cta:hover {
    background-color: var(--support-color-1);
    color: var(--light-text);
    transform: translateY(-2px);
}

.cta-button.tertiary-cta {
    background-color: var(--secondary-color);
    color: var(--tertiary-color);
}

.cta-button.tertiary-cta:hover {
    background-color: #e9e9e9;
    transform: translateY(-2px);
}

/* ========================
   HEADER & NAVEGACIÓN
   ======================== */
header {
    background-color: rgba(255, 255, 255, 0.97);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    box-shadow: 0 2px 15px var(--shadow-color);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease-in-out, background-color var(--transition-base), box-shadow var(--transition-base);
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: var(--header-height);
}

/* Logo optimizado */
.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    max-width: 200px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--tertiary-color);
    margin: 0;
    white-space: nowrap;
    line-height: 1;
    order: 1; /* Posiciona el texto a la izquierda del logo */
}

/* Navegación */
.nav-links ul {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header-cta {
    margin-left: 30px;
}

/* ========================
   LAYOUT PRINCIPAL
   ======================== */
main {
    padding-top: var(--header-height);
}

section {
    padding: var(--section-padding) 0;
}

/* ========================
   SECCIONES ESPECÍFICAS
   ======================== */

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--tertiary-color) 0%, #1a2a2a 100%);
    color: var(--light-text);
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

.hero-text {
    text-align: left;
}

.hero-content h1,
.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--light-text);
}

.hero-content .subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: rgba(250, 250, 250, 0.85);
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.hero-content .cta-button {
    background-color: var(--primary-color);
    color: var(--tertiary-color);
    padding: 15px 40px;
    font-size: 1.1rem;
}

.hero-content .cta-button:hover {
    background-color: #a2e053;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(178, 250, 99, 0.5);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 550px;
    justify-content: center;
}

/* Hero Visual Carousel */
.carousel-container {
    position: relative;
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    background: #2a2a2a;
    /* Define aspect ratio for phone screenshots */
    aspect-ratio: 9/19.5; /* Common phone aspect ratio */
    height: auto;
}

.carousel-container::before {
    content: "📱";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    opacity: 0.3;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.carousel-container.loaded::before {
    opacity: 0;
}

.carousel-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: contain;
    object-position: center;
    display: none;
    transition: opacity 0.3s ease-in-out;
}

.hero-image.active {
    display: block;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--tertiary-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.carousel-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(178, 250, 99, 0.1), transparent);
    transition: left 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    border-color: rgba(178, 250, 99, 0.3);
}

.carousel-btn:hover::before {
    left: 100%;
}

.carousel-btn:active {
    transform: scale(1.02);
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 15px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.indicator.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(178, 250, 99, 0.6);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Features Section */
#features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    background-color: #ffffff;
    padding: 35px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: var(--transition-transform);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--tertiary-color);
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--medium-text);
    line-height: 1.6;
}

/* How it Works Section */
#how-it-works {
    background-color: var(--tertiary-color);
    color: var(--light-text);
}

#how-it-works .section-title {
    color: var(--light-text);
}

#how-it-works .section-title::after {
    background-color: var(--primary-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-top: 60px;
    text-align: center;
}

.step-item {
    padding: 30px;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1;
}

.step-item h3 {
    font-size: 1.4rem;
    color: var(--light-text);
    margin-bottom: 10px;
}

.step-item p {
    font-size: 1rem;
    color: rgba(250, 250, 250, 0.8);
}

/* Testimonials Section */
#testimonials {
    padding: 100px 0;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-color);
    border-left: 5px solid var(--primary-color);
}

.testimonial-item .quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--medium-text);
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
}

.testimonial-item .quote::before {
    content: '\201C';
    font-family: 'Georgia', serif;
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    left: -5px;
    top: -10px;
    line-height: 1;
}

.testimonial-item .author {
    font-weight: 600;
    color: var(--tertiary-color);
    text-align: right;
    font-size: 0.95rem;
}

/* Pricing Section */
#pricing {
    background-color: #F8F9FA;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
    align-items: stretch;
}

.pricing-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-transform);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--shadow-hover);
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-8px);
}

.pricing-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--tertiary-color);
    margin-bottom: 15px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-card .price .term {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--medium-text);
}

.pricing-card ul {
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--medium-text);
    font-size: 0.95rem;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

.pricing-card .cta-button {
    width: 100%;
}

.pricing-card.featured .cta-button {
    background-color: var(--primary-color);
    color: var(--tertiary-color);
}

.pricing-card.featured .cta-button:hover {
    background-color: #a2e053;
}

.pricing-card:not(.featured) .cta-button {
    background-color: transparent;
    color: var(--support-color-1);
    border: 2px solid var(--support-color-1);
}

.pricing-card:not(.featured) .cta-button:hover {
    background-color: var(--support-color-1);
    color: var(--light-text);
}

/* Pricing Single Plan Styles */
.pricing-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--medium-text);
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.pricing-grid.single-plan {
    max-width: 500px;
    margin: 60px auto 0 auto;
    grid-template-columns: 1fr;
}

.pricing-card.featured-free {
    border: 3px solid var(--primary-color);
    background: linear-gradient(145deg, #ffffff 0%, #f8fffe 100%);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured-free::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--support-color-2) 100%);
}

.pricing-card.featured-free h3 {
    font-size: 2rem;
    color: var(--tertiary-color);
    margin-bottom: 10px;
}

.pricing-card.featured-free .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.pricing-card.featured-free .price .forever {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--medium-text);
    display: block;
    margin-top: 5px;
}

.pricing-card.featured-free ul {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-card.featured-free ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(178, 250, 99, 0.1);
    color: var(--tertiary-color);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.pricing-card.featured-free ul li:last-child {
    border-bottom: none;
}

/* Check Icon Styles */
.check-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
    vertical-align: middle;
}

.cta-button.primary-large {
    background-color: var(--primary-color);
    color: var(--tertiary-color);
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.cta-button.primary-large:hover {
    background-color: #a2e053;
    transform: translateY(-3px) scale(1.02);
}

.plan-note {
    font-size: 0.9rem;
    color: var(--medium-text);
    font-style: italic;
    margin: 0;
}

/* Download Section */
#download {
    background-color: var(--tertiary-color);
    color: var(--light-text);
    padding: 100px 0;
    text-align: center;
}

#download .section-title {
    color: var(--light-text);
}

#download .section-title::after {
    background-color: var(--primary-color);
}

.download-subtitle {
    font-size: 1.15rem;
    color: rgba(250, 250, 250, 0.85);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.app-store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.store-badge {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: #000000;
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-base);
    border: 1px solid #333333;
    min-width: 180px;
    height: 60px;
}

.store-badge:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.badge-icon {
    font-size: 28px;
    margin-right: 12px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-svg {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1); /* Makes SVG white */
}

.badge-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.badge-small {
    font-size: 10px;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 2px;
    font-weight: 400;
}

.badge-large {
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.1;
}

.app-store-badge .badge-icon {
    color: #ffffff;
}

.play-store-badge .badge-icon {
    color: #ffffff;
}

.download-cta-text {
    font-size: 1rem;
    color: #FFFFFF;
    font-weight: 500;
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #0c1414;
    color: rgba(250, 250, 250, 0.7);
    padding: 60px 0 30px 0;
    font-size: 0.9rem;
}

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

.footer-logo h3 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.footer-logo p {
    color: rgba(250, 250, 250, 0.8);
    font-size: 0.95rem;
}

.footer-links h4, .footer-social h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 20px;
    position: relative;
}

.footer-links h4::after, .footer-social h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(250, 250, 250, 0.7);
    transition: color var(--transition-base), padding-left var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-social a {
    color: rgba(250, 250, 250, 0.7);
    margin-right: 15px;
    font-size: 1.3rem;
    transition: color var(--transition-base);
}

.footer-social a:hover {
    color: var(--primary-color);
}

.footer-social a:last-child {
    margin-right: 0;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(250, 250, 250, 0.1);
    color: rgba(250, 250, 250, 0.6);
    font-size: 0.85rem;
}

.copyright a {
    color: var(--primary-color);
}

/* ========================
   ANIMACIONES
   ======================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */

/* Tablet Grande */
@media (max-width: 992px) {
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .header-cta {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    #hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-content h1,
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.1rem;
    }
    
    .hero-visual img {
        max-width: 300px;
        transform: none;
    }
    
    /* Responsive Carousel for Tablet */
    .carousel-wrapper {
        max-width: 450px;
        gap: 20px;
    }
    
    .carousel-container {
        max-width: 300px;
        aspect-ratio: 9/19.5;
    }
    
    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
        border-width: 1px;
        border-radius: 50%;
    }
    
    .carousel-indicators {
        bottom: 12px;
        padding: 6px 12px;
        gap: 10px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .features-grid,
    .steps-grid,
    .testimonial-slider,
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-grid.single-plan {
        max-width: 450px;
    }
    
    .pricing-card.featured-free h3 {
        font-size: 1.8rem;
    }
    
    .pricing-card.featured-free .price {
        font-size: 2.5rem;
    }
}

/* Tablet */
@media (max-width: 768px) {
    :root {
        --header-height: 90px;
    }
    
    html {
        font-size: 15px;
    }
    
    .container {
        width: 90%;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.9rem; }
    h3 { font-size: 1.3rem; }
    
    /* Header mobile */
    
    header .container {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }
    
    .logo {
        margin: 15px;
        max-width: 160px;
        gap: 6px;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .logo-icon {
        height: 24px;
        max-width: 18px;
        min-height: 24px;
        max-height: 24px;
    }
    
    .nav-links ul {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    
    .nav-links a {
        padding: 10px 20px;
        display: block;
        text-align: center;
        border-radius: 5px;
        transition: background-color var(--transition-base);
        width: 100%;
    }
    
    .nav-links a:hover {
        background-color: var(--primary-color);
        color: var(--tertiary-color);
    }
    
    .header-cta {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
    
    main {
        padding-top: calc(var(--header-height));
    }
    
    #hero {
        padding: 80px 0 50px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-content h1,
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content .subtitle {
        font-size: 1rem;
    }
    
    .hero-visual img {
        max-width: 280px;
        transform: none;
    }
    
    /* Responsive Carousel for Tablet Small */
    .carousel-wrapper {
        max-width: 400px;
        gap: 15px;
    }
    
    .carousel-container {
        max-width: 280px;
        aspect-ratio: 9/19.5;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
        border-width: 1px;
        border-radius: 50%;
    }
    
    .carousel-indicators {
        bottom: 10px;
        padding: 5px 10px;
        gap: 8px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .features-grid,
    .steps-grid,
    .testimonial-slider,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid.single-plan {
        max-width: 400px;
    }
    
    .pricing-card.featured-free {
        padding: 35px 25px;
    }
    
    .pricing-card.featured-free h3 {
        font-size: 1.6rem;
    }
    
    .pricing-card.featured-free .price {
        font-size: 2.2rem;
    }
    
    .cta-button.primary-large {
        padding: 16px 35px;
        font-size: 1.1rem;
    }
    
    .pricing-card {
        margin-bottom: 20px;
    }
    
    .pricing-card:last-child {
        margin-bottom: 0;
    }
    
    .pricing-card.featured {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-social h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        margin-top: 20px;
    }
    
    .app-store-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .store-badge {
        width: 100%;
        max-width: 200px;
        margin-bottom: 15px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    :root {
        --header-height: 110px;
    }
    
    html {
        font-size: 14px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .container {
        width: 95%;
    }
    
    /* Header mobile small */
    
    header .container {
        padding: 10px;
    }
    
    .logo {
        max-width: 140px;
        gap: 5px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        height: 20px;
        max-width: 15px;
        min-height: 20px;
        max-height: 20px;
    }
    
    .nav-links a {
        font-size: 0.8rem;
        padding: 12px 15px;
    }
    
    .header-cta {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    main {
        padding-top: calc(var(--header-height));
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .hero-content h1,
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content .subtitle {
        font-size: 0.9rem;
    }
    
    .hero-visual img {
        max-width: 250px;
        transform: none;
    }
    
    /* Responsive Carousel for Mobile */
    .carousel-wrapper {
        max-width: 320px;
        gap: 10px;
    }
    
    .carousel-container {
        max-width: 250px;
        aspect-ratio: 9/19.5;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 12px;
        border-width: 1px;
        border-radius: 50%;
    }
    
    .carousel-controls {
        padding: 0 10px;
    }
    
    .carousel-indicators {
        bottom: 10px;
        gap: 6px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .hero-content .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .app-store-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .store-badge {
        width: 100%;
        max-width: 180px;
        height: 55px;
        margin-bottom: 10px;
        padding: 10px 14px;
    }
}

/* ========================
   PÁGINAS LEGALES
   ======================== */

/* Page Hero Sections */
.page-hero {
    background: linear-gradient(135deg, var(--tertiary-color) 0%, #1a2a2a 100%);
    color: var(--light-text);
    padding: calc(var(--header-height) + 40px) 0 80px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(250, 250, 250, 0.9);
    max-width: 600px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
}

.last-updated {
    font-size: 0.9rem;
    color: rgba(250, 250, 250, 0.7);
    font-style: italic;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    line-height: 1.7;
}

.legal-intro {
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    border-left: 5px solid var(--primary-color);
}

.legal-intro h2 {
    color: var(--tertiary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.legal-section {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    color: var(--tertiary-color);
    font-size: 1.6rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.legal-section h3 {
    color: var(--support-color-2);
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 25px;
}

.legal-section ul {
    margin: 20px 0;
    padding-left: 20px;
}

.legal-section ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.legal-section ul li::before {
    content: '⚽';
    position: absolute;
    left: -5px;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.legal-section ol {
    margin: 20px 0;
    padding-left: 25px;
}

.legal-section ol li {
    margin-bottom: 10px;
    color: var(--medium-text);
}

/* Contact Page Specific */
#contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: block;
    margin-bottom: 60px;
}

.contact-info h2 {
    color: var(--tertiary-color);
    margin-bottom: 20px;
}

.contact-methods {
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1200px;
}

/* Para pantallas muy grandes, permitir hasta 3 columnas */
@media (min-width: 1200px) {
    .contact-methods {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        max-width: 1200px;
    }
}

/* En pantallas extra grandes, limitar a máximo 3 columnas */
@media (min-width: 1400px) {
    .contact-methods {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1000px;
    }
}

.contact-method {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 0;
    box-shadow: 0 4px 15px var(--shadow-color);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.contact-method h3 {
    color: var(--support-color-2);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-method a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-method a:hover {
    text-decoration: underline;
}

.contact-method small {
    color: var(--medium-text);
    font-style: italic;
}

.contact-hours {
    background: var(--tertiary-color);
    color: var(--light-text);
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}

.contact-hours h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Contact Form */
.contact-form-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 30px var(--shadow-color);
}

.contact-form-container h2 {
    color: var(--tertiary-color);
    margin-bottom: 30px;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--tertiary-color);
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-family-main);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* FAQ Section */
.faq-section {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.faq-section h2 {
    text-align: center;
    color: var(--tertiary-color);
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-color);
    border-top: 3px solid var(--support-color-1);
}

.faq-item h3 {
    color: var(--tertiary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--medium-text);
    line-height: 1.6;
}

/* Privacy & Terms Specific Styles */
.usage-grid,
.protection-features,
.rights-grid,
.liability-grid,
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.usage-item,
.protection-item,
.right-item,
.liability-item,
.rule-category {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-color);
    border-top: 4px solid var(--primary-color);
}

.rule-category.prohibited {
    border-top-color: var(--support-color-1);
}

.usage-item h3,
.protection-item h3,
.right-item h3,
.liability-item h3,
.rule-category h3 {
    color: var(--tertiary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.rule-category.prohibited h3 {
    color: var(--support-color-1);
}

/* Navigation Active State */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(145deg, var(--primary-color) 0%, #a2e053 100%);
    color: var(--tertiary-color);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 40px;
}

.contact-section h2 {
    color: var(--tertiary-color);
    margin-bottom: 20px;
}

.contact-section a {
    color: var(--tertiary-color);
    font-weight: 700;
    text-decoration: none;
}

.contact-section a:hover {
    text-decoration: underline;
}

.final-note {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.final-note h3 {
    color: var(--tertiary-color);
    margin-bottom: 15px;
}

/* Responsive Design for Legal Pages */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-methods {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .usage-grid,
    .protection-features,
    .rights-grid,
    .liability-grid,
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .page-hero {
        padding: calc(var(--header-height) + 20px) 0 60px 0;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: calc(var(--header-height) + 20px) 0 40px 0;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .legal-content {
        padding: 40px 15px;
    }
    
    .legal-intro,
    .contact-form-container {
        padding: 25px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-methods .contact-method {
        padding: 20px;
    }
    
    .contact-hours {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: calc(var(--header-height) + 10px) 0 30px 0;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .legal-intro {
        padding: 20px;
    }
    
    .legal-section h2 {
        font-size: 1.4rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 10px 12px;
    }
    
    .cta-button.primary-large {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .final-note {
        padding: 20px;
    }
}
