/* Fresh N Funky Catering - Variation B (Problem/Solution Focus) */
/* Aesthetic: Premium Light, High Contrast, Solutions-Focused */

:root {
    --color-primary: #0F172A;
    /* Deep Navy */
    --color-secondary: #475569;
    /* Slate Gray */
    --color-cta: #0284C7;
    /* Professional Blue */
    --color-accent: #10B981;
    /* Solutions Green */
    --color-problem: #EF4444;
    /* Alert Red */
    --color-background: #F8FAFC;
    --color-surface: #FFFFFF;
    --color-border: #E2E8F0;
    --font-heading: 'Lexend', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;

    --shadow-premium: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 50px -12px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Header & Navigation */
.header {
    height: 90px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-premium);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-link img {
    height: 50px;
    transition: height 0.3s ease;
}

.header.scrolled .logo-link img {
    height: 40px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--color-secondary);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--color-cta);
}

/* Sections */
section {
    padding: 8rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-tag {
    color: var(--color-cta);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.18em;
    /* Slightly increased tracking */
    font-size: 1.0625rem;
    /* Increased size significantly */
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.65rem 1.75rem;
    /* Larger padding */
    background: rgba(2, 132, 199, 0.08);
    /* Slightly more visible background */
    border-radius: 50px;
    margin: 0 auto 1.5rem;
    /* Centralized with auto margins */
    text-align: center;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 4rem;
    color: var(--color-primary);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Specific fix for titles on dark backgrounds */
.solution-section .section-title,
.form-section .section-title {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Solutions Header Upgrade */
.solution-branding-bg {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 800;
    font-style: italic;
    display: block;
    text-align: center;
    line-height: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

.solution-headline-wrapper {
    position: relative;
    padding-top: 4rem;
    text-align: center;
    margin-bottom: 6rem;
}

.solution-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    font-style: italic;
    position: relative;
    z-index: 1;
    color: white;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.solution-headline span {
    color: var(--color-accent);
}

/* Hero Section Upgrade */
.hero {
    background-color: #fff;
    min-height: 85vh;
    /* Reduced height */
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 2rem;
    /* Significantly reduced bottom padding */
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
    position: relative;
}

.hero-content {
    text-align: left;
}

.hero h1 {
    font-size: clamp(2.75rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.hero h1 span {
    display: block;
    color: var(--color-cta);
}

.hero p {
    font-size: 1.375rem;
    color: var(--color-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-visual {
    position: relative;
}

.hero-image-main {
    width: 100%;
    height: 550px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: var(--shadow-premium);
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: white;
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.badge-top {
    top: 10%;
    left: -10%;
    animation: float 4s ease-in-out infinite;
}

.badge-bottom {
    bottom: 10%;
    right: -5%;
    animation: float 4s ease-in-out infinite 2.5s;
}

.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-success {
    background: #ECFDF5;
    color: #10B981;
}

.icon-info {
    background: #F0F9FF;
    color: #0284C7;
}

.badge-text span {
    display: block;
    font-weight: 700;
    font-size: 1.125rem;
}

.badge-text small {
    color: var(--color-secondary);
    font-size: 0.75rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--color-cta) 0%, #0369a1 100%);
    color: white;
    padding: 1.125rem 2.25rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(2, 132, 199, 0.4);
}

/* Problem Cards */
.problem-section {
    background: white;
    padding-top: 4rem;
    /* Reduced top padding to close gap */
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.problem-card {
    background: #FFFFFF;
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    border: 2px solid #F1F5F9;
    /* Definitive border */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Subtle base shadow */
    position: relative;
    overflow: hidden;
    height: 100%;
}

.problem-card:hover {
    background: #F8FAFC;
    /* Subtle background shift on hover */
    border-color: var(--color-problem);
    /* Red border on hover to highlight the "problem" */
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(239, 68, 68, 0.1);
}

.problem-icon {
    width: 64px;
    height: 64px;
    background: #FFF1F2;
    /* Soft red background for icons */
    color: var(--color-problem);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid rgba(239, 68, 68, 0.1);
}

/* Solution Banner Overhaul */
.solution-section {
    background-color: var(--color-primary);
    color: white;
    padding: 12rem 0;
    position: relative;
    overflow: hidden;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.solution-item {
    padding: 3.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.solution-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-accent);
    transform: translateY(-12px);
}

.solution-item h3 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.solution-item p {
    opacity: 0.8;
    line-height: 1.7;
}

/* How It Works Steps */
.step-num {
    width: 56px;
    height: 56px;
    background: var(--color-cta);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px -5px rgba(2, 132, 199, 0.4);
}

/* Stats Section - Centered & Impactful */
.results-section {
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 4rem;
}

.stat-box {
    background: white;
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.1);
    border-color: var(--color-cta);
}

.stat-val {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    display: block;
    letter-spacing: -0.05em;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.price-card {
    background: white;
    padding: 4.5rem 3rem;
    border-radius: 24px;
    border: 1px solid var(--color-border);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-cta);
}

.price-card.featured {
    background: #F0F9FF;
    border: 2px solid var(--color-cta);
}

.featured-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-cta);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
}

.price-val {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.price-val small {
    font-size: 1.25rem;
    color: var(--color-secondary);
    font-weight: 500;
}

/* Form Styles - Modern Grid Layout */
.form-section {
    background: var(--color-primary);
    color: white;
    padding: 10rem 0;
}

.lp-form {
    background: white;
    padding: 4.5rem;
    border-radius: 40px;
    box-shadow: 0 50px 150px -20px rgba(0, 0, 0, 0.5);
    max-width: 1000px;
    /* Wider for grid layout */
    margin-top: 2rem;
}

.form-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: span 2;
    margin-top: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--color-primary) !important;
    font-size: 0.9375rem;
}

.form-input {
    width: 100%;
    padding: 1.125rem;
    border: 2px solid #F1F5F9;
    border-radius: 16px;
    font-size: 1rem;
    color: var(--color-primary);
    background: #F8FAFC;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--color-cta);
    background: white;
    outline: none;
    box-shadow: 0 0 0 5px rgba(2, 132, 199, 0.1);
    transform: translateY(-2px);
}

.btn-submit-wrapper {
    grid-column: span 2;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-visual {
        margin-top: 4rem;
    }

    .badge-top {
        left: 0;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }

    .lp-form {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}