:root {
    --pr-primary: #F74D4D;
    --pr-primary-hover: #e23c3c;
    --pr-primary-soft: #fee2e2;
    --pr-dark: #161c2d;
    --pr-dark-2: #1f2942;
    --pr-success: #10b981;
    --pr-info: #3b82f6;
    --pr-purple: #8b5cf6;
    --pr-text: #4b5563;
    --pr-heading: #111827;
    --pr-border: #eef0f4;
}

* { box-sizing: border-box; }

body {
    font-family: "Figtree", "Rubik", sans-serif;
    color: var(--pr-text);
    scroll-behavior: smooth;
    margin: 0;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--pr-heading);
    font-family: "Figtree", sans-serif;
}

a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
a:hover { color: var(--pr-primary); }

/* Navbar */
.navbar {
    background-color: var(--pr-dark) !important;
    padding: 0.75rem 0;
}
.navbar-brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: transparent;
}
.navbar .brand-text {
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    margin-left: 0.6rem;
}
.navbar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    padding: 0.5rem 0.85rem !important;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #fff !important;
}

.btn-primary-custom {
    background-color: var(--pr-primary);
    border: 1px solid var(--pr-primary);
    color: #fff;
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
}
.btn-primary-custom:hover {
    background-color: var(--pr-primary-hover);
    border-color: var(--pr-primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(247, 77, 77, 0.25);
}
.btn-outline-custom {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.btn-outline-custom:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: #fff;
}

.navbar-toggler { border: 0; color: #fff; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, #161c2d 0%, #1f2942 50%, #2a1a3a 100%);
    position: relative;
    overflow: hidden;
    padding: 7rem 0 8rem;
    color: #fff;
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(247,77,77,0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(59,130,246,0.12), transparent 40%);
    pointer-events: none;
}
.hero-section h1 {
    color: #fff;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}
.hero-section p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}
.hero-illustration {
    position: relative;
    text-align: center;
}
.hero-illustration svg { max-width: 100%; height: auto; }
.hero-dots {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.25) 2px, transparent 2px);
    background-size: 16px 16px;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    width: 100%;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; display: block; }

/* Page header (non-home pages) */
.page-header {
    background: linear-gradient(135deg, #161c2d 0%, #1f2942 50%, #2a1a3a 100%);
    color: #fff;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 40%, rgba(247,77,77,0.15), transparent 35%),
        radial-gradient(circle at 85% 60%, rgba(139,92,246,0.15), transparent 40%);
    pointer-events: none;
}
.page-header h1 {
    color: #fff;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}
.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    margin: 0;
}
.page-header .hero-wave { bottom: -1px; }

/* Sections */
section { padding: 4.5rem 0; }
.section-title {
    font-weight: 800;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 0.75rem;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--pr-text);
    line-height: 1.7;
}

/* Feature row card */
.earning-wrap {
    background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #fee2e2;
    box-shadow: 0 15px 40px rgba(247, 77, 77, 0.08);
}
.earning-stat {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    text-align: center;
}
.earning-stat .num {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--pr-primary);
    line-height: 1;
    margin-bottom: 0.3rem;
}
.earning-stat .label { color: var(--pr-heading); font-weight: 600; font-size: 0.9rem; }

.feature-item { margin-bottom: 1.25rem; }
.feature-item h5 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--pr-heading);
}
.feature-item p { color: var(--pr-text); line-height: 1.75; margin: 0; font-size: 0.95rem; }

/* Services dark */
.services-dark {
    background-color: var(--pr-dark);
    color: #fff;
    padding: 5rem 0;
}
.services-dark .section-title { color: #fff; }
.service-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.service-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(247,77,77,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pr-primary);
    font-size: 1.75rem;
}
.service-item h5 { color: #fff; font-weight: 700; margin-bottom: 0.35rem; }
.service-item p { color: rgba(255,255,255,0.6); margin: 0; line-height: 1.7; }

/* Timeline */
.timeline-card { text-align: center; padding: 1rem; }
.timeline-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.timeline-1 { background: var(--pr-primary); }
.timeline-2 { background: var(--pr-success); }
.timeline-3 { background: var(--pr-info); }
.timeline-card h6 { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; }
.timeline-card p { color: var(--pr-text); line-height: 1.65; margin: 0; }

/* Support */
.support-section {
    background-color: var(--pr-dark);
    color: #fff;
    padding: 5rem 0;
}
.support-section h2 { color: #fff; font-weight: 800; }
.support-section .intro { color: rgba(255,255,255,0.65); line-height: 1.75; }
.check-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pr-success);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.support-feature h5 { color: #fff; font-weight: 700; margin-bottom: 0.35rem; }
.support-feature p { color: rgba(255,255,255,0.7); margin: 0; line-height: 1.7; }

.accordion { background: #fff; border-radius: 12px; overflow: hidden; }
.accordion-item { border: 0; border-bottom: 1px solid #eef0f4; }
.accordion-item:last-child { border-bottom: 0; }
.accordion-button {
    font-weight: 700;
    color: var(--pr-heading);
    padding: 1.15rem 1.25rem;
    background: #fff;
    font-size: 1rem;
}
.accordion-button:not(.collapsed) {
    color: var(--pr-primary);
    background: #fff;
    box-shadow: none;
}
.accordion-button:focus { box-shadow: none; border-color: transparent; }
.accordion-body { padding: 0 1.25rem 1.15rem; color: var(--pr-text); line-height: 1.75; }

/* Policy pages content */
.policy-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--pr-border);
    margin-top: -5rem;
    position: relative;
    z-index: 2;
}
.policy-card h2 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--pr-heading);
    padding-left: 1rem;
    border-left: 4px solid var(--pr-primary);
}
.policy-card h2:first-of-type { margin-top: 0; }
.policy-card p { color: var(--pr-text); line-height: 1.8; margin-bottom: 1rem; }
.policy-card ul { color: var(--pr-text); line-height: 1.8; padding-left: 1.25rem; margin-bottom: 1rem; }
.policy-card ul li { margin-bottom: 0.5rem; }
.policy-card a { color: var(--pr-primary); font-weight: 500; }
.policy-card a:hover { text-decoration: underline; }
.policy-card table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--pr-border);
}
.policy-card thead { background: #f9fafb; }
.policy-card th, .policy-card td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--pr-border);
}
.policy-card tr:last-child td { border-bottom: 0; }

.badge-success { color: var(--pr-success); font-weight: 700; }
.badge-danger { color: var(--pr-primary); font-weight: 700; }

/* Footer */
footer.site-footer {
    padding: 4rem 0 1.5rem;
    background: #fff;
    border-top: 1px solid var(--pr-border);
}
footer.site-footer h6 { font-weight: 700; margin-bottom: 1rem; color: var(--pr-heading); }
footer.site-footer a { color: var(--pr-text); }
footer.site-footer a:hover { color: var(--pr-primary); }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer ul li { margin-bottom: 0.5rem; }
.footer-bottom {
    border-top: 1px solid var(--pr-border);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    color: #6b7280;
    font-size: 0.9rem;
}

@media (max-width: 767px) {
    .hero-section { padding: 4rem 0 5rem; text-align: center; }
    .hero-dots { display: none; }
    .service-item { flex-direction: column; text-align: center; align-items: center; }
    .navbar .nav-link { padding: 0.5rem 0 !important; }
    .policy-card { padding: 1.5rem; margin-top: -3rem; }
}
