@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary: #257CFF;
    --primary-dark: #175cd3;
    --accent: #F45A2A;
    --whatsapp: #25D366;
    --text-main: #101828;
    --text-muted: #475467;
    --bg-light: #ffffff;
    --bg-soft: #F9FAFB;
    --border: #EAECF0;
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.5;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4,
.btn {
    font-family: 'Outfit', sans-serif;
}

/* RECONSTRUCTED HERO SECTION */
.hero-v2 {
    padding: 60px 0 80px;
    /* Slightly reduced top padding */
    text-align: center;
    background: #fff;
    position: relative;
    overflow: visible;
    /* Allow badge to float if needed */
}

/* Partner Platinum Badge */
.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFF6E5 0%, #FFF0D6 100%);
    /* Gold/Platinum tint */
    border: 1px solid #FEDF89;
    padding: 8px 20px;
    border-radius: 50px;
    color: #B54708;
    /* Dark gold/brown text */
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 32px;
    box-shadow: 0 4px 12px rgba(247, 144, 9, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Outfit', sans-serif;
}

.partner-badge i {
    color: #F79009;
    /* Bright gold icon */
    font-size: 16px;
}

/* 1. Main Title with Decorations */
.hero-title-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.hero-v2 h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    color: #000;
}

.text-blue {
    color: #2E90FA;
}

.text-green {
    color: #12B76A;
    position: relative;
}

/* CSS-based "Hand drawn" decorations */
.decoration-underline {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 8px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 10" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 5 Q 50 10 100 5" stroke="%2312B76A" stroke-width="3" fill="none"/></svg>') no-repeat center bottom;
    background-size: 100% 100%;
}

.decoration-arrow {
    position: absolute;
    bottom: -40px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><path d="M40 0 Q 10 20 0 40 L 5 30 M 0 40 L 10 45" stroke="%232E90FA" stroke-width="2" fill="none"/></svg>') no-repeat center;
    background-size: contain;
    transform: rotate(10deg);
}

.hero-v2 p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 2. Features Row (The Cards) */
.features-row-container {
    padding: 20px 0 60px;
    position: relative;
}

/* The connecting line background */
.features-bg-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100px;
    background: radial-gradient(eclipse at center, rgba(37, 124, 255, 0.05) 0%, transparent 70%);
    z-index: 0;
    transform: skewY(-2deg);
}

.features-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.feature-card-v2 {
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Soft diffuse shadow */
    text-align: center;
    border: 1px solid #F2F4F7;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 200px;
    justify-content: center;
}

.feature-card-v2:hover {
    transform: translateY(-10px);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

/* Specific Icon Colors */
.icon-whatsapp {
    background: #E9FBF0;
    color: #25D366;
}

.icon-headset {
    background: #EEF4FF;
    color: #E65CDB;
    /* Pinkish as in image */
}

.icon-dialer {
    background: #FEF3F2;
    color: #F79009;
    /* Orange */
}

.icon-crm {
    background: #FFF4ED;
    color: #F04438;
    /* Red */
}

.icon-video {
    background: #F0F9FF;
    color: #0BA5EC;
    /* Blue */
}

.feature-card-v2 span {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #344054;
}

/* 3. CTA Buttons Wrapper */
.hero-cta-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    align-items: center;
    flex-wrap: wrap;
}

/* Gradient Border Button (Original) */
/* Solid Primary Button (Modern) */
.btn-gradient-border {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    background: #257CFF;
    color: #ffffff;
    border: none;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 14px 0 rgba(37, 124, 255, 0.39);
    transition: all 0.3s ease;
    min-width: 280px;
    /* Uniform Width */
    animation: pulse-blue 2s infinite;
}

.btn-gradient-border:hover {
    transform: translateY(-2px);
    background: #175cd3;
    box-shadow: 0 6px 20px rgba(37, 124, 255, 0.5);
    color: #ffffff;
    animation: none;
    /* Pause on hover */
}

/* WhatsApp Button Re-introduction */
/* WhatsApp Button Modern */
.btn-whatsapp-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.39);
    transition: all 0.3s ease;
    min-width: 280px;
    /* Uniform Width */
    animation: pulse-green 2s infinite;
}

.btn-whatsapp-solid:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    animation: none;
}

/* Animations */
@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 124, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 124, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 124, 255, 0);
    }
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


.hero-footer-text {
    margin-top: 40px;
    font-weight: 700;
    font-size: 18px;
    color: #101828;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Existing Bento Section adaptation */
.section {
    padding: 80px 0;
}

.bento-wrapper {
    gap: 60px;
}

.category-header h3 {
    font-size: 24px;
}

.bento-grid {
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.feature-item {
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Hide previous hero if any remaining styles clash */
.hero {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-v2 h1 {
        font-size: 42px;
    }

    .features-row {
        gap: 15px;
    }

    .feature-card-v2 {
        width: 140px;
        height: 160px;
        padding: 15px;
    }

    .icon-circle {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .hero-cta-wrapper {
        flex-direction: column;
    }

    .btn-gradient-border,
    .btn-whatsapp-solid {
        width: 100%;
    }
}

/* =========================================
   NEW CONTENT SECTIONS STYLES
   ========================================= */

/* Utilities & Section Basics */
.bg-white {
    background-color: #ffffff;
}

.bg-light {
    background-color: #F9FAFB;
}

.max-w-800 {
    max-width: 800px;
}

.margin-auto {
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #101828;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* "Qué hace DCSmart" - List Grid */
.features-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-item-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-item-row .icon-box {
    width: 50px;
    height: 50px;
    background: #EFF8FF;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-item-row .text-box h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #101828;
}

.feature-item-row .text-box p {
    color: var(--text-muted);
}

/* Audience Section - Cards */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.audience-card {
    background: #fff;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.1);
}

.audience-card .card-icon {
    width: 60px;
    height: 60px;
    background: #FFF4ED;
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.audience-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #101828;
}

.audience-card p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Roles Section - Split Layout */
.roles-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background: #fff;
    border-radius: 24px;
    /* border: 1px solid var(--border); */
    /* Optional border */
    /* padding: 40px; */
    position: relative;
    gap: 40px;
}

.role-column {
    flex: 1;
    padding: 20px;
}

.role-column h3 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.role-column ul {
    list-style: none;
    padding: 0;
}

.role-column ul li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 18px;
    color: #344054;
}

.role-column ul li i {
    color: #12B76A;
    /* Check icon color */
    margin-top: 4px;
    font-size: 18px;
}

/* Center Divider with Plus */
.role-center-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
}

.divider-line {
    width: 2px;
    background: var(--border);
    flex: 1;
}

.plus-icon {
    width: 50px;
    height: 50px;
    background: #F2F4F7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667085;
    font-size: 20px;
    margin: 10px 0;
    z-index: 2;
}

.summary-quote {
    margin-top: 60px;
    text-align: center;
    background: linear-gradient(135deg, #EFF8FF 0%, #E0F2FE 100%);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #B2DDFF;
}

.summary-quote blockquote {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #004EEB;
    /* Strong blue */
    font-style: italic;
    max-width: 900px;
    margin: 0 auto;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.benefit-item {
    background: transparent;
    padding: 20px;
}

.benefit-item i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 24px;
    display: inline-block;
}

.benefit-item h4 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #101828;
}

.benefit-item p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Footer CTA */
.footer-cta-section {
    padding: 100px 0;
    background: #101828;
    /* Dark background */
    color: #fff;
}

.footer-cta-section h2 {
    font-size: 42px;
    margin-bottom: 40px;
    color: #fff;
}

.btn-large {
    font-size: 20px;
    padding: 18px 40px;
}

.footer-copyright {
    margin-top: 60px;
    color: #98A2B3;
    font-size: 14px;
}

/* Responsive Adjustments for New Sections */
@media (max-width: 900px) {

    .features-list-grid,
    .audience-grid,
    .benefits-grid,
    .roles-container {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .role-center-divider {
        flex-direction: row;
        width: 100%;
        height: 60px;
    }

    .divider-line {
        width: 100%;
        /* Horizontal line now */
        height: 2px;
    }

    .role-column {
        padding: 0;
    }

    .hero-v2 h1 {
        font-size: 36px;
    }
}