/* ============================================
   BUTTONS - Pill Shaped & Bold
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--spacing-05);
    height: 48px;
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--brand-primary);
    color: var(--text-on-brand);
    box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
    background-color: #009010;
    box-shadow: 0 6px 20px rgba(0, 170, 19, 0.3);
}

.btn-secondary {
    background-color: var(--ui-surface);
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
}

.btn-secondary:hover {
    background-color: var(--ui-surface-highlight);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ui-surface);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background-color: var(--ui-surface-highlight);
    color: var(--brand-primary);
}

/* ============================================
   CARDS - Rounded & Soft
   ============================================ */

.card {
    background-color: var(--ui-surface);
    border-radius: var(--radius-md);
    padding: var(--spacing-05);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 170, 19, 0.1);
}

.card-flat {
    background-color: var(--ui-surface);
    border-radius: var(--radius-md);
    padding: var(--spacing-05);
    border: 1px solid var(--border-subtle);
}

/* ============================================
   INPUTS - Chunky & Friendly
   ============================================ */

.input-group {
    position: relative;
    display: flex;
    width: 100%;
}

.input-field {
    width: 100%;
    height: 56px;
    padding: 0 var(--spacing-04) 0 56px;
    /* Space for icon */
    font-family: var(--font-family-sans);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    background-color: var(--ui-surface);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.input-field:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(0, 170, 19, 0.1);
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    pointer-events: none;
    width: 24px;
    height: 24px;
}

.input-btn {
    position: absolute;
    right: 6px;
    top: 6px;
    height: 44px;
    padding: 0 var(--spacing-05);
    border-radius: var(--radius-pill);
    background-color: var(--brand-primary);
    color: var(--text-on-brand);
    border: none;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.2s ease;
}

.input-btn:hover {
    background-color: #009010;
}

/* ============================================
   ACCORDION - Modern
   ============================================ */

.accordion-item {
    border-bottom: 1px solid var(--border-subtle);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-04) 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.accordion-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    color: var(--brand-primary);
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-body {
    padding-bottom: var(--spacing-05);
    color: var(--text-secondary);
    line-height: 1.6;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    /* Approximate max height */
}

/* ============================================
   STAT CARDS
   ============================================ */

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--spacing-05);
    background-color: var(--ui-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
}

.stat-value {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-black);
    color: var(--text-primary);
    margin-bottom: var(--spacing-01);
}

.stat-label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   PILL TAGS
   ============================================ */

.pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
}

.pill-success {
    background-color: rgba(0, 170, 19, 0.1);
    color: var(--brand-primary);
}

.pill-neutral {
    background-color: var(--ui-background);
    color: var(--text-secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-05);
    width: 100%;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    background-color: var(--ui-surface);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 72px;
    display: flex;
    align-items: center;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-05);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-03);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: var(--font-weight-black);
    font-size: var(--font-size-xl);
}

.navbar-logo {
    width: 40px;
    height: 40px;
    background-color: var(--brand-primary);
    color: var(--text-on-brand);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
}

.navbar-nav {
    display: flex;
    gap: var(--spacing-06);
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-md);
    transition: color 0.2s ease;
}

.navbar-link:hover,
.navbar-link.active {
    color: var(--brand-primary);
}

/* ============================================
   FOOTER - VIBRANT REDESIGN
   ============================================ */

.footer-vibrant {
    background: linear-gradient(135deg, #00AA13 0%, #00D91A 50%, #00AA13 100%);
    position: relative;
    padding: var(--spacing-09) 0 0;
    margin-top: auto;
    overflow: hidden;
}

.footer-vibrant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 107, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 174, 214, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(238, 39, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-05);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-06);
    margin-bottom: var(--spacing-06);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-07);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: var(--spacing-08);
        margin-bottom: var(--spacing-08);
    }
}

/* Footer Brand Section */
.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-03);
    margin-bottom: var(--spacing-04);
}

.footer-logo {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 22px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-title-main {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-black);
    color: white;
    margin: 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: var(--spacing-05);
    font-size: var(--font-size-md);
}

/* Footer Stats */
.footer-stats {
    display: flex;
    gap: var(--spacing-06);
    margin-top: var(--spacing-05);
}

.footer-stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--spacing-04);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 100px;
}

.footer-stat-value {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-black);
    color: white;
    line-height: 1;
    margin-bottom: var(--spacing-02);
}

.footer-stat-label {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: var(--font-weight-medium);
}

/* Footer Titles */
.footer-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: white;
    margin-bottom: var(--spacing-04);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: var(--spacing-03);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-03);
}

.footer-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-02);
    font-size: var(--font-size-md);
    padding: var(--spacing-02) 0;
    position: relative;
}

.footer-link-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: white;
    transform: translateX(4px);
}

.footer-link:hover .footer-link-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom-vibrant {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: var(--spacing-06) 0;
    margin-top: var(--spacing-08);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-04);
}

.footer-bottom-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-sm);
    margin: 0;
}

/* Footer Badges */
.footer-badges {
    display: flex;
    gap: var(--spacing-04);
    flex-wrap: wrap;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-pill);
    color: white;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.footer-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-stats {
        flex-direction: column;
    }

    .footer-stat-item {
        width: 100%;
    }
}

/* ============================================
   GOJEK-STYLE VALUE CARDS
   ============================================ */

.value-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-06);
    margin: var(--spacing-09) 0;
}

@media (min-width: 768px) {
    .value-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.value-card {
    border-radius: var(--radius-lg);
    padding: var(--spacing-07);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: var(--spacing-06);
    min-height: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Cyan Card - Speed/Technology */
.value-card-cyan {
    background: linear-gradient(135deg, #00D4D4 0%, #00B8D4 100%);
    color: white;
}

.value-card-cyan::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

/* Green Card - Trust/Reliability */
.value-card-green {
    background: linear-gradient(135deg, #00D91A 0%, #00AA13 100%);
    color: white;
}

.value-card-green::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

/* Orange Card - Scale/Reach */
.value-card-orange {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8534 100%);
    color: white;
}

.value-card-orange::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -15%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

/* Pink Card - Community/Support */
.value-card-pink {
    background: linear-gradient(135deg, #FF6B9D 0%, #FF4081 100%);
    color: white;
}

.value-card-pink::before {
    content: '';
    position: absolute;
    bottom: -35%;
    right: -12%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.value-card-content {
    flex: 1;
    z-index: 2;
    position: relative;
}

.value-card-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-black);
    margin-bottom: var(--spacing-03);
    line-height: 1.2;
}

.value-card-description {
    font-size: var(--font-size-md);
    opacity: 0.95;
    line-height: 1.6;
    font-weight: var(--font-weight-medium);
}

.value-card-illustration {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    z-index: 2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card-illustration img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

@media (max-width: 640px) {
    .value-card {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-06);
    }

    .value-card-illustration {
        width: 140px;
        height: 140px;
    }

    .value-card-title {
        font-size: var(--font-size-xl);
    }
}

/* ============================================
   HERO SECTION ENHANCEMENTS
   ============================================ */

.hero-vibrant {
    background: linear-gradient(135deg, #00D4D4 0%, #00B8D4 50%, #00A0C8 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-08);
    align-items: center;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-vibrant::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
    background-image: url('../img/hero_banking.png');
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 1024px) {
    .hero-vibrant::after {
        width: 50%;
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .hero-vibrant::after {
        width: 100%;
        height: 100%;
        background-position: center bottom;
        background-size: 80%;
        opacity: 0.15;
    }
}

.hero-vibrant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 170, 19, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-illustration {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ============================================
   STATS HIGHLIGHT SECTION
   ============================================ */

.stats-highlight {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: var(--spacing-09) 0;
    position: relative;
    overflow: hidden;
}

.stats-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(0, 212, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 107, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-07);
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-05);
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-black);
    background: linear-gradient(135deg, #00D4D4, #00D91A, #FF6B00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-02);
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-md);
    color: rgba(255, 255, 255, 0.8);
    font-weight: var(--font-weight-medium);
}