/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #000000 0%, #130224 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Headers */
.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__title {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section__subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn--secondary {
    background: transparent;
    color: #f4f4f4;
    border: 2px solid #667eea;
}

.btn--secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn--cta {
    font-size: 1.25rem;
    padding: 1.25rem 2.5rem;
}

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.header--scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    padding: 1rem 0;
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #667eea;
    display: flex;
    align-items: center;
}

.nav__logo .logo-img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav__logo .logo-img:hover {
    transform: scale(1.05);
}

.nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: #374151;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav__toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav__toggle--active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav__menu {
    display: none;
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e2e8f0;
}

.nav__menu--active {
    display: flex;
}

.nav__link {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    border-radius: 0.375rem;
}

.nav__link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

/* Nav Button Styles for Auth Links */
.nav__link--btn {
    border: 2px solid #667eea !important;
    color: #667eea !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
    margin-left: 0.5rem !important;
}

.nav__link--btn:hover {
    background: #667eea !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.nav__link--btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: 0.5rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
    border: none !important;
    margin-left: 0.5rem !important;
}

.nav__link--btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Hero Section */
.hero {
    padding: 6rem 1rem 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.hero__content {
    text-align: center;
}

.hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero__cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat__number {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat__label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero__image {
    display: none;
}

.hero__illustration {
    position: relative;
    height: 300px;
}

.illustration__coin,
.illustration__click,
.illustration__earn {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.illustration__coin {
    width: 80px;
    height: 80px;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.illustration__click {
    width: 60px;
    height: 60px;
    top: 150px;
    left: 30%;
    animation-delay: 1s;
}

.illustration__earn {
    width: 70px;
    height: 70px;
    top: 180px;
    right: 30%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(-50%); }
    50% { transform: translateY(-20px) translateX(-50%); }
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: #f7fafc;
}

.features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
}

.feature__icon svg {
    width: 30px;
    height: 30px;
}

.feature__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.feature__description {
    color: #6b7280;
    line-height: 1.6;
}

/* Payment Methods Section */
.payments {
    padding: 4rem 0;
    background: white;
}

.payments__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.payment-method {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.payment-method:hover {
    transform: translateY(-5px);
}

.payment__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
}

.payment__icon.jazzcash {
    background: linear-gradient(135deg, #ff6b35 0%, #f72b1c 100%);
}

.payment__icon.easypaisa {
    background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
}

.payment__icon.bank {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

.payment__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.payment__description {
    color: #6b7280;
}

.payment__info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.info__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 0.75rem;
}

.info__icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.info__icon svg {
    width: 25px;
    height: 25px;
}

.info__text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.info__text p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 0;
    background: #f7fafc;
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    text-align: center;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 2rem;
    background: linear-gradient(to bottom, #667eea, transparent);
}

.step:last-child::after {
    display: none;
}

.step__number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
}

.step__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.step__description {
    color: #6b7280;
    line-height: 1.6;
}

/* Simple FAQ Section */
.faq {
    padding: 4rem 0;
    background: #f7fafc;
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq__item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq__item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq__question {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.faq__answer {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta__title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta__subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta__note {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        #667eea 20%,
        #764ba2 50%,
        #667eea 80%,
        transparent 100%);
}

.footer__top {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 0;
    text-align: center;
    position: relative;
}

.footer__top-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer__top h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.footer__top p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

.footer__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.footer__main {
    padding: 4rem 0 2rem;
    background: #111827;
}

.footer__content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    margin-bottom: 3rem;
}

.footer__brand {
    text-align: center;
}

.footer__logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer__logo .footer-logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(1.1);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer__logo .footer-logo-img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.footer__description {
    color: #9ca3af;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.footer__contact {
    margin-bottom: 2rem;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer__contact-item svg {
    width: 18px;
    height: 18px;
    color: #667eea;
    flex-shrink: 0;
}

.footer__social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer__social a {
    width: 44px;
    height: 44px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer__social a:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.footer__social svg {
    width: 20px;
    height: 20px;
}


.footer__bottom {
    background: #030712;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer__copyright {
    color: #6b7280;
    font-size: 0.875rem;
    text-align: center;
}


.footer__badges {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.footer__badge {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    color: #667eea;
    font-weight: 600;
}

/* Responsive Design - Mobile First */

/* Mobile Auth Button Adjustments */
@media (max-width: 767px) {
    .nav__link--btn,
    .nav__link--btn-primary {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
}

/* Small tablets (576px and up) */
@media (min-width: 576px) {
    .container {
        padding: 0 2rem;
    }

    .hero__title {
        font-size: 3rem;
    }

    .section__title {
        font-size: 2.25rem;
    }

    .hero__stats {
        max-width: 500px;
    }

    .stat__number {
        font-size: 1.75rem;
    }

    .features__grid,
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .payment__info {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets (768px and up) */
@media (min-width: 768px) {
    .nav__toggle {
        display: none;
    }

    .nav__menu {
        display: flex;
        position: static;
        background: none;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
        border: none;
        gap: 2rem;
    }

    .nav__link {
        padding: 0.5rem 1rem;
    }

    .hero__container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        text-align: left;
    }

    .hero__content {
        text-align: left;
    }

    .hero__cta {
        flex-direction: row;
        justify-content: flex-start;
    }

    .hero__stats {
        margin: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .hero__image {
        display: block;
    }

    .features__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .payments__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .step::after {
        display: none;
    }

    .faq__list {
        gap: 1rem;
    }

    .faq__item {
        padding: 1.25rem;
    }

    .footer__cta-buttons {
        flex-direction: row;
        justify-content: center;
    }

    
  }

/* Large tablets and small desktops (992px and up) */
@media (min-width: 992px) {
    html {
        font-size: 18px;
    }

    .hero {
        padding: 8rem 2rem 4rem;
    }

    .hero__title {
        font-size: 3.5rem;
    }

    .section__title {
        font-size: 2.5rem;
    }

    .features,
    .payments,
    .how-it-works,
    .testimonials {
        padding: 5rem 0;
    }

    .cta {
        padding: 5rem 0;
    }

    .payment__info {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large desktops (1200px and up) */
@media (min-width: 1200px) {
    .hero__title {
        font-size: 4rem;
    }

    .section__title {
        font-size: 3rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

    .section__subtitle {
        font-size: 1.25rem;
    }

    .footer__bottom-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .footer__badges {
        margin-top: 0;
    }
}

/* Ultra-wide screens (1400px and up) */
@media (min-width: 1400px) {
    html {
        font-size: 20px;
    }

    .hero__title {
        font-size: 4.5rem;
    }

    .section__title {
        font-size: 3.5rem;
    }
}

/* Animation and Transitions */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav__toggle,
    .cta,
    .footer__social,
    .btn {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        background: none;
        color: #000;
    }
}