/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #4AD7D1 0%, #3bc5bf 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    min-height: 80px;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header:hover::before {
    opacity: 1;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

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

.logo:hover svg, .logo:hover img {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
    transform: rotate(5deg);
}

.logo svg, .logo img {
    width: 70px;
    height: 70px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 4px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.cta-button {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: white;
    padding: 0.85rem 1.8rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 56px;
}

.cta-button:hover {
    background: linear-gradient(135deg, #34495E 0%, #2C3E50 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-buttons .cta-button {
    width: auto;
}

.nav-buttons .login-button {
    width: auto;
    min-width: 0;
}

.login-button {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: white;
    padding: 0.85rem 1.8rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.5;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 56px;
}

.login-button:hover {
    background: linear-gradient(135deg, #34495E 0%, #2C3E50 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, 
                rgba(52, 55, 76, 0.95) 0%, 
                rgba(42, 45, 63, 0.9) 25%, 
                rgba(68, 173, 209, 0.3) 50%, 
                rgba(74, 215, 209, 0.2) 75%, 
                rgba(52, 55, 76, 0.95) 100%),
                radial-gradient(circle at 20% 80%, rgba(74, 215, 209, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(68, 173, 209, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(52, 55, 76, 0.8) 0%, transparent 50%);
    background-size: 100% 100%, 600px 600px, 800px 800px, 400px 400px;
    background-position: 0 0, 0 0, 100% 100%, 50% 50%;
    background-attachment: fixed;
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
                transparent 0%,
                transparent 70%,
                rgba(248, 250, 252, 0.02) 80%,
                rgba(248, 250, 252, 0.05) 90%,
                rgba(248, 250, 252, 0.1) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Smooth transition effect at the bottom of hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to bottom,
                transparent 0%,
                rgba(248, 250, 252, 0.05) 10%,
                rgba(248, 250, 252, 0.1) 20%,
                rgba(248, 250, 252, 0.2) 30%,
                rgba(248, 250, 252, 0.35) 45%,
                rgba(248, 250, 252, 0.5) 60%,
                rgba(248, 250, 252, 0.7) 75%,
                rgba(248, 250, 252, 0.85) 85%,
                rgba(248, 250, 252, 0.95) 95%,
                rgba(248, 250, 252, 1) 100%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 1;
}

@keyframes twinkle {
    0% { opacity: 0.2; }
    100% { opacity: 0.4; }
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #4AD7D1;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    user-select: none;
    cursor: grab;
}

.hero-carousel:active {
    cursor: grabbing;
}

.carousel-track {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.carousel-slide.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.carousel-slide h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: slideInFromRight 0.6s ease;
}

.carousel-slide .hero-subtitle {
    animation: slideInFromRight 0.6s ease 0.1s both;
}

.carousel-slide .hero-description {
    animation: slideInFromRight 0.6s ease 0.2s both;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.carousel-indicators .indicator.active {
    background: #4AD7D1;
    width: 32px;
    border-radius: 6px;
    border-color: rgba(74, 215, 209, 0.5);
}

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

.btn-primary {
    background: #4AD7D1;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #3bc5bf;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    width: 100%;
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #4AD7D1;
}

.stat-label {
    font-size: 0.9rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-preview {
    position: relative;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.dashboard-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(74, 215, 209, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Problem Section - Enhanced with smooth background */
.problem {
    background: linear-gradient(to bottom,
                rgba(248, 250, 252, 1) 0%,
                rgba(255, 255, 255, 0.95) 20%,
                rgba(255, 255, 255, 1) 100%);
    padding: 120px 0;
    position: relative;
}

/* Add subtle shadow effect at the top of problem section */
.problem::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.08) 0%,
                rgba(0, 0, 0, 0.05) 25%,
                rgba(0, 0, 0, 0.03) 50%,
                rgba(0, 0, 0, 0.015) 75%,
                transparent 100%);
    filter: blur(20px);
    pointer-events: none;
    z-index: 0;
}

.problem h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2a2d3f;
    position: relative;
    z-index: 1;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.problem-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

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

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.5rem;
    color: #34374C;
    margin-bottom: 1rem;
    font-weight: 600;
}

.problem-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Solution Section */
.solution {
    background: rgba(255, 255, 255, 1);
    padding: 120px 0;
    position: relative;
}

.solution-header {
    text-align: center;
    margin-bottom: 4rem;
}

.solution-header h2 {
    font-size: 2.8rem;
    color: #34374C;
    margin-bottom: 1rem;
    font-weight: 700;
}

.solution-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    margin: 0;
}

.solution-pipeline {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pipeline-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.pipeline-lines {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 1;
    display: flex;
    justify-content: space-between;
}

.pipeline-line {
    flex: 1;
    height: 4px;
    background: linear-gradient(90deg, #e2e8f0 0%, #4AD7D1 50%, #e2e8f0 100%);
    margin: 0 80px;
    border-radius: 2px;
    opacity: 0.6;
    animation: flowPulse 3s ease-in-out infinite;
}

.pipeline-line.line-1 { animation-delay: 0s; }
.pipeline-line.line-2 { animation-delay: 0.5s; }
.pipeline-line.line-3 { animation-delay: 1s; }
.pipeline-line.line-4 { animation-delay: 1.5s; }

@keyframes flowPulse {
    0%, 100% { 
        opacity: 0.6;
        background: linear-gradient(90deg, #e2e8f0 0%, #4AD7D1 50%, #e2e8f0 100%);
    }
    50% { 
        opacity: 1;
        background: linear-gradient(90deg, #4AD7D1 0%, #3bc5bf 50%, #4AD7D1 100%);
    }
}

.pipeline-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
    cursor: pointer;
}

.step-circle {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 4px solid #4AD7D1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(74, 215, 209, 0.2);
}

.step-icon {
    color: #4AD7D1;
    transition: all 0.3s ease;
}

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

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #34374C;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.step-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Hover Effects */
.pipeline-step:hover .step-circle {
    transform: scale(1.15);
    border-color: #3bc5bf;
    box-shadow: 0 15px 40px rgba(74, 215, 209, 0.4);
    background: linear-gradient(135deg, #4AD7D1 0%, #3bc5bf 100%);
}

.pipeline-step:hover .step-icon {
    color: white;
    transform: scale(1.1);
}

.pipeline-step:hover .step-content h3 {
    color: #4AD7D1;
}

.pipeline-step:hover .step-content p {
    opacity: 1;
    color: #1e293b;
}

/* Active state animation */
.pipeline-step[data-step="1"] .step-circle { animation-delay: 0.1s; }
.pipeline-step[data-step="2"] .step-circle { animation-delay: 0.2s; }
.pipeline-step[data-step="3"] .step-circle { animation-delay: 0.3s; }
.pipeline-step[data-step="4"] .step-circle { animation-delay: 0.4s; }
.pipeline-step[data-step="5"] .step-circle { animation-delay: 0.5s; }

/* Benefits Section */  
.benefits {
    background: linear-gradient(135deg,
                rgba(248, 250, 252, 1) 0%,
                rgba(255, 255, 255, 0.98) 50%,
                rgba(248, 250, 252, 1) 100%);
    padding: 120px 0;
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #34374C;
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.benefit-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #4AD7D1;
}

.benefit-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #4AD7D1;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: #34374C;
    margin: 1rem 0;
    font-weight: 600;
}

.benefit-card p {
    color: #64748b;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #34374C 0%, #2a2d3f 100%);
    color: white;
    text-align: center;
}

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

.cta p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.btn-primary.large {
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
}

.cta-info {
    display: flex;
    gap: 2rem;
    color: #ffffff;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.cta-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background: #1a1d29;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
}

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

.footer-logo svg {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    padding: 3px;
}

.footer-info p {
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info span {
    color: #4AD7D1;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Why It Works Section */
.why-works {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    padding: 100px 0 !important;
    border-top: 1px solid #e2e8f0 !important;
}

.why-works-header {
    text-align: center;
    margin-bottom: 4rem;
}

.why-works-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.why-works-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.why-works .works-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.5rem !important;
    margin-bottom: 4rem !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.why-works .works-card {
    background: white !important;
    border-radius: 20px !important;
    padding: 2.5rem !important;
    text-align: center !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.4s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.works-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4AD7D1 0%, #3bc5bf 100%);
}

.works-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(74, 215, 209, 0.3);
}

.why-works .works-icon {
    width: 80px !important;
    height: 80px !important;
    background: linear-gradient(135deg, #4AD7D1 0%, #3bc5bf 100%) !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1.5rem !important;
    color: white !important;
    transition: all 0.3s ease !important;
}

.works-card:hover .works-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(74, 215, 209, 0.4);
}

.works-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.works-card > p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.why-works .tech-list {
    display: flex !important;
    justify-content: center !important;
    gap: 0.8rem !important;
    flex-wrap: wrap !important;
}

.why-works .tech-badge {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
    color: #4AD7D1 !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 20px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    border: 1px solid rgba(74, 215, 209, 0.2) !important;
}

.scale-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 0.8rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.stat strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #4AD7D1;
    margin-bottom: 0.2rem;
}

.stat span {
    font-size: 0.85rem;
    color: #64748b;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.security-check {
    color: #4AD7D1;
    font-weight: 700;
    font-size: 1.1rem;
}

.security-item span:last-child {
    color: #64748b;
    font-size: 0.9rem;
}

.works-footer {
    max-width: 800px;
    margin: 0 auto;
}

.why-works .works-guarantee {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    color: white !important;
    padding: 2.5rem !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 1.5rem !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2) !important;
}

.guarantee-icon {
    background: linear-gradient(135deg, #4AD7D1 0%, #3bc5bf 100%);
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.works-guarantee h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: white;
}

.works-guarantee p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header responsive adjustments */
    .nav {
        padding: 1rem 0;
    }
    
    .logo {
        font-size: 1.4rem;
        gap: 0.7rem;
    }
    
    .logo svg {
        width: 40px;
        height: 40px;
    }
    
    .cta-button {
        display: none !important; /* Force hide on tablets and mobile */
    }
    
    .login-button {
        display: none !important; /* Force hide on tablets and mobile */
    }
    
    .nav-buttons {
        display: none !important; /* Hide entire button container on mobile */
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .carousel-slide h1 {
        font-size: 2.5rem;
    }
    
    .carousel-slide .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .carousel-slide .hero-description {
        font-size: 1.1rem;
    }
    
    .carousel-indicators {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
    
    .carousel-indicators .indicator {
        width: 10px;
        height: 10px;
    }
    
    .carousel-indicators .indicator.active {
        width: 28px;
    }
    
    /* Solution Pipeline Responsive */
    .solution-header h2 {
        font-size: 2.2rem;
    }
    
    .solution-subtitle {
        font-size: 1.1rem;
    }
    
    .pipeline-container {
        flex-direction: column;
        gap: 3rem;
        padding: 2rem 0;
    }
    
    .pipeline-lines {
        display: none;
    }
    
    .pipeline-step {
        max-width: 300px;
    }
    
    .step-circle {
        width: 80px;
        height: 80px;
    }
    
    .step-content h3 {
        font-size: 1.3rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 1.2rem 2rem;
        font-size: 1rem;
        text-align: center;
        justify-content: center;
    }
    
    .problem-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    /* Why It Works responsive */
    .why-works {
        padding: 80px 0 !important;
    }
    
    .why-works-header h2 {
        font-size: 2.2rem !important;
    }
    
    .why-works-subtitle {
        font-size: 1.1rem !important;
    }
    
    .why-works .works-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-bottom: 3rem !important;
    }
    
    .works-card {
        padding: 2rem;
    }
    
    .works-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }
    
    .works-card h3 {
        font-size: 1.3rem;
    }
    
    .tech-list {
        gap: 0.6rem;
    }
    
    .tech-badge {
        font-size: 0.8rem;
    }
    
    .works-guarantee {
        padding: 2rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .guarantee-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    /* Header for small mobile */
    .nav {
        justify-content: center !important; /* Force center the logo */
        padding: 1rem 0;
    }
    
    .logo {
        font-size: 1.2rem;
        justify-content: center;
    }
    
    .logo svg {
        width: 35px;
        height: 35px;
    }
    
    .cta-button {
        display: none !important; /* Force hide completely on mobile */
        visibility: hidden !important; /* Double ensure it's hidden */
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px; /* Standard padding since header is simpler */
    }
    
    .carousel-slide h1 {
        font-size: 2rem;
    }
    
    .carousel-slide .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .carousel-slide .hero-description {
        font-size: 1rem;
    }
    
    .carousel-indicators {
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .carousel-indicators .indicator {
        width: 8px;
        height: 8px;
    }
    
    .carousel-indicators .indicator.active {
        width: 24px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        max-width: 250px;
    }
    
    /* Why It Works mobile adjustments */
    .why-works {
        padding: 60px 0;
    }
    
    .why-works-header h2 {
        font-size: 1.8rem;
    }
    
    .why-works-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .works-card {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .works-icon {
        width: 60px;
        height: 60px;
        border-radius: 15px;
    }
    
    .works-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .works-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .works-card > p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .tech-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .scale-stats {
        gap: 0.5rem;
    }
    
    .stat {
        padding: 0.6rem;
    }
    
    .stat strong {
        font-size: 1.1rem;
    }
    
    .security-item {
        padding: 0.4rem;
        font-size: 0.85rem;
    }
    
    .works-guarantee {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .guarantee-icon {
        width: 50px;
        height: 50px;
    }
    
    .works-guarantee h4 {
        font-size: 1.1rem;
    }
    
    .works-guarantee p {
        font-size: 0.9rem;
    }
    
    /* Solution Pipeline Mobile */
    .solution-header h2 {
        font-size: 1.8rem;
    }
    
    .solution-subtitle {
        font-size: 1rem;
    }
    
    .pipeline-container {
        gap: 2.5rem;
        padding: 1.5rem 0;
    }
    
    .pipeline-step {
        max-width: 250px;
    }
    
    .step-circle {
        width: 70px;
        height: 70px;
        border-width: 3px;
    }
    
    .step-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .problem h2,
    .benefits h2,
    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 400px) {
    /* Clean simple layout for very small screens */
    .header {
        min-height: 60px; /* Much shorter header */
    }
    
    .nav {
        justify-content: center;
        padding: 0.8rem 0;
    }
    
    .logo {
        font-size: 1rem;
        justify-content: center;
    }
    
    .logo svg {
        width: 30px;
        height: 30px;
    }
    
    .cta-button {
        display: none; /* Hidden on mobile */
    }
    
    .hero {
        padding: 80px 0 50px; /* Less padding needed */
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
        max-width: 220px;
    }
    
    /* Why It Works very small screens */
    .why-works {
        padding: 50px 0;
    }
    
    .why-works-header h2 {
        font-size: 1.6rem;
    }
    
    .why-works-subtitle {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    
    .works-card {
        padding: 1.2rem;
        border-radius: 12px;
    }
    
    .works-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        margin-bottom: 0.8rem;
    }
    
    .works-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .works-card h3 {
        font-size: 1.1rem;
    }
    
    .works-card > p {
        font-size: 0.85rem;
    }
    
    .tech-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .works-guarantee {
        padding: 1.2rem;
    }
    
    .guarantee-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .works-guarantee h4 {
        font-size: 1rem;
    }
    
    .works-guarantee p {
        font-size: 0.85rem;
    }
    
    /* Solution Pipeline Very Small Screens */
    .solution-header h2 {
        font-size: 1.6rem;
    }
    
    .pipeline-container {
        gap: 2rem;
        padding: 1rem 0;
    }
    
    .pipeline-step {
        max-width: 200px;
    }
    
    .step-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .step-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    .highlight-icon {
        font-size: 1.5rem;
        min-width: 2rem;
    }
}

@media (max-width: 360px) {
    /* Ultra small screens - minimal header */
    .header {
        min-height: 50px;
    }
    
    .nav {
        padding: 0.6rem 0;
    }
    
    .logo {
        font-size: 0.9rem;
    }
    
    .logo svg {
        width: 28px;
        height: 28px;
    }
    
    .hero {
        padding: 70px 0 40px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover svg {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* WhatsApp Button Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
} 

/* Floating Launch Modal */
.floating-launch-modal-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 41, 59, 0.45);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.floating-launch-modal {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 12px 48px rgba(44,62,80,0.18);
  max-width: 480px;
  width: 90vw;
  padding: 2.5rem 2rem 2rem 2rem;
  position: relative;
  text-align: center;
  animation: modal-pop-in 0.5s cubic-bezier(.23,1.01,.32,1) 1;
}
@keyframes modal-pop-in {
  0% { transform: scale(0.85) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.floating-launch-modal .close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  color: #64748b;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}
.floating-launch-modal .close-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}
.floating-launch-modal h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 1rem;
}
.floating-launch-modal p {
  color: #334155;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.floating-launch-modal .team-graphic {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.floating-launch-modal .team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4AD7D1 0%, #3bc5bf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 2px 8px rgba(74,215,209,0.12);
  border: 3px solid #fff;
}
@media (max-width: 600px) {
  .floating-launch-modal {
    max-width: 98vw;
    padding: 1.2rem 0.5rem 1.5rem 0.5rem;
  }
  .floating-launch-modal h2 {
    font-size: 1.3rem;
  }
  .floating-launch-modal .team-avatar {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Modal de Solicitar Demo */
.demo-modal {
    display: none;
    position: fixed !important;
    z-index: 999999 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    transform: translateZ(0); /* Força nueva capa de composición */
}

.demo-modal.show {
    display: flex !important;
    position: fixed !important;
    z-index: 999999 !important;
    transform: translateZ(0) !important;
}

/* Override para asegurar que el modal esté encima */
body.modal-open .demo-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 999999 !important;
    transform: translateZ(0) !important;
}

/* Asegurar que el contenido del modal esté visible */
body.modal-open .demo-modal .demo-modal-content {
    position: relative !important;
    z-index: 999999 !important;
    opacity: 1 !important;
    transform: translateZ(0) !important;
}

/* Ocultar overflow del body cuando modal está activo */
body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

.demo-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative !important;
    z-index: 99999 !important;
    animation: slideIn 0.3s ease;
    margin: auto;
}

.demo-modal-header {
    background: linear-gradient(135deg, #4AD7D1 0%, #3bc5bf 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
}

.demo-modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.demo-close {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.demo-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.demo-modal-body {
    padding: 2rem;
}

.demo-subtitle {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4AD7D1;
    box-shadow: 0 0 0 3px rgba(74, 215, 209, 0.1);
    transform: translateY(-1px);
}

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

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #4AD7D1;
}

.checkbox-label a {
    color: #4AD7D1;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.demo-submit-btn {
    background: linear-gradient(135deg, #4AD7D1 0%, #3bc5bf 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 215, 209, 0.3);
    margin-top: 1rem;
}

.demo-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 215, 209, 0.4);
}

.demo-submit-btn:active {
    transform: translateY(0);
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .demo-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .demo-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .demo-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .demo-modal-body {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .demo-subtitle {
        font-size: 1rem;
    }
} 