:root {
    --primary-orange: #FF6B00;
    --primary-blue: #4D5DFB;
    --accent-blue: #3E49BA;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --bg-light: #F8FAFF;
    --white: #FFFFFF;
    --radius-lg: 32px;
    --radius-md: 20px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 20px 40px rgba(0, 0, 0, 0.08);
    --transition: cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: 120px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-blue {
    background: #5D5FEF;
    color: var(--white);
    padding: 20px 48px;
    font-size: 15px;
    box-shadow: 0 10px 20px rgba(93, 95, 239, 0.3);
}

.btn-blue:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(93, 95, 239, 0.4);
}

.btn-orange {
    background: linear-gradient(135deg, #FF8C42 0%, var(--primary-orange) 100%);
    color: var(--white);
}

.btn-orange:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 107, 0, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0 0px; 
    background: #FFFFFF;
    overflow: hidden; 
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to top, #F16B00 0%, rgba(241, 107, 0, 0.9) 40%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    display: flex;
    justify-content: flex-start; /* Flow items from the left */
    align-items: center;
    position: static; /* Let absolute children anchor to .hero instead */
    min-height: 600px; /* Provides vertical space */
}

.hero-text {
    position: relative;
    z-index: 10;
    width: 45%; /* Shrink width to give more space */
    max-width: 540px;
    padding-bottom: 100px; /* Lift text slightly from bottom */
    padding-top: 40px;
}

.hero-text h1 {
    font-size: 44px;
    color: #5D5FEF;
    margin-bottom: 32px;
    text-transform: uppercase;
    line-height: 1.1;
    font-weight: 500; /* Changed from 800 to 500 (Medium) */
}

.hero-text p {
    font-size: 18px;
    color: #475569;
    margin-bottom: 48px;
    max-width: 500px;
    font-weight: 400;
    line-height: 1.5;
}

.hero-visual {
    position: absolute;
    bottom: -150px; /* Pushing it even lower (-150px) */
    right: 120px; /* Continuing to shift left */
    width: 65%;
    max-width: 1000px;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    max-width: 900px;
    display: block;
}

.floating-elements {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    pointer-events: none;
    z-index: 3;
}

.floating-icon {
    position: absolute;
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    font-size: 28px;
    transition: var(--transition);
}

.floating-icon:nth-child(1) { top: 15%; right: 15%; animation: float 6s ease-in-out infinite; }
.floating-icon:nth-child(2) { top: 40%; left: 5%; animation: float 5s ease-in-out infinite 1s; }
.floating-icon:nth-child(3) { bottom: 20%; right: 10%; animation: float 7s ease-in-out infinite 0.5s; }
.floating-icon:nth-child(4) { bottom: 10%; left: 15%; animation: float 5.5s ease-in-out infinite 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* Comparison Section */
.comparison {
    background: #F3F5FF; /* Light lavender background from image */
    text-align: center;
    padding: 100px 0;
}

.comparison h2 {
    color: #5D5FEF; /* Specific indigo from image */
    font-size: 36px;
    letter-spacing: 0.05em;
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-card {
    padding: 60px 30px; /* Reduced padding to make boxes smaller */
    border-radius: 20px;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 460px; /* Constrain width locally */
    margin: 0 auto;
}

.card-negative {
    background: #FFFFFF;
    border: 1.5px solid #8B93FF; /* Light purple border */
}

.card-positive {
    background: #5D5FEF; /* Main indigo background */
    color: var(--white);
    border: 1.5px solid transparent;
}

.card-tag {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 36px;
    border-radius: 20px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tag-negative {
    background: #A5A6F6; /* Light purple tag */
    color: white;
}

.tag-positive {
    background: #3B34AC; /* Dark purple tag */
    color: white;
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 16px; /* Slightly smaller for better fit */
    font-weight: 500;
    line-height: 1.4;
    min-height: 50px; /* Force items to have consistent height for parallel alignment */
}

.list-item i {
    font-size: 28px;
}

/* Custom Icon Styles for Negative Card */
.card-negative .list-item i {
    color: #8B93FF;
    background: #8B93FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px; /* Fixed size */
    max-width: 28px;
    height: 28px;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 4px; /* Align with first line center */
}
.card-negative .list-item i::before {
    color: white;
    content: "\f00d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

/* Custom Icon Styles for Positive Card */
.card-positive .list-item i {
    color: var(--white);
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px; /* Fixed size */
    max-width: 28px;
    height: 28px;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 4px; /* Align with first line center */
}
.card-positive .list-item i::before {
    color: #5D5FEF;
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.comparison .btn-orange {
    margin-top: 60px;
    padding: 16px 60px;
    font-size: 18px;
    background: #F16B00;
    border-radius: 50px;
}

/* Pain Points Section */
.pain-points {
    background: #FFFFFF;
    text-align: center;
    padding: 100px 0;
}

.pain-points h2 {
    color: #5D5FEF;
    font-size: 36px;
    margin-bottom: 60px;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Back to 2 columns for Desktop */
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pain-card {
    background: #5D5FEF;
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 300px; /* More compact height for Desktop */
    transition: var(--transition);
}

.pain-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(93, 95, 239, 0.2);
}

.pain-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
}

.pain-card .divider {
    width: 60px;
    min-height: 4px;
    background: #F16B00;
    margin-bottom: 32px;
    border-radius: 100px;
}

.pain-card p {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* Solutions Section */
.solutions {
    background: #F16B00; /* Main brand orange */
    color: white;
    text-align: center;
    padding: 100px 0;
}

.solutions h2 {
    font-size: 38px;
    margin-bottom: 60px;
    text-transform: uppercase;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.1;
}

.solutions-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 40px; /* Consistent padding */
    border-radius: 30px;
    text-align: left;
    flex: 1 1 300px; 
    max-width: 360px;
    min-height: 380px; /* Reduced from 480px to be more compact */
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.solution-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    font-family: 'Outfit', sans-serif;
    color: white;
}

.solution-card .divider {
    width: 60px;
    min-height: 4px; /* Ensure it doesn't shrink */
    background: #5D5FEF;
    margin-bottom: 28px;
    border-radius: 100px;
}

.solution-card p {
    font-size: 16px;
    line-height: 1.4;
    opacity: 0.95;
}

.solutions .btn-blue {
    margin-top: 60px;
    background: #5D5FEF;
    padding: 18px 50px;
}

/* IA Section */
.ia-section {
    background: #5D5FEF;
    color: white;
    padding: 100px 0;
}

.ia-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.ia-text h2 {
    font-size: 38px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.ia-text p {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.5;
    opacity: 0.9;
}

.ia-text h3 {
    font-size: 32px;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
}

.ia-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ia-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    transition: var(--transition);
}

.ia-pill:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.ia-pill span {
    font-size: 17px;
    font-weight: 500;
    max-width: 80%;
}

.ia-pill svg {
    flex-shrink: 0;
}

.ia-section .btn-orange {
    padding: 16px 40px;
    font-size: 16px;
    background: #F16B00;
}

/* Cost Reduction Section */
.cost-reduction {
    background: #F3F5FF; /* Light lavender background matching Comparison */
    padding: 120px 0;
}

.cost-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.cost-visual {
    position: relative;
    display: flex;
    justify-content: flex-end; /* Align to right slightly to bring image to center-left */
}

/* Gradient fade at the bottom of the image */
.cost-visual::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(243, 245, 255, 0) 0%, rgba(243, 245, 255, 1) 100%);
    pointer-events: none;
}

.cost-visual img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
}

.cost-text h2 {
    color: #5D5FEF;
    font-size: 38px;
    margin-bottom: 24px;
    text-transform: uppercase;
    line-height: 1.25;
}

.cost-text p.desc {
    font-size: 18px;
    color: #475569;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cost-features {
    display: flex;
    flex-direction: row; 
    flex-wrap: wrap;
    justify-content: center; /* Centering the items */
    gap: 16px 32px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px; /* Slightly larger for better readability */
    color: #1E293B;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}

.feature-item i {
    color: #F16B00;
    font-size: 20px; /* Refined size */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cost-text p.highlight {
    font-size: 18px;
    color: #475569;
    margin-bottom: 40px;
}

.cost-text .btn-blue {
    background: #5D5FEF;
    padding: 16px 40px;
    font-size: 16px;
    border-radius: 100px;
}

/* Form Section */
.contact-section {
    background: #5D5FEF;
    padding: 120px 0;
    position: relative;
    color: white;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    background: transparent;
    padding: 0;
    text-align: center;
}

.contact-container h2 {
    font-size: 38px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: white !important;
    text-transform: uppercase;
    margin-bottom: 24px;
    line-height: 1.2;
}

.contact-container p.form-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Base styles to help HubSpot form look consistent if it inherits */
.hs-form-frame {
    margin-top: 40px;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
}

input, textarea {
    width: 100%;
    padding: 18px 24px;
    border-radius: 12px;
    border: 1.5px solid #E2E8F0;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
    background: #F8FAFF;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: white;
    box-shadow: 0 0 0 4px rgba(77, 93, 251, 0.1);
}

/* Responsive Design System */
@media (max-width: 1024px) {
    .container { padding: 0 30px; }
    
    /* Hero Mobile */
    .hero {
        padding: 60px 0 0;
        text-align: center;
        overflow: hidden;
    }
    .hero-content {
        flex-direction: column;
        align-items: center;
        min-height: auto;
    }
    .hero-text {
        width: 100%;
        max-width: 100%;
        padding-bottom: 40px;
    }
    .hero-text h1 {
        font-size: 36px;
    }
    .hero-visual {
        position: relative;
        width: 100%;
        right: 0;
        bottom: -60px; /* Adjusted to -60px for mobile */
        margin-top: 20px;
        z-index: 10;
    }
    .hero-image {
        max-width: 100%;
    }

    /* IA & Cost Section Mobile */
    .ia-content, .cost-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .cost-visual {
        order: 2;
        justify-content: center;
    }
    .cost-text {
        order: 1;
    }
    .cost-features {
        justify-items: center;
    }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    
    .hero-text h1 { font-size: 32px; }
    .hero-text p { font-size: 16px; }

    /* Comparison Mobile */
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pain-grid {
        grid-template-columns: 1fr; /* Force single column on mobile */
        gap: 24px;
    }
    .pain-card {
        min-height: auto;
        padding: 30px 20px;
    }
    .comparison h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    /* Solutions Mobile */
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    .solutions h2 {
        font-size: 26px;
    }
    .solution-card {
        padding: 30px 24px;
        min-height: auto; /* Remove large fixed height on mobile */
        max-width: 100%;
        margin-bottom: 0px;
    }
    .solution-card h3 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    .solution-card .divider {
        margin-bottom: 20px;
    }

    /* IA Section Mobile */
    .ia-pills {
        grid-template-columns: 1fr;
    }
    .ia-pill {
        padding: 15px;
        font-size: 14px;
    }
    .ia-text h2 {
        font-size: 28px;
    }

    /* Cost Reduction Section Mobile */
    .cost-text h2 {
        font-size: 28px;
    }
    .cost-features {
        grid-template-columns: 1fr;
    }

    /* Contact Section Mobile */
    .contact-container h2 {
        font-size: 26px;
    }
    .contact-container p.form-desc {
        font-size: 16px;
    }
}

