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

:root {
    --color-accent: #FF860F;
    --color-dark: #403A35;
    --color-brown: #80654A;
    --color-white: #FFFFFF;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-zinc-50: #FAFAFA;
    --color-zinc-200: #E4E4E7;
    --color-zinc-600: #52525B;
    --color-zinc-700: #3F3F46;
    --color-zinc-800: #27272A;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    background-color: var(--color-white);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.page-container {
    max-width: 1920px;
    margin: 0 auto;
}

/* Typography */
h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.875rem;
    font-weight: 700;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

.text-accent {
    color: var(--color-accent);
}

.font-bold {
    font-weight: 700;
}

/* Navigation */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-zinc-200);
    max-width: 1920px;
    margin: 0 auto;
}

.nav-container {
    padding: 1rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-portfolio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-portfolio:hover {
    transform: translateX(4px);
}

.nav-portfolio span {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    color: var(--color-zinc-800);
}

.chevron-icon {
    color: var(--color-zinc-800);
    transition: transform 0.3s ease;
}

.nav-portfolio:hover .chevron-icon {
    transform: translateX(4px);
}

.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-logo img {
    height: 2.5rem;
    width: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-cocreate {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 134, 15, 0.2);
    color: var(--color-dark);
    border: none;
    border-radius: 9999px;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
}

.btn-cocreate:hover {
    background: rgba(255, 134, 15, 0.3);
    text-decoration: none;
}

.btn-menu {
    padding: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-menu:hover {
    background: var(--color-zinc-100);
}

.btn-menu svg {
    color: var(--color-zinc-800);
}


/* Hero Section */
.hero-section {
    padding-top: 7rem;
    padding-left: 4rem;
    padding-right: 4rem;
    min-height: 1080px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    width: 100%;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    margin-top: 4rem;
}

.tag {
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag-primary {
    background: var(--color-dark);
    color: var(--color-accent);
}

.tag-primary:hover {
    background: var(--color-accent);
    color: var(--color-dark);
}

.tag-secondary {
    border: 1px solid var(--color-dark);
    color: var(--color-dark);
    background: transparent;
}

.tag-secondary:hover {
    background: var(--color-dark);
    color: var(--color-accent);
}

.headline {
    margin-bottom: 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.intro-statement {
    margin-bottom: 2rem;
}

.intro-text {
    color: var(--color-zinc-800);
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 600;
}

.context-paragraph {
    margin-bottom: 2.5rem;
}

.context-paragraph p {
    color: var(--color-zinc-700);
    font-size: 1.125rem;
    line-height: 1.6;
}

.callout-box {
    background: linear-gradient(to right, rgba(255, 134, 15, 0.1), transparent);
    border-left: 4px solid var(--color-accent);
    padding: 2rem;
    border-radius: 0 0.75rem 0.75rem 0;
}

.callout-box h4 {
    color: var(--color-dark);
    font-weight: 700;
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.callout-box p {
    color: var(--color-zinc-700);
    font-size: 1.5rem;
    line-height: 1.6;
}

.truck-container {
    position: relative;
    margin-top: -2rem;
}

.bg-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(255, 134, 15, 0.2), rgba(128, 101, 74, 0.2));
    border-radius: 1.5rem;
    filter: blur(60px);
}

.truck-image {
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease;
}

.truck-image:hover {
    transform: scale(1.05);
}

.truck-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15));
}

/* Metrics Section */
.metrics-section {
    margin-top: 5rem;
    margin-left: -4rem;
    margin-right: -4rem;
    padding: 5rem 4rem;
    background: #2a2520;
}

.metrics-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.metric-item {
    border-top: 2px solid;
    padding-top: 2rem;
}

.metric-item:first-child {
    border-color: var(--color-accent);
}

.metric-item:nth-child(2) {
    border-color: rgba(255, 255, 255, 0.2);
}

.metric-layout {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.metric-number {
    font-size: 7rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    color: white;
}

.metric-number.accent {
    color: var(--color-accent);
}

.metric-content {
    flex: 1;
}

.metric-label {
    font-size: 0.875rem;
    letter-spacing: 0.3em;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--color-accent);
}

.metric-label.muted {
    color: rgba(255, 255, 255, 0.5);
}

.metric-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Section Containers */
.section-container,
.section-container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

.section-container-wide {
    max-width: 1400px;
}

section {
    padding: 6rem 4rem;
}

.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-zinc-700);
    margin-top: 2rem;
}

.section-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-zinc-700);
    margin-bottom: 3rem;
}

.section-text-large {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--color-zinc-700);
    margin-bottom: 4rem;
}

/* Risk Section */
.risk-section {
    background: var(--color-zinc-50);
}

.risk-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: white;
    border: 2px solid rgba(64, 58, 53, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.stat-card p {
    font-size: 1.5rem;
    line-height: 1.6;
    font-weight: 700;
    color: var(--color-zinc-800);
}

.consequence-statement p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--color-zinc-700);
}

/* Control Section */
.control-section {
    background: white;
}

.issue-boxes {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.issue-box {
    background: white;
    border-top: 4px solid;
    border-radius: 0.5rem;
    padding: 1.25rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: all 0.3s ease;
}

.issue-box:hover {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.issue-box:nth-child(odd) {
    border-color: var(--color-accent);
}

.issue-box:nth-child(even) {
    border-color: var(--color-brown);
}

.issue-box:nth-child(3) {
    border-color: var(--color-dark);
}

.issue-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.icon-accent {
    color: var(--color-accent);
}

.icon-brown {
    color: var(--color-brown);
}

.icon-dark {
    color: var(--color-dark);
}

.issue-box p {
    font-size: 0.875rem;
    line-height: 1.4;
    font-weight: 600;
    text-align: center;
    color: var(--color-zinc-800);
}

.critical-gap {
    margin-bottom: 3rem;
}

.gap-box {
    background: linear-gradient(to right, rgba(64, 58, 53, 0.05), rgba(255, 134, 15, 0.05));
    border-left: 4px solid var(--color-accent);
    padding: 2.5rem;
    border-radius: 0 1rem 1rem 0;
}

.gap-box p {
    font-size: 1.875rem;
    line-height: 1.6;
    color: var(--color-dark);
    font-weight: 600;
}

.final-statement h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.6;
}

/* Efficiency Section */
.efficiency-section {
    background: var(--color-zinc-50);
}

.efficiency-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.efficiency-callout {
    margin: 2.5rem 0;
    background: linear-gradient(to right, rgba(255, 134, 15, 0.1), transparent);
    border-left: 4px solid var(--color-accent);
    padding: 1.5rem;
    border-radius: 0 0.75rem 0.75rem 0;
}

.efficiency-callout h4 {
    font-size: 1.5rem;
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1.6;
}

.journey-flow {
    position: relative;
    margin-top: 2rem;
}

.flow-point {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.flow-point-offset {
    margin-left: 8rem;
}

.flow-point-offset-large {
    margin-left: 16rem;
}

.flow-badge {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    position: relative;
}

.badge-1 {
    background: var(--color-accent);
}

.badge-2 {
    background: var(--color-brown);
}

.badge-3 {
    background: var(--color-dark);
}

.flow-badge span {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    position: relative;
    z-index: 10;
}

.ping-animation {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.2;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.flow-content {
    padding-top: 0.75rem;
}

.flow-content h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-zinc-800);
    margin-bottom: 0.5rem;
}

.flow-content p {
    font-size: 1rem;
    color: var(--color-zinc-600);
    line-height: 1.6;
}

.phone-mockup {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(255, 134, 15, 0.2), rgba(128, 101, 74, 0.2));
    filter: blur(60px);
}

.phone-mockup img {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 24rem;
    height: auto;
    filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15));
    transition: transform 0.3s ease;
}

.phone-mockup:hover img {
    transform: scale(1.05);
}

.phone-deco {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
}

.phone-deco-1 {
    bottom: -2rem;
    right: -2rem;
    width: 10rem;
    height: 10rem;
    background: var(--color-accent);
}

.phone-deco-2 {
    top: -2rem;
    left: -2rem;
    width: 8rem;
    height: 8rem;
    background: var(--color-dark);
}

/* Oil & Gas Section */
.oilgas-section {
    background: white;
}

.oilgas-callout {
    margin: 3rem 0;
    background: linear-gradient(to right, rgba(255, 134, 15, 0.1), transparent);
    border-left: 4px solid var(--color-accent);
    padding: 2rem;
    border-radius: 0 0.75rem 0.75rem 0;
}

.oilgas-callout h4 {
    font-size: 1.5rem;
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1.6;
}

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

.cargo-card {
    background: white;
    border: 2px solid rgba(64, 58, 53, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.cargo-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.cargo-card h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.cargo-card p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-zinc-700);
}

.validation-text {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--color-zinc-800);
    margin-bottom: 2rem;
}

/* Dark Control Section */
.control-dark-section {
    background: #2a2520;
    color: white;
}

.control-dark-section .section-header h2 {
    color: white;
}

.control-dark-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
}

.pillars-container {
    margin-bottom: 5rem;
}

.pillar {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 4rem;
}

.pillar-offset {
    margin-left: 8rem;
}

.pillar-offset-large {
    margin-left: 16rem;
}

.pillar-icon {
    flex-shrink: 0;
    color: var(--color-brown);
}

.pillar-content h4 {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.pillar-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.screen-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* Stakeholders Section */
.stakeholders-section {
    background: white;
    overflow: hidden;
}

.stakeholder-intro {
    margin-top: 2rem;
}

.stakeholder-intro p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-zinc-700);
    margin-bottom: 1.5rem;
}

.carousel-container {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
}

.carousel-center {
    position: absolute;
    z-index: 20;
    background: white;
    border-radius: 50%;
    width: 12rem;
    height: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-center img {
    width: 8rem;
    height: 8rem;
}

.carousel-orbit {
    position: absolute;
    width: 600px;
    height: 600px;
    border: 2px dashed rgba(255, 134, 15, 0.3);
    border-radius: 50%;
}

.stakeholder-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.stakeholder-card {
    position: absolute;
    width: 16rem;
    background: white;
    border: 2px solid rgba(64, 58, 53, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.stakeholder-card.active {
    border-color: var(--color-accent);
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
    z-index: 10;
}

.stakeholder-card:not(.active) {
    transform: translate(-50%, -50%) scale(0.75);
    opacity: 0.5;
}

.stakeholder-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.stakeholder-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.stakeholder-card p {
    font-size: 0.875rem;
    color: var(--color-zinc-600);
    line-height: 1.4;
}

.connection-line {
    position: absolute;
    width: 2px;
    height: 150px;
    background: linear-gradient(to right, rgba(255, 134, 15, 0.5), transparent);
    left: 50%;
    top: 50%;
    transform-origin: top;
}

.carousel-controls {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 30;
}

.carousel-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.carousel-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.carousel-btn svg {
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.carousel-btn:hover svg {
    color: white;
}

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

.statement-box {
    background: linear-gradient(to right, transparent, rgba(255, 134, 15, 0.1), transparent);
    border-top: 1px solid rgba(255, 134, 15, 0.3);
    border-bottom: 1px solid rgba(255, 134, 15, 0.3);
    padding: 2rem;
}

.statement-box h4 {
    font-size: 1.5rem;
    color: var(--color-dark);
    font-weight: 700;
}

/* Infrastructure Section */
.infrastructure-section {
    background: var(--color-zinc-50);
    overflow: hidden;
}

.infra-cards-container {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    gap: 0;
}

.infra-card {
    flex-shrink: 0;
    width: 80px;
    height: 350px;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.infra-card.active {
    width: 600px;
    background: white;
    border: 2px solid var(--color-accent);
}

.infra-card:not(.active) {
    background: linear-gradient(to bottom right, var(--color-dark), #5a4f47);
}

.infra-card:nth-child(2):not(.active) {
    background: linear-gradient(to bottom right, var(--color-brown), #a07e5e);
}

.infra-card:nth-child(3):not(.active) {
    background: linear-gradient(to bottom right, var(--color-accent), #ff9f3d);
}

.infra-collapsed,
.infra-expanded {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.infra-collapsed {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.infra-card.active .infra-collapsed {
    display: none;
}

.infra-card:not(.active) .infra-expanded {
    display: none;
}

.infra-expanded {
    padding: 3rem;
    flex-direction: column;
    align-items: flex-start;
}

.infra-number {
    color: var(--color-accent);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

.infra-expanded p {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--color-zinc-700);
}

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

.infra-statement p {
    font-size: 1.5rem;
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1.6;
}

/* Tough Section */
.tough-section {
    background: white;
}

.tough-text {
    margin: 3rem 0;
}

.tough-text p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-zinc-700);
    margin-bottom: 2rem;
}

.map-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    border: 1px solid var(--color-zinc-200);
}

/* Impact Section */
.impact-section {
    background: var(--color-zinc-50);
}

.impact-callout {
    margin: 3rem 0;
    background: linear-gradient(to right, rgba(255, 134, 15, 0.1), transparent);
    border-left: 4px solid var(--color-accent);
    padding: 2rem;
    border-radius: 0 0.75rem 0.75rem 0;
}

.impact-callout h4 {
    font-size: 1.5rem;
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1.6;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.metric-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 2px solid rgba(64, 58, 53, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.metric-card:hover {
    border-color: var(--color-accent);
}

.metric-card h4 {
    color: var(--color-zinc-600);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.progress-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.progress-track {
    width: 100%;
    height: 12px;
    background: var(--color-zinc-200);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--color-accent), #ff9f3d);
    border-radius: 9999px;
    position: relative;
    width: 0;
    transition: width 2s ease-out;
}

.metric-card.in-view .progress-fill {
    animation: fillProgress 2s ease-out forwards;
}

@keyframes fillProgress {
    to {
        width: var(--progress-width);
    }
}

.progress-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(200%);
    }
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-zinc-400);
}

.metric-display {
    text-align: center;
    font-size: 5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.calculating-text {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--color-accent);
    font-family: monospace;
    opacity: 0;
    transition: opacity 2s;
}

.metric-card.in-view .calculating-text {
    animation: blink 2s;
}

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

/* Testimonial */
.testimonial {
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-content {
    background: linear-gradient(to bottom right, var(--color-dark), var(--color-brown));
    border-radius: 1.5rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.quote-icon {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: white;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-attribution {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

.attribution-name {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.attribution-title {
    color: var(--color-accent);
    font-size: 1.125rem;
}

/* Footer */
.footer {
    background: #000;
    padding: 5rem 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 3rem;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-tagline-small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.footer-tagline-large {
    color: white;
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-social span {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
}

.footer-download {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-download:hover {
    color: var(--color-accent);
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.footer-contact h4,
.footer-careers h4,
.footer-location h4 {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.footer-contact a,
.footer-careers a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    margin-bottom: 0.5rem;
}

.footer-contact a:first-of-type,
.footer-careers a {
    font-size: 1.125rem;
}

.footer-contact a:hover,
.footer-careers a:hover {
    color: var(--color-accent);
}

.location-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.location-tabs span {
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: color 0.3s ease;
}

.location-tabs span:hover {
    color: white;
}

.location-tabs span.active {
    color: white;
    font-weight: 600;
}

.footer-location p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.2s forwards;
}

.fade-in-delayed-2 {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.4s forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease-out 0.5s forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-up.in-view {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .hero-grid,
    .efficiency-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .issue-boxes {
        grid-template-columns: repeat(2, 1fr);
    }

    .cargo-grid,
    .metrics-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 2rem;
    }

    section {
        padding: 4rem 2rem;
    }

    .hero-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .metrics-section {
        margin-left: -2rem;
        margin-right: -2rem;
        padding: 4rem 2rem;
    }

    .metric-layout {
        flex-direction: column;
        gap: 1.5rem;
    }

    .metric-number {
        font-size: 4rem;
    }

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

    .carousel-orbit {
        width: 400px;
        height: 400px;
    }

    .infra-cards-container {
        flex-direction: column;
        height: auto;
        gap: 1rem;
    }

    .infra-card {
        width: 100%;
        height: 80px;
    }

    .infra-card.active {
        width: 100%;
        height: 300px;
    }
}
