/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-gray: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 80px 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    animation: slideDown 0.8s ease-out;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 12px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.7;
    animation: slideUp 0.8s ease-out 0.4s backwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.6s backwards;
}

.btn-primary,
.btn-secondary,
.btn-cta {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary,
.btn-cta {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.trust-indicators {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.trust-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual - Floating Cards */
.hero-visual {
    position: relative;
    height: 600px;
    animation: fadeIn 1s ease-out 1s backwards;
}

.floating-card {
    position: absolute;
    background: var(--bg-white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    max-width: 280px;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 5%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 4s;
}

.card-stars {
    color: #fbbf24;
    font-size: 20px;
    margin-bottom: 12px;
}

.card-text {
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.card-author {
    font-size: 14px;
    color: var(--text-secondary);
    font-style: italic;
}

/* Features Section */
.features {
    padding: 120px 20px;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Stats Section */
.stats {
    padding: 100px 20px;
    background: var(--bg-dark);
    color: white;
}

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

.stats-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 20px;
}

.stats-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.stat-value {
    font-size: clamp(48px, 6vw, 64px);
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 120px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

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

.cta-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.7;
}

.btn-cta {
    background: white;
    color: var(--primary-color);
    font-size: 18px;
    padding: 18px 40px;
}

.btn-cta:hover {
    background: var(--bg-gray);
}

/* Footer */
.footer {
    padding: 60px 20px;
    background: var(--bg-dark);
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-tagline {
    color: var(--text-light);
    font-size: 14px;
}

.footer-copyright {
    color: var(--text-light);
    font-size: 14px;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(1deg);
    }
    75% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 60px 40px;
        gap: 40px;
    }

    .hero-visual {
        height: 400px;
    }

    .floating-card {
        max-width: 240px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 20px;
    }

    .hero-visual {
        height: 300px;
    }

    .floating-card {
        max-width: 200px;
        padding: 16px;
    }

    .card-text {
        font-size: 13px;
    }

    .trust-indicators {
        gap: 20px;
    }

    .trust-divider {
        display: none;
    }

    .features {
        padding: 80px 20px;
    }

    .features-grid {
        gap: 24px;
    }

    .stats {
        padding: 80px 20px;
    }

    .stats-grid {
        gap: 40px;
    }

    .cta-section {
        padding: 80px 20px;
    }

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

@media (max-width: 480px) {
    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary,
    .btn-cta {
        width: 100%;
        justify-content: center;
    }

    .trust-indicators {
        justify-content: space-between;
        width: 100%;
    }

    .trust-item {
        flex: 1;
        text-align: center;
    }

    .trust-number {
        font-size: 24px;
    }

    .trust-label {
        font-size: 12px;
    }

    .hero-visual {
        display: none;
    }

    .feature-card {
        padding: 24px;
    }
}
