:root {
    --bg-dark: #070908;
    --bg-darker: #030403;
    --glass-bg: rgba(18, 26, 22, 0.65);
    --glass-border: rgba(0, 208, 132, 0.15);
    --primary: #00D084;
    --primary-hover: #00A669;
    --secondary: #006840;
    --text-main: #F4F7F5;
    --text-muted: #9BAEA2;
    --font-main: 'Outfit', sans-serif;
    
    --glow-primary: rgba(0, 208, 132, 0.4);
    --glow-secondary: rgba(0, 104, 64, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(to bottom, rgba(7, 9, 8, 0.9) 0%, rgba(7, 9, 8, 0.8) 100%), url('../img/fondo3.svg') center/cover no-repeat fixed;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--glow-secondary);
}

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

.btn-outline:hover {
    background: var(--primary);
    box-shadow: 0 4px 15px var(--glow-primary);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

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

.mt-4 {
    margin-top: 1.5rem;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

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

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 400;
    color: var(--text-muted);
}

.nav-link:hover {
    color: var(--text-main);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(to right, rgba(7, 9, 8, 0.95) 0%, rgba(7, 9, 8, 0.4) 100%), url('../img/fondo1.svg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

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

.hero-image {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--glow-primary);
    top: 0;
    right: 10%;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: var(--glow-secondary);
    bottom: 0;
    left: 10%;
    animation-delay: -3s;
}

.main-glass {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.speed-indicator {
    font-weight: 800;
}

.speed-value {
    font-size: 5rem;
    line-height: 1;
    background: linear-gradient(to right, #fff, #9BAEA2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.speed-unit {
    font-size: 1.5rem;
    color: var(--primary);
}

.speed-label {
    margin-top: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* Benefits Section */
.benefits {
    padding: 6rem 0;
    position: relative;
    background: transparent;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.benefit-card {
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Plans Section */
.plans {
    padding: 6rem 0;
    background: transparent;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: center;
}

.plan-card {
    position: relative;
    padding: 3rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.plan-card.featured {
    transform: scale(1.05);
    border-color: var(--primary);
    background: rgba(30, 41, 59, 0.8);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-price {
    margin-top: 10px;
}

.plan-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
    color: var(--text-muted);
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.plan-price .period {
    color: var(--text-muted);
}

.plan-speed {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 2rem;
}

.plan-speed .speed {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.plan-features {
    margin-bottom: 2.5rem;
}

.plan-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.plan-features li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
}

.cta-card p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

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

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
}

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

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 4rem;
    }

    .hero-title { font-size: 3rem; }
    
    .hero-subtitle { 
        margin: 0 auto 2.5rem; 
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .plan-card.featured {
        transform: scale(1);
    }
    
    .plan-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
    }

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

    .nav-list {
        flex-direction: column;
        align-items: center;
        font-size: 1.5rem;
    }
    
    .hero-title { font-size: 2.5rem; }
    
    .hero-buttons {
        flex-direction: column;
    }
}

/* Nosotros Section */
.nosotros {
    padding: 6rem 0;
    position: relative;
    background: transparent;
}

.nosotros-container {
    padding: 2.5rem;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.nosotros-block {
    margin-bottom: 3rem;
}

.nosotros-block:last-child {
    margin-bottom: 0;
}

.nosotros-block h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.nosotros-block p {
    margin-bottom: 1.2rem;
    color: var(--text-main);
    line-height: 1.7;
    font-size: 1.1rem;
}

.valores-list {
    list-style-type: none;
    padding-left: 0;
}

.valores-list li {
    margin-bottom: 1.2rem;
    color: var(--text-main);
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.valores-list li::before {
    content: "•";
    color: var(--primary);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -4px;
}
