/* ===========================
   Solution Detail Page Styles
   =========================== */

/* Solution Hero */
.solution-hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f4f8 50%, #f5f3ff 100%);
}

.solution-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.solution-hero-bg .hero-gradient-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -50px;
    opacity: 0.12;
}

.solution-hero-bg .hero-gradient-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -50px;
    opacity: 0.1;
}

.solution-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.solution-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 24px;
    transition: var(--transition);
}

.solution-breadcrumb:hover {
    color: var(--accent);
}

.solution-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    margin-bottom: 20px;
}

.solution-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 7vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.solution-hero-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
}

/* Overview */
.solution-overview {
    background: var(--bg-secondary);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.overview-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.overview-main p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.overview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.stat-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    background: rgba(37, 99, 235, 0.04);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Features Grid */
.solution-features {
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    background: rgba(37, 99, 235, 0.04);
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
}

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

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Pillars Grid (Ride-Hailing / Smart Mobility) */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pillar-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pillar-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.pillar-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: rgba(37, 99, 235, 0.15);
    line-height: 1;
    margin-bottom: 16px;
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.pillar-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.pillar-features li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    border-top: 1px solid var(--border);
}

.pillar-features li:first-child {
    border-top: none;
}

.pillar-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.6;
}

/* Partners Grid */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.partner-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 36px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.partner-item:hover {
    border-color: rgba(37, 99, 235, 0.2);
    background: rgba(37, 99, 235, 0.04);
    transform: translateY(-2px);
}

/* Process / How It Works */
.solution-process {
    background: var(--bg-secondary);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
    max-width: 260px;
}

.process-step-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: rgba(37, 99, 235, 0.15);
    line-height: 1;
    margin-bottom: 16px;
}

.process-step h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.1));
    margin-top: 28px;
    flex-shrink: 0;
}

/* CTA */
.solution-cta {
    background: var(--bg-primary);
    padding: 80px 0 120px;
}

.cta-box {
    text-align: center;
    padding: 64px 48px;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: var(--radius-lg);
}

.cta-box h2 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-box p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(37, 99, 235, 0.04);
}

/* ===========================
   Timeline Gallery (News Page)
   =========================== */

.gallery-section {
    background: var(--bg-secondary);
}

/* Filter Buttons */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 48px;
}

.gallery-filter-btn {
    padding: 8px 22px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-filter-btn:hover {
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--accent);
}

.gallery-filter-btn.active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

/* Timeline Container */
.gallery-timeline {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Gallery Item Card */
.gallery-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Date Column */
.gallery-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa);
    color: #ffffff;
    text-align: center;
    gap: 4px;
}

.gallery-date-day {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.gallery-date-month {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gallery-date-year {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.8;
}

/* Content Column */
.gallery-content {
    padding: 32px;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

/* Image Grid */
.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.gallery-images img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.gallery-images img:hover {
    transform: scale(1.05);
}

.gallery-image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
}

/* Description */
.gallery-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Tags */
.gallery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gallery-tag {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    background: rgba(59, 130, 246, 0.08);
    border-radius: 50px;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .gallery-item {
        grid-template-columns: 160px 1fr;
    }

    .gallery-date-day {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .solution-hero {
        padding: 110px 0 60px;
        min-height: auto;
    }

    .solution-hero-title {
        font-size: clamp(28px, 7vw, 48px);
    }

    .solution-hero-subtitle {
        font-size: 15px;
        line-height: 1.6;
    }

    .solution-breadcrumb {
        margin-bottom: 16px;
        font-size: 13px;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .overview-title {
        font-size: clamp(24px, 5vw, 32px);
    }

    .overview-main p {
        font-size: 15px;
    }

    .overview-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 26px;
    }

    .stat-label {
        font-size: 12px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 28px 24px;
    }

    .feature-card h3 {
        font-size: 16px;
    }

    .feature-card p {
        font-size: 13px;
    }

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

    .pillar-number {
        font-size: 36px;
    }

    .pillar-title {
        font-size: 18px;
    }

    .pillar-features li {
        font-size: 13px;
    }

    .partners-grid {
        gap: 10px;
    }

    .partner-item {
        padding: 14px 24px;
        font-size: 14px;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .process-step {
        max-width: 100%;
        padding: 0 16px;
    }

    .process-step-number {
        font-size: 36px;
    }

    .process-step h3 {
        font-size: 16px;
    }

    .process-step-connector {
        width: 2px;
        height: 32px;
        margin: 0;
    }

    .cta-box {
        padding: 40px 20px;
    }

    .cta-box h2 {
        font-size: clamp(20px, 5vw, 28px);
    }

    .cta-box p {
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Gallery responsive */
    .gallery-item {
        grid-template-columns: 1fr;
    }

    .gallery-date {
        flex-direction: row;
        padding: 14px 20px;
        gap: 8px;
        align-items: baseline;
    }

    .gallery-date-day {
        font-size: 28px;
    }

    .gallery-date-month {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .gallery-date-year {
        font-size: 13px;
    }

    .gallery-images {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .gallery-content {
        padding: 20px;
    }

    .gallery-title {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .gallery-desc {
        font-size: 13px;
    }

    .gallery-filters {
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .solution-hero {
        padding: 100px 0 48px;
    }

    .solution-hero-badge {
        font-size: 11px;
        padding: 4px 12px;
    }

    .overview-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 20px 12px;
    }

    .stat-number {
        font-size: 22px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 16px;
    }

    .gallery-filters {
        gap: 6px;
        margin-bottom: 24px;
    }

    .gallery-filter-btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    .gallery-images {
        grid-template-columns: 1fr;
    }

    .gallery-content {
        padding: 16px;
    }

    .gallery-tag {
        font-size: 11px;
        padding: 3px 10px;
    }

    .cta-box {
        padding: 32px 16px;
    }

    .partner-item {
        padding: 12px 18px;
        font-size: 13px;
    }
}