/* HubSpot Custom Code Module - CSS */

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

/* CSS Custom Properties (Variables) */
.ai-roi-landing-page {
    --color-primary: #01182e;
    --color-secondary: #fc4c7a;
    --color-accent: #fc4c7a;
    --color-accent2: #e73c7e;
    --color-light: #f0f8ff;
    --color-error: #dc2626;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
}

/* Base Styles */
.ai-roi-landing-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f0f4f8;
    color: var(--color-gray-800);
    line-height: 1.6;
}

/* Color Utilities */
.ai-roi-landing-page .text-primary {
    color: var(--color-primary);
}

.ai-roi-landing-page .text-secondary {
    color: var(--color-secondary);
}

.ai-roi-landing-page .text-accent {
    color: var(--color-accent);
}

.ai-roi-landing-page .text-accent2 {
    color: var(--color-accent2);
}

.ai-roi-landing-page .text-error {
    color: var(--color-error);
}

/* Chart Container */
.ai-roi-landing-page .chart-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    height: 280px;
    overflow: hidden;
}

@media (min-width: 480px) {
    .ai-roi-landing-page .chart-container {
        height: 320px;
        max-width: 600px;
    }
}

@media (min-width: 768px) {
    .ai-roi-landing-page .chart-container {
        height: 380px;
    }
}

/* Stat Cards */
.ai-roi-landing-page .stat-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-gray-200);
}

.ai-roi-landing-page .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* KPI Styling */
.ai-roi-landing-page .kpi-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

@media (min-width: 480px) {
    .ai-roi-landing-page .kpi-value {
        font-size: 2.5rem;
    }
}

.ai-roi-landing-page .kpi-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-secondary);
    margin: 0;
}

/* Flowchart Styles */
.ai-roi-landing-page .flowchart-step {
    background-color: var(--color-light);
    color: var(--color-primary);
    border-left: 5px solid var(--color-secondary);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.ai-roi-landing-page .flowchart-step:hover {
    background-color: var(--color-secondary);
    color: white;
    transform: scale(1.05);
}

.ai-roi-landing-page .flowchart-arrow {
    color: var(--color-secondary);
    font-size: 2rem;
    line-height: 1;
    font-weight: bold;
}

/* Responsive Grid System */
.ai-roi-landing-page .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ai-roi-landing-page .grid {
    display: grid;
}

.ai-roi-landing-page .grid-cols-1 {
    grid-template-columns: 1fr;
}

.ai-roi-landing-page .gap-4 {
    gap: 1rem;
}

.ai-roi-landing-page .gap-6 {
    gap: 1.5rem;
}

.ai-roi-landing-page .gap-8 {
    gap: 2rem;
}

/* Executive Summary Grid - 1 col on mobile, 2 on tablet, 4 on desktop */
.ai-roi-landing-page #executive-summary .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .ai-roi-landing-page #executive-summary .grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .ai-roi-landing-page #executive-summary .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Value Proposition Grid - 1 col on mobile, 2 on tablet, 4 on desktop */
.ai-roi-landing-page #value-proposition .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .ai-roi-landing-page #value-proposition .grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .ai-roi-landing-page #value-proposition .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ROI Analysis Grid - 1 col on mobile, 2 on tablet+ */
.ai-roi-landing-page #roi-analysis .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .ai-roi-landing-page #roi-analysis .grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* Case Studies Grid - 1 col on mobile, 3 on tablet+ */
.ai-roi-landing-page #case-studies .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .ai-roi-landing-page #case-studies .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Implementation Flowchart */
.ai-roi-landing-page #implementation .flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .ai-roi-landing-page #implementation .flex {
        flex-direction: row;
        gap: 1rem;
        align-items: stretch;
    }
    
    .ai-roi-landing-page .flowchart-arrow.rotate-90 {
        transform: rotate(0deg);
    }
}

/* Make flowchart steps uniform size */
.ai-roi-landing-page #implementation .text-center {
    flex: 1;
    display: flex;
    align-items: stretch;
}

.ai-roi-landing-page .flowchart-step {
    background-color: var(--color-light);
    color: var(--color-primary);
    border-left: 5px solid var(--color-secondary);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    width: 100%;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.ai-roi-landing-page .flowchart-step p {
    margin: 0;
}

.ai-roi-landing-page .flowchart-step .font-bold {
    margin-bottom: 0.5rem;
}

/* Utility Classes */
.ai-roi-landing-page .text-center {
    text-align: center;
}

.ai-roi-landing-page .text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.ai-roi-landing-page .text-3xl {
        font-size: 30px!important;
    font-weight: 600!important;
    line-height: 2.25rem;
  hyphens: none;
}

.ai-roi-landing-page .text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.ai-roi-landing-page .text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.ai-roi-landing-page .text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.ai-roi-landing-page .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.ai-roi-landing-page .text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.ai-roi-landing-page .font-extrabold {
    font-weight: 800;
}

.ai-roi-landing-page .font-bold {
    font-weight: 700;
}

.ai-roi-landing-page .font-semibold {
    font-weight: 600;
}

.ai-roi-landing-page .mb-2 { margin-bottom: 0.5rem; }
.ai-roi-landing-page .mb-4 { margin-bottom: 1rem; }
.ai-roi-landing-page .mb-6 { margin-bottom: 1.5rem; }
.ai-roi-landing-page .mb-8 { margin-bottom: 2rem; }
.ai-roi-landing-page .mb-12 { margin-bottom: 3rem; }
.ai-roi-landing-page .mb-16 { margin-bottom: 4rem; }
.ai-roi-landing-page .mt-2 { margin-top: 0.5rem; }
.ai-roi-landing-page .mt-4 { margin-top: 1rem; }
.ai-roi-landing-page .mt-12 { margin-top: 3rem; }

.ai-roi-landing-page .p-4 { padding: 1rem; }
.ai-roi-landing-page .p-6 { padding: 1.5rem; }
.ai-roi-landing-page .p-8 { padding: 2rem; }
.ai-roi-landing-page .pt-8 { padding-top: 2rem; }

.ai-roi-landing-page .bg-white {
    background-color: white;
}

.ai-roi-landing-page .rounded-lg {
    border-radius: 0.5rem;
}

.ai-roi-landing-page .shadow-lg {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.ai-roi-landing-page .flex {
    display: flex;
}

.ai-roi-landing-page .flex-col {
    flex-direction: column;
}

.ai-roi-landing-page .items-center {
    align-items: center;
}

.ai-roi-landing-page .justify-center {
    justify-content: center;
}

.ai-roi-landing-page .justify-between {
    justify-content: space-between;
}

.ai-roi-landing-page .space-y-4 > * + * {
    margin-top: 1rem;
}

.ai-roi-landing-page .max-w-3xl {
    max-width: 48rem;
}

.ai-roi-landing-page .max-w-2xl {
    max-width: 42rem;
}

.ai-roi-landing-page .mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.ai-roi-landing-page .text-gray-600 {
    color: var(--color-gray-600);
}

.ai-roi-landing-page .text-gray-500 {
    color: var(--color-gray-500);
}

.ai-roi-landing-page .text-gray-700 {
    color: var(--color-gray-700);
}

.ai-roi-landing-page .border-t {
    border-top-width: 1px;
}

.ai-roi-landing-page .border-gray-300 {
    border-color: var(--color-gray-300);
}

.ai-roi-landing-page .h-\\[420px\\] {
    height: 420px;
}

.ai-roi-landing-page .rotate-90 {
    transform: rotate(90deg);
}

.ai-roi-landing-page .transform {
    transform: translateZ(0);
}

/* Typography Responsive Styles - 30px Max Headings */
.ai-roi-landing-page .text-4xl {
    font-size: 1.5rem;
    line-height: 1.75rem;
}

@media (min-width: 768px) {
    .ai-roi-landing-page .text-4xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}

.ai-roi-landing-page .text-3xl {
    font-size: 1.25rem;
    line-height: 1.5rem;
}

@media (min-width: 768px) {
    .ai-roi-landing-page .text-3xl {
        font-size: 1.875rem; /* 30px */
        line-height: 2.25rem;
    }
}

.ai-roi-landing-page .text-2xl {
    font-size: 1.125rem;
    line-height: 1.5rem;
}

@media (min-width: 768px) {
    .ai-roi-landing-page .text-2xl {
        font-size: 1.5rem; /* 24px */
        line-height: 2rem;
    }
}

.ai-roi-landing-page .text-xl {
    font-size: 1rem;
    line-height: 1.5rem;
}

@media (min-width: 768px) {
    .ai-roi-landing-page .text-xl {
        font-size: 1.25rem; /* 20px */
        line-height: 1.75rem;
    }
}

.ai-roi-landing-page .text-lg {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

@media (min-width: 768px) {
    .ai-roi-landing-page .text-lg {
        font-size: 1.125rem; /* 18px */
        line-height: 1.75rem;
    }
}

/* Container and Padding Responsive Styles */
.ai-roi-landing-page .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.75rem;
}

@media (min-width: 480px) {
    .ai-roi-landing-page .container {
        padding: 0 1rem;
    }
}

/* Padding Responsive Styles */
.ai-roi-landing-page .p-4 { 
    padding: 1rem; 
}

.ai-roi-landing-page .p-6 { 
    padding: 1rem; 
}

.ai-roi-landing-page .p-8 { 
    padding: 1rem; 
}

@media (min-width: 768px) {
    .ai-roi-landing-page .p-4 {
        padding: 1rem;
    }
    
    .ai-roi-landing-page .p-6 {
        padding: 1.5rem;
    }
    
    .ai-roi-landing-page .p-8 {
        padding: 2rem;
    }
}

/* Chart Container Responsive Heights */
.ai-roi-landing-page .h-\\[420px\\] {
    height: 300px;
}

@media (min-width: 480px) {
    .ai-roi-landing-page .h-\\[420px\\] {
        height: 380px;
    }
}

@media (min-width: 768px) {
    .ai-roi-landing-page .h-\\[420px\\] {
        height: 420px;
    }
}

@media (min-width: 1024px) {
    .ai-roi-landing-page .h-\\[420px\\] {
        height: 450px;
    }
}

/* Flat Icon Styles */
.ai-roi-landing-page .icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.ai-roi-landing-page .flat-icon {
    width: 64px;
    height: 64px;
    background-color: var(--color-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.ai-roi-landing-page .flat-icon:hover {
    background-color: var(--color-primary);
    transform: scale(1.1);
}

/* Customer Experience Icon - Smile/Heart */
.ai-roi-landing-page .customer-experience-icon::before {
    content: '';
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
    position: relative;
}

.ai-roi-landing-page .customer-experience-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 10px;
    border: 3px solid white;
    border-top: none;
    border-radius: 0 0 20px 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -20%);
}

/* Operational Efficiency Icon - Gear */
.ai-roi-landing-page .operational-efficiency-icon::before {
    content: '';
    width: 32px;
    height: 32px;
    background-color: white;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Agent Empowerment Icon - Person with headset */
.ai-roi-landing-page .agent-empowerment-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.ai-roi-landing-page .agent-empowerment-icon::after {
    content: '';
    width: 28px;
    height: 20px;
    background-color: white;
    border-radius: 14px 14px 4px 4px;
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
}

/* Scalability & Growth Icon - Arrow trending up */
.ai-roi-landing-page .scalability-growth-icon::before {
    content: '';
    width: 32px;
    height: 4px;
    background-color: white;
    position: absolute;
    transform: rotate(25deg);
    transform-origin: left center;
    left: 16px;
    top: 35px;
}

.ai-roi-landing-page .scalability-growth-icon::after {
    content: '';
    width: 12px;
    height: 12px;
    background-color: white;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    position: absolute;
    right: 8px;
    top: 20px;
    transform: rotate(25deg);
}

/* Icon Container Styles */
.ai-roi-landing-page .icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}

@media (min-width: 480px) {
    .ai-roi-landing-page .icon-container {
        height: 80px;
    }
}

.ai-roi-landing-page .icon-box {
    width: 56px;
    height: 56px;
    background-color: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    color: var(--color-secondary);
    font-size: 48px;
}

@media (min-width: 480px) {
    .ai-roi-landing-page .icon-box {
        width: 64px;
        height: 64px;
        font-size: 62px;
    }
}

.ai-roi-landing-page .icon-box:hover {
    background-color: var(--color-primary);
    transform: scale(1.1);
    color: white;
}

.ai-roi-landing-page .icon-box i {
    color: inherit;
}

/* Better text wrapping and spacing */
.ai-roi-landing-page h1,
.ai-roi-landing-page h2,
.ai-roi-landing-page h3 {
    word-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.ai-roi-landing-page .max-w-3xl {
    max-width: 100%;
}

@media (min-width: 768px) {
    .ai-roi-landing-page .max-w-3xl {
        max-width: 48rem;
    }
}

.ai-roi-landing-page .max-w-2xl {
    max-width: 100%;
}

@media (min-width: 768px) {
    .ai-roi-landing-page .max-w-2xl {
        max-width: 42rem;
    }
}

/* Prevent awkward line breaks on common phrases */
.ai-roi-landing-page h2,
.ai-roi-landing-page h3 {
    text-wrap: balance;
}

/* Reduce case study number sizes on mobile */
.ai-roi-landing-page #case-studies .text-4xl {
    font-size: 2rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .ai-roi-landing-page #case-studies .text-4xl {
        font-size: 2.25rem;
    }
}

/* Print styles */
@media print {
    .ai-roi-landing-page .chart-container {
        height: 300px !important;
    }
}
@media only screen and (max-width: 600px) {
    h1, h2 {
        font-size: 30px !important;
        font-weight: 600 !important;
    }