:root {
    --fca-blue: #007fae;
    --fca-plum: #6C1D45;
    --light-gray: #f0f0f1;
    --white: #ffffff;
    --text-dark: #232323;
    --border-radius: 8px;
    /* Legacy variables for compatibility */
    --primary-color: #6C1D45;
    --secondary-color: #d2d2d4;
    --text-light: #666;
    --light-bg: #f0f0f1;
    --shadow: rgba(108, 29, 69, 0.1);
    --shadow-hover: rgba(108, 29, 69, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 8%;
}

/* Navigation */
nav {
    background: var(--white);
    padding: 1rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--fca-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.logo span {
    text-transform: none;
    letter-spacing: normal;
}

.logo-track {
    font-weight: 300;
    color: #666;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--fca-blue);
}

.login-btn {
    background: var(--fca-plum);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    transition: opacity 0.3s;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.login-btn:hover {
    opacity: 0.9;
}

/* Header CTA button (Contact) */
.nav-cta-btn {
    background: var(--fca-blue);
    color: #fff !important;
    padding: 0.6rem 1.6rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 127, 174, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta-btn:hover {
    background: var(--fca-plum);
    box-shadow: 0 8px 20px rgba(108, 29, 69, 0.35);
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--fca-blue);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 127, 174, 0.8), rgba(108, 29, 69, 0.7)), url(https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop);
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 0 8%;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-badge i {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    font-weight: 800;
    line-height: 1.15;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}


.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.hero-feature-item i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.hero-ssl {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-ssl i {
    font-size: 0.85rem;
}

/* Case Search Form - The Highlight */
.search-container {
    max-width: 900px;
    margin: -60px auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 20;
}

.search-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-box h2 {
    font-size: 1.2rem;
    color: var(--fca-plum);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.input-group {
    display: flex;
    gap: 10px;
}

input[type="text"] {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    border-color: var(--fca-blue);
}

.search-submit {
    background: var(--fca-blue);
    color: white;
    border: none;
    padding: 0 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
    font-size: 1rem;
}

.search-submit:hover {
    background: #005f82;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-bottom: 4px solid var(--fca-blue);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--fca-blue);
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--fca-plum);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-card p {
    color: #666;
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    border-bottom: 4px solid var(--fca-blue);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--fca-blue);
    opacity: 0.3;
    margin-bottom: 1rem;
    line-height: 1;
}

.step-card h3 {
    color: var(--fca-plum);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.step-card p {
    color: #666;
    line-height: 1.7;
}

/* Highlights Section */
.highlights-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8f9fc 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.highlights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 127, 174, 0.15), transparent);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    margin-top: 2rem;
}

.highlight-card {
    background: var(--white);
    padding: 2.25rem 1.75rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.highlight-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--fca-blue), var(--fca-plum));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 127, 174, 0.12);
    border-color: rgba(0, 127, 174, 0.12);
}

.highlight-card:hover::after {
    transform: scaleX(1);
}

.highlight-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 127, 174, 0.1), rgba(108, 29, 69, 0.08));
    color: var(--fca-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.35rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.highlight-card:hover .highlight-icon-wrap {
    background: linear-gradient(135deg, var(--fca-blue), var(--fca-plum));
    color: var(--white);
}

.highlight-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}

.highlight-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--fca-plum);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--fca-blue);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--light-gray);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--fca-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--fca-blue);
    color: white;
}

.btn-primary:hover {
    background: #005f82;
}

.btn-block {
    width: 100%;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Footer */
footer {
    background: #111;
    color: #eee;
    padding: 3rem 8%;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: #bbb;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.85rem;
}

.footer-bottom > p:first-child {
    font-weight: 700;
    color: #666;
}

.footer-bottom .footer-company {
    font-weight: 400;
    color: #999;
    font-size: 0.8rem;
    margin-top: 0.35rem;
    margin-bottom: 0;
}

/* Status Badges */
.status-display,
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}

.status-pending {
    background: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}
.status-under_review { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.status-investigating { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.status-resolved { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.status-closed { background: #f8fafc; color: #64748b; border-color: #e2e8f0; }
.status-rejected { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 1rem 5%;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
        gap: 1rem;
        border-top: 1px solid #ddd;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        padding: 0 5%;
        height: auto;
        min-height: 400px;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-feature-item {
        font-size: 0.9rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .search-container {
        margin: -40px auto 30px;
        padding: 0 15px;
    }

    .search-box {
        padding: 1.5rem;
    }

    .input-group {
        flex-direction: column;
    }

    .search-submit {
        width: 100%;
        justify-content: center;
    }

    .main-grid,
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .container {
        padding: 0 5%;
    }

    footer {
        padding: 2rem 5%;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.9rem;
    }

    .hero-content h1 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-features {
        gap: 0.8rem;
    }

    .hero-feature-item {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }
}
