:root {
    --primary: #3e8b33;
    --primary-light: #8CC63F;
    --primary-dark: #1B4332;
    --accent: #FFB800;
    --brown: #8B4513;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --background: #F5F9F7;
    --azul: #219BEF;
    --azul-oscuro: #176BAA;
    --azul-claro: #61B7F1;
    --azul-hover: #1a7cc0;
    --azul-extra-claro: #EBF6FF;
    --negro: #000000;
    --gris-claro: #f5f5f5;
    --gris-oscuro: #333333;
    --blanco: #ffffff;
    --verde: #23a455;
    --shadow: 0 4px 6px rgba(45, 90, 39, 0.1);
    --transition: all 0.3s ease;
}

.instagram{
    background-color: white;
    margin-bottom: -45px;
}

.instagram a{
    display: flex;
    justify-content: flex-start;
    margin-left: 50px;
    font-size: 25px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}


body {
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
}

.showcase-media {
    position: relative;
    width: 90%;
    z-index: 2;
}

.feature-video {
    margin-top: -10%;
    width: 120%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    left: 0;
    right: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.hero {
    padding: 8rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    background-image: url('images/bg-header-home.jpg');
}

.avotex-logo {
    width: 200px;
    margin-bottom: 2rem;
    animation: floatAnimation 3s ease-in-out infinite;
}

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

.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-text-delay {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.primary-btn, .secondary-btn {
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

.secondary-btn {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.primary-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.secondary-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.imagenPrincipal {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Mejoras de responsividad para videos */
video {
    max-width: 100%;
    height: auto;
    display: block;
}

.avotex {
    max-width: 100%;
    height: auto;
    width: 100% !important;
}

/* AI Detection Section */
.ai-detection {
    background-color: var(--verde);
    padding: 6rem 2rem;
    color: var(--white);
    margin: 4rem 0;
}

.ai-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.detection-list {
    list-style: none;
    margin-top: 2rem;
}

.detection-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transform: translateX(-20px);
    opacity: 0;
    animation: slideInRight 0.5s ease forwards;
}

.detection-list li:nth-child(2) { animation-delay: 0.2s; }
.detection-list li:nth-child(3) { animation-delay: 0.4s; }
.detection-list li:nth-child(4) { animation-delay: 0.6s; }

@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.detection-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.scan-animation {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.scan-image {
    width: 100%;
    display: block;
    border-radius: 20px;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: scan 2s linear infinite;
}

.scan-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--accent) 1px, transparent 1px) 0 0/20px 20px;
    opacity: 0.3;
    animation: fade 2s linear infinite;
}

@keyframes scan {
    from { top: 0; }
    to { top: 100%; }
}

@keyframes fade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Stats Section */
.stats {
    padding: 4rem 2rem;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.stat-item.visible {
    transform: translateY(0);
    opacity: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    color: var(--primary-dark);
    transform: scale(1.1);
}

.feature-card:hover .feature-icon svg {
    stroke: var(--primary-dark);
}

.feature-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.demo {
    padding: 6rem 2rem;
    width: 100%;
    background: linear-gradient(135deg, var(--verde) 0%, #2d7a3d 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.demo-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: patternMove 20s ease-in-out infinite;
}

@keyframes patternMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.demo-badge svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.demo-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.demo-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

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

.demo-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.demo-video-container {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
    border-radius: 24px;
}

.video-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.3) 0%, transparent 70%);
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.video-wrapper:hover .video-glow {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

.video-play-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.video-wrapper:hover .video-play-indicator {
    opacity: 0.7;
}

.video-play-indicator svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    margin-left: 3px;
}

.video-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.video-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-size: 0.95rem;
    opacity: 0.9;
    transition: var(--transition);
}

.video-feature-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.video-feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

/* Three videos layout: left, center (bigger & elevated), right */
.demo-videos {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}
.demo-video-item {
    flex: 0 0 auto;
}
.demo-video-item.left,
.demo-video-item.right {
    width: 28%;
}
.demo-video-item.center {
    width: 35%;
    transform: translateY(-20px);
}
.video-wrapper.small {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.video-wrapper.large {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
}
.demo-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .demo-video-item.left,
    .demo-video-item.right { width: 30%; }
    .demo-video-item.center { width: 40%; transform: translateY(-14px); }
}

@media (max-width: 768px) {
    .demo-videos { flex-direction: column; align-items: center; }
    .demo-video-item { width: 100%; }
    .demo-video-item.center { transform: none; }
    .demo-videos > * { margin-bottom: 1rem; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing {
    padding: 4rem 2rem;
    background: var(--background);
    background-image: url(images/209.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: auto;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.featured-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.price {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
}

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.features-list li::before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.buy-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Alliances Section */
.alliances {

    /* refreshed alliances section: stronger visual, cleaner cards */
    padding: 5.5rem 1.25rem;
    background: linear-gradient(180deg, #f6fff7 0%, #eef7ee 60%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.alliances::after {
    /* subtle decorative leaf-ish shape */
    content: '';
    position: absolute;
    right: -120px;
    top: -40px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 30% 30%, rgba(34, 139, 34, 0.06) 0%, transparent 40%);
    filter: blur(18px);
    pointer-events: none;
}

.alliances-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}


.alliances-header {
    text-align: center;
    margin-bottom: 2rem;
}

.alliances-header h2 {
    font-size: 2.6rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
    font-weight: 800;
}

.alliances-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 820px;
    margin: 0 auto;
}


.alliances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
    align-items: stretch;
}

.alliance-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(34, 50, 30, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.alliance-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(20, 60, 30, 0.10);
}

.alliance-icon-wrapper {
    width: 120px;
    height: 120px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(240,255,240,0.9), rgba(250,255,250,0.9));
}

.alliance-image,
.alliance-logo-image {
    width: 80%;
    height: auto;
    object-fit: contain;
    transition: transform 0.28s ease;
}

.alliance-card:hover .alliance-image,
.alliance-card:hover .alliance-logo-image {
    transform: scale(1.05);
}

.disfruta-card .alliance-logo-image {
    max-height: 95px;
}

.alliance-logo {
    text-align: center;
}

.alliance-info h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.alliance-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.satellite-container,
.fira-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.satellite-svg,
.fira-svg {
    width: 100%;
    height: 100%;
    color: var(--primary);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.satellite {
    animation: orbit 10s linear infinite;
    transform-origin: 100px 100px;
}

@keyframes orbit {
    from { transform: rotate(0deg) translateX(70px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(70px) rotate(-360deg); }
}

.solar-panel {
    animation: panelPulse 2s ease-in-out infinite;
}

@keyframes panelPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.growth-line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawLine 2s ease-in-out forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.leaf {
    animation: leafGrow 2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes leafGrow {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.star {
    animation: twinkle 2s ease-in-out infinite;
}

.star:nth-child(2) { animation-delay: 0.5s; }
.star:nth-child(3) { animation-delay: 1s; }
.star:nth-child(4) { animation-delay: 1.5s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    color: var(--text-light);
    opacity: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon svg {
    width: 100%;
    height: 100%;
}

.alliance-logo {
    margin-bottom: 1.5rem;
    text-align: center;
}

.logo-placeholder {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-weight: 700;
    transition: var(--transition);
}

.logo-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(62, 139, 51, 0.3);
}

.logo-text {
    display: block;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.logo-subtitle {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.25rem;
    letter-spacing: 1px;
}

.fira-logo {
    background: linear-gradient(135deg, #1B4332 0%, var(--primary) 100%);
}

.disfruta-logo {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.alliance-info {
    text-align: center;
}

.alliance-info h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.alliance-info p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.empty-card {
    border: 2px dashed var(--text-light);
    background: rgba(245, 249, 247, 0.5);
}

.empty-card:hover {
    border-color: var(--primary);
    background: rgba(245, 249, 247, 0.8);
}

.empty-card .alliance-info h3 {
    color: var(--text-light);
}

.empty-card .alliance-info p {
    color: var(--text-light);
    opacity: 0.8;
}

.contact {
    padding: 4rem 2rem;
    background: var(--white);
}

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

.contact-form {
    margin-top: 2rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    transition: var(--transition);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

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

.submit-btn {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-dark);
}

.footer2 {
    background-image: url(images/freepik__the-style-is-3d-model-with-octane-render-volumetri__72669.jpeg);
    color: var(--blanco);
    padding: 60px 20px 30px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    height: 500px;
}

.footer2 {
  position: relative;
  background-image: url(images/freepik__the-style-is-3d-model-with-octane-render-volumetri__72669.jpeg);
  background-size: cover;
  background-position: center;
  color: white;
  padding: 60px 20px 30px;
  margin-top: 60px;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* oscurece ligeramente */
  z-index: 0;
}

.footer-content {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 1;
  position: relative;
}

.footer-column {
  min-width: 180px;
}

.footer-column h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #fff;
}

.footer-column p {
  margin: 5px 0;
  color: #ddd;
}

.footer-copy {
  margin-top: 40px;
  z-index: 1;
  position: relative;
  font-size: 14px;
  color: #ccc;
}


.footer-content2 {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.footer-section2 h3 {
    margin-bottom: 25px;
    color: var(--primary-light);
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section2 h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--white);
}

.footer-section2 ul {
    list-style: none;
}

.footer-section2 ul li {
    margin-bottom: 15px;
}

.footer-section2 a {
    color: var(--blanco);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transicion);
    display: inline-block;
    padding: 5px 0;
}

.footer-section2 a:hover {
    opacity: 1;
    color: var(--azul-claro);
    transform: translateX(5px);
}

.footer-bottom2{
    max-width: 1200px;
    margin: 50px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}
.mobile-app {
    padding: 6rem 2rem;
    background: linear-gradient(var(--verde), #e3c932);
    color: var(--white);
    overflow: hidden;
}

.app-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.app-info p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.app-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transform: translateX(-20px);
    opacity: 0;
    animation: slideInRight 0.5s ease forwards;
}

.app-features li:nth-child(2) { animation-delay: 0.2s; }
.app-features li:nth-child(3) { animation-delay: 0.4s; }
.app-features li:nth-child(4) { animation-delay: 0.6s; }

.app-feature-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.app-store-badges {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.store-badge-link img {
    height: 50px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.store-badge-link:hover img {
    transform: translateY(-5px);
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    margin: 0 auto;
    border-radius: 40px;
    background: var(--white);
    padding: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform: rotate(-5deg);
    overflow: hidden;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.scan-animation-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
}

.app-badges {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.app-badge img {
    height: 40px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.app-badge:hover img {
    transform: translateY(-3px);
}

/* Media Queries - Tablet */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 6rem 2rem 4rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .ai-content,
    .app-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .demo-header h2 {
        font-size: 2.5rem;
    }

    .demo-header p {
        font-size: 1.1rem;
    }

    .alliances {
        padding: 4rem 2rem;
    }

    .alliances-header h2 {
        font-size: 2.5rem;
    }

    .alliances-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    .video-features {
        gap: 2rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .phone-mockup {
        width: 280px;
        height: 560px;
    }
}

/* Media Queries - Mobile */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        gap: 1.5rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
        font-size: 1.1rem;
    }

    .nav-container {
        padding: 1rem;
        position: relative;
    }

    .logo {
        height: 35px;
    }

    .menu-toggle {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 6rem 1rem 3rem;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .avotex-logo {
        width: 150px;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-image {
        margin-top: 1rem;
    }

    .imagenPrincipal {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .demo {
        padding: 4rem 1rem;
    }

    .demo-header {
        margin-bottom: 2rem;
    }

    .demo-header h2 {
        font-size: 2rem;
    }

    .demo-header p {
        font-size: 1rem;
    }

    .alliances {
        padding: 4rem 1rem;
    }

    .alliances-header {
        margin-bottom: 3rem;
    }

    .alliances-header h2 {
        font-size: 2rem;
    }

    .alliances-header p {
        font-size: 1rem;
    }

    .alliances-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .alliance-card {
        padding: 2rem;
    }

    .alliance-icon-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }

    .alliance-logo-image {
        max-width: 100%;
    }

    .video-features {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .video-feature-item {
        font-size: 0.9rem;
    }

    .video-wrapper {
        border-radius: 16px;
    }

    .demo-video {
        border-radius: 16px;
    }

    .video-overlay {
        border-radius: 16px;
    }

    .ai-detection {
        padding: 4rem 1rem;
    }

    .ai-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ai-text h2 {
        font-size: 2rem;
    }

    .detection-list li {
        padding: 0.875rem;
        margin-bottom: 1rem;
    }

    .detection-icon {
        font-size: 1.75rem;
    }

    .stats {
        padding: 3rem 1rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .mobile-app {
        padding: 4rem 1rem;
    }

    .app-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .app-info h2 {
        font-size: 2rem;
    }

    .app-info p {
        font-size: 1rem;
    }

    .app-features li {
        justify-content: flex-start;
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
        margin: 2rem auto 0;
        transform: rotate(0deg);
    }

    .pricing {
        padding: 3rem 1rem;
    }

    .pricing h2 {
        font-size: 2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .price {
        font-size: 2rem;
    }

    .price span {
        font-size: 0.9rem;
        display: block;
        margin-top: 0.5rem;
    }

    .features {
        padding: 3rem 1rem;
    }

    .features h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }

    .contact {
        padding: 3rem 1rem;
    }

    .contact-content h2 {
        font-size: 2rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 1rem;
    }

    .footer2 {
        padding: 40px 15px 20px;
        height: auto;
        min-height: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-column {
        min-width: auto;
        max-width: 100%;
    }

    .footer-column h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .footer-column p {
        font-size: 0.9rem;
        margin: 0.5rem 0;
    }

    .footer-copy {
        font-size: 0.85rem;
        margin-top: 2rem;
    }

    .instagram {
        margin-bottom: 0;
        padding: 1rem 0;
    }

    .instagram a {
        margin-left: 15px;
    }

    .instagram img {
        height: 60px;
        width: auto;
    }

    img[width="100%"] {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
    }

    video {
        max-width: 100%;
        height: auto;
    }

    .avotex {
        width: 100% !important;
        max-width: 100%;
        height: auto;
    }

    .pricing {
        background-size: cover;
        background-position: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 0.75rem 2rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .avotex-logo {
        width: 120px;
        margin-bottom: 1rem;
    }

    .primary-btn,
    .secondary-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .features h2,
    .pricing h2,
    .ai-text h2,
    .app-info h2,
    .contact-content h2 {
        font-size: 1.75rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0.875rem;
    }

    .pricing-card {
        padding: 1.25rem;
    }

    .price {
        font-size: 1.75rem;
    }

    .price span {
        font-size: 0.85rem;
    }

    .detection-list li {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .detection-icon {
        font-size: 1.5rem;
        margin-right: 0.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .demo-header h2 {
        font-size: 1.75rem;
    }

    .demo-header p {
        font-size: 0.95rem;
    }

    .alliances {
        padding: 3rem 1rem;
    }

    .alliances-header h2 {
        font-size: 1.75rem;
    }

    .alliances-header p {
        font-size: 0.95rem;
    }

    .alliance-card {
        padding: 1.5rem;
    }

    .alliance-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .alliance-logo-image {
        max-width: 100%;
    }

    .alliance-info h3 {
        font-size: 1.25rem;
    }

    .alliance-info p {
        font-size: 0.9rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-subtitle {
        font-size: 0.65rem;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .app-features li {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .footer2 {
        padding: 30px 10px 15px;
        min-height: 250px;
    }

    .footer-column h3 {
        font-size: 1rem;
    }

    .footer-column p {
        font-size: 0.85rem;
    }

    .footer-copy {
        font-size: 0.75rem;
        margin-top: 1.5rem;
    }

    .instagram img {
        height: 50px;
    }

    .instagram a {
        margin-left: 10px;
    }
}

/* Media Query adicional para pantallas pequeñas en orientación horizontal */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 5rem 1rem 2rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .stats-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }
}







