/* ==========================================================================
   Design System & Variáveis Globais (Dark Theme Premium)
   ========================================================================== */
:root {
    /* Cores Premium Base (Brand Colors) */
    --clr-brand-blue-dark: #034C8C;
    --clr-brand-blue-light: #146EA6;
    --clr-brand-green: #0D8C2D;
    --clr-brand-yellow: #F2B90C;
    --clr-brand-light: #F2F2F2;

    /* Aplicação em Light Mode / Theme */
    --clr-bg-base: var(--clr-brand-light);
    /* Fundo Claro (#F2F2F2) */
    --clr-bg-surface: #FFFFFF;
    /* Superfície Limpa Branca */

    /* Acentos */
    --clr-accent-primary: var(--clr-brand-blue-dark);
    --clr-accent-bright: var(--clr-brand-blue-light);

    /* Cores de Texto */
    --clr-text-main: #333333;
    --clr-text-title: var(--clr-brand-blue-dark);
    --clr-text-muted: #666666;

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(3, 76, 140, 0.15);
    --glass-blur: blur(16px);

    /* Tipografia */
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* Espaçamentos e Medidas */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--clr-bg-base);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--clr-text-title);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
.highlight {
    color: var(--clr-accent-bright);
}

.highlight-gradient {
    background: linear-gradient(135deg, var(--clr-accent-bright) 0%, var(--clr-accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    font-family: var(--font-display);
    white-space: nowrap;
}

.btn-primary {
    background: var(--clr-brand-yellow);
    color: var(--clr-brand-blue-dark);
    box-shadow: 0 4px 15px rgba(242, 185, 12, 0.4);
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 185, 12, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--clr-text-main);
    color: var(--clr-text-title);
}

.btn-outline:hover {
    border-color: var(--clr-accent-bright);
    color: var(--clr-accent-bright);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(3, 76, 140, 0.2);
    color: var(--clr-brand-blue-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ==========================================================================
   Header / Navbar (Glassmorphism Sticky)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 55px;
    width: auto;
    display: block;
}

.logo-img-mobile {
    height: 35px;
    width: auto;
    display: block;
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: var(--clr-bg-surface);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transition: var(--transition-normal);
    z-index: 1001;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.nav-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.close-menu-btn {
    background: transparent;
    border: none;
    color: var(--clr-text-title);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 1.125rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--clr-accent-bright);
}

.nav-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.mobile-menu-btn {
    background: transparent;
    border: none;
    color: var(--clr-text-title);
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
    z-index: 1000;
}

/* Nav Desktop Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 995;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 992px) {
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0;
        box-shadow: none;
        overflow-y: visible;
        flex: 1;
        justify-content: flex-end;
        gap: 2rem;
    }

    .mobile-menu-header {
        display: none;
    }

    .nav-links {
        flex-direction: row;
        margin-bottom: 0;
        gap: 2rem;
    }

    .nav-links a {
        font-size: 0.95rem;
        border-bottom: none;
        padding-bottom: 0;
        white-space: nowrap;
    }

    .nav-actions {
        flex-direction: row;
        width: auto;
    }

    .mobile-menu-btn {
        display: none;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Space for navbar */
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(20, 110, 166, 0.15) 0%, var(--clr-bg-base) 80%);
    z-index: 1;
}

/* This is a placeholder for the background image */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        /* Centralizado, single column */
        max-width: 900px;
        margin: 0 auto;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(242, 185, 12, 0.1);
    /* Yellow tint */
    border: 1px solid rgba(242, 185, 12, 0.2);
    border-radius: var(--radius-pill);
    color: var(--clr-accent-bright);
    /* Yellow */
    font-size: 0.875rem;
    font-weight: 600;
    width: fit-content;
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: var(--clr-accent-bright);
    border-radius: 50%;
    position: relative;
}

.pulse::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--clr-accent-bright);
    border-radius: 50%;
    animation: pulse-anim 2s infinite;
}

@keyframes pulse-anim {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--clr-text-main);
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--clr-text-title);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
    margin-top: 0.25rem;
}

/* Quote Widget */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
}

@media (min-width: 768px) {
    .glass-card {
        padding: 2rem;
    }
}

.quote-widget h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--clr-text-title);
    font-size: 0.9rem;
}

.form-group label i {
    color: var(--clr-accent-bright);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    color: var(--clr-text-main);
    font-family: var(--font-sans);
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--clr-accent-bright);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(242, 185, 12, 0.2);
}

.form-group select option {
    background: #FFFFFF;
    color: var(--clr-text-main);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-text-muted);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* ==========================================================================
   General Sections
   ========================================================================== */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   Escudo Section
   ========================================================================== */
.escudo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .escudo-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.escudo-img-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-img {
    max-width: 100%;
    width: 100%;
    max-width: 400px;
    height: auto;
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--clr-brand-blue-light);
    box-shadow: 0 20px 40px rgba(3, 76, 140, 0.15);
}

.glow-effect {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(13, 140, 45, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    /* Green glow fading to transparent */
    z-index: 1;
    filter: blur(40px);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.escudo-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--clr-accent-primary);
    transform: translateX(10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--clr-accent-bright);
    flex-shrink: 0;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
}

/* ==========================================================================
   Vertical Cargo Section
   ========================================================================== */
.cargo-section {
    background: linear-gradient(to bottom, var(--clr-bg-base) 0%, var(--clr-bg-surface) 100%);
}

.cargo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.cargo-card {
    background: var(--clr-bg-base);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cargo-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--clr-accent-primary);
}

.cargo-card h3 {
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.cargo-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.cargo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(242, 185, 12, 0.3);
    /* Yellow border on hover */
}

.cargo-card.highlight-card {
    background: linear-gradient(135deg, rgba(13, 140, 45, 0.1) 0%, rgba(2, 26, 48, 1) 100%);
    /* Green tint gradient */
    border-color: var(--clr-accent-primary);
}

.cargo-card.highlight-card i {
    color: var(--clr-accent-bright);
    /* Yellow icon */
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
    padding: 2rem 0 6rem 0;
    background: var(--clr-bg-surface);
}

.cta-content {
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.25rem;
}

.cta-content p {
    font-size: 1.15rem;
    color: var(--clr-text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--clr-bg-base);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand p {
    color: var(--clr-text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.logo-img-footer {
    height: 45px;
    width: auto;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--clr-text-title);
}

.footer-socials a:hover {
    background: var(--clr-accent-primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--clr-text-title);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--clr-text-muted);
}

.footer-links a:hover {
    color: var(--clr-accent-bright);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--clr-text-muted);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ==========================================================================
   Auth Pages (Login/Register)
   ========================================================================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--clr-bg-base);
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.auth-title {
    font-size: 1.75rem;
    color: var(--clr-brand-blue-dark);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.error-msg {
    background: #FFEBEE;
    color: #D32F2F;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-left: 4px solid #D32F2F;
}

.success-msg {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-left: 4px solid #2E7D32;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--clr-brand-blue-dark);
    font-weight: 600;
}

.back-home {
    position: absolute;
    top: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-brand-blue-dark);
    font-weight: 600;
    z-index: 10;
}

.role-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.role-option {
    position: relative;
}

.role-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.role-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 2px solid #EEE;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
}

.role-label i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--clr-text-muted);
}

.role-option input:checked+.role-label {
    border-color: var(--clr-brand-yellow);
    background: rgba(242, 185, 12, 0.05);
}

.role-option input:checked+.role-label i {
    color: var(--clr-brand-yellow);
}

.role-option input:checked+.role-label span {
    color: var(--clr-brand-blue-dark);
    font-weight: 600;
}

/* ==========================================================================
   Fretebras-Inspired Redesign Styles
   ========================================================================== */

/* New Hero Section */
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero-fretebras {
    padding: 120px 0 80px;
    background: #000; /* Fallback */
    position: relative;
    overflow: hidden;
}

.hero-fretebras .container {
    position: relative;
    z-index: 2;
}

.hero-grid-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid-new {
        grid-template-columns: 1.2fr 1fr;
    }
}

.hero-text-side {
    max-width: 650px;
}

.hero-text-side .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--clr-brand-blue-dark);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-actions-new {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-search-pills {
    margin-top: 2rem;
}

.hero-search-pills span {
    display: block;
    font-weight: 600;
    color: var(--clr-text-muted);
    margin-bottom: 1rem;
}

.pills-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pill {
    padding: 0.5rem 1.25rem;
    background: #FFF;
    border: 1px solid #DDD;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    color: var(--clr-brand-blue-dark);
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Quick Signup Form in Hero */
.quick-signup {
    background: #FFF;
    border: 1px solid #EEE;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.quick-signup h3 {
    font-size: 1.5rem;
    color: var(--clr-brand-blue-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group-light {
    margin-bottom: 1.25rem;
}

.form-group-light label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    margin-bottom: 0.4rem;
}

.form-group-light input {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #DDD;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
}

/* Segment Cards */
.segment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .segment-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.segment-card {
    height: 350px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.segment-card:hover {
    transform: translateY(-10px);
}

.segment-content {
    position: relative;
    z-index: 2;
    color: #FFF;
}

.segment-content h2 {
    font-size: 2.25rem;
    color: #FFF;
    margin-bottom: 1rem;
}

.segment-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.btn-outline-white {
    padding: 0.75rem 2rem;
    border: 2px solid #FFF;
    color: #FFF;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

.btn-outline-white:hover {
    background: #FFF;
    color: var(--clr-brand-blue-dark);
}

/* How it Works */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #F0F4F8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--clr-brand-blue-dark);
}

.work-step p {
    font-weight: 500;
    max-width: 250px;
    margin: 0 auto;
}

/* New Stats Section */
.stats-section-new {
    background: #FFF;
    border-top: 1px solid #EEE;
    border-bottom: 1px solid #EEE;
}

.stats-flex-new {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}

.stats-text {
    flex: 1;
    min-width: 300px;
}

.stats-text h2 {
    font-size: 2.5rem;
    color: var(--clr-brand-blue-dark);
}

.stats-grid-new {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .stats-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-box h3 {
    font-size: 3.5rem;
    color: var(--clr-brand-blue-dark);
    margin-bottom: 0.25rem;
}

.stat-box p {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
}

/* Companies Grid */
.companies-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.company-logo {
    font-weight: 700;
    color: var(--clr-text-muted);
    font-family: var(--font-display);
}

/* App Showcase */
.app-section {
    background: var(--clr-brand-blue-dark);
    padding: 100px 0;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .app-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.app-content-side {
    color: #FFF;
}

.app-stats-grid {
    display: flex;
    gap: 3rem;
    margin: 2rem 0;
}

.app-stat h3 {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
}

.app-download-btns {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #111;
    border: 12px solid #333;
    border-radius: 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: #FFF;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img {
    height: 200px;
    background: #EEE;
    /* Placeholder */
}

.blog-info {
    padding: 1.5rem;
}

.blog-info h4 {
    margin-bottom: 0.5rem;
    color: var(--clr-brand-blue-dark);
}

/* Complex Footer */
.footer-grid-complex {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
    .footer-grid-complex {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid-complex {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--clr-brand-blue-dark);
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--clr-text-muted);
}

.footer-brand-col p {
    margin: 1.5rem 0;
    color: var(--clr-text-muted);
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

/* Helpers */
.text-white {
    color: #FFF !important;
}

.opacity-8 {
    opacity: 0.8;
}