@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    --ch-primary: #6c2cf5;
    --ch-secondary: #ff006e;
    --ch-dark: #0f172a;
    --ch-gray: #64748b;
    --ch-light: #f8fafc;
    --ch-white: #ffffff;
    --ch-accent: #10b981;
    --ch-gradient: linear-gradient(135deg, #6c2cf5 0%, #ff006e 100%);
    --ch-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --ch-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --ch-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --ch-radius: 1rem;
    --ch-radius-lg: 2rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--ch-white);
    color: var(--ch-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
}

.ch-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
.ch-header {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#ch-proposal-wrapper {
    padding-top: 80px;
}

.ch-nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ch-logo img {
    max-height: 40px;
}

/* Hero Section */
.ch-hero {
    padding: 6rem 0;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(108, 44, 245, 0.05), transparent),
        radial-gradient(circle at bottom left, rgba(255, 0, 110, 0.05), transparent);
}

.ch-hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--ch-gradient);
    color: white;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.ch-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.ch-hero p {
    font-size: 1.25rem;
    color: var(--ch-gray);
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Section Common */
.ch-section {
    padding: 5rem 0;
}

.ch-section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.ch-section-title span {
    color: var(--ch-section-accent, var(--ch-primary));
}

/* Cards */
.ch-card {
    background: var(--ch-white);
    border: 1px solid #eef2f6;
    border-radius: var(--ch-radius);
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.ch-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ch-shadow-lg);
}

/* Grid Layouts */
.ch-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Specific Components */
.ch-kpi-card {
    text-align: center;
    border-top: 4px solid var(--ch-section-accent, var(--ch-primary));
}

.ch-kpi-val {
    font-size: 3rem;
    font-weight: 800;
    color: var(--ch-section-accent, var(--ch-primary));
    margin: 1rem 0;
}

.ch-persona-card {
    background: #fafafa;
}

.ch-persona-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.ch-circular-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    border: 3px solid var(--ch-section-accent, var(--ch-primary));
}

.ch-persona-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--ch-section-accent, var(--ch-secondary));
    text-align: center;
}

/* Timeline */
.ch-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.ch-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #eef2f6;
}

.ch-timeline-item {
    padding: 2rem 0;
    width: 50%;
    position: relative;
}

.ch-timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
    text-align: right;
}

.ch-timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.ch-timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--ch-gradient);
    border-radius: 50%;
    position: absolute;
    top: 2.5rem;
}

.ch-timeline-item:nth-child(odd) .ch-timeline-dot {
    right: -8px;
}

.ch-timeline-item:nth-child(even) .ch-timeline-dot {
    left: -8px;
}

/* Buttons */
.ch-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ch-btn-primary {
    background: var(--ch-gradient);
    color: white;
}

.ch-btn-primary:hover {
    box-shadow: 0 10px 20px rgba(108, 44, 245, 0.3);
    transform: scale(1.05);
}

.ch-sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

/* Mockups Gallery */
.ch-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.ch-gallery img {
    width: 100%;
    border-radius: var(--ch-radius);
    box-shadow: var(--ch-shadow-md);
}

/* Mobile */
@media (max-width: 768px) {
    .ch-timeline::before {
        left: 0;
    }

    .ch-timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 2rem !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .ch-timeline-dot {
        left: -8px !important;
    }

    .ch-hero h1 {
        font-size: 2.5rem;
    }

    #ch-proposal-wrapper {
        padding-top: 70px;
    }

    .ch-header .ch-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}