/* Resellers Paradise - Homepage Styles */

:root {
    --pink: #e91e63;
    --pink-dark: #c2185b;
    --orange: #ff7043;
    --yellow: #ffc107;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --dark: #1a1a2e;
    --dark-light: #2d2d44;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --border: #e5e7eb;
    --success: #10b981;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--dark); line-height: 1.6; background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Promo Banner */
.promo-banner {
    background: linear-gradient(90deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--white);
    text-align: center;
    padding: 12px 20px;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}
.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}
@keyframes shimmer {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}
.promo-banner a { color: var(--yellow); font-weight: 600; margin-left: 8px; position: relative; z-index: 1; }

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(233, 30, 99, 0.98);
    backdrop-filter: blur(10px);
    padding: 14px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; position: relative; }
.logo { font-size: 1.1rem; font-weight: 700; color: var(--white); display: flex; align-items: center; gap: 10px; }
.logo img { height: 36px; width: 36px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: var(--white); font-size: 0.9rem; font-weight: 500; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 0.8; }
.mobile-menu { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; z-index: 101; }
.mobile-menu span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; transition: all 0.3s; border: none; cursor: pointer; }
.btn-white { background: var(--white); color: #1a1a2e !important; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.btn-pink { background: var(--pink); color: var(--white); }
.btn-pink:hover { background: var(--pink-dark); transform: translateY(-2px); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--dark-light); }

/* Hero */
.hero {
    background: linear-gradient(180deg, #e91e63 0%, #f06292 25%, #ff7043 55%, #ffb74d 80%, #ffd54f 100%);
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-content { position: relative; z-index: 2; }
.hero h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 0.95;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--white);
    max-width: 600px;
    margin: 0 auto 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.hero-members {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
    color: var(--white);
}
.hero-avatars { display: flex; }
.hero-avatars img,
.hero-avatars .avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid var(--white);
    margin-left: -12px;
    object-fit: cover;
}
.hero-avatars img:first-child,
.hero-avatars .avatar-circle:first-child { margin-left: 0; }
.avatar-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hero-cta { margin-bottom: 50px; }
.hero-cta .btn { font-size: 1rem; padding: 16px 36px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.hero-mockup img {
    max-width: 650px;
    width: 95%;
    filter: drop-shadow(0 40px 80px rgba(0,0,0,0.35));
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Floating notifications */
.floating-notif {
    position: absolute;
    background: var(--white);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    animation: floatNotif 8s ease-in-out infinite;
    z-index: 3;
}
.floating-notif:nth-child(1) { left: 5%; top: 120px; animation-delay: 0s; }
.floating-notif:nth-child(2) { right: 5%; top: 200px; animation-delay: 2s; }
.floating-notif:nth-child(3) { left: 8%; bottom: 200px; animation-delay: 4s; }
.floating-notif .icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #e91e63, #ff5722);
}
.floating-notif .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.floating-notif strong { font-size: 0.8rem; font-weight: 600; color: var(--dark); }
.floating-notif .profit { color: var(--success); font-weight: 700; font-size: 0.8rem; }
@keyframes floatNotif {
    0%, 100% { transform: translateY(0) rotate(-2deg); opacity: 0.9; }
    50% { transform: translateY(-20px) rotate(2deg); opacity: 1; }
}

/* Stats Bar */
.stats-bar {
    background: var(--dark);
    padding: 50px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
.stat-item .value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    display: block;
}
.stat-item .label { color: var(--gray-light); font-size: 0.9rem; }

/* Section Headers */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 16px; }
.section-header p { color: var(--gray); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* Features */
.features-section { padding: 100px 0; background: var(--off-white); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pink), var(--orange));
    transform: scaleX(0);
    transition: transform 0.3s;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.feature-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.7; }

/* Why Join Section */
.why-join-section {
    padding: 100px 0;
    background: var(--white);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
.why-card {
    background: var(--off-white);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
}
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.why-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.why-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}
.why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.why-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* How It Works */
.how-section {
    background: var(--white);
    padding: 100px 0;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.step-card {
    display: flex;
    flex-direction: column;
}
.step-image {
    background: linear-gradient(135deg, var(--pink) 0%, var(--orange) 100%);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.step-label {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.step-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}
.step-content p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
    background: var(--off-white);
    padding: 100px 0;
    overflow: hidden;
}
.testimonials-scroll {
    display: flex;
    gap: 24px;
    animation: scrollTestimonials 40s linear infinite;
    width: max-content;
}
.testimonials-scroll:hover { animation-play-state: paused; }
@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    width: 380px;
    flex-shrink: 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.testimonial-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
}
.testimonial-name { font-weight: 700; font-size: 1.05rem; }
.testimonial-profit { color: var(--success); font-size: 0.9rem; font-weight: 600; }
.testimonial-text { color: var(--gray); font-size: 0.95rem; line-height: 1.7; }
.testimonial-stars { color: #fbbf24; margin-bottom: 16px; font-size: 1.1rem; }

/* Blogs Section */
.blogs-section {
    padding: 100px 0;
    background: var(--white);
}
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.blog-card {
    background: var(--off-white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.blog-image {
    height: 160px;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
}
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-content {
    padding: 24px;
}
.blog-category {
    color: var(--pink);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}
.blog-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 8px 0 12px;
    line-height: 1.4;
}
.blog-content p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* CTA */
.cta-section {
    background: var(--dark);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233,30,99,0.1) 0%, transparent 50%);
    animation: pulse 10s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.cta-content { position: relative; z-index: 2; }
.cta-section h2 { color: var(--white); font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 20px; }
.cta-section p { color: var(--gray-light); font-size: 1.1rem; margin-bottom: 36px; max-width: 550px; margin-left: auto; margin-right: auto; }
.cta-section .btn { font-size: 1.1rem; padding: 18px 40px; }

/* Footer */
footer { background: #0d0d1a; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand .logo { font-size: 1.25rem; margin-bottom: 20px; display: inline-flex; color: var(--white); }
.footer-brand p { color: var(--gray); font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
}
.footer-social a:hover { background: var(--pink); transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-col h4 { color: var(--white); font-size: 1rem; font-weight: 600; margin-bottom: 24px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 14px; }
.footer-col a { color: var(--gray); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 30px; text-align: center; }
.footer-copy { color: var(--gray); font-size: 0.85rem; }

/* Responsive */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(3, 1fr); }
    .blogs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(26, 26, 46, 0.98); backdrop-filter: blur(10px); flex-direction: column; padding: 16px 32px; gap: 0; z-index: 200; }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 1rem; }
    .nav-links li:last-child { text-align: center; padding: 12px 0 4px; }
    .nav-links li:last-child a { border-bottom: none; display: inline-block; width: auto; padding: 12px 32px; }
    .mobile-menu { display: flex; }
    .mobile-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu.active span:nth-child(2) { opacity: 0; }
    .mobile-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .features-grid, .steps-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .floating-notif { display: none; }
    .blogs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
}
