/* Joao Carlos - AirHelp Inspired CSS */

:root {
    /* Custom Palette */
    --bg-white: #FFFFFF;
    --bg-light: #F4F7F9;
    /* Off-white for distinct sections */
    --brand-blue: #012242;
    /* Deep trustworthy blue (Brand) */
    --brand-blue-light: #2A6390;
    --action-primary: #5AA7E1;
    /* High conversion, high contrast CTA */
    --action-primary-hover: #2A6390;
    --text-dark: #000000;
    --text-muted: #6B7280;
    --text-main: #000000;
    --border-color: #E5E7EB;

    --success-green: #10B981;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--brand-blue);
    line-height: 1.1;
    /* Bebas works better with tighter line height */
    letter-spacing: 1px;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.section-padding-sm {
    padding: 3rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-brand {
    background-color: var(--brand-blue);
    color: white;
}

.bg-brand h1,
.bg-brand h2,
.bg-brand p {
    color: white;
}

.text-center {
    text-align: center;
}

.mt {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    /* Increased size for Bebas */
    font-weight: 400;
    /* Bebas is naturally bold */
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-text {
    color: var(--action-primary);
}

.btn-primary,
.btn-link {
    display: inline-block;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--action-primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--action-primary-hover);
    transform: translateY(-2px);
}

.btn-primary.small {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
}

.btn-primary.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.15rem;
}

.btn-primary.full-width {
    width: 100%;
}

.btn-link {
    background: transparent;
    color: var(--brand-blue);
    padding: 0;
    font-size: 1.1rem;
}

.btn-link:hover {
    color: var(--action-primary);
    text-decoration: underline;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--brand-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* AirHelp uses solid white, but adapting to user preference */
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    /* Adjust size as necessary to fit header */
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    /* Bebas needs to be slightly larger */
    font-weight: 400;
    letter-spacing: 1px;
}

.logo-branding {
    display: flex;
    flex-direction: column;
    margin-left: 0.8rem;
    justify-content: center;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 0.8;
    color: var(--bg-white);
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1;
    margin-top: 0.4rem;
    color: var(--bg-white);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--bg-white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--action-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--bg-white);
    cursor: pointer;
}

/* Hero Section (Conversion focused) */
.hero {
    background-color: var(--brand-blue);
    /* Trustworthy deep blue */
    color: white;
    padding-top: 9rem;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-family: var(--font-heading);
    color: white;
    font-size: clamp(3rem, 6vw, 4.5rem);
    /* Bebas works well extremely large */
    font-weight: 400;
    line-height: 1;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #acc1de;
    margin-bottom: 2rem;
    max-width: 550px;
    font-weight: 400;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

/* Trust Indicators in Hero */
.trust-indicators {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
}

.indicator svg {
    color: var(--success-green);
}

/* Hero Action Card (The Form) */
.hero-action-card {
    background: white;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    color: var(--text-main);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.card-header h3 {
    margin-bottom: 0.2rem;
    font-size: 2rem;
    /* Adjusted for Bebas */
    font-family: var(--font-heading);
    font-weight: 400;
}

.card-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-blue);
    margin-bottom: 0.5rem;
}

.form-group select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #fafafa;
    appearance: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.form-group select:focus {
    outline: none;
    border-color: var(--brand-blue);
    background-color: white;
}

.secure-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.trust-logos {
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    /* Hide the scrolling elements outside the container */
    width: 100%;
}

.trust-logos .subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 2rem;
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
    opacity: 0.6;
    filter: grayscale(100%);
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    gap: 5rem;
    padding-right: 5rem;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.logo-placeholder {
    font-size: 2.5rem;
    font-weight: 400;
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
    color: var(--brand-blue);
    white-space: nowrap;
}

/* How It Works (3 Steps) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    text-align: left;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-5px);
}

.step-number {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--action-primary);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.step-icon {
    color: var(--brand-blue);
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Transparency */
.transparency-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.transparency-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.transparency-content strong {
    color: var(--text-dark);
}

.transparency-content .btn-link {
    margin-top: 1rem;
}

.fee-card {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--action-primary);
}

.fee-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Testimonials */
.rating-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.stars.big {
    font-size: 1.8rem;
    color: #FBBF24;
    letter-spacing: 2px;
}

.stars {
    color: #FBBF24;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.outline-card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: left;
}

.test-title {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.quote {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.author-info strong {
    display: block;
    color: var(--brand-blue);
}

.author-info .date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: #0A1428;
    color: white;
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    color: white;
}

.footer-links-group h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links-group a {
    display: block;
    color: #acc1de;
    text-decoration: none;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-links-group a:hover {
    color: white;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #acc1de;
    display: block;
}

.social-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #acc1de;
    font-size: 0.85rem;
}

.bottom-links {
    display: flex;
    gap: 1.5rem;
}

.bottom-links a {
    color: #acc1de;
    text-decoration: none;
}

.bottom-links a:hover {
    color: white;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {

    .hero-container,
    .transparency-container,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 7rem;
        padding-bottom: 3rem;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .trust-indicators {
        justify-content: center;
        margin-bottom: 2rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .transparency-content {
        text-align: center;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--brand-blue);
        flex-direction: column;
        padding: 1.5rem 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
        gap: 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}