@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    --md-sys-color-primary: #F25C05;
    --md-sys-color-on-primary: #FFFFFF;
    --md-sys-color-primary-container: #FFDDBB;
    --md-sys-color-on-primary-container: #2A1700;

    --md-sys-color-secondary: #705D4E;
    --md-sys-color-on-secondary: #FFFFFF;
    --md-sys-color-secondary-container: #FBDDBB;

    --md-sys-color-surface: #FFFBFF;
    --md-sys-color-on-surface: #1E1B16;
    --md-sys-color-surface-variant: #EBE0D4;
    --md-sys-color-on-surface-variant: #4C4639;

    --md-sys-color-outline: #7E7667;
    --md-sys-color-background: #FFFBFF;

    --md-sys-typescale-display-large-font: 'Outfit', sans-serif;
    --md-sys-typescale-display-large-size: 57px;
    --md-sys-typescale-display-large-weight: 700;

    --md-sys-typescale-headline-large-font: 'Outfit', sans-serif;
    --md-sys-typescale-headline-large-size: 32px;
    --md-sys-typescale-headline-large-weight: 600;

    --md-sys-typescale-body-large-font: 'Inter', sans-serif;
    --md-sys-typescale-body-large-size: 16px;

    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 28px;
    --radius-full: 9999px;

    --elevation-1: 0px 1px 3px 1px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.3);
    --elevation-2: 0px 2px 6px 2px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--md-sys-typescale-body-large-font);
    background-color: var(--md-sys-color-background);
    color: var(--md-sys-color-on-surface);
    line-height: 1.5;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--md-sys-typescale-display-large-font);
    font-weight: 700;
}

h1 {
    font-size: clamp(32px, 8vw, 64px);
    line-height: 1.1;
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(28px, 5vw, 40px);
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Material Components */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
}

.btn-primary {
    background-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
}

.btn-primary:hover {
    box-shadow: var(--elevation-2);
    filter: brightness(1.1);
}

.btn-tonal {
    background-color: var(--md-sys-color-secondary-container);
    color: #4A2800;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--md-sys-color-outline);
    color: var(--md-sys-color-primary);
}

.btn-outline:hover {
    background-color: rgba(242, 92, 5, 0.08);
}

.btn-text {
    background: transparent;
    color: var(--md-sys-color-primary);
}

/* Layout */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
header {
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 251, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--md-sys-color-surface-variant);
}

.nav {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100%;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 24px;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px;
    color: var(--md-sys-color-on-surface);
    flex-shrink: 0;
}

.nav-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 32px;
    align-items: center;
}


.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--md-sys-color-on-surface-variant);
    transition: all 0.2s ease;
    padding: 8px 12px;
    border-radius: var(--radius-small);
}

.nav-links a:hover {
    color: var(--md-sys-color-primary);
    background: rgba(242, 92, 5, 0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--md-sys-color-on-surface);
}


/* Sections */

section {
    padding: 80px 0;
}

.hero {
    padding-top: 120px;
    text-align: center;
}

.hero h1 {
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--md-sys-color-on-surface-variant);
    max-width: 700px;
    margin: 0 auto 40px;
}

.card {
    background: var(--md-sys-color-surface);
    padding: 32px;
    border-radius: var(--radius-large);
    border: 1px solid var(--md-sys-color-surface-variant);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--elevation-1);
}

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

/* Footer */

footer {
    background: #1C1B1F;
    color: #E6E1E5;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-col h4 {
    color: #FFFFFF;
    margin-bottom: 24px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #CAC4D0;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid #49454F;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

/* Utilities */

.text-primary {
    color: var(--md-sys-color-primary);
}

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

/* Logo Slider */
.logo-slider {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    position: relative;
    background: #ffffff;
}

.logo-track {
    display: flex;
    width: calc(200px * 16);
    /* 8 logos * 2 */
    animation: scroll 30s linear infinite;
}

.logo-slide {
    width: 200px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 25px;
}

.logo-slide img {
    max-width: 150px;
    max-height: 80px;
    /* Most logos are wide, not tall. 150x150 is the container limit requested */
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

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

    100% {
        transform: translateX(calc(-200px * 8));
    }
}


@media (max-width: 1024px) {
    .nav-links {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    header {
        height: 64px;
    }

    .nav-links {
        display: none !important;
    }

    .nav-actions .btn-primary {
        display: none;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .hero {
        padding-top: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 36px;
    }
}