@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@700&family=Nunito:wght@400;600;700&display=swap');
@import url('css/variables.css');

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

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 50%, var(--bg-primary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    padding-top: 60px; /* Remove padding to eliminate gap */
}

h1, .section-title {
    font-family: var(--font-primary) !important;
    font-weight: var(--font-weight-bold) !important;
    letter-spacing: var(--letter-spacing-wide);
}

h2, h3, h4, h5, h6, .section-subtitle {
    font-family: var(--font-secondary) !important;
    font-weight: var(--font-weight-semibold) !important;
    letter-spacing: var(--letter-spacing-normal);
}

p, .stat-label, .btn {
    font-family: var(--font-body);
    font-weight: var(--font-weight-normal);
}

/* Section Styles */
section {
    position: relative;
    padding: 10px 0;
}

.hero-section {
    padding: 90px 0 20px 0; /* Reduced bottom padding to minimize gap */
    min-height: 60vh; /* Reduced min-height to minimize gap */
}

.features-section,
.languages-section,
.how-it-works-section,
.testimonials-section,
.cta-section,
.partners-section {
    padding: 48px 0;
}

@media (max-width: 991px) {
    section,
    .features-section,
    .languages-section,
    .how-it-works-section,
    .testimonials-section,
    .cta-section,
    .partners-section {
        padding: 16px 0;
    }
    
    .hero-section {
        padding: 80px 0 15px 0; /* Reduced bottom padding for tablets */
    }
}

@media (max-width: 576px) {
    section,
    .features-section,
    .languages-section,
    .how-it-works-section,
    .testimonials-section,
    .cta-section,
    .partners-section {
        padding: 40px 0;
    }
    
    .hero-section {
        padding: 70px 0 10px 0; /* Reduced bottom padding for mobile */
    }
}

.section-header {
    margin-bottom: 4rem;
}

.section-title, .hero-title {
    color: var(--primary-color) !important;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: var(--font-size-section-title);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: var(--font-size-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--line-height-relaxed);
}

/* Hero Section */
.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
    padding: 0rem 0 1rem 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    padding-left: 1rem;
    margin-top: -2rem;
}

.hero-title {
    font-size: var(--font-size-hero-title);
    font-weight: var(--font-weight-extrabold);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: var(--line-height-tight);
    margin-top: 0;
}

.hero-description {
    font-size: var(--font-size-large);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: var(--line-height-relaxed);
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: var(--font-size-medium);
    font-weight: var(--font-weight-semibold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    padding: 20px;
    overflow: visible;
}

/* Turtle Animation and Effects */
@keyframes turtle-float {
  0% { transform: translateY(0) scale(1.08) rotate(-2deg); }
  50% { transform: translateY(-32px) scale(1.13) rotate(2deg); }
  100% { transform: translateY(0) scale(1.08) rotate(-2deg); }
}

.hero-img-turtle {
  transition: filter 0.3s, transform 0.3s;
  will-change: transform, filter;
  width: 480px !important;
  max-width: 98vw;
  object-fit: contain;
  object-position: center;
}

.turtle-glow-blue {
  filter: brightness(1.18) contrast(1.25) saturate(1.1) drop-shadow(0 0 32px #ffe06688) drop-shadow(0 8px 24px #ffd60044);
}

.turtle-glow-bg {
    position: absolute;
    left: 50%;
  top: 50%;
  width: 480px;
  height: 480px;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
    border-radius: 50%;
  background: radial-gradient(circle, #ffe066 0%, #fffde7 60%, transparent 100%);
  opacity: 0.65;
  animation: turtle-bg-glow 5s ease-in-out infinite alternate;
  filter: blur(32px);
}

@keyframes turtle-bg-glow {
  0% { opacity: 0.55; filter: blur(32px); }
  50% { opacity: 0.85; filter: blur(48px); }
  100% { opacity: 0.65; filter: blur(32px); }
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary, .btn-primary:focus, .btn-primary:active {
    background: var(--gradient-primary) !important;
    border-color: var(--primary-color) !important;
    color: #333 !important;
}

.btn-primary:hover {
    background: linear-gradient(90deg, var(--primary-hover) 0%, var(--primary-color) 100%) !important;
    border-color: var(--primary-hover) !important;
    color: #333 !important;
}

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

.btn-outline-primary:hover {
    background: var(--primary-color) !important;
    color: #333 !important;
    border-color: var(--primary-hover) !important;
}

.btn-secondary, .btn-secondary:focus, .btn-secondary:active {
    background: var(--gradient-secondary) !important;
    border-color: var(--secondary-color) !important;
    color: #333 !important;
}

.btn-secondary:hover {
    background: linear-gradient(90deg, #FFA726 0%, var(--secondary-color) 100%) !important;
    border-color: #FFA726 !important;
    color: #333 !important;
}

.btn-outline-secondary, .btn-outline-secondary:focus, .btn-outline-secondary:active {
    background: transparent !important;
    border-color: var(--secondary-color) !important;
    color: var(--secondary-color) !important;
}

.btn-outline-secondary:hover {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #333 !important;
}

/* Features Section */
.features-carousel-container, .features-carousel, .carousel-controls, .carousel-btn {
    display: none !important;
}

.features-section .row {
    margin-left: 0;
    margin-right: 0;
}

.feature-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px var(--shadow-color);
}

/* Why Choose Soged Background */
.why-soged-bg {
    background: linear-gradient(135deg, var(--bg-primary) 60%, var(--bg-tertiary) 100%);
    border-radius: 2.5rem;
    padding: 2.5rem 1rem 2rem 1rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.why-soged-bg::before, .why-soged-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    z-index: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.why-soged-bg::before {
    width: 300px; height: 300px;
    left: -100px; top: -80px;
    background-image: url('Images/Languages/Amarillo.png');
    animation: float 6s ease-in-out infinite;
}

.why-soged-bg::after {
    width: 250px; height: 250px;
    right: -80px; bottom: -60px;
    background-image: url('Images/Languages/Rojo.png');
    animation: float 8s ease-in-out infinite reverse;
}

/* Additional background elements using pseudo-elements on child elements */
.why-soged-bg .container::before {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    left: 50px; top: 50%;
    transform: translateY(-50%);
    background-image: url('Images/Languages/Azul.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
    animation: float 7s ease-in-out infinite;
}

/* Glass Card */
.glass-card {
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}

.glass-card:hover {
    box-shadow: 0 16px 48px 0 rgba(0,163,224,0.18);
    border-color: var(--primary-color);
    transform: translateY(-8px) scale(1.03);
}

/* Feature Badge */
.feature-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 1rem;
    color: #fff;
    z-index: 2;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.badge-blue { background: var(--gradient-info); }
.badge-orange { background: var(--gradient-secondary); }
.badge-green { background: var(--gradient-primary); }
.badge-yellow { background: var(--gradient-accent); }

/* Feature Icon Background */
.feature-icon-bg {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2.5rem auto 1.5rem auto;
    font-size: 2.5rem;
    color: #fff;
    box-shadow: 0 4px 24px rgba(0,163,224,0.10);
    position: relative;
    z-index: 1;
    animation: floatIcon 3.5s ease-in-out infinite;
}

.icon-bg-blue { background: var(--gradient-info); }
.icon-bg-orange { background: var(--gradient-secondary); }
.icon-bg-green { background: var(--gradient-primary); }
.icon-bg-yellow { background: var(--gradient-accent); }

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

/* Feature Title */
.feature-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* App Showcase Section - Centered Phone */
.app-showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
    position: relative;
}

.app-showcase-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Central Phone Mockup */
.phone-mockup-container {
    position: relative;
    z-index: 10;
    margin-bottom: 2rem;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 500px;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 30px;
    padding: 8px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.1),
        inset 0 1px 0 rgba(255,255,255,0.2);
    animation: phoneFloat 3s ease-in-out infinite;
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.app-header {
    background: #f8f9fa;
    padding: 8px 16px;
    border-bottom: 1px solid #e9ecef;
}

.app-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #333;
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 4px;
    font-size: 10px;
}

.app-content {
    padding: 16px 20px 20px;
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    overflow-y: auto;
}

.app-logo {
    margin-bottom: 1rem;
    padding-top: 0.25rem;
    line-height: 0;
    overflow: visible;
}

.app-logo-img {
    height: 58px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.app-welcome h3 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.app-welcome p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.app-features-preview {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
}

.feature-preview-item {
    background: linear-gradient(135deg, var(--logo-blue) 0%, rgba(0, 163, 224, 0.8) 100%);
    border-radius: 12px;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 163, 224, 0.3);
    box-shadow: 0 2px 8px rgba(0, 163, 224, 0.2);
}

.feature-preview-item:nth-child(2) {
    background: linear-gradient(135deg, var(--logo-orange) 0%, rgba(255, 107, 53, 0.8) 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

.feature-preview-item:nth-child(3) {
    background: linear-gradient(135deg, var(--logo-green) 0%, rgba(40, 167, 69, 0.8) 100%);
    border: 1px solid rgba(40, 167, 69, 0.3);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.feature-preview-item:nth-child(4) {
    background: linear-gradient(135deg, var(--logo-yellow) 0%, rgba(255, 179, 0, 0.8) 100%);
    border: 1px solid rgba(255, 179, 0, 0.3);
    box-shadow: 0 2px 8px rgba(255, 179, 0, 0.2);
}

.feature-preview-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.feature-preview-item:nth-child(1):hover {
    background: linear-gradient(135deg, var(--logo-blue) 0%, rgba(0, 163, 224, 0.9) 100%);
    box-shadow: 0 6px 16px rgba(0, 163, 224, 0.3);
}

.feature-preview-item:nth-child(2):hover {
    background: linear-gradient(135deg, var(--logo-orange) 0%, rgba(255, 107, 53, 0.9) 100%);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
}

.feature-preview-item:nth-child(3):hover {
    background: linear-gradient(135deg, var(--logo-green) 0%, rgba(40, 167, 69, 0.9) 100%);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.3);
}

.feature-preview-item:nth-child(4):hover {
    background: linear-gradient(135deg, var(--logo-yellow) 0%, rgba(255, 179, 0, 0.9) 100%);
    box-shadow: 0 6px 16px rgba(255, 179, 0, 0.3);
}

.feature-preview-item i {
    color: white;
    font-size: 1.2rem;
    width: 20px;
}

.feature-preview-item span {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Features Superimposed */
.features-superimposed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20;
}

.feature-superimposed {
    position: absolute;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    width: 290px;
    animation: featureCardPulse 4s ease-in-out infinite;
}

@keyframes featureCardPulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
    50% { box-shadow: 0 12px 32px rgba(0,0,0,0.22); }
}

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

@media (prefers-reduced-motion: reduce) {
    .feature-superimposed {
        animation: none;
    }
}

.feature-superimposed:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.feature-superimposed.four-languages:hover {
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.95) 0%, rgba(147, 197, 253, 0.95) 100%);
    border-color: rgba(0, 163, 224, 1);
}

.feature-superimposed.enrolled-students:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95) 0%, rgba(255, 179, 0, 0.95) 100%);
    border-color: rgba(255, 107, 53, 1);
}

.feature-superimposed.partners:hover {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.95) 0%, rgba(134, 239, 172, 0.95) 100%);
    border-color: rgba(40, 167, 69, 1);
}

.feature-superimposed.market-valuation:hover {
    background: linear-gradient(135deg, rgba(255, 179, 0, 0.95) 0%, rgba(255, 193, 7, 0.95) 100%);
    border-color: rgba(255, 179, 0, 1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.feature-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    text-align: center;
}

.feature-info h4 {
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    text-align: center;
}

.feature-info p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: center;
}

/* Statistic-specific colors and positioning */
.feature-superimposed.four-languages {
    top: 10%;
    right: 15%;
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.8) 0%, rgba(147, 197, 253, 0.8) 100%);
    border-color: rgba(0, 163, 224, 0.9);
}

.feature-superimposed.four-languages .feature-icon {
    background: var(--gradient-info);
}

.feature-superimposed.enrolled-students {
    top: 30%;
    left: 15%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.8) 0%, rgba(255, 179, 0, 0.8) 100%);
    border-color: rgba(255, 107, 53, 0.9);
}

.feature-superimposed.enrolled-students .feature-icon {
    background: var(--gradient-secondary);
}

.feature-superimposed.partners {
    bottom: 30%;
    right: 15%;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.8) 0%, rgba(134, 239, 172, 0.8) 100%);
    border-color: rgba(40, 167, 69, 0.9);
}

.feature-superimposed.partners .feature-icon {
    background: var(--gradient-primary);
}

.feature-superimposed.market-valuation {
    bottom: 10%;
    left: 15%;
    background: linear-gradient(135deg, rgba(255, 179, 0, 0.8) 0%, rgba(255, 193, 7, 0.8) 100%);
    border-color: rgba(255, 179, 0, 0.9);
}

.feature-superimposed.market-valuation .feature-icon {
    background: var(--gradient-accent);
}



/* Responsive Design for App Showcase */
@media (max-width: 991px) {
    .app-showcase-container {
        padding: 2rem 0;
    }
    
    .app-showcase-content {
        margin-bottom: 2rem;
    }
    
    .features-superimposed {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        width: 100%;
        margin: 2rem auto 0 auto;
        padding: 0 1rem;
    }
    
    .feature-superimposed {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        justify-content: center;
        text-align: center;
        align-items: center;
    }
    
    /* Ensure text content is centered within feature-info */
    .feature-superimposed .feature-info {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .feature-superimposed .feature-info h4,
    .feature-superimposed .feature-info p {
        text-align: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }
    
    .phone-mockup {
        width: 250px;
        height: 450px;
    }
}

/* Additional responsive adjustments for larger screens */
@media (min-width: 992px) and (max-width: 1200px) {
    .feature-superimposed.four-languages {
        right: 7%;
    }
    
    .feature-superimposed.enrolled-students {
        left: 7%;
    }
    
    .feature-superimposed.partners {
        right: 7%;
    }
    
    .feature-superimposed.market-valuation {
        left: 7%;
    }
}

@media (min-width: 1201px) and (max-width: 1400px) {
    .feature-superimposed.four-languages {
        right: 14%;
    }
    
    .feature-superimposed.enrolled-students {
        left: 14%;
    }
    
    .feature-superimposed.partners {
        right: 14%;
    }
    
    .feature-superimposed.market-valuation {
        left: 14%;
    }
}



@media (max-width: 576px) {
    .app-showcase-container {
        padding: 1.5rem 0.5rem;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
        margin: 0 auto;
    }
    
    .app-logo-img {
        height: 52px;
        width: auto;
        max-width: 200px;
        object-fit: contain;
    }
    
    .app-welcome h3 {
        font-size: 1.2rem;
    }
    
    .app-welcome p {
        font-size: 0.9rem;
    }
    
    /* Mostrar tarjetas debajo de la app en columna */
    .features-superimposed {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        margin: 1.5rem auto 0 auto;
        width: 100%;
        padding: 0 0.5rem;
    }
    
    .feature-superimposed {
        display: flex !important;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        justify-content: center;
        text-align: center;
        align-items: center;
    }
    
    /* Ensure text content is centered within feature-info */
    .feature-superimposed .feature-info {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .feature-superimposed .feature-info h4,
    .feature-superimposed .feature-info p {
        text-align: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }
    
    /* Centrar la app */
    .app-showcase-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 45vh;
    }
    
    .phone-mockup-container {
        margin: 0 auto;
    }
}

/* Native Speakers Screen */
.native-speakers-screen {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.speaker-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
    backdrop-filter: blur(10px);
}

.speaker-info {
    text-align: center;
    margin-bottom: 30px;
}

.speaker-info h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.speaker-info span {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.audio-wave {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    height: 40px;
}

.wave-bar {
    width: 4px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    animation: waveAnimation 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 30px; animation-delay: 0.2s; }
.wave-bar:nth-child(3) { height: 40px; animation-delay: 0.4s; }
.wave-bar:nth-child(4) { height: 30px; animation-delay: 0.6s; }
.wave-bar:nth-child(5) { height: 20px; animation-delay: 0.8s; }

@keyframes waveAnimation {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

/* Interactive Learning Screen */
.interactive-screen {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

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

.game-question {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.4;
}

.game-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.game-option {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.game-option.correct {
    background: rgba(76, 175, 80, 0.3);
    border-color: rgba(76, 175, 80, 0.5);
}

.game-option:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.progress-bar {
    background: rgba(255,255,255,0.2);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Mobile Learning Screen */
.mobile-screen {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.lesson-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lesson-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.15);
    padding: 15px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.lesson-item.active {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.3);
}

.lesson-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.lesson-info {
    flex: 1;
}

.lesson-info h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.lesson-info span {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
}

.lesson-progress {
    position: relative;
    width: 40px;
    height: 40px;
}

.progress-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#4CAF50 0deg 288deg, rgba(255,255,255,0.2) 288deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-circle::before {
    content: attr(data-progress) '%';
    position: absolute;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

/* Certificates Screen */
.certificates-screen {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.achievements-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.15);
    padding: 15px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.achievement-item.earned {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.3);
}

.achievement-item.locked {
    opacity: 0.6;
    background: rgba(0,0,0,0.1);
}

.achievement-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.achievement-info {
    flex: 1;
}

.achievement-info h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.achievement-info span {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
}



/* Languages Section */
.languages-section {
    background: var(--bg-primary);
}

.languages-bg {
    background: linear-gradient(135deg, var(--bg-primary) 60%, var(--bg-tertiary) 100%);
    border-radius: 2.5rem;
    padding: 2.5rem 1rem 2rem 1rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.languages-bg::before, .languages-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.10;
    z-index: 0;
}

.languages-bg::before {
    width: 220px; height: 220px;
    left: -80px; top: -60px;
    background: var(--gradient-primary);
}

.languages-bg::after {
    width: 180px; height: 180px;
    right: -60px; bottom: -40px;
    background: var(--gradient-accent);
}

/* Language Step Cards */
.language-step {
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 32px 0 rgba(31,38,135,0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
    padding: 2.2rem 1.2rem 2rem 1.2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.language-step:hover {
    box-shadow: 0 16px 48px 0 rgba(0,163,224,0.18);
    border-color: var(--primary-color);
    transform: translateY(-8px) scale(1.03);
}

.language-step .step-number {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    background: var(--gradient-primary);
    padding: 0.4rem 1.1rem;
    border-radius: 1rem;
    z-index: 2;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.language-step .step-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2.5rem auto 1.5rem auto;
    font-size: 2.5rem;
    color: #fff;
    box-shadow: 0 4px 24px rgba(0,163,224,0.10);
    position: relative;
    z-index: 1;
    animation: floatIcon 3.5s ease-in-out infinite;
}

.language-step .step-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.language-step .lang-level {
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 1rem;
    margin-bottom: 0.7rem;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.language-step .lang-stats {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 0;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-step .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.language-step .lang-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    height: 4.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Language Colors */
.language-step.ngabe-blue .step-number,
.language-step.ngabe-blue .lang-level { background: var(--gradient-info); }
.language-step.ngabe-blue .step-icon { background: var(--gradient-info); }
.language-step.naso-orange .step-number,
.language-step.naso-orange .lang-level { background: var(--gradient-secondary); }
.language-step.naso-orange .step-icon { background: var(--gradient-secondary); }
.language-step.guna-green .step-number,
.language-step.guna-green .lang-level { background: var(--gradient-primary); }
.language-step.guna-green .step-icon { background: var(--gradient-primary); }
.language-step.embera-yellow .step-number,
.language-step.embera-yellow .lang-level { background: var(--gradient-accent); }
.language-step.embera-yellow .step-icon { background: var(--gradient-accent); }

/* Language-specific button styles */
.btn-ngabe {
    background: var(--gradient-info) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
}

.btn-ngabe:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 163, 224, 0.3) !important;
    color: white !important;
}

.btn-naso {
    background: var(--gradient-secondary) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
}

.btn-naso:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(255, 179, 0, 0.3) !important;
    color: white !important;
}

.btn-guna {
    background: var(--gradient-primary) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
}

.btn-guna:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3) !important;
    color: white !important;
}

.btn-embera {
    background: var(--gradient-accent) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
}

.btn-embera:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3) !important;
    color: white !important;
}

.language-step.coming-soon {
    opacity: 0.65;
    filter: grayscale(100%);
    pointer-events: none;
}

.language-step.coming-soon .step-icon img {
    filter: grayscale(100%);
}

.language-step.coming-soon .step-title {
    color: #6c757d !important;
    background: none !important;
    -webkit-text-fill-color: #6c757d !important;
}

.language-step.coming-soon .lang-description {
    color: #adb5bd;
}

.btn-coming-soon {
    background: #adb5bd !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    cursor: not-allowed !important;
}

/* How It Works Section */
.how-it-works-section {
    background: var(--bg-secondary);
}

.step-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 1.2rem auto;
    border-radius: 50%;
    box-shadow: 0 4px 24px rgba(0,163,224,0.10);
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.step-card:hover .step-icon {
    transform: scale(1.1);
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Step Card Colors */
.circle-blue { background: var(--gradient-info); color: #fff; }
.circle-orange { background: var(--gradient-secondary); color: #fff; }
.circle-green { background: var(--gradient-primary); color: #fff; }
.circle-yellow { background: var(--gradient-accent); color: #fff; }

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-primary);
}

.testimonial-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.author-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
}

.testimonial-card:hover .author-photo {
    transform: scale(1.1);
}

.testimonial-card:hover .author-avatar {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.2rem 0;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Partners Section — handled by <partners-marquee> web component */

/* CTA Section - Now handled by web component */

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: var(--font-size-section-title);
    }
    
    .feature-card,
    .language-card,
    .step-card,
    .testimonial-card {
        margin-bottom: 2rem;
    }
    
    .why-soged-bg { padding: 2rem 0.5rem 1.5rem 0.5rem; }
    .feature-icon-bg { margin: 2rem auto 1rem auto; }
    .languages-bg { padding: 2rem 0.5rem 1.5rem 0.5rem; }
    .language-step .step-icon { margin: 2rem auto 1rem auto; }
}

/* Tablet Responsive */
@media (max-width: 991px) and (min-width: 769px) {
    .hero-title {
        font-size: 3.2rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 2.5rem !important;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 1.3rem !important;
        line-height: 1.5;
    }
    
    .hero-description {
        font-size: 1.3rem;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        margin-top: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem !important;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 1.1rem !important;
        line-height: 1.5;
    }
    
    .hero-description {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2.5rem;
    }
    
    .hero-content {
        padding-left: 0;
        text-align: center;
        padding-top: 3rem;
    }
    
    .hero-description {
        max-width: 100%;
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: var(--font-size-h1);
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* CTA styles now handled by web component */
    
    .why-soged-bg { border-radius: 1.2rem; }
    .feature-card { margin-bottom: 1.5rem; }
    .languages-bg { border-radius: 1.2rem; }
    .language-step { margin-bottom: 1.5rem; }
    
    /* App Showcase and Feature Cards */
    .app-showcase-container {
        padding: 2rem 1rem;
    }
    
    .phone-mockup {
        width: 320px;
        height: 640px;
        margin: 0 auto;
    }
    
    .app-welcome h3 {
        font-size: 1.4rem;
    }
    
    .app-welcome p {
        font-size: 1rem;
    }
    
    .feature-preview-item {
        padding: 0.6rem;
    }
    
    .feature-preview-item span {
        font-size: 0.9rem;
    }
    
    /* Mostrar tarjetas debajo de la app en columna */
    .features-superimposed {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        margin: 2rem auto 0 auto;
        width: 100%;
        padding: 0 1rem;
    }
    
    .feature-superimposed {
        display: flex !important;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        justify-content: center;
        text-align: center;
        align-items: center;
    }
    
    /* Ensure text content is centered within feature-info */
    .feature-superimposed .feature-info {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .feature-superimposed .feature-info h4,
    .feature-superimposed .feature-info p {
        text-align: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }
    
    /* Centrar la app */
    .app-showcase-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 50vh;
    }
    
    .phone-mockup-container {
        margin: 0 auto;
    }
    
    /* Partners section */
    .partners-carousel {
        gap: 1.5rem;
    }
    
    .partner-logo-item {
        min-width: 180px;
        padding: 1.2rem 1.5rem;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    .partner-logo-item i {
        font-size: 2rem;
    }
    
    .partner-logo-item .partner-logo {
        width: 60px;
        height: 60px;
        border-radius: 50%;
    }
    
    .partner-logo-item span {
        font-size: 0.8rem;
    }
    
    /* Hero section adjustments */
    .hero-section,
    .features-section,
    .languages-section,
    .how-it-works-section,
    .testimonials-section,
    .partners-section {
        padding: 2rem 1rem;
    }
    
    .hero-section::before,
    .features-section::before,
    .languages-section::before,
    .how-it-works-section::before,
    .testimonials-section::before,
    .partners-section::before {
        opacity: 0.3;
    }
    
    body::before {
        opacity: 0.1;
    }
    
    body::after {
        opacity: 0.05;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        margin-top: 3rem;
        margin-bottom: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 3rem;
    }
    
    .hero-content {
        padding-top: 4rem;
    }
    
    .section-title {
        font-size: var(--font-size-h2);
    }
    
    .feature-card,
    .language-card,
    .step-card,
    .testimonial-card,
    .partner-card {
        padding: 1.5rem;
    }
    
    .feature-icon,
    .step-icon,
    .partner-logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .why-soged-bg { padding: 1rem 0.2rem 1rem 0.2rem; }
    .feature-icon-bg { width: 70px; height: 70px; font-size: 1.5rem; }
    .feature-title { font-size: 1.1rem; }
    .languages-bg { padding: 1rem 0.2rem 1rem 0.2rem; }
    .language-step .step-icon { width: 70px; height: 70px; font-size: 1.5rem; }
    .language-step .step-title { font-size: 1.1rem; }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2;
        margin-top: 4rem;
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.5;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 3.5rem;
    }
    
    .hero-content {
        padding-top: 5rem;
    }
}



@media (max-width: 576px) {
    .partners-carousel {
        gap: 1rem;
    }
    
    .partner-logo-item {
        min-width: 160px;
        padding: 1rem 1.2rem;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    .partner-logo-item i {
        font-size: 1.8rem;
    }
    
    .partner-logo-item .partner-logo {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }
    
    .partner-logo-item span {
        font-size: 0.75rem;
    }
}

/* ===== DECORATIVE STYLES FOR HOMEPAGE ===== */

/* Keyword highlighting */
.keyword-red {
    color: var(--danger-color);
    font-weight: 700;
}

.keyword-green {
    color: var(--primary-color);
    font-weight: 700;
}

.keyword-blue {
    color: var(--info-color);
    font-weight: 700;
}

.keyword-secondary {
    color: var(--secondary-color) !important;
    font-weight: 700;
    -webkit-text-fill-color: var(--secondary-color) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

/* Decorative section borders with images */
.hero-section,
.features-section,
.languages-section,
.how-it-works-section,
.testimonials-section,
.partners-section {
    position: relative;
    border: 4px solid transparent;
    background-clip: padding-box;
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
}

.hero-section::before,
.features-section::before,
.languages-section::before,
.how-it-works-section::before,
.testimonials-section::before,
.partners-section::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 15px;
    z-index: -1;
    opacity: 0.8;
}

.hero-section::before {
    background: url('Images/Languages/Azul.png') center/cover;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(40, 167, 69, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 179, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.9) 100%);
    z-index: -1;
}

.features-section {
    position: relative;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
    overflow: hidden;
}

.features-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2328A745' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    animation: pattern-float 20s linear infinite;
}

@keyframes pattern-float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-60px); }
}

.languages-section::before {
    background: url('Images/Languages/Verde.png') center/cover;
}

.how-it-works-section::before {
    background: url('Images/Languages/Rojo.png') center/cover;
}

.testimonials-section::before {
    background: url('Images/Languages/Azul.png') center/cover;
    opacity: 0.6;
}

/* CTA section now handled by web component */

.partners-section::before {
    background: url('Images/Languages/Verde.png') center/cover;
    opacity: 0.6;
}

/* Decorative card borders */
.feature-card,
.language-step,
.step-card,
.testimonial-card {
    position: relative;
    border-top: 3px solid transparent;
    background-clip: padding-box;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-card::before,
.language-step::before,
.step-card::before,
.testimonial-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top center;
    opacity: 1;
}

/* Feature card borders */
.feature-card:nth-child(1)::before {
    background-image: url('Images/Languages/Azul.png');
}

.feature-card:nth-child(2)::before {
    background-image: url('Images/Languages/Amarillo.png');
}

.feature-card:nth-child(3)::before {
    background-image: url('Images/Languages/Verde.png');
}

.feature-card:nth-child(4)::before {
    background-image: url('Images/Languages/Rojo.png');
}

/* Language step borders */
.language-step.ngabe-blue::before {
    background-image: url('Images/Languages/Azul.png');
}

.language-step.naso-orange::before {
    background-image: url('Images/Languages/Amarillo.png');
}

.language-step.guna-green::before {
    background-image: url('Images/Languages/Verde.png');
}

.language-step.embera-yellow::before {
    background-image: url('Images/Languages/Rojo.png');
}

/* Step card borders */
.step-card.step-blue::before {
    background-image: url('Images/Languages/Azul.png');
}

.step-card.step-orange::before {
    background-image: url('Images/Languages/Amarillo.png');
}

.step-card.step-green::before {
    background-image: url('Images/Languages/Verde.png');
}

.step-card.step-yellow::before {
    background-image: url('Images/Languages/Rojo.png');
}

/* Testimonial card borders */
.testimonial-card::before {
    background-image: url('Images/Languages/Azul.png');
}

.testimonial-card:nth-child(2)::before {
    background-image: url('Images/Languages/Amarillo.png');
}

.testimonial-card:nth-child(3)::before {
    background-image: url('Images/Languages/Verde.png');
}

/* Page border decorations */
body {
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        url('Images/Languages/Azul.png') 0% 25%,
        url('Images/Languages/Amarillo.png') 25% 50%,
        url('Images/Languages/Verde.png') 50% 75%,
        url('Images/Languages/Rojo.png') 75% 100%);
    background-size: 25% 100%;
    background-repeat: no-repeat;
    z-index: 1000;
    opacity: 0.8;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 100vh;
    background: linear-gradient(180deg, 
        url('Images/Languages/Azul.png') 0% 25%,
        url('Images/Languages/Amarillo.png') 25% 50%,
        url('Images/Languages/Verde.png') 50% 75%,
        url('Images/Languages/Rojo.png') 75% 100%);
    background-size: 100% 25%;
    background-repeat: no-repeat;
    z-index: 1000;
    opacity: 0.8;
}

/* Container positioning */
.container {
    position: relative;
    z-index: 2;
}

/* Header and navbar cleanup */
.navbar {
    border-bottom: none;
}

.navbar::before,
.navbar::after {
    display: none !important;
}

.header-component::before,
.header-component::after {
    display: none !important;
}

/* Footer border */
.footer {
    border-top: 4px solid;
    border-image: linear-gradient(90deg, 
        url('Images/Languages/Azul.png') 0% 25%,
        url('Images/Languages/Amarillo.png') 25% 50%,
        url('Images/Languages/Verde.png') 50% 75%,
        url('Images/Languages/Rojo.png') 75% 100%) 1;
    opacity: 0.8;
}

/* Turtle animations */
.hero-img-turtle {
    transition: all 0.3s ease;
    animation: turtle-breathe 3s ease-in-out infinite;
}

.hero-img-turtle:hover {
    transform: scale(1.05) rotate(2deg);
    filter: brightness(1.1);
}

@keyframes turtle-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Floating decorative elements */
.hero-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    z-index: 1;
    animation: float 8s ease-in-out infinite reverse;
}

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

/* Indigenous pattern decoration */
.hero-section .container::before {
    content: '';
    position: absolute;
    top: 5%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(40, 167, 69, 0.1) 40%, rgba(40, 167, 69, 0.1) 60%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(0, 123, 255, 0.1) 40%, rgba(0, 123, 255, 0.1) 60%, transparent 60%);
    border-radius: 50%;
    z-index: 1;
    animation: pattern-rotate 20s linear infinite;
}

@keyframes pattern-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced typography */
.hero-description {
    line-height: 1.8;
    font-size: 1.1rem;
}

.section-subtitle {
    line-height: 1.6;
}

/* Responsive decorative borders */
@media (max-width: 768px) {
    .hero-section,
    .features-section,
    .languages-section,
    .how-it-works-section,
    .testimonials-section,
    .partners-section {
        border-width: 2px;
    }
    
    .hero-section::before,
    .features-section::before,
    .languages-section::before,
    .how-it-works-section::before,
    .testimonials-section::before,
    .partners-section::before {
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
    }
    
    body::before {
        height: 4px;
    }
    
    body::after {
        width: 4px;
    }
}

@media (max-width: 576px) {
    .hero-section,
    .features-section,
    .languages-section,
    .how-it-works-section,
    .testimonials-section,
    .partners-section {
        border-width: 2px;
    }
    
    .hero-section::before,
    .features-section::before,
    .languages-section::before,
    .how-it-works-section::before,
    .testimonials-section::before,
    .partners-section::before {
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
    }
    
    body::before {
        height: 3px;
    }
    
    body::after {
        width: 3px;
    }
}

/* Pricing Section Styles */
.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
    position: relative;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

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

@media (min-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.premium-plan {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.2);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card.premium-plan:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 50px rgba(40, 167, 69, 0.3);
}

.recommended-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

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

.plan-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-primary);
}

.price-period {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.plan-users {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.plan-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.plan-badge.premium {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(32, 201, 151, 0.1));
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.plan-badge.b2b {
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.1), rgba(0, 123, 255, 0.1));
    color: var(--accent-color);
    border-color: var(--accent-color);
}

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

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-item.included {
    color: var(--text-primary);
    font-weight: 600;
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.feature-item.included .feature-icon {
    color: var(--primary-color);
}

.btn-pricing {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-free {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-free:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3);
}

.btn-premium {
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    color: white;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.4);
}

.btn-b2b {
    background: linear-gradient(135deg, var(--accent-color), #0056b3);
    color: white;
    box-shadow: 0 5px 20px rgba(0, 163, 224, 0.3);
}

.btn-b2b:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 163, 224, 0.4);
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.premium-plan {
        transform: scale(1);
    }
    
    .pricing-card.premium-plan:hover {
        transform: translateY(-10px);
    }
    
    .plan-name {
        font-size: 1.5rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
}
