/* ===================================
   PanaPass Saldo - Professional Stylesheet
   ======================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
    --primary: #0d9e71;
    --primary-dark: #087a57;
    --primary-light: #11c78e;
    --accent: #00d4aa;
    --dark: #0f172a;
    --dark-secondary: #1e293b;
    --dark-card: #1a2332;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-dark: #1e293b;
    --text-dark-secondary: #475569;
    --bg-light: #f8fafc;
    --bg-section: #f1f5f9;
    --border-light: #e2e8f0;
    --warning-bg: #fef3c7;
    --warning-text: #92400e;
    --warning-border: #f59e0b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Reset --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Disclaimer Banner --- */
.disclaimer-banner {
    background: linear-gradient(90deg, var(--warning-bg), #fff7ed);
    border-bottom: 2px solid var(--warning-border);
    padding: 10px 20px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--warning-text);
    font-weight: 500;
    position: relative;
    z-index: 1001;
}

.disclaimer-banner strong {
    font-weight: 700;
}

.disclaimer-banner .icon-warning {
    margin-right: 6px;
}

/* --- Navbar --- */
.navbar {
    background: var(--dark);
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--accent);
}

.navbar-brand img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-links a {
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #0c2a3e 40%, #0a3d3d 70%, #0d4a35 100%);
    padding: 60px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,212,170,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13,158,113,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-text h1 span {
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 24px;
    max-width: 480px;
}

.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 6px 14px;
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
}

.hero-badge .badge-icon {
    color: var(--accent);
}

/* --- Balance Checker Card --- */
.checker-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.checker-card-title {
    text-align: center;
    margin-bottom: 24px;
}

.checker-card-title img {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
    border-radius: 12px;
}

.checker-card-title h2 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
}

.checker-card-title p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-top: 4px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    outline: none;
}

.form-input::placeholder {
    color: rgba(255,255,255,0.3);
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,212,170,0.15);
    background: rgba(255,255,255,0.12);
}

.response-box {
    display: none;
    background: rgba(0,212,170,0.1);
    border: 1px solid rgba(0,212,170,0.2);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
    text-align: center;
    color: #fff;
    animation: fadeInUp 0.3s ease;
}

.response-box b {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.response-box .fs-1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.btn-primary-custom {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13,158,113,0.4);
}

.btn-primary-custom:active {
    transform: translateY(0);
}

.btn-outline {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* --- Content Sections --- */
.section {
    padding: 80px 24px;
}

.section-alt {
    background-color: var(--bg-section);
}

.section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-dark-secondary);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
}

.section-title .underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin: 16px auto 0;
}

/* --- Info Cards Grid --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.info-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.info-card .card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(13,158,113,0.1), rgba(0,212,170,0.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.info-card p {
    color: var(--text-dark-secondary);
    font-size: 0.93rem;
    line-height: 1.65;
}

/* --- Steps Section --- */
.steps-list {
    counter-reset: step-counter;
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.steps-list li {
    counter-increment: step-counter;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
}

.steps-list li:last-child {
    border-bottom: none;
}

.steps-list li::before {
    content: counter(step-counter);
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.steps-list h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.steps-list p {
    color: var(--text-dark-secondary);
    font-size: 0.93rem;
}

/* --- Recharge Methods --- */
.recharge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.recharge-item {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.recharge-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.recharge-item .recharge-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.recharge-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.recharge-item p {
    color: var(--text-dark-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* --- FAQ Section --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question .faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-dark-secondary);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* --- App Download Section --- */
.app-section {
    background: linear-gradient(135deg, var(--dark) 0%, #0c2a3e 100%);
    padding: 80px 24px;
}

.app-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
}

.app-icon-wrapper {
    display: flex;
    justify-content: center;
}

.app-icon-wrapper img {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.app-content h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.app-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.app-features {
    list-style: none;
    margin-bottom: 28px;
}

.app-features li {
    color: var(--text-secondary);
    font-size: 0.92rem;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-features li .check-icon {
    color: var(--accent);
    font-weight: 700;
}

.app-badge {
    display: inline-block;
    transition: var(--transition);
}

.app-badge:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.app-badge img {
    height: 50px;
    width: auto;
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 60px 24px 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-links h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-links ul a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
}

.footer-legal {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 16px;
}

.footer-legal p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-copyright {
    color: rgba(255,255,255,0.3);
    font-size: 0.82rem;
}

/* --- Inner Page Styles --- */
.page-header {
    background: linear-gradient(135deg, var(--dark), #0c2a3e);
    padding: 50px 24px;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
}

.page-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 36px 0 14px;
    padding-top: 12px;
}

.page-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 28px 0 10px;
}

.page-content p {
    color: var(--text-dark-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.75;
}

.page-content ul, .page-content ol {
    color: var(--text-dark-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
    padding-left: 24px;
    line-height: 1.75;
}

.page-content ul li, .page-content ol li {
    margin-bottom: 8px;
}

.page-content a {
    color: var(--primary);
    text-decoration: underline;
}

/* --- CTA Link --- */
.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.cta-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 16px;
        border-top: 1px solid rgba(255,255,255,0.08);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 40px 20px 60px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-text h1 {
        font-size: 1.9rem;
    }

    .checker-card {
        padding: 28px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .app-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-features {
        display: inline-block;
        text-align: left;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }

    .hero-badges {
        justify-content: center;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .recharge-grid {
        grid-template-columns: 1fr;
    }
}
