/* General Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --white: #ffffff;
    --black: #000000;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    color: var(--dark-color);
    line-height: 1.6;
}

/* Header Styles */
.header {
    position: relative;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1.2rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(26, 35, 126, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    padding: 0.6rem 0;
    background: rgba(13, 17, 76, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Logo/Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #4fc3f7, #64ffda);
    color: #fff;
    border-radius: 8px;
    margin-right: 10px;
    font-size: 0.9em;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.3);
    transition: all 0.3s ease;
}

.logo-text {
    background: linear-gradient(90deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.navbar-brand:hover .logo-icon {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(79, 195, 247, 0.4);
}

/* Navigation Links */
.navbar-nav {
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.8rem 1.2rem !important;
    margin: 0 0.2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    z-index: 1;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.1), rgba(100, 255, 218, 0.1));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 6px;
}

.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link span {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link .nav-icon {
    font-size: 1.1rem;
    margin-bottom: 4px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-link:hover .nav-icon {
    color: #4fc3f7;
    opacity: 1;
    transform: translateY(-3px);
}

.nav-link:hover span {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Active Link */
.navbar-nav .nav-link.active {
    color: #fff !important;
    font-weight: 600;
}

.navbar-nav .nav-link.active .nav-icon {
    color: #64ffda;
    opacity: 1;
}

.navbar-nav .nav-link.active::before {
    transform: scaleX(1);
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.2), rgba(100, 255, 218, 0.2));
}

/* Contact Button */
.btn-gradient {
    background: linear-gradient(135deg, #4fc3f7, #64ffda);
    border: none;
    color: #0a192f !important;
    font-weight: 600;
    padding: 0.6rem 1.5rem !important;
    border-radius: 30px !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.3);
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #64ffda, #4fc3f7);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 195, 247, 0.4);
}

.btn-gradient:hover::before {
    opacity: 1;
}

.btn-gradient i {
    transition: transform 0.3s ease;
}

.btn-gradient:hover i {
    transform: translateX(3px);
}

/* Mobile Menu Toggle */
.hamburger {
    width: 30px;
    height: 24px;
    position: relative;
    transform: rotate(0deg);
    transition: all 0.5s ease-in-out;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.25s ease-in-out;
}

.hamburger .bar:nth-child(1) {
    top: 0;
    transform-origin: left center;
}

.hamburger .bar:nth-child(2) {
    top: 10px;
    transform-origin: left center;
}

.hamburger .bar:nth-child(3) {
    top: 20px;
    transform-origin: left center;
}

.hamburger.open .bar:nth-child(1) {
    transform: rotate(45deg);
    top: -3px;
    left: 8px;
    background: #64ffda;
}

.hamburger.open .bar:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.hamburger.open .bar:nth-child(3) {
    transform: rotate(-45deg);
    top: 21px;
    left: 8px;
    background: #64ffda;
}

/* Animated Bottom Border */
.nav-bottom-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4fc3f7, #64ffda);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.navbar.scrolled .nav-bottom-border {
    transform: scaleX(1);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar {
        padding: 1rem 0;
    }
    
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(13, 17, 76, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 6rem 2rem 2rem;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }
    
    .navbar-collapse.show {
        right: 0;
    }
    
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.8rem 1rem !important;
        margin: 0.25rem 0;
        width: 100%;
        border-radius: 8px;
    }
    
    .nav-link::before {
        display: none;
    }
    
    .btn-gradient {
        width: 100%;
        margin-top: 1rem;
        text-align: center;
    }
    
    .hamburger {
        display: block;
    }
}

/* Animation for navbar on page load */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    animation: slideDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, #1a237e, #283593, #3949ab);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 35, 126, 0.9) 0%,
        rgba(57, 73, 171, 0.7) 50%,
        rgba(63, 81, 181, 0.5) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section .lead {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.text-gradient {
    background: linear-gradient(90deg, #4fc3f7, #64ffda);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.btn-hover-scale {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-hover-scale::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.5, 1.6, 0.4, 0.7);
}

.btn-hover-scale:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-hover-scale:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-image-container {
    position: relative;
    z-index: 5;
    perspective: 1000px;
}

.hero-phone-mockup {
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-phone-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.hero-phone-mockup img {
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    border: 10px solid #fff;
    transition: all 0.5s ease;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    z-index: 2;
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, #4fc3f7, #64ffda);
    top: -250px;
    right: -250px;
    animation: float 15s ease-in-out infinite;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    bottom: -150px;
    left: -100px;
    animation: float 12s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #ffd166, #ff9f1c);
    top: 50%;
    right: 10%;
    animation: float 10s ease-in-out infinite;
    animation-delay: 1s;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.scroll-down-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.scroll-text {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.scroll-icon {
    animation: bounce 2s infinite;
    font-size: 1.5rem;
    color: #fff;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-slow {
    animation: float 8s ease-in-out infinite;
}

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

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

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

.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 12px 20px;
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.avatar-group {
    display: flex;
    margin-right: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -10px;
    transition: transform 0.3s ease;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar:hover {
    transform: translateY(-5px);
    z-index: 2;
}

@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
        padding: 100px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .trust-badge {
        margin: 0 auto;
    }
    
    .hero-shape-1,
    .hero-shape-2,
    .hero-shape-3 {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-section {
        height: auto;
    }
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

/* Floating animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 50px;
    left: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
        padding: 120px 0 80px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.25rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .phone-mockup {
        max-width: 80%;
        margin: 0 auto 40px;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .trust-text {
        text-align: center;
    }
    
    .avatar-group {
        justify-content: center;
        margin: 0 auto 1rem;
    }
}

.btn-primary {
    background-color: var(--secondary-color);
    border: none;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== Características Section ===== */
.features-section {
    position: relative;
    background-color: #f8f9fa;
    overflow: hidden;
    padding: 6rem 0;
}

.features-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    text-align: center;
}

.features-section .lead {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: #fff;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    height: 100%;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card.featured {
    border: 1px solid rgba(52, 152, 219, 0.3);
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    position: relative;
}

.feature-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #3498db;
    color: white;
    padding: 5px 30px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 150px;
    text-align: center;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #3498db;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: #3498db;
    color: white;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: #6c757d;
    margin-bottom: 0;
}

.feature-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-image img {
    transition: all 0.5s ease;
    width: 100%;
    height: auto;
    display: block;
}

.feature-image:hover img {
    transform: scale(1.02);
}

.feature-list {
    margin: 2rem 0;
}

.feature-list .d-flex {
    margin-bottom: 1.5rem;
}

.feature-bullet {
    width: 30px;
    height: 30px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 1rem;
}

.feature-bullet i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.feature-list h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.feature-list p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Floating shape for features section */
.shape-3 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: -100px;
    right: -100px;
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}

/* ===== Elementos Incluidos Section ===== */
.elements-section {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

.element-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.element-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.element-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.element-card:hover::before {
    transform: scaleX(1);
}

.element-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.element-card:hover .element-icon {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: #fff;
    transform: rotateY(180deg);
}

.element-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.element-card:hover h3 {
    color: #3498db;
}

.element-card p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Animation */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .features-section {
        padding: 4rem 0;
    }
    
    .feature-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .feature-badge {
        right: -35px;
        padding: 4px 25px;
        font-size: 0.65rem;
    }
    
    .feature-image {
        margin-bottom: 3rem;
    }
}

/* Section: ¿Qué son las Tarjetas Digitales? */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.section-title .text-primary {
    color: var(--secondary-color) !important;
}

.py-lg-7 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.phone-mockup {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 1.5rem;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.phone-screen {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.phone-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.btn-outline-primary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Wavy Divider */
.wavy-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -1px;
}

.wavy-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.wavy-divider .shape-fill {
    fill: #2c3e50;
}

/* Ventajas y Beneficios Section */
.benefits-section {
    position: relative;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    overflow: hidden;
    padding: 100px 0;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, #3498db, #6c63ff, #3498db);
    background-size: 200% auto;
    animation: gradient 3s linear infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.benefits-section .badge {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 8px 16px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

/* Benefit Cards */
.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(106, 27, 154, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3498db, #6c63ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover .benefit-icon-wrapper {
    transform: rotateY(180deg);
    background: transparent;
}

.benefit-card:hover .benefit-icon-wrapper::before {
    opacity: 1;
}

.benefit-icon-wrapper i {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.benefit-card:hover .benefit-icon-wrapper i {
    color: white;
    transform: scale(1.2);
}

.benefit-card h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.benefit-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #6c63ff);
    transition: width 0.3s ease;
}

.benefit-card:hover h3::after {
    width: 100%;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.benefit-card:hover p {
    color: rgba(255, 255, 255, 0.95);
}

/* Timeline Styles */
.timeline-toggle {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.timeline-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #3498db, #6c63ff);
    border-radius: 10px;
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
    width: 50%;
    padding: 0 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #6c63ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: absolute;
    top: 0;
    right: -30px;
    z-index: 1;
    box-shadow: 0 0 0 8px rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -30px;
    right: auto;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 0 8px rgba(108, 99, 255, 0.3);
}

.timeline-content h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-icon {
        left: 10px !important;
        right: auto !important;
    }
}

@media (max-width: 767.98px) {
    .benefits-section {
        padding: 60px 0;
    }
    
    .benefit-card {
        padding: 1.5rem 1.25rem;
    }
    
    .benefit-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .benefit-card h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-content h4 {
        font-size: 1.1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .benefits-section {
        padding: 50px 0;
    }
    
    .benefit-card {
        padding: 1.25rem 1rem;
    }
    
    .benefit-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .benefit-card h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .benefit-card p {
        font-size: 0.85rem;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
    
    .timeline-content p {
        font-size: 0.85rem;
    }
}
    /* Styles are now defined above with the new design */


.phone-mockup-center {
    position: relative;
    width: 300px;
    margin: 0 auto 60px;
    z-index: 2;
}

.phone-mockup-center .phone-screen {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 10px solid #fff;
}

.benefits-container {
    position: relative;
    min-height: 600px;
    margin-top: 40px;
}

.benefit-item {
    position: absolute;
    text-align: center;
    width: 200px;
    z-index: 1;
    transition: all 0.4s ease;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 30px;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.benefit-item h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--white);
}

.benefit-item p {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 0;
}

.benefit-item:hover .benefit-icon {
    background: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Wavy Divider Bottom */
.wavy-divider-bottom {
    transform: rotate(180deg);
    margin-bottom: -1px;
}

.wavy-divider-bottom .shape-fill {
    fill: #f8f9fa;
}

/* Obtenga Ahora Section */
.get-now {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.feature-box {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.feature-text p {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.95rem;
}

.video-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Video Tutorial Section */
.video-tutorial {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.video-tutorial .badge {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 50px;
    text-transform: uppercase;
}

.video-tutorial .lead {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

.video-tutorial .video-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-tutorial .video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.video-tutorial iframe {
    border: none;
    width: 100%;
    height: 100%;
}

/* Call to Action Section */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)),
                url('https://images.pexels.com/photos/3184292/pexels-photo-3184292.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    overflow: hidden;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-form .form-control {
    height: 60px;
    border-radius: 50px;
    border: none;
    padding: 0 25px;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-form .btn {
    height: 60px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 30px;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Planes Section */
#planes {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

#planes .section-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

#planes .section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    bottom: -10px;
    left: 20%;
    border-radius: 3px;
}

.pricing-card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.pricing-card.border-primary {
    border: 2px solid #3498db !important;
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.2);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.border-primary:hover {
    transform: translateY(-12px);
}

.price {
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.price span:first-child {
    color: #2c3e50;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.price span:last-child {
    font-size: 1rem;
    color: #6c757d;
}

.pricing-card ul li {
    padding: 5px 0;
    color: #495057;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-card .btn {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.pricing-card .btn-primary {
    background: linear-gradient(45deg, #3498db, #2ecc71);
    border: none;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.pricing-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(52, 152, 219, 0.4);
}

.pricing-card .btn-outline-primary {
    border: 2px solid #3498db;
    color: #3498db;
    background: transparent;
}

.pricing-card .btn-outline-primary:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Highlight the Popular Plan */
.pricing-card .badge {
    font-size: 0.7rem;
    padding: 5px 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .pricing-card.border-primary {
        transform: none;
        margin: 20px 0;
    }
    
    .pricing-card {
        margin: 10px 0;
    }
}

/* Footer Styles */
.footer {
    background-color: #2c3e50;
    color: #fff;
    position: relative;
}

.contact-bar {
    background-color: #3498db;
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item i {
    font-size: 1.2rem;
    margin-right: 10px;
    color: white;
}

.contact-item span {
    font-size: 0.95rem;
}

.main-footer {
    padding: 80px 0 40px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-heading {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #3498db;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #b3b3b3;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #3498db;
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #3498db;
    transform: translateY(-3px);
}

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    color: #b3b3b3;
}

.copyright a {
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
}

.copyright a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    bottom: 30px;
}

.back-to-top:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .benefit-item {
        width: 160px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .benefit-item h4 {
        font-size: 12px;
    }
    
    .benefit-item p {
        font-size: 11px;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--primary-color);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .benefits-container {
        min-height: 800px;
    }
    
    .benefit-item {
        position: static !important;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 30px;
        transform: none !important;
    }
    
    .phone-mockup-center {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .main-footer {
        padding: 60px 0 30px;
    }
    
    .footer-logo {
        font-size: 1.8rem;
    }
    
    .footer-heading {
        margin-top: 30px;
    }
    
    .contact-item {
        justify-content: flex-start;
        margin-bottom: 15px;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding-top: 100px;
        min-height: 100vh;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .cta-form .form-control,
    .cta-form .btn {
        height: 50px;
        font-size: 1rem;
    }
    
    .cta-form .btn {
        margin-top: 10px;
    }
    
    .feature-box {
        padding: 15px;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin-right: 12px;
    }
    
    .feature-text h4 {
        font-size: 1rem;
    }
    
    .feature-text p {
        font-size: 0.9rem;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        right: 15px;
        bottom: 15px;
    }
    
    .copyright {
        text-align: center;
    }
    
    .copyright .text-md-end {
        text-align: center !important;
        margin-top: 10px;
    }
}
