/**
 * XPND Homepage Styles - Premium Enterprise Design
 * A distinctive, high-conversion homepage with sophisticated aesthetics
 *
 * Typography: DM Serif Display (Headlines) + Plus Jakarta Sans (Body)
 * Colors: Blue (#1976D2) to Green (#2E7D32) gradient system
 *
 * @package XPND
 * @since 2.0.0
 */

/* ==========================================================================
   Google Fonts Import
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   CSS Variables - Design System
   ========================================================================== */
:root {
    /* Brand Colors - From Logo */
    --xpnd-blue: #1976D2;
    --xpnd-blue-light: #42A5F5;
    --xpnd-blue-dark: #0D47A1;
    --xpnd-green: #2E7D32;
    --xpnd-green-light: #4CAF50;
    --xpnd-green-dark: #1B5E20;
    --xpnd-gray: #6B7280;

    /* Gradient */
    --gradient-brand: linear-gradient(135deg, var(--xpnd-blue) 0%, var(--xpnd-green) 100%);
    --gradient-brand-reverse: linear-gradient(135deg, var(--xpnd-green) 0%, var(--xpnd-blue) 100%);
    --gradient-subtle: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);

    /* Typography */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: clamp(80px, 10vw, 140px);
    --section-padding-sm: clamp(60px, 8vw, 100px);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-brand: 0 20px 40px -10px rgba(25, 118, 210, 0.3);
    --shadow-green: 0 20px 40px -10px rgba(46, 125, 50, 0.3);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.xpnd-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #f0f7ff 0%, #f8fdf8 50%, #ffffff 100%);
}

/* Hero Canvas - Background Effects */
.hero-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--xpnd-blue-light) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--xpnd-green-light) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.xpnd-hero-slider {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

/* Individual Slides */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    position: relative;
}

/* Slide 1: Hero Content */
.hero-slide-1 {
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #f0f7ff 0%, #f8fdf8 50%, #ffffff 100%);
    background-size: cover;
    background-position: center;
}

.hero-slide-1 .slide-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(240, 247, 255, 0.85) 0%, rgba(248, 253, 248, 0.9) 50%, rgba(255, 255, 255, 0.95) 100%);
    z-index: 0;
}

.hero-slide-1 .container {
    position: relative;
    z-index: 2;
}

/* Slides 2 & 3: Full Image */
.hero-slide-2,
.hero-slide-3 {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
}

.hero-slide-2 .slide-image,
.hero-slide-3 .slide-image {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
    object-position: center;
}

.hero-slide-2 .slide-link,
.hero-slide-3 .slide-link {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

.hero-slide-2 .slide-link .slide-image,
.hero-slide-3 .slide-link .slide-image {
    transition: transform 0.5s ease;
}

.hero-slide-2 .slide-link:hover .slide-image,
.hero-slide-3 .slide-link:hover .slide-image {
    transform: scale(1.02);
}

/* Slide Placeholder */
.slide-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f172a 100%);
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 40px;
}

.slide-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.slide-placeholder span {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
}

/* Slider Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.slider-nav:hover {
    background: var(--gradient-brand);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(25, 118, 210, 0.3);
}

.slider-nav svg {
    transition: transform 0.2s ease;
}

.slider-prev {
    left: 30px;
}

.slider-prev:hover svg {
    transform: translateX(-3px);
}

.slider-next {
    right: 30px;
}

.slider-next:hover svg {
    transform: translateX(3px);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    background: var(--xpnd-blue-light);
}

.slider-dot.active {
    width: 36px;
    border-radius: 6px;
    background: var(--gradient-brand);
}

/* ==========================================================================
   HERO CANVAS & BACKGROUND (keep existing)
   ========================================================================== */
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(25, 118, 210, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25, 118, 210, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 70%);
}

.hero-indonesia-map {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.08;
}

.map-path {
    fill: none;
    stroke: var(--xpnd-green);
    stroke-width: 2;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawMap 3s ease-out forwards 0.5s;
}

@keyframes drawMap {
    to { stroke-dashoffset: 0; }
}

.hero-ascending-lines {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    overflow: hidden;
}

.hero-ascending-lines span {
    position: absolute;
    bottom: -100%;
    width: 2px;
    height: 100px;
    background: linear-gradient(to top, transparent, var(--xpnd-green), transparent);
    opacity: 0.2;
    animation: ascendLine 8s linear infinite;
}

.hero-ascending-lines span:nth-child(1) { left: 10%; animation-delay: 0s; }
.hero-ascending-lines span:nth-child(2) { left: 25%; animation-delay: 1.5s; height: 150px; }
.hero-ascending-lines span:nth-child(3) { left: 50%; animation-delay: 3s; height: 80px; }
.hero-ascending-lines span:nth-child(4) { left: 75%; animation-delay: 4.5s; height: 120px; }
.hero-ascending-lines span:nth-child(5) { left: 90%; animation-delay: 6s; }

@keyframes ascendLine {
    0% { bottom: -100%; opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { bottom: 100%; opacity: 0; }
}

/* Hero Content */
.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(25, 118, 210, 0.15);
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--xpnd-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.badge-text {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--xpnd-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-headline {
    font-family: var(--font-display);
    margin-bottom: 24px;
    line-height: 1.1;
}

.headline-accent {
    display: block;
    font-size: clamp(42px, 6vw, 72px);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.headline-sub {
    display: block;
    font-size: clamp(28px, 4vw, 48px);
    color: #1a1a2e;
    margin-top: 8px;
}

.hero-description {
    font-family: var(--font-body);
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.7;
    color: var(--xpnd-gray);
    margin-bottom: 36px;
    max-width: 520px;
}

/* Hero Buttons */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    background: var(--gradient-brand);
    color: #fff;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-brand);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-fast);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px -10px rgba(25, 118, 210, 0.4);
    color: #fff;
}

.btn-hero-primary:hover::before {
    opacity: 1;
}

.btn-hero-primary svg {
    transition: var(--transition-fast);
}

.btn-hero-primary:hover svg {
    transform: translateX(4px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 28px;
    background: #fff;
    color: #1a1a2e;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-hero-secondary:hover {
    border-color: var(--xpnd-blue);
    color: var(--xpnd-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    color: #1a1a2e;
    line-height: 1;
}

.stat-label {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--xpnd-gray);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, #e5e7eb, transparent);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Main Image */
.hero-main-image {
    position: relative;
    width: 100%;
    max-width: 480px;
    z-index: 2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-main-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hero-image-placeholder {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px dashed #cbd5e1;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    padding: 40px;
    color: #94a3b8;
}

.placeholder-content svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.placeholder-content span {
    display: block;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.placeholder-content small {
    display: block;
    font-size: 13px;
    opacity: 0.7;
}

.visual-card {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition-smooth);
    z-index:3
}

.visual-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-icon-blue {
    background: rgba(25, 118, 210, 0.1);
    color: var(--xpnd-blue);
}

.card-icon-green {
    background: rgba(46, 125, 50, 0.1);
    color: var(--xpnd-green);
}

.card-icon-gradient {
    background: var(--gradient-brand);
    color: #fff;
}

.card-label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

.visual-card-float-1 {
    top: 40px;
    right: 20px;
    animation: cardFloat1 6s ease-in-out infinite;
}

.visual-card-float-2 {
    bottom: 15px;
    left: 0;
    animation: cardFloat2 7s ease-in-out infinite;
}

.visual-card-float-3 {
    bottom: 50px;
    right: 40px;
    animation: cardFloat3 5s ease-in-out infinite;
}

@keyframes cardFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, 15px); }
}

@keyframes cardFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(15px, -10px); }
}

@keyframes cardFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-8px, -12px); }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--xpnd-blue), transparent);
    border-radius: 1px;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; height: 40px; }
    50% { opacity: 1; height: 50px; }
}

.hero-scroll-indicator span {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--xpnd-gray);
}

/* ==========================================================================
   TRUST BAR SECTION
   ========================================================================== */
.trust-bar {
    background: #fff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 24px 0;
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.trust-label {
    flex-shrink: 0;
    padding-right: 40px;
    border-right: 1px solid #e5e7eb;
}

.trust-label span {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--xpnd-gray);
}

.trust-logos-wrapper {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    width: 100%;
}

.trust-logos-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: trustScroll 25s linear infinite;
}

.trust-logos-track:hover {
    animation-play-state: paused;
}

@keyframes trustScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.trust-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.trust-logo-item img {
    max-height: 36px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: var(--transition-smooth);
}

.trust-logo-item:hover img {
    filter: grayscale(0%) opacity(1);
}

/* ==========================================================================
   CORE SOLUTIONS SECTION
   ========================================================================== */
.core-solutions {
    padding: var(--section-padding) 0;
    background: var(--gradient-subtle);
    position: relative;
}

.solutions-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--xpnd-green);
    margin-bottom: 16px;
    padding: 8px 16px;
    background: rgba(46, 125, 50, 0.08);
    border-radius: 4px;
}

.section-headline {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    color: #1a1a2e;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 50px;
}

.solution-pillar {
    position: relative;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.solution-pillar:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.solution-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.solution-pillar:hover::before {
    transform: scaleX(1);
}

.pillar-inner {
    padding: 40px 32px;
}

.pillar-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    color: var(--xpnd-blue);
    transition: var(--transition-smooth);
}

.solution-pillar:hover .pillar-icon {
    color: var(--xpnd-green);
    transform: scale(1.1);
}

.pillar-icon svg {
    width: 100%;
    height: 100%;
}

.pillar-title {
    font-family: var(--font-display);
    font-size: 26px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.pillar-subtitle {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--xpnd-gray);
    margin-bottom: 24px;
    line-height: 1.5;
}

.pillar-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.pillar-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    color: #4b5563;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.pillar-features svg {
    flex-shrink: 0;
    color: var(--xpnd-green);
    margin-top: 2px;
}

.pillar-arrow {
    position: absolute;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 12px;
    color: var(--xpnd-gray);
    transition: var(--transition-smooth);
}

.solution-pillar:hover .pillar-arrow {
    background: var(--gradient-brand);
    color: #fff;
    transform: translate(4px, -4px);
}

.pillar-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Explore CTA */
.solutions-cta {
    text-align: center;
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: transparent;
    color: var(--xpnd-blue);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--xpnd-blue);
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-explore:hover {
    background: var(--gradient-brand);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}

.btn-explore svg {
    transition: var(--transition-fast);
}

.btn-explore:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   XPND ADVANTAGE SECTION
   ========================================================================== */
.xpnd-advantage {
    position: relative;
    padding: var(--section-padding-sm) 0;
    background: #0f172a;
    overflow: hidden;
}

.advantage-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.advantage-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(25, 118, 210, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 80% 50%, rgba(46, 125, 50, 0.15) 0%, transparent 60%);
}

.advantage-map {
    position: absolute;
    width: 100%;
    height: 100%;
    color: #fff;
}

/* Indonesia Map Image */
.advantage-map-img {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.advantage-map-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.15;
    filter: brightness(1.5);
}

.advantage-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
}

.advantage-content {
    position: relative;
    z-index: 2;
}

.advantage-label {
    display: block;
    text-align: center;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--xpnd-green-light);
    margin-bottom: 48px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.advantage-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.advantage-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    border-radius: 14px;
    color: #fff;
}

.advantage-icon svg {
    width: 28px;
    height: 28px;
}

.advantage-title {
    font-family: var(--font-display);
    font-size: 22px;
    color: #fff;
    margin-bottom: 8px;
}

.advantage-desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta {
    position: relative;
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    overflow: hidden;
}

.cta-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-gradient-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 30% 60%, rgba(25, 118, 210, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 80% at 70% 40%, rgba(46, 125, 50, 0.06) 0%, transparent 50%);
}

.cta-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(25, 118, 210, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(25, 118, 210, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.08) 0%, transparent 60%);
    border-radius: 50%;
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 600px;
}

.cta-headline {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 16px;
}

.year-highlight {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtext {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--xpnd-gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-action {
    margin-bottom: 32px;
}

.btn-cta-main {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 40px;
    background: var(--gradient-brand);
    color: #fff;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-green);
}

.btn-cta-main:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(46, 125, 50, 0.4);
    color: #fff;
}

.btn-cta-main svg {
    transition: var(--transition-fast);
}

.btn-cta-main:hover svg {
    transform: translateX(6px);
}

.cta-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.cta-trust .trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--xpnd-gray);
}

.cta-trust .trust-item svg {
    color: var(--xpnd-green);
}

/* CTA Decoration */
.cta-decoration {
    position: relative;
    width: 280px;
    height: 280px;
}

.decoration-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    animation: ringPulse 4s ease-in-out infinite;
}

.decoration-ring-1 {
    inset: 0;
    border-color: rgba(25, 118, 210, 0.15);
    animation-delay: 0s;
}

.decoration-ring-2 {
    inset: 30px;
    border-color: rgba(46, 125, 50, 0.2);
    animation-delay: -1.3s;
}

.decoration-ring-3 {
    inset: 60px;
    border-color: rgba(25, 118, 210, 0.25);
    animation-delay: -2.6s;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 1; }
}

.decoration-center {
    position: absolute;
    inset: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    border-radius: 50%;
    color: #fff;
}

.decoration-center svg {
    width: 48px;
    height: 48px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-wrapper {
        gap: 40px;
    }

    .hero-visual {
        height: 400px;
    }

    .advantages-grid {
        gap: 24px;
    }

    .advantage-item {
        padding: 24px;
    }

    .slider-nav {
        width: 48px;
        height: 48px;
    }

    .slider-prev {
        left: 20px;
    }

    .slider-next {
        right: 20px;
    }
}

@media (max-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .trust-bar-inner {
        flex-direction: column;
        gap: 20px;
    }

    .trust-label {
        padding-right: 0;
        border-right: none;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-content {
        max-width: 100%;
    }

    .cta-trust {
        justify-content: center;
    }

    .cta-decoration {
        display: none;
    }
}

@media (max-width: 640px) {
    .xpnd-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-badge {
        padding: 8px 16px;
    }

    .badge-text {
        font-size: 11px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .hero-stat {
        flex: 1 1 calc(33.333% - 12px);
    }

    .hero-scroll-indicator {
        display: none;
    }

    .trust-logos-track {
        gap: 40px;
    }

    .trust-logo-item img {
        max-height: 28px;
        max-width: 100px;
    }

    .pillar-inner {
        padding: 28px 24px;
    }

    .advantage-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .cta-headline {
        font-size: 28px;
    }

    .btn-cta-main {
        width: 100%;
        justify-content: center;
        padding: 18px 32px;
    }

    .cta-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* ==========================================================================
   ANIMATION UTILITIES (AOS Alternative - CSS Only)
   ========================================================================== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="150"] { transition-delay: 0.15s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="250"] { transition-delay: 0.25s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="350"] { transition-delay: 0.35s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="450"] { transition-delay: 0.45s; }
