/* --- VARIABLES: THE CLAUSE PALETTE --- */
:root {
    --bg-color: #f6f7f5; /* Light creamy gray background */
    --surface-white: #ffffff;
    --forest-green: #0f393b; /* Primary Dark */
    --forest-light: #1a4f52; /* Lighter Dark for hover */
    --lime-green: #c2f970; /* The "Clause" Accent */
    --lime-hover: #b0e860;
    --text-main: #0f393b;
    --text-muted: #6b7c7c;
    --border-color: #e1e6e6;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --font-main: 'Inter', sans-serif; 
}

/* --- RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 100px; /* Pill shape */
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background-color: var(--forest-green);
    color: var(--lime-green);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 57, 59, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--forest-green);
    background: white;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    background: var(--forest-green);
    color: white;
}

.btn-white {
    background: white;
    color: var(--forest-green);
}

.btn-outline-white {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--lime-green);
}

/* --- NAVBAR --- */
.navbar {
    padding: 24px 0;
    position: sticky;
    top: 0;
    background: rgba(246, 247, 245, 0.85); 
    backdrop-filter: blur(10px);
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--forest-green);
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: var(--lime-green);
    border-radius: 6px;
}

.nav-links a {
    margin: 0 16px;
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:hover { color: var(--forest-green); }

.nav-cta { display: flex; gap: 12px; align-items: center; }
.btn-text { font-weight: 600; }

/* --- HERO --- */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pill-badge {
    display: inline-block;
    padding: 6px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--forest-green);
    font-weight: 900; 
}

.hero .highlight {
    color: #2b9d8f; 
    position: relative;
}

.hero-sub {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

/* --- HERO ICONS --- */
.hero-network {
    height: 100px;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.avatar {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: absolute;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border: 1px solid white;
    animation: float 6s infinite ease-in-out;
}

.avatar svg {
    width: 24px; 
    height: 24px;
    color: var(--forest-green); 
}


.av-1 { left: 10%; top: 0; animation-delay: 0s; }
.av-2 { left: 50%; top: 40px; transform: translateX(-50%); animation-delay: 2s; }
.av-3 { right: 10%; top: 10px; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- LOGOS --- */
.logos-section {
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.logos-section p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.5;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-muted);
}

/* --- SECTION HEADERS --- */
.features, .methodology, .impact, .contact-form-section { padding: 100px 0; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

/* --- SOLUTIONS (BENTO GRID) --- */
.bento-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

.bento-card {
    background: var(--surface-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    transition: 0.3s;
    overflow: hidden;
    position: relative;
    opacity: 0; 
    transform: translateY(30px); 
}

.bento-card.show {
    opacity: 1;
    transform: translateY(0);
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

.large-card { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; }
.card-visual.bar-chart { /* ... (chart styling remains the same) ... */ }
.bar.active { background: var(--forest-green); }

/* --- SUBTLE COLOR ENHANCEMENT --- */
.colored-h3 {
    font-size: 20px; 
    margin-bottom: 8px; 
    color: var(--forest-green); /* Use the primary color for emphasis */
}

/* --- FOLLOW UP CARD STYLES --- */
.small-card h3 { 
    font-size: 20px; 
    margin-bottom: 8px; 
}
.small-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

.toggle-switch {
    width: 40px; height: 24px; background: var(--forest-green);
    border-radius: 20px; position: relative;
}

/* --- HOW IT WORKS (METHODOLOGY) --- */
.methodology {
    background: var(--surface-white); 
    padding: 80px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    padding: 20px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

.process-step.show {
    opacity: 1;
    transform: translateY(0);
}

.step-num {
    width: 60px;
    height: 60px;
    line-height: 60px;
    margin: 0 auto 20px;
    background: var(--lime-green);
    color: var(--forest-green);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 800;
    border: 3px solid rgba(15, 57, 59, 0.1);
}

.process-step h3 { margin-bottom: 10px; font-size: 24px; }
.process-step p { color: var(--text-muted); font-size: 15px; }


/* --- MID-PAGE CTA (Integrations Section repurposed) --- */
.integrations { padding: 60px 0; }

.integrations-box {
    background: var(--forest-green);
    border-radius: var(--radius-lg);
    padding: 80px;
    text-align: center;
    color: white;
    opacity: 0; 
    transform: translateY(30px);
}

.integrations-box.show {
    opacity: 1;
    transform: translateY(0);
}

.integrations-box h2 { font-size: 36px; margin-bottom: 16px; color: white; }
.integrations-box p { color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto 40px; }

.tools-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- ABOUT US (IMPACT / STATS) --- */
.impact { padding: 100px 0; text-align: center; }

.quote-block {
    font-size: 24px;
    font-weight: 600;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.4;
    color: var(--forest-green);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.stat {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

.stat.show {
    opacity: 1;
    transform: translateY(0);
}

.stat-num { display: block; font-size: 48px; font-weight: 800; color: var(--forest-green); }
.stat-label { font-size: 14px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }

/* --- CONTACT US (FORM) --- */
.contact-form-section {
    background: var(--surface-white);
    padding: 100px 0;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background: var(--surface-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info h2 { font-size: 36px; margin-bottom: 20px; }
.contact-info p { color: var(--text-muted); margin-bottom: 30px; }
.contact-details { font-size: 15px; }
.contact-details li { margin-bottom: 10px; }

.contact-form {
    display: grid;
    gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--text-main);
    background: #fcfcfc;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--lime-green);
    box-shadow: 0 0 0 2px rgba(194, 249, 112, 0.4);
}

.contact-form select {
    appearance: none; 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7c7c'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

/* --- FOOTER --- */
footer {
    background: #051b1c; 
    color: rgba(255,255,255,0.6);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.brand h4 { color: white; margin-bottom: 12px; font-size: 20px; }
.col h5 { color: white; margin-bottom: 20px; font-size: 14px; text-transform: uppercase; }
.col a { display: block; margin-bottom: 12px; font-size: 15px; }
.col a:hover { color: var(--lime-green); }

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    font-size: 13px;
    text-align: center;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .contact-box { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 50px; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 42px; }
    .bento-grid { grid-template-columns: 1fr; }
    .large-card { grid-row: span 1; }
    .integrations-box { padding: 40px 20px; }
    .cta-box { flex-direction: column; text-align: center; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; } 
    .nav-cta { margin-left: auto; }
}
/* --- SOLUTIONS (BENTO GRID) --- */
/* ... (Existing bento-card, small-card, h3, p styles remain above) ... */

/* --- Notification Styling --- */
.notification-preview {
    /* Replaced previous simple styles with modern flex layout */
    background: #f9fafb; 
    border: 1px solid #e5e7eb;
    padding: 12px 16px;
    border-radius: var(--radius-sm); /* 8px */
    font-size: 14px; 
    font-weight: 500;
    
    display: flex; /* Use Flexbox for alignment */
    align-items: center;
    gap: 12px;
    
    /* Subtle inner shadow for depth */
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03); 
}

.notification-dot {
    width: 10px; 
    height: 10px; 
    background: var(--lime-green); /* BoostPilot accent color */
    border-radius: 50%;
    flex-shrink: 0; /* Prevents dot from shrinking */
    box-shadow: 0 0 0 3px rgba(194, 249, 112, 0.4); /* Subtle glow effect */
}

.notification-content {
    color: var(--text-main);
    line-height: 1.2;
}

.notification-content strong {
    color: var(--forest-green); /* Emphasize the type of alert */
    font-weight: 700;
}

/* ... (Remaining CSS below this section is unchanged) ... */

/* --- VARIABLES: THE CLAUSE PALETTE --- */
:root {
    --bg-color: #f6f7f5; /* Light creamy gray background */
    --surface-white: #ffffff;
    --forest-green: #0f393b; /* Primary Dark */
    --forest-light: #1a4f52; /* Lighter Dark for hover */
    --lime-green: #c2f970; /* The "Clause" Accent */
    --lime-hover: #b0e860;
    --text-main: #0f393b;
    --text-muted: #6b7c7c;
    --border-color: #e1e6e6;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --font-main: 'Inter', sans-serif; 
}

/* --- RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 100px; /* Pill shape */
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}
/* ... (Button styles remain the same) ... */

/* --- NAVBAR --- */
/* ... (Navbar styles remain the same) ... */

/* --- HERO --- */
/* ... (Hero styles remain the same) ... */

/* --- LOGOS --- */
/* ... (Logo styles remain the same) ... */

/* --- SECTION HEADERS --- */
.features, .methodology, .impact, .contact-form-section { padding: 100px 0; }
/* ... (Section header styles remain the same) ... */


/* --- SOLUTIONS (BENTO GRID) --- */
.bento-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

.bento-card {
    background: var(--surface-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    /* ORIGINAL transition: 0.3s; Removed to use JS class transition */
    overflow: hidden;
    position: relative;
    opacity: 0; 
    transform: translateY(30px); 
    
    /* FIX 3: ADD EASE-IN TRANSITION */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.bento-card.show {
    opacity: 1;
    transform: translateY(0);
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

.large-card { 
    grid-row: span 2; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
}

.card-content {
    /* FIX 2: ADD MARGIN BELOW PARAGRAPH TO SEPARATE FROM BUTTON */
    margin-bottom: 20px; 
}

.card-content p {
    margin-bottom: 24px; /* Increased margin for button spacing */
}

.card-visual.bar-chart {
    /* FIX 1: Ensure Height is defined and positioning is correct */
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 150px; /* Explicit height */
    margin-top: auto; /* Push to the bottom of the card */
    background: #f0fdf4; 
    border-radius: 12px;
    padding: 20px;
}

.bar {
    width: 20%;
    background: #dcfce7;
    border-radius: 4px;
    transition: height 1s ease;
}

.bar.active { background: var(--forest-green); }

/* --- SUBTLE COLOR ENHANCEMENT --- */
.colored-h3 {
    font-size: 20px; 
    margin-bottom: 8px; 
    color: var(--forest-green); 
}

/* --- FOLLOW UP CARD STYLES --- */
/* ... (Smart Follow-up and AI Content card styles remain the same) ... */

/* --- HOW IT WORKS (METHODOLOGY) --- */

.process-step {
    /* ... (Existing process-step styles) ... */
    
    /* FIX 3: ADD EASE-IN TRANSITION */
    transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

/* ... (Remaining styles for Contact Form, Footer, and Responsive Media Queries) ... */

/* --- ABOUT US (IMPACT / STATS) --- */
/* ... (Existing quote-block styles) ... */

.stat {
    opacity: 0;
    transform: translateY(30px);
    /* FIX 3: ADD EASE-IN TRANSITION (Delayed slightly) */
    transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

/* ... (Remaining CSS) ... */