/* Homepage Rebrand Styles - 2026 */

/* General overrides */
body.v2-page {
    background-color: var(--bg-cream, #FAF8F5) !important;
    color: var(--text-anthracite, #2D3748);
}

/* Flash messages fix for V2 */
.v2-page .alert-message {
    max-width: 1200px;
    margin: 1rem auto;
    left: 0;
    right: 0;
}

/* Typography Overrides for V2 */
.v2-page h1, .v2-page h2, .v2-page h3, .v2-page h4, .v2-page h5, .v2-page h6 {
    color: var(--text-deep-blue, #0F172A);
}

/* Helper Classes */
.text-deep-blue { color: #0F172A; }
.text-anthracite { color: #2D3748; }
.bg-deep-blue { background-color: #0F172A; }
.bg-cream { background-color: #FAF8F5; }

/* HERO SECTION */
.hero-new {
    padding: 8rem 0 2rem;
    position: relative;
    overflow: visible; /* Allow floating elements */
}

.hero-headline {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #0F172A;
    letter-spacing: -1px;
}

.hero-subheadline {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: #5E6B73;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-new-primary {
    background-color: #FFD500;
    color: #0F172A;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(255, 213, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-new-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(255, 213, 0, 0.3);
}

.btn-new-secondary {
    background-color: white;
    color: #0F172A;
    border: 2px solid #E2E8F0;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-new-secondary:hover {
    border-color: #0F172A;
    transform: translateY(-2px);
}

.hero-image-wrapper {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-floating-char {
    max-height: 100%;
    width: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
    animation: floatingHero 6s ease-in-out infinite;
    z-index: 10;
    position: relative;
}

@keyframes floatingHero {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Background Decorations */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.hero-blob-1 {
    width: 400px;
    height: 400px;
    background-color: rgba(255, 213, 0, 0.15);
    top: -100px;
    right: -100px;
}

.hero-blob-2 {
    width: 300px;
    height: 300px;
    background-color: rgba(0, 124, 145, 0.1);
    bottom: 0;
    left: 20%;
}

/* SOCIAL PROOF SECTION */
.social-proof {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 4rem;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
}

.proof-label {
    text-align: center;
    font-size: 0.875rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.logo-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.logo-strip:hover {
    opacity: 1;
}

.logo-item {
    height: 32px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logo-item:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* BENTO GRID SECTION */
.bento-section {
    padding-bottom: 6rem;
}

.bento-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, minmax(280px, auto));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.06); /* Slightly more visible border */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03); /* Softer shadow */
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-8px) scale(1.01); /* More pronounced lift */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 124, 145, 0.3); /* Turquoise tint on hover */
}

/* Specific Cards */
.card-featured {
    grid-column: span 7;
    grid-row: span 2;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%); /* Subtle blueish tint */
}

.card-tool {
    grid-column: span 5;
    grid-row: span 1;
    background-color: #0F172A;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.3); /* Shadow matching bg */
}

.card-stat {
    grid-column: span 2;
    grid-row: span 1;
    background-color: #FFD500;
    box-shadow: 0 10px 15px -3px rgba(255, 213, 0, 0.3); /* Yellow glow */
}

.card-quote {
    grid-column: span 3;
    grid-row: span 1;
    background-color: white;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Card Content Styling */
.card-content {
    padding: 2.5rem; /* Increased padding */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-label {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    align-self: flex-start;
}

.label-new { background: #FFD500; color: #0F172A; }
.label-tool { background: rgba(255,255,255,0.15); color: white; backdrop-filter: blur(4px); }
.label-stat { background: white; color: #0F172A; }

.card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.card-featured .card-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.card-featured .card-content {
    padding: 0; /* Remove default padding for full bleed */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-featured-image-container {
    margin-top: auto;
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.card-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0; /* Remove border radius */
    margin-top: 0;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-featured:hover img {
    transform: scale(1.03) translateY(-5px);
}

.big-stat {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Bebas Neue', sans-serif;
    line-height: 0.9;
    margin: auto 0;
    letter-spacing: 1px;
}

/* B2B SECTION */
.b2b-section {
    background-color: #0F172A;
    background-image: radial-gradient(circle at 80% 20%, rgba(30, 41, 59, 1) 0%, #0F172A 40%);
    color: white !important; /* Force white text */
    padding: 8rem 0;
    position: relative;
    border-radius: 60px 60px 0 0;
    overflow: hidden;
    margin-top: -2rem;
}

.b2b-section h2, .b2b-section h3, .b2b-section h4, .b2b-section p, .b2b-section span, .b2b-section li {
    color: white !important;
}

.b2b-section .b2b-tag {
    color: #FFD500 !important;
}

.b2b-section .text-blue-200 {
    color: #BFDBFE !important; /* Tailwind blue-200 */
}

.b2b-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* More space for text */
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.b2b-tag {
    color: #FFD500;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.b2b-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.b2b-desc {
    font-size: 1.25rem;
    color: #94A3B8;
    margin-bottom: 3rem;
    max-width: 540px;
    line-height: 1.7;
}

/* Glassmorphism Card for B2B */
.b2b-card-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.b2b-card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.b2b-card-glass:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* CEE CARD FIX */
.cee-card {
    background: linear-gradient(135deg, #0F172A 0%, #1e3a8a 100%) !important;
    color: white !important;
    position: relative;
    overflow: hidden;
}

.cee-card h2, .cee-card p {
    color: white !important;
}

.cee-card .text-blue-100 {
    color: #dbeafe !important;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .bento-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .card-featured { grid-column: span 2; grid-row: auto; }
    .card-tool { grid-column: span 1; grid-row: auto; }
    .card-stat { grid-column: span 1; grid-row: auto; }
    .card-quote { grid-column: span 2; grid-row: auto; }
    
    .hero-headline { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .bento-container {
        grid-template-columns: 1fr;
    }
    
    .card-featured, .card-tool, .card-stat, .card-quote {
        grid-column: span 1;
    }
    
    /* Updated: 2026-01-14 - Increased mobile top spacing */
    .hero-new { padding-top: 10rem; text-align: center; }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        height: 350px;
        margin-top: 2rem;
    }
    
    .b2b-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .b2b-desc { margin: 0 auto 2rem; }
}
