/* ============================================================
   Rich Affiliate Landing – Clean CSS
   Colors extracted: #1177CC (primary blue), #FFB200 (accent gold),
   #0058C4 (dark blue hover), #3a3a3a (body text)
   Font: Poppins
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #3a3a3a;
    background: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: #FFB200;
    text-decoration: none;
    transition: color .25s;
}
a:hover { color: #000; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.text-center { text-align: center; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: all .3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #FFB200;
    color: #fff;
}
.btn-primary:hover {
    background: #e6a000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255,178,0,.4);
}

.btn-bounce:hover {
    animation: bounceIn .4s;
}

@keyframes bounceIn {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.08); }
    50%  { transform: scale(.96); }
    70%  { transform: scale(1.04); }
    100% { transform: scale(1); }
}

/* ---------- HEADER ---------- */
.site-header {
    background: #1177CC;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.header-logo img {
    height: 30px;
    width: auto;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 0;
}

.header-nav ul li a {
    display: block;
    padding: 0 10px;
    line-height: 68px;
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    text-decoration: none;
    transition: background .25s, color .25s;
}

.header-nav ul li a:hover {
    background: #0058C4;
    color: #fff;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
    background: linear-gradient(135deg, #1177CC 0%, #0058C4 100%);
    padding: 80px 30px;
    text-align: center;
    color: #fff;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #fff;
}

.hero-section p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 30px;
    color: rgba(255,255,255,.9);
}

.hero-section .btn {
    font-size: 16px;
    padding: 15px 40px;
}

/* ---------- FEATURES INTRO ---------- */
.features-intro {
    padding: 70px 0;
    background: #fff;
}

.features-intro h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1177CC;
    margin-bottom: 20px;
}

.features-desc {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 15px;
    color: #555;
}

.features-intro h3 {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #3a3a3a;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    max-width: 750px;
    margin: 0 auto 30px;
}

.feature-list li {
    padding: 8px 0;
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-list li i {
    color: #1177CC;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ---------- MODULE SECTIONS ---------- */
.module-section {
    padding: 60px 0;
}

.module-alt {
    background: #f7f9fc;
}

.module-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.module-row-reverse {
    flex-direction: row-reverse;
}

.module-img {
    flex: 1;
    min-width: 0;
}

.module-img img {
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    margin-bottom: 15px;
}

.module-text {
    flex: 1;
    min-width: 0;
}

.module-text h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1177CC;
    margin-bottom: 15px;
    line-height: 1.4;
}

.module-text p {
    font-size: 15px;
    color: #555;
    margin-bottom: 10px;
}

/* Scroll animations */
.animate-left, .animate-right {
    opacity: 0;
    transition: all .6s ease;
}
.animate-left { transform: translateX(-40px); }
.animate-right { transform: translateX(40px); }
.animate-left.visible, .animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- PRICING ---------- */
.pricing-section {
    padding: 70px 0 40px;
    background: #f7f9fc;
}

.pricing-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1177CC;
    margin-bottom: 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.pricing-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
    text-align: center;
    position: relative;
    transition: transform .3s, box-shadow .3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,.14);
}

.pricing-card.featured {
    border: 2px solid #1177CC;
    transform: scale(1.04);
}
.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-6px);
}

.pricing-ribbon-wrapper {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 0 8px 0 0;
    z-index: 10;
}

.pricing-ribbon {
    position: absolute;
    top: 38px;
    right: -25px;
    background: #FFB200;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 0;
    width: 150px;
    text-align: center;
    transform: rotate(45deg);
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.pricing-header {
    background: #1177CC;
    padding: 20px 15px;
    border-radius: 8px 8px 0 0;
}

.pricing-header h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.pricing-price {
    padding: 25px 15px 20px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.original-price {
    font-size: 18px;
    color: #999;
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: #1177CC;
    line-height: 1;
}

.price-amount.sale {
    color: #1177CC;
}

.price-amount .currency {
    font-size: 24px;
    vertical-align: super;
}

.price-period {
    font-size: 14px;
    color: #999;
}

.pricing-body {
    padding: 0 25px 20px;
    flex: 1;
}

.pricing-body ul {
    list-style: none;
    text-align: left;
}

.pricing-body ul li {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-body ul li:last-child { border-bottom: none; }

.pricing-body ul li i {
    color: #1177CC;
    flex-shrink: 0;
}

.pricing-footer {
    padding: 15px 25px 25px;
}

.btn-pricing {
    display: block;
    padding: 14px 20px;
    background: #1177CC;
    color: #fff;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .5px;
    transition: all .3s;
    text-decoration: none;
}

.btn-pricing:hover {
    background: #0058C4;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(17,119,204,.4);
}

.pricing-note {
    text-align: center;
    font-size: 14px;
    color: #666;
    padding: 10px 0 20px;
}

/* ---------- FAQ / ACCORDION ---------- */
.faq-section {
    padding: 70px 0;
    background: #fff;
}

.faq-section h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1177CC;
    margin-bottom: 30px;
}

.accordion {
    max-width: 800px;
    margin: 0 auto 25px;
}

.accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    background: #fff;
    border: none;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #3a3a3a;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    transition: background .25s;
}

.accordion-header:hover {
    background: #f7f9fc;
}

.accordion-header span {
    flex: 1;
}

.accordion-icon {
    color: #1177CC;
    font-size: 13px;
    transition: transform .3s;
    flex-shrink: 0;
}

.accordion-arrow {
    color: #1177CC;
    font-size: 16px;
    transition: transform .3s;
    flex-shrink: 0;
}

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

.accordion-item.active .accordion-arrow {
    transform: rotate(90deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    padding: 0 20px;
}

.accordion-item.active .accordion-content {
    max-height: 400px;
    padding: 10px 20px 20px;
}

.accordion-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.faq-note {
    text-align: center;
    font-size: 14px;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: #1177CC;
    padding: 50px 0 40px;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    height: 30px;
    width: auto;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links li a {
    color: rgba(255,255,255,.85);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color .25s;
}

.footer-links li a:hover {
    color: #FFB200;
}

.footer-links li a i {
    font-size: 11px;
    color: rgba(255,255,255,.5);
}

.btn-footer {
    display: inline-block;
    padding: 12px 24px;
    background: #FFB200;
    color: #fff;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .5px;
    transition: all .3s;
}

.btn-footer:hover {
    background: #e6a000;
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(17,119,204,.75);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: rgba(0,0,0,.6);
    color: #fff;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .module-row,
    .module-row-reverse {
        flex-direction: column;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .pricing-card.featured {
        transform: none;
    }
    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-nav { display: none; }
    .header-nav.active {
        display: block;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #1177CC;
        box-shadow: 0 4px 12px rgba(0,0,0,.2);
    }
    .header-nav.active ul {
        flex-direction: column;
    }
    .header-nav.active ul li a {
        line-height: normal;
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
    .menu-toggle { display: block; }

    .hero-section h1 { font-size: 30px; }
    .hero-section p { font-size: 16px; }
    .features-intro h2 { font-size: 25px; }
    .module-text h2 { font-size: 22px; }
    .pricing-title { font-size: 26px; }
}
