/* ============================================
   EVPower — CSStyles
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --white: #FFFFFF;
    --off-white: #F7F7F7;
    --charcoal: #111111;
    --black-text: #0A0A0A;
    --dark-gray: #555555;
    --light-gray: #999999;
    --border-gray: #E5E5E5;
    --orange: #F26522;
    --orange-hover: #D4551A;
    --orange-light: rgba(242, 101, 34, 0.08);
    --orange-glow: rgba(242, 101, 34, 0.3);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: var(--font);
    font-size: 18px;
    line-height: 1.7;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
    max-width: 100vw;
    /* Hide scrollbar for entire website */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--orange);
    z-index: 10000;
    transition: none;
}

/* ---------- Container ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ---------- Typography ---------- */
.section-headline {
    font-size: clamp(28px, 5vw, 64px);
    font-weight: 700;
    color: var(--black-text);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.section-body {
    font-size: 18px;
    line-height: 1.8;
    color: var(--dark-gray);
    max-width: 640px;
}

.section-body-secondary {
    font-size: 16px;
    line-height: 1.7;
    color: var(--light-gray);
    margin-top: 16px;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--orange-glow);
}

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

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.btn-icon {
    font-size: 18px;
}

/* ---------- Orange Divider Line ---------- */
.orange-line {
    width: 60px;
    height: 3px;
    background: var(--orange);
    margin-bottom: 24px;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.orange-line.revealed {
    width: 80px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border-gray);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: auto;
    width: 122px;
    transition: opacity var(--transition);
}

.logo-white {
    position: absolute;
    opacity: 1;
}

.logo-black {
    position: absolute;
    opacity: 0;
}

.site-header.scrolled .logo-white {
    opacity: 0;
}

.site-header.scrolled .logo-black {
    opacity: 1;
}

.site-header.scrolled .logo-text {
    fill: var(--black-text);
}

.site-header.scrolled .logo-tagline {
    fill: var(--dark-gray);
}


.mobile-menu.active ~ .site-header .logo-white,
.site-header.menu-open .logo-white {
    opacity: 0;
}

.mobile-menu.active ~ .site-header .logo-black,
.site-header.menu-open .logo-black {
    opacity: 1;
}

.mobile-menu.active ~ .site-header .logo-text,
.site-header.menu-open .logo-text {
    fill: var(--black-text);
}

.mobile-menu.active ~ .site-header .logo-tagline,
.site-header.menu-open .logo-tagline {
    fill: var(--dark-gray);
}

.mobile-menu.active ~ .site-header .hamburger span,
.site-header.menu-open .hamburger span {
    background: var(--black-text);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--orange);
    transition: width var(--transition);
}

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

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

.site-header.scrolled .nav-link {
    color: var(--dark-gray);
}

.site-header.scrolled .nav-link:hover {
    color: var(--black-text);
}

.nav-cta {
    background: var(--orange);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--orange-hover);
    color: var(--white) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

.site-header.scrolled .hamburger span {
    background: var(--black-text);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-nav-link {
    font-size: 28px;
    font-weight: 600;
    color: var(--black-text);
    transition: color var(--transition);
}

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

.mobile-nav-cta {
    color: var(--orange) !important;
    background: var(--orange);
    color: var(--white) !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    margin-top: 8px;
}

.mobile-nav-cta:hover {
    background: var(--orange-hover);
    color: var(--white) !important;
}

/* ============================================
   SECTION 1: HERO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/hero-bg.png') center center / cover no-repeat;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 40px 100px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.hero-headline {
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: clamp(16px, 2vw, 22px);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 12px;
    max-width: 560px;
}

.hero-supporting {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 36px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-arrow {
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

/* ============================================
   SECTION 2: SCALE STATEMENT
   ============================================ */
.section-scale {
    padding: 160px 0;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-scale .section-headline {
    margin-bottom: 64px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 64px;
}

.metric {
    text-align: center;
}

.metric-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.metric-value {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    color: var(--black-text);
    line-height: 1;
    letter-spacing: -0.03em;
}

.metric-unit {
    font-size: 18px;
    font-weight: 600;
    color: var(--orange);
    margin-top: 4px;
    letter-spacing: 0.02em;
}

.metric-label {
    font-size: 14px;
    color: var(--light-gray);
    margin-top: 8px;
    font-weight: 500;
}

.section-scale .section-body {
    margin: 0 auto;
    text-align: center;
}

/* ============================================
   SECTION 3: CHARGING INFRASTRUCTURE
   ============================================ */
.section-infrastructure {
    padding: 0;
    min-height: 100vh;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.split-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 80px 80px 40px;
    max-width: 600px;
    margin-left: auto;
}

.split-image {
    position: relative;
    overflow: hidden;
    will-change: transform;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   SECTION 4: MOBILITY & SWAPPING
   ============================================ */
.section-mobility {
    padding: 160px 0 80px;
    background: var(--off-white);
}

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

.mobility-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    margin-bottom: 2px;
}

.mobility-block-reverse {
    direction: rtl;
}

.mobility-block-reverse > * {
    direction: ltr;
}

.mobility-image {
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    min-height: 400px;
}

.mobility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobility-image:hover img {
    transform: scale(1.03);
}

.mobility-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
}

.mobility-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--black-text);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.mobility-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--dark-gray);
    max-width: 440px;
}

/* ============================================
   SECTION 5: THE DIGITAL LAYER
   ============================================ */
.section-digital {
    position: relative;
    padding: 160px 0;
    background: var(--charcoal);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.digital-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(242, 101, 34, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(242, 101, 34, 0.04) 0%, transparent 60%);
}

.digital-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.digital-cta {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.section-digital .section-headline {
    color: var(--white);
}

.section-digital .section-body {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.feature-list {
    margin-bottom: 40px;
}

.feature-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 14px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
}

/* Phone Mockup */
.phone-slideshow {
    position: relative;
    width: 280px;
    height: 560px;
    margin: 0 auto;
}

.phone-mockup-image {
    width: 280px;
    height: auto;
    margin: 0 auto;
    display: block;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    border-radius: 36px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.phone-mockup-image.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.phone-screen {
    background: #0D0D0D;
    border-radius: 28px;
    padding: 20px 16px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
}

.app-logo {
    width: 28px;
    height: 28px;
}

.app-map {
    flex: 1;
    background: linear-gradient(135deg, #1a2332 0%, #0f1923 100%);
    border-radius: 12px;
    margin-bottom: 12px;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.app-map::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 40%;
    width: 12px;
    height: 12px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--orange-glow);
    animation: pulse-dot 2s ease infinite;
}

.app-map::after {
    content: '';
    position: absolute;
    top: 55%;
    left: 65%;
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse-dot 2s ease 0.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.app-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #1A1A1A;
    border-radius: 12px;
    margin-bottom: 8px;
}

.app-card-dot {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--orange), #F28C22);
    flex-shrink: 0;
}

.app-card-lines {
    flex: 1;
}

.app-card-line {
    height: 8px;
    background: #2A2A2A;
    border-radius: 4px;
    margin-bottom: 6px;
}

.app-card-line.short {
    width: 60%;
    margin-bottom: 0;
}

.app-nav-bar {
    display: flex;
    justify-content: space-around;
    padding-top: 12px;
    margin-top: auto;
    border-top: 1px solid #1A1A1A;
}

.app-nav-item {
    width: 24px;
    height: 4px;
    background: #333;
    border-radius: 2px;
}

.app-nav-item.active {
    background: var(--orange);
}

/* ============================================
   SECTION 6: BUSINESS MODEL
   ============================================ */
.section-business {
    padding: 160px 0;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.section-business .section-headline {
    text-align: center;
}

.section-business .orange-line {
    margin: 0 auto 32px;
}

.section-business .section-body {
    margin: 0 auto 40px;
    text-align: center;
    max-width: 640px;
}

.pillar-list {
    text-align: left;
    max-width: 480px;
    margin: 0 auto 32px;
}

.pillar-list li {
    position: relative;
    padding: 12px 0 12px 28px;
    font-size: 17px;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--border-gray);
}

.pillar-list li:last-child {
    border-bottom: none;
}

.pillar-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
}

.section-business .section-body-secondary {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

/* ============================================
   SECTION 7: LONG-TERM STRATEGY
   ============================================ */
.section-strategy {
    padding: 160px 0;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.section-strategy .section-headline {
    text-align: center;
}

.section-strategy .section-body {
    margin: 0 auto 40px;
    text-align: center;
}

.strategy-list {
    text-align: left;
    max-width: 480px;
    margin: 0 auto 64px;
}

.strategy-list li {
    position: relative;
    padding: 14px 0 14px 28px;
    font-size: 17px;
    color: var(--dark-gray);
}

.strategy-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 2px;
    background: var(--orange);
}

.strategy-closing {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: var(--black-text);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ============================================
   SECTION 8: NEWS
   ============================================ */
.section-news {
    padding: 120px 0;
    background: var(--off-white);
}

.section-news .section-headline {
    margin-bottom: 48px;
}

.news-navigation {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.news-nav-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: 2px solid var(--primary);
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: var(--primary);
}

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

.news-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.news-nav-btn:disabled:hover {
    background: var(--white);
    color: var(--primary);
}

.news-scroll {
    flex: 1;
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 0 20px;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.news-scroll::-webkit-scrollbar {
    display: none;
}

.news-card {
    flex: 0 0 340px;
    scroll-snap-align: start;
    background: var(--white);
    padding: 36px;
    border-radius: 2px;
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.news-card:hover {
    transform: translateY(-4px);
}

.news-date {
    font-size: 13px;
    color: var(--light-gray);
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--black-text);
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.news-excerpt {
    font-size: 15px;
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.news-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--orange);
    transition: color var(--transition);
    margin-top: auto;
}

.news-link:hover {
    color: var(--orange-hover);
}

/* ============================================
   SECTION 9: FINAL CTA
   ============================================ */
.section-cta {
    padding: 120px 0;
    background: var(--orange);
    text-align: center;
    min-height: auto;
}

.cta-headline {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 36px;
}

.section-cta .btn-white {
    margin-bottom: 16px;
}

.cta-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-gray);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--black-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--dark-gray);
    margin-bottom: 12px;
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border-gray);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--light-gray);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   SECTION GENERAL
   ============================================ */
.section {
    position: relative;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .header-inner {
        padding: 0 24px;
    }

    .container {
        padding: 0 24px;
    }

    .container-narrow {
        padding: 0 24px;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .split-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .split-text {
        padding: 80px 40px;
        max-width: none;
        margin-left: 0;
    }

    .split-image {
        height: 50vh;
    }

    .mobility-block {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .mobility-block-reverse {
        direction: ltr;
    }

    .mobility-image {
        height: 50vh;
    }

    .mobility-text {
        padding: 48px 40px;
    }

    .digital-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .phone-mockup {
        width: 240px;
    }

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    body {
        font-size: 16px;
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Prevent horizontal scroll on all sections EXCEPT news */
    .section,
    .section-scale,
    .section-infrastructure,
    .section-mobility,
    .section-digital,
    .section-business,
    .section-strategy,
    .section-cta,
    .hero,
    .split-layout,
    .mobility-block,
    .digital-content,
    .container,
    .container-narrow {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* News section - allow horizontal scroll on scroll container */
    .section-news {
        overflow-x: visible;
    }

    .news-navigation {
        max-width: 100vw;
        overflow-x: visible;
    }

    .news-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Fix padding that may cause overflow */
    .split-text {
        padding: 60px 24px;
        max-width: 100%;
    }

    .mobility-text {
        padding: 36px 24px;
    }

    .section-headline {
        font-size: clamp(24px, 5vw, 36px);
    }

    /* Ensure images don't overflow */
    img {
        max-width: 100vw;
        height: auto;
    }

    /* Phone mockup fix */
    .phone-slideshow {
        width: 100%;
        max-width: 280px;
    }

    .phone-mockup-image {
        width: 100%;
        max-width: 280px;
    }

    /* Footer fixes */
    /* Pillar list and strategy list fixes */
    .pillar-list,
    .strategy-list {
        max-width: 100%;
        padding: 0 16px;
    }

    .main-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        padding: 0 24px 80px;
    }

    .hero-sub br {
        display: none;
    }

    .section-scale {
        padding: 100px 0;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .metric-value {
        font-size: 36px;
    }

    .section-mobility {
        padding: 100px 0 40px;
    }

    .section-mobility .section-headline {
        margin-bottom: 48px;
    }

    .mobility-text {
        padding: 36px 24px;
    }

    .section-digital {
        padding: 100px 0;
    }

    .section-business,
    .section-strategy {
        padding: 100px 0;
    }

    .section-news {
        padding: 80px 0;
    }

    .news-navigation {
        padding: 0 16px;
    }

    .news-nav-btn {
        width: 40px;
        height: 40px;
    }

    .news-nav-btn svg {
        width: 20px;
        height: 20px;
    }

    .news-scroll {
        padding: 0 0 16px;
    }

    .news-card {
        flex: 0 0 280px;
        padding: 28px;
        min-height: 300px;
    }

    .section-cta {
        padding: 80px 0;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .section-headline br {
        display: none;
    }

    .cta-headline br {
        display: none;
    }

    .strategy-closing {
        font-size: 28px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .scroll-arrow {
        animation: none;
    }

    .app-map::before,
    .app-map::after {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}
