
/*
Theme Name: El Baúl del Emprendedor
Description: Tema personalizado que replica exactamente la landing page de El Baúl del Emprendedor con paleta azul, formularios funcionales y todas las secciones completas.
Version: 1.0
Author: El Baúl del Emprendedor
*/

/* Importar Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Variables CSS */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #1e293b;
    --secondary-light: #334155;
    --accent-color: #FCA311;
    --accent-dark: #E5920F;
    --text-dark: #1e293b;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-gray: #f9fafb;
    --bg-gray-dark: #f3f4f6;
    --white: #ffffff;
    --border-gray: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* Utilidades generales */
.container-max {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 4rem 1rem;
}

@media (min-width: 640px) {
    .section-padding {
        padding: 4rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section-padding {
        padding: 4rem 2rem;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Botones */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(1);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
    color: var(--white);
    text-decoration: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 1.125rem;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin: -2px 0 0 0;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--border-gray);
    box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
}

.mobile-nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(30, 41, 59, 0.6)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23334155" points="0,0 1000,300 1000,1000 0,700"/><polygon fill="%232563eb" points="0,700 1000,1000 0,1000"/></svg>') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 64rem;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4.5rem;
    }
}

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

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #d1d5db;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .hero p {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .hero p {
        font-size: 1.5rem;
    }
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

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

.hero-stat .number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .hero-stat .number {
        font-size: 1.875rem;
    }
}

.hero-stat .label {
    font-size: 0.875rem;
    color: #d1d5db;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-scroll span {
    font-size: 0.875rem;
    color: #d1d5db;
}

.scroll-indicator {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    position: relative;
}

.scroll-dot {
    width: 0.25rem;
    height: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 9999px;
    margin-top: 0.5rem;
    animation: scroll-bounce 2s infinite;
}

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

/* Benefits Section */
.benefits {
    background: var(--bg-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title h2 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title h2 {
        font-size: 3rem;
    }
}

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

.section-title p {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 48rem;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.benefit-card {
    background: var(--white);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.benefit-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

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

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.benefit-card:hover h3 {
    color: var(--primary-color);
}

.benefit-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

.benefit-line {
    margin-top: 1.5rem;
    width: 3rem;
    height: 0.25rem;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    border-radius: 9999px;
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.benefit-card:hover .benefit-line {
    transform: scaleX(1);
}

.stats-banner {
    background: linear-gradient(to right, var(--secondary-color), var(--secondary-light));
    border-radius: 1rem;
    padding: 2rem;
    color: var(--white);
}

@media (min-width: 768px) {
    .stats-banner {
        padding: 3rem;
    }
}

.stats-banner h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-banner h3 {
        font-size: 1.875rem;
    }
}

.stats-banner p {
    color: #d1d5db;
    text-align: center;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.stat-item .number {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-item .number {
        font-size: 2.25rem;
    }
}

.stat-item .label {
    font-size: 0.875rem;
    color: #d1d5db;
}

/* Products Section */
.products {
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.product-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-gray);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.product-card.popular {
    border-color: var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

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

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

.product-card .description {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.feature-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--primary-color);
    border-radius: 50%;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-dark);
}

.product-availability {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary-color);
    font-size: 0.875rem;
}

.success-banner {
    background: linear-gradient(to right, var(--bg-gray), var(--bg-gray-dark));
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .success-banner {
        padding: 3rem;
    }
}

.success-icon {
    width: 4rem;
    height: 4rem;
    color: var(--primary-color);
    margin: 0 auto 1.5rem;
}

.success-banner h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .success-banner h3 {
        font-size: 1.875rem;
    }
}

.success-banner p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, var(--bg-gray), var(--white));
}

.testimonials-carousel {
    position: relative;
    margin-bottom: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.testimonial-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
}

.testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-gray);
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-position {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
}

.testimonial-quote-icon {
    width: 2rem;
    height: 2rem;
    color: var(--accent-color);
    opacity: 0.5;
}

.testimonial-quote {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-result {
    background: linear-gradient(to right, rgba(252, 163, 17, 0.1), rgba(229, 146, 15, 0.1));
    border-radius: 0.5rem;
    padding: 1rem;
    border-left: 4px solid var(--accent-color);
}

.result-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.result-value {
    color: var(--accent-color);
    font-weight: bold;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.carousel-btn {
    padding: 0.75rem;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    box-shadow: var(--shadow-xl);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent-color);
    transform: scale(1.25);
}

.carousel-dot:hover {
    background: #9ca3af;
}

/* Resources Section */
.resources {
    background: var(--white);
}

.resources-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .resources-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.resources-preview {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.resource-item {
    background: var(--bg-gray);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: background-color 0.3s ease;
}

.resource-item:hover {
    background: var(--bg-gray-dark);
}

.resource-item-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.resource-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.resource-content {
    flex: 1;
}

.resource-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.resource-description {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.resource-features {
    list-style: none;
}

.resource-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.value-banner {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(to right, rgba(10, 37, 64, 0.1), rgba(252, 163, 17, 0.1));
    border-radius: 0.75rem;
    border: 1px solid rgba(252, 163, 17, 0.2);
    text-align: center;
}

.value-banner .original-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.value-banner .free-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.value-banner .note {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.download-form {
    background: linear-gradient(135deg, var(--secondary-color), #1e3a5f);
    border-radius: 1rem;
    padding: 2rem;
    color: var(--white);
}

@media (min-width: 768px) {
    .download-form {
        padding: 2.5rem;
    }
}

.download-header {
    text-align: center;
    margin-bottom: 2rem;
}

.download-icon {
    width: 4rem;
    height: 4rem;
    color: var(--accent-color);
    margin: 0 auto 1rem;
}

.download-form h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .download-form h3 {
        font-size: 1.875rem;
    }
}

.download-form p {
    color: #d1d5db;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: #d1d5db;
}

.form-group input:focus {
    outline: none;
    ring: 2px solid var(--accent-color);
    border-color: transparent;
}

.download-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: var(--white);
    font-weight: 600;
    padding: 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(1);
}

.download-btn:hover {
    background: var(--accent-dark);
    transform: scale(1.05);
}

.download-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 1rem;
}

.social-proof {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-proof-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #d1d5db;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--bg-gray), var(--white));
}

.newsletter-card {
    background: linear-gradient(to right, var(--secondary-color), var(--secondary-light));
    border-radius: 1.5rem;
    padding: 2rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .newsletter-card {
        padding: 3rem;
    }
}

.newsletter-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.newsletter-bg .circle-1 {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    width: 8rem;
    height: 8rem;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
}

.newsletter-bg .circle-2 {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    width: 6rem;
    height: 6rem;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
}

.newsletter-bg .circle-3 {
    position: absolute;
    top: 50%;
    left: 25%;
    width: 4rem;
    height: 4rem;
    background: var(--primary-color);
    border-radius: 50%;
}

.newsletter-content {
    position: relative;
    z-index: 10;
}

.newsletter-header {
    text-align: center;
    margin-bottom: 3rem;
}

.newsletter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.2);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.newsletter h2 {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .newsletter h2 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .newsletter h2 {
        font-size: 3rem;
    }
}

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

.newsletter-description {
    font-size: 1.125rem;
    color: #d1d5db;
    max-width: 32rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .newsletter-description {
        font-size: 1.25rem;
    }
}

.newsletter-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

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

.newsletter-benefit {
    text-align: center;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.newsletter-benefit-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.newsletter-benefit h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newsletter-benefit p {
    font-size: 0.875rem;
    color: #d1d5db;
}

.newsletter-form-container {
    max-width: 28rem;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: #d1d5db;
}

.newsletter-form input:focus {
    outline: none;
    ring: 2px solid var(--accent-color);
    border-color: transparent;
}

.newsletter-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: var(--white);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(1);
    white-space: nowrap;
}

.newsletter-submit:hover {
    background: var(--accent-dark);
    transform: scale(1.05);
}

.newsletter-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.newsletter-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.newsletter-stats {
    margin-top: 2rem;
    text-align: center;
}

.newsletter-stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #d1d5db;
}

.newsletter-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-stat-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--accent-color);
    border-radius: 50%;
}

.newsletter-value-prop {
    margin-top: 2rem;
    text-align: center;
}

.newsletter-value-prop p {
    color: var(--text-gray);
    font-size: 0.875rem;
    max-width: 32rem;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-gray);
    border-radius: 0.75rem;
    transition: background-color 0.3s ease;
}

.contact-benefit-card:hover {
    background: var(--bg-gray-dark);
}

.contact-benefit-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-benefit-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-benefit-content p {
    color: var(--text-gray);
}

.process-card {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 1rem;
    padding: 2rem;
    color: var(--white);
    margin-top: 2rem;
}

.process-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.process-number {
    width: 2rem;
    height: 2rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
}

.testimonial-highlight {
    background: linear-gradient(to right, rgba(37, 99, 235, 0.1), rgba(30, 64, 175, 0.1));
    border-radius: 0.75rem;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    margin-top: 2rem;
}

.testimonial-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.testimonial-highlight blockquote {
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 0.75rem;
}

.testimonial-author {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form-container {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border-gray);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-icon {
    width: 3rem;
    height: 3rem;
    color: var(--primary-color);
    margin: 0 auto 1rem;
}

.contact-form-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-form-header p {
    color: var(--text-gray);
}

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

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

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-gray);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    ring: 2px solid var(--accent-color);
    border-color: transparent;
}

.contact-form textarea {
    resize: none;
    min-height: 6rem;
}

.contact-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    padding: 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(1);
}

.contact-submit:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.contact-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-footer {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
}

.footer-main {
    padding: 4rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-main {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand {
    grid-column: 1 / -1;
}

@media (min-width: 1024px) {
    .footer-brand {
        grid-column: 1 / 2;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 1.125rem;
}

.footer-logo-text h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-logo-text p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-description {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    max-width: 28rem;
    line-height: 1.6;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d1d5db;
}

.footer-contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary-color);
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

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

.footer-social {
    margin-top: 2rem;
}

.footer-social h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    transform: scale(1);
}

.footer-social-link:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
    }
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-copyright {
        text-align: left;
    }
}

.footer-made-with {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Animations and Effects */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

/* Icon utilities */
.icon {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    vertical-align: middle;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.icon-lg {
    width: 2rem;
    height: 2rem;
}

.icon-xl {
    width: 2.5rem;
    height: 2.5rem;
}

/* Star ratings */
.star {
    width: 1rem;
    height: 1rem;
    color: var(--accent-color);
    fill: currentColor;
}

/* Responsive utilities */
.hidden {
    display: none;
}

@media (min-width: 640px) {
    .sm\:block {
        display: block;
    }
    .sm\:hidden {
        display: none;
    }
}

@media (min-width: 768px) {
    .md\:block {
        display: block;
    }
    .md\:hidden {
        display: none;
    }
    .md\:flex {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .lg\:block {
        display: block;
    }
    .lg\:hidden {
        display: none;
    }
}

/* Toast notifications */
.toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    max-width: 24rem;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.toast-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--text-gray);
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Count up animation */
.count-up {
    font-variant-numeric: tabular-nums;
}

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.p-0 { padding: 0; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }
