/* Network Page Specific Styles */

/* Hero Section */
.network-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.network-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.network-hero .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.network-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--thai-gold);
    display: block;
}

.stat-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    margin-top: 0.5rem;
    opacity: 0.9;
    color: white;
}

/* Network Status */
.network-status {
    padding: 80px 0;
    background: var(--light-gray);
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.status-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.status-card:hover {
    transform: translateY(-5px);
}

.status-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.status-card.operational .status-icon {
    background: var(--primary-color);
    color: white;
}

.status-card.construction .status-icon {
    background: var(--primary-dark);
    color: white;
}

.status-card.planned .status-icon {
    background: var(--light-gray);
    color: var(--text-color);
}

.status-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.status-count {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.status-card.operational .status-count {
    color: var(--primary-color);
}

.status-card.construction .status-count {
    color: var(--primary-dark);
}

.status-card.planned .status-count {
    color: var(--text-color);
}

/* Station Details Section */
.station-details {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Global Network Visualization */
.global-network-visualization {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.global-network-visualization::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(218, 26, 50, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(160, 12, 48, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.global-network-visualization .section-title {
    color: var(--text-color);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.global-network-visualization .section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.visualization-container {
    position: relative;
    z-index: 1;
}

.viz-header {
    margin-bottom: 3rem;
}

.viz-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.viz-stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.viz-stat-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.viz-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
}

.viz-stat-label {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

.network-map-container {
    position: relative;
    height: 500px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    overflow: hidden;
    margin: 3rem 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.global-network-map {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 20px;
}

.viz-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 15px;
    min-width: 250px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.region-info h4 {
    color: var(--text-color);
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.region-stats {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.region-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.region-stat:last-child {
    border-bottom: none;
}

.region-stat .stat-value {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Courier New', monospace;
}

.region-stat .stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.viz-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.viz-btn {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-color);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.viz-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.viz-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.map-instructions {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Global Network Station Markers */
.global-station-marker {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.global-station-marker.dimmed {
    opacity: 0.3;
    filter: grayscale(0.8);
}

.station-pin {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 3px solid white;
    transition: all 0.3s ease;
    overflow: hidden;
}

.station-pin:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* 统一的专业电池站点样式 - 绿色主题 */
.station-pin.battery-pin {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 20px rgba(218, 26, 50, 0.25);
    border-color: rgba(218, 26, 50, 0.4);
    transition: all 0.3s ease;
}

/* 中国站点 - 深邃红黑渐变 */
.global-station-marker.china .station-pin.battery-pin {
    background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(0, 0, 0, 0.85) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    border-color: rgba(0, 0, 0, 0.4);
}

/* 泰国站点 - 明亮品牌红 */
.global-station-marker.thailand .station-pin.battery-pin {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(218, 26, 50, 0.85) 100%);
    box-shadow: 0 4px 20px rgba(218, 26, 50, 0.25);
    border-color: var(--border-red-soft);
}

.station-icon {
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 2;
    position: relative;
}

.station-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: inherit;
    opacity: 0;
    pointer-events: none;
}

@keyframes stationPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.station-label {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.global-station-marker:hover .station-label {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* 简化国家特定样式 - 保持专业统一 */
.global-station-marker.battery-station .station-pin {
    border-color: var(--primary-color);
}

/* Network Particles */
.network-particle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
    pointer-events: none;
}

.network-particle::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    animation: particleGlow 2s ease-in-out infinite;
}

/* 统一绿色粒子主题 - 专业电池网络感 */
.network-particle.international {
    background: var(--primary-dark);
    box-shadow: 0 0 10px rgba(160, 12, 48, 0.6);
}

.network-particle.primary {
    background: var(--primary-color);
    box-shadow: 0 0 8px rgba(218, 26, 50, 0.35);
}

.network-particle.secondary {
    background: rgba(218, 26, 50, 0.4);
    box-shadow: 0 0 6px rgba(218, 26, 50, 0.3);
}

.network-particle.local {
    background: rgba(218, 26, 50, 0.25);
    box-shadow: 0 0 4px rgba(218, 26, 50, 0.25);
}

@keyframes particleGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }
}

/* Global Station Info Window */
.global-station-info {
    font-family: 'Kanit', sans-serif;
    max-width: 300px;
    padding: 1rem;
}

.global-station-info .station-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.global-station-info .station-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}

.global-station-info h4 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.station-details {
    display: grid;
    gap: 0.8rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item .label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
}

.detail-item .value {
    font-weight: 700;
    color: var(--text-color);
    font-size: 0.9rem;
}

.detail-item .value.operational {
    color: var(--primary-color);
}

/* Map Overlay Updates */
.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 15px;
    min-width: 250px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.network-legend h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
}

.legend-items {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.legend-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 统一品牌红主题图例 */
.legend-marker.operational {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.legend-marker.expansion {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.legend-marker.connection {
    background: linear-gradient(135deg, rgba(218, 26, 50, 0.85) 0%, rgba(160, 12, 48, 0.95) 100%);
}

.stations-category {
    margin-bottom: 4rem;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.status-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.operational {
    background: var(--primary-color);
    box-shadow: 0 0 0 3px var(--surface-red-soft);
}

.status-indicator.construction {
    background: var(--primary-dark);
    box-shadow: 0 0 0 3px var(--surface-red-strong);
}

.status-indicator.planned {
    background: #6c757d;
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.2);
}

.stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.station-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.station-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.station-header {
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    border-bottom: 1px solid #e9ecef;
}

.station-info h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.station-info h4::before {
    content: "🏢";
    font-size: 1.2rem;
}

.station-address {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.station-status {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.station-status.operational {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px var(--surface-red-soft);
}

.station-status.construction {
    background: linear-gradient(135deg, rgba(218, 26, 50, 0.85) 0%, rgba(160, 12, 48, 0.95) 100%);
    color: white;
    box-shadow: 0 4px 12px var(--surface-red-strong);
}

.station-status.planned {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.station-details-content {
    padding: 2rem;
}

.station-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.spec-item {
    background: #f8f9fa;
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.spec-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.spec-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.spec-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
}

.station-services {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
}

.station-services h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.station-services h5::before {
    content: "✨";
    font-size: 1rem;
}

.station-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.8rem;
}

.station-services li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem;
    background: white;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.station-services li:hover {
    background: #f8f9fa;
    transform: translateX(4px);
}

.station-services li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1rem;
}

.construction-progress {
    background: linear-gradient(135deg, var(--surface-red-soft) 0%, rgba(218, 26, 50, 0.25) 100%);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-red-soft);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.8rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transition: width 0.8s ease;
    border-radius: 6px;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

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

.progress-text {
    font-weight: 600;
    color: #856404;
    text-align: center;
    margin: 0;
    font-size: 1rem;
}

.station-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.station-actions .btn {
    flex: 1;
    min-width: 140px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.station-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Network Expansion Strategy */
.network-expansion {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.network-expansion .section-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.network-expansion .section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.expansion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.expansion-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.expansion-text p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.expansion-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.expansion-stats .stat-item {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.expansion-stats .stat-item:hover {
    transform: translateY(-5px);
}

.expansion-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.expansion-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.expansion-image {
    position: relative;
}

.expansion-showcase {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Expansion Phases */
.expansion-phases {
    padding: 80px 0;
    background: white;
}

.expansion-phases .section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.phases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.phase-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.phase-card:hover::before {
    transform: scaleX(1);
}

.phase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.phase-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(218, 26, 50, 0.25);
}

.phase-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.phase-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.phase-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.feature-tag {
    background: rgba(160, 12, 48, 0.1);
    color: rgb(160, 12, 48);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(160, 12, 48, 0.3);
}

/* Technology Innovation */
.technology-innovation {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.technology-innovation .section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tech-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.tech-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

.tech-image {
    position: relative;
}

.tech-showcase {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Planned Stations Timeline */
.planned-stations {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 20px;
    bottom: 20px;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-red) 0%, var(--thai-gold) 40%, #6c757d 80%, #495057 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 3.5rem;
    padding: 0;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 42px;
    top: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--primary-red);
    box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.15), 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.timeline-item:nth-child(2)::before {
    border-color: var(--thai-gold);
    box-shadow: 0 0 0 6px rgba(218, 26, 50, 0.15), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.timeline-item:nth-child(3)::before {
    border-color: #6c757d;
    box-shadow: 0 0 0 6px rgba(108, 117, 125, 0.15), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.timeline-item:nth-child(4)::before {
    border-color: #495057;
    box-shadow: 0 0 0 6px rgba(73, 80, 87, 0.15), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.timeline-date {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 16px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
    position: relative;
    min-height: 48px;
    text-align: center;
    transition: all 0.3s ease;
}

.timeline-date:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.4);
}

.timeline-item:nth-child(2) .timeline-date {
    background: linear-gradient(135deg, var(--thai-gold) 0%, rgba(160, 12, 48, 0.9) 100%);
    box-shadow: 0 8px 24px rgba(160, 12, 48, 0.25);
}

.timeline-item:nth-child(2) .timeline-date:hover {
    box-shadow: 0 12px 32px rgba(160, 12, 48, 0.35);
}

.timeline-item:nth-child(3) .timeline-date {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    box-shadow: 0 8px 24px rgba(108, 117, 125, 0.3);
}

.timeline-item:nth-child(3) .timeline-date:hover {
    box-shadow: 0 12px 32px rgba(108, 117, 125, 0.4);
}

.timeline-item:nth-child(4) .timeline-date {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    box-shadow: 0 8px 24px rgba(73, 80, 87, 0.3);
}

.timeline-item:nth-child(4) .timeline-date:hover {
    box-shadow: 0 12px 32px rgba(73, 80, 87, 0.4);
}

.timeline-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid #ffffff;
    filter: drop-shadow(-2px 0 2px rgba(0, 0, 0, 0.1));
}

.timeline-content:hover {
    background: linear-gradient(135deg, #ffffff 0%, #e9ecef 100%);
    transform: translateY(-4px) translateX(8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    line-height: 1.3;
}

.timeline-content h4::before {
    content: "\\f135";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(218, 26, 50, 0.2);
}

.timeline-item:nth-child(2) .timeline-content h4::before {
    content: "\\f005";
    background: linear-gradient(135deg, rgba(218, 26, 50, 0.85), rgba(160, 12, 48, 0.95));
}

.timeline-item:nth-child(3) .timeline-content h4::before {
    content: "\\f140";
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85));
}

.timeline-item:nth-child(4) .timeline-content h4::before {
    content: "\\f11e";
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 1));
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.map-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.map-controls h2 {
    margin: 0;
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 600;
}

.filter-controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--light-gray);
    background: white;
    color: var(--text-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.filter-btn.active {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.map-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-controls {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.google-map {
    height: 500px;
    width: 100%;
}

.map-legend {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.legend-item:last-child {
    margin-bottom: 0;
}

.legend-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-marker.operational {
    background: var(--primary-color);
}

.legend-marker.construction {
    background: #ffc107;
}

.legend-marker.planned {
    background: #6c757d;
}

.map-disclaimer {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
}

/* Custom Google Maps Markers */
.custom-marker {
    cursor: pointer;
}

.marker-pin {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
    border: 3px solid white;
}

.marker-pin:hover {
    transform: scale(1.1);
}

.marker-pin.operational {
    background: var(--primary-color);
}

.marker-pin.construction {
    background: #ffc107;
}

.marker-pin.planned {
    background: #6c757d;
}

.marker-icon {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Service Booking */
.service-booking {
    padding: 80px 0;
}

.booking-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.booking-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

/* Responsive Design */
@media (max-width: 768px) {
    .network-hero h1 {
        font-size: 2rem;
    }

    .network-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

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

    .stations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .station-card {
        margin: 0 1rem;
    }

    .station-header {
        padding: 1.5rem;
    }

    .station-details-content {
        padding: 1.5rem;
    }

    /* Prevent status badge overlapping station name on mobile */
    .station-info h4 {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-bottom: 0.25rem;
    }

    .station-status {
        position: static;
        display: inline-block;
        margin-top: 0.5rem;
        right: auto;
        top: auto;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .station-specs {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .station-services ul {
        grid-template-columns: 1fr;
    }

    .planned-stations {
        padding: 2rem 1.5rem;
    }

    .timeline {
        max-width: 100%;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        grid-template-columns: 100px 1fr;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .timeline-item::before {
        left: 22px;
        width: 16px;
        height: 16px;
        top: 10px;
    }

    .timeline-date {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-height: 40px;
        border-radius: 12px;
    }

    .timeline-content {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
        gap: 0.6rem;
    }

    .timeline-content h4::before {
        padding: 6px;
        border-radius: 8px;
        font-size: 1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

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

    .booking-container {
        padding: 2rem;
        margin: 0 1rem;
    }

    .map-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .map-legend {
        position: static;
        margin-top: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .filter-controls {
        width: 100%;
        justify-content: center;
    }

    /* Global Network Visualization Mobile */
    .global-network-visualization .section-title {
        font-size: 2rem;
    }

    .viz-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .viz-stat-item {
        padding: 1.5rem;
    }

    .network-map-container {
        height: 350px;
    }

    .map-overlay {
        position: static;
        margin-top: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .viz-controls {
        gap: 0.5rem;
    }

    .viz-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .map-instructions {
        position: static;
        margin-top: 1rem;
        transform: none;
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    /* Global Station Markers Mobile */
    .station-pin {
        width: 40px;
        height: 40px;
    }

    .station-icon {
        font-size: 1.2rem;
    }

    .station-label {
        font-size: 0.7rem;
        top: 50px;
    }

    .global-station-info {
        max-width: 250px;
        padding: 0.8rem;
    }

    .global-station-info h4 {
        font-size: 1rem;
    }

    .detail-item .label,
    .detail-item .value {
        font-size: 0.8rem;
    }

    /* Network Expansion Mobile */
    .expansion-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .expansion-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .expansion-stats .stat-item {
        padding: 1rem;
    }

    .expansion-stats .stat-number {
        font-size: 1.5rem;
    }

    .expansion-showcase {
        height: 300px;
    }

    /* Expansion Phases Mobile */
    .phases-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .phase-card {
        padding: 2rem;
    }

    .phase-number {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .phase-content h3 {
        font-size: 1.3rem;
    }

    .feature-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Technology Innovation Mobile */
    .tech-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-feature {
        padding: 1.5rem;
        gap: 1rem;
    }

    .feature-icon {
        font-size: 2rem;
        padding: 0.8rem;
    }

    .feature-content h3 {
        font-size: 1.2rem;
    }

    .tech-showcase {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .network-stats {
        grid-template-columns: 1fr;
    }

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

    .station-actions .btn {
        min-width: auto;
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }

    .category-title {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .planned-stations {
        padding: 1.5rem 1rem;
    }

    .timeline-item {
        grid-template-columns: 80px 1fr;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .timeline::before {
        left: 24px;
        width: 3px;
    }

    .timeline-item::before {
        left: 16px;
        width: 14px;
        height: 14px;
        top: 8px;
    }

    .timeline-date {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
        min-height: 36px;
        border-radius: 10px;
        letter-spacing: 0.3px;
    }

    .timeline-content {
        padding: 1rem;
        border-radius: 12px;
    }

    .timeline-content h4 {
        font-size: 1rem;
        gap: 0.5rem;
    }

    .timeline-content h4::before {
        padding: 4px;
        border-radius: 6px;
        font-size: 0.9rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .spec-item {
        padding: 1rem;
    }

    .station-services {
        padding: 1rem;
    }

    /* Extra-small devices: keep badge on its own line */
    .station-status {
        width: max-content;
    }

    .google-map {
        height: 400px;
    }

    .legend-item {
        font-size: 0.8rem;
    }

    .map-legend {
        padding: 0.75rem;
    }

    /* Global Network Visualization Extra Small */
    .global-network-visualization .section-title {
        font-size: 1.8rem;
    }

    .global-network-visualization .section-subtitle {
        font-size: 1rem;
    }

    .viz-stat-number {
        font-size: 2rem;
    }

    .network-map-container {
        height: 300px;
    }

    .viz-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }

    /* Extra Small Station Markers */
    .station-pin {
        width: 35px;
        height: 35px;
    }

    .station-icon {
        font-size: 1rem;
    }

    .station-label {
        font-size: 0.65rem;
        top: 45px;
        padding: 0.3rem 0.6rem;
    }

    .network-particle {
        width: 6px;
        height: 6px;
    }

    .network-particle::before {
        top: -3px;
        left: -3px;
        width: 12px;
        height: 12px;
    }

    .expansion-icon {
        font-size: 2.5rem;
    }

    .expansion-card h4 {
        font-size: 1.2rem;
    }

    .expansion-card p {
        font-size: 0.9rem;
    }

    .expansion-overview .category-title {
        font-size: 1.6rem;
    }

    .expansion-card {
        padding: 2rem 1.5rem;
    }
}
