:root {
    --primary: #FE7743;
    --cream: #EFEEEA;
    --slate: #273F4F;
    --black: #000000;
    --white: #ffffff;
    --gray-100: #f5f5f7;
    --gray-200: #e8e8ed;
    --gray-400: #86868b;
    --gray-600: #424245;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav-inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 22px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 21px;
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-logo:hover {
    opacity: 0.7;
}

.nav-logo .logo-dot {
    color: var(--primary);
}

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

.nav-link {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--primary);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(254, 119, 67, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--black);
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-menu-btn.open span:first-child {
    transform: translateY(3.25px) rotate(45deg);
}

.mobile-menu-btn.open span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cream);
    border: 1px solid rgba(39, 63, 79, 0.1);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--slate);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero h1 .accent {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero h1 .accent::after {
    content: '';
    position: absolute;
    bottom: 0.05em;
    left: -2%;
    width: 104%;
    height: 0.12em;
    background: var(--primary);
    opacity: 0.15;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 400;
    color: var(--gray-600);
    line-height: 1.4;
    max-width: 600px;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.btn-primary,
.btn-secondary {
    padding: 16px 32px;
    border-radius: 980px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 30px rgba(254, 119, 67, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(254, 119, 67, 0.05);
    transform: scale(1.04);
}

.btn-primary svg,
.btn-secondary svg {
    width: 16px;
    height: 16px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    color: var(--gray-400);
    animation: bounce 2s infinite;
}

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

.section-compact {
    padding-bottom: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 19px;
    color: var(--gray-600);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 400;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.bento-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
    transition: opacity 0.5s;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.bento-card:hover::before {
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.8) 100%);
}

.bento-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .bento-card-img {
    transform: scale(1.08);
}

.bento-card-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    margin-top: auto;
    color: var(--white);
}

.bento-card-tag {
    display: inline-block;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
}

.tag-highlight {
    background: rgba(254, 119, 67, 0.2);
    color: var(--primary);
}

.bento-card-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.1;
}

.bento-card-desc {
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 320px;
}

.bento-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary);
    transition: gap 0.3s;
}

.bento-card:hover .bento-card-link {
    gap: 10px;
}

.bento-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.bento-card:hover .bento-card-link svg {
    transform: translateX(4px);
}

.span-4 {
    grid-column: span 4;
}

.span-6 {
    grid-column: span 6;
}

.span-8 {
    grid-column: span 8;
}

.span-12 {
    grid-column: span 12;
}

.bento-card.featured {
    min-height: 560px;
}

.bento-card.featured .bento-card-title {
    font-size: clamp(36px, 4vw, 56px);
}

.bento-card.featured .bento-card-desc {
    font-size: 17px;
    max-width: 440px;
}

.bento-card.solid {
    background: var(--slate);
}

.bento-card.solid::before,
.bento-card.cream::before {
    display: none;
}

.bento-card.solid .bento-card-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.bento-card.cream {
    background: var(--cream);
}

.bento-card.cream .bento-card-content {
    color: var(--black);
}

.bento-card.cream .bento-card-tag {
    background: rgba(0, 0, 0, 0.06);
    color: var(--slate);
}

.bento-card-muted-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.bento-card-muted-image .bento-card-img {
    opacity: 0.15;
}

.updates-section {
    background: var(--cream);
    padding: 100px 0;
    margin-top: 60px;
}

.updates-header {
    margin-bottom: 60px;
}

.updates-header .section-title {
    color: var(--black);
}

.updates-feed {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.update-item {
    display: flex;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(39, 63, 79, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.update-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.update-item:hover {
    padding-left: 12px;
}

.update-date {
    flex-shrink: 0;
    width: 80px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-400);
    padding-top: 4px;
}

.update-content {
    flex: 1;
}

.update-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 8px;
}

.update-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--black);
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.update-title:hover {
    color: var(--primary);
}

.update-excerpt {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.5;
}

.update-arrow {
    flex-shrink: 0;
    align-self: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
    color: var(--primary);
}

.update-arrow svg {
    width: 20px;
    height: 20px;
}

.update-item:hover .update-arrow {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.parallax-container {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px 0;
}

.parallax-bg {
    position: absolute;
    inset: -20%;
    background: linear-gradient(135deg, var(--slate) 0%, var(--black) 100%);
    will-change: transform;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
}

.parallax-content h2 {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 700;
    margin-bottom: 20px;
}

.parallax-content p {
    font-size: 20px;
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto;
}

.floating-element {
    position: absolute;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    will-change: transform;
}

.floating-element img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.float-1 {
    width: 280px;
    height: 380px;
    left: 5%;
    top: 20%;
}

.float-2 {
    width: 220px;
    height: 300px;
    right: 8%;
    top: 15%;
}

.float-3 {
    width: 180px;
    height: 240px;
    left: 15%;
    bottom: 10%;
}

.footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 24px 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-brand {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand span,
.loader-text span {
    color: var(--primary);
}

.footer-desc {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 12px;
    color: var(--gray-600);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--gray-400);
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--primary);
}

.page-loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-text {
    font-size: 24px;
    font-weight: 700;
    animation: loaderPulse 1.5s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loaderPulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

@media (max-width: 1024px) {
    .span-6,
    .span-4,
    .span-8 {
        grid-column: span 6;
    }

    .span-12 {
        grid-column: span 12;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 52px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 22px 18px;
        background: rgba(255, 255, 255, 0.96);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link,
    .nav-cta {
        padding: 12px 0;
        font-size: 14px;
    }

    .nav-cta {
        text-align: center;
        padding: 10px 16px;
        margin-top: 8px;
    }

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

    .span-6,
    .span-4,
    .span-8,
    .span-12 {
        grid-column: span 12;
    }

    .bento-card {
        min-height: 360px;
    }

    .bento-card.featured {
        min-height: 480px;
    }

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

    .parallax-container {
        height: 50vh;
    }

    .floating-element {
        display: none;
    }

    .update-item {
        flex-direction: column;
        gap: 8px;
    }

    .update-date {
        width: auto;
    }
}
