/* ==========================================================================
   HDLIKE / SHOPKEY - Modern SaaS Home Stylesheet
   Brand Primary: #13A459 | Secondary: #0F8A4A | Accent: #16C26A
   ========================================================================== */

:root {
    --brand-primary: #13A459;
    --brand-primary-rgb: 19, 164, 89;
    --brand-secondary: #0F8A4A;
    --brand-accent: #16C26A;
    --brand-accent-rgb: 22, 194, 106;
    --brand-dark: #0F172A;
    
    --bg-page: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --border-card: #E2E8F0;
    
    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-white: #FFFFFF;
    
    --gradient-cta: linear-gradient(135deg, #13A459 0%, #16C26A 100%);
    --gradient-cta-hover: linear-gradient(135deg, #0F8A4A 0%, #13A459 100%);
    --gradient-hero: radial-gradient(circle at 50% 0%, rgba(19, 164, 89, 0.12) 0%, rgba(248, 250, 252, 0) 70%);
    --gradient-glow: radial-gradient(600px circle at var(--x, 50%) var(--y, 50%), rgba(19, 164, 89, 0.15), transparent 40%);
    
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px -10px rgba(19, 164, 89, 0.15), 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 20px 40px -15px rgba(19, 164, 89, 0.25);
    --shadow-glass: 0 8px 32px 0 rgba(19, 164, 89, 0.08);
    
    --radius-card: 20px;
    --radius-pill: 50px;
    --radius-btn: 14px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Tokens */
[data-theme="dark"], body.dark-mode {
    --bg-page: #090D16;
    --bg-card: #131B2E;
    --bg-glass: rgba(19, 27, 46, 0.85);
    --border-card: rgba(255, 255, 255, 0.08);
    
    --text-main: #F1F5F9;
    --text-muted: #94A3B8;
    
    --gradient-hero: radial-gradient(circle at 50% 0%, rgba(19, 164, 89, 0.2) 0%, rgba(9, 13, 22, 0) 70%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Base resets & Container */
.saas-landing-wrapper {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
}

.saas-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Header Component */
.saas-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px auto;
}

.saas-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(var(--brand-primary-rgb), 0.1);
    border: 1px solid rgba(var(--brand-primary-rgb), 0.2);
    border-radius: var(--radius-pill);
    color: var(--brand-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

.saas-badge-pill .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-accent);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 0 rgba(22, 194, 106, 0.7);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 194, 106, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(22, 194, 106, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 194, 106, 0); }
}

.saas-title-lg {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.8px;
    color: var(--text-main);
    margin-bottom: 18px;
}

.saas-title-lg .text-highlight {
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.saas-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 400;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.saas-hero-section {
    padding: 80px 0 100px 0;
    background: var(--gradient-hero);
    position: relative;
}

.saas-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.saas-hero-content {
    position: relative;
    z-index: 2;
}

.saas-hero-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1.2px;
    color: var(--text-main);
    margin-bottom: 24px;
}

.saas-hero-title span.accent-text {
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.saas-hero-desc {
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 600px;
}

.saas-hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.saas-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--gradient-cta);
    color: #FFFFFF !important;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-btn);
    box-shadow: 0 12px 24px -6px rgba(19, 164, 89, 0.4);
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.saas-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px -6px rgba(19, 164, 89, 0.55);
    color: #FFFFFF !important;
}

.saas-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--bg-glass);
    color: var(--text-main) !important;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-btn);
    border: 1px solid var(--border-card);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    text-decoration: none;
}

.saas-btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--brand-primary);
    color: var(--brand-primary) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.saas-hero-trust {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.saas-avatar-group {
    display: flex;
}

.saas-avatar-group img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
    margin-left: -10px;
}

.saas-avatar-group img:first-child {
    margin-left: 0;
}

.saas-trust-text {
    font-size: 14px;
    color: var(--text-muted);
}

.saas-trust-text strong {
    color: var(--text-main);
}

/* Hero Right: Dashboard Card Mockup */
.saas-dashboard-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    backdrop-filter: blur(16px);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.saas-dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.saas-mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-card);
    margin-bottom: 20px;
}

.saas-user-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.saas-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
}

.saas-user-info h5 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 2px 0;
    color: var(--text-main);
}

.saas-user-info span {
    font-size: 12px;
    color: var(--brand-accent);
    background: rgba(22, 194, 106, 0.12);
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

.saas-mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.saas-mstat-item {
    background: rgba(var(--brand-primary-rgb), 0.05);
    border: 1px solid rgba(var(--brand-primary-rgb), 0.1);
    padding: 14px;
    border-radius: 16px;
}

.saas-mstat-item label {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.saas-mstat-item .val {
    font-size: 17px;
    font-weight: 800;
    color: var(--brand-primary);
}

/* SVG Chart */
.saas-chart-box {
    background: var(--bg-page);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid var(--border-card);
    margin-bottom: 20px;
}

.saas-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.saas-chart-svg {
    width: 100%;
    height: 120px;
    overflow: visible;
}

/* Live stream feed */
.saas-live-feed {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.saas-feed-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-card);
    font-size: 13px;
    box-shadow: var(--shadow-sm);
}

.saas-feed-item .icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(19, 164, 89, 0.12);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.saas-feed-item .tag {
    font-weight: 700;
    color: var(--brand-accent);
    font-size: 12px;
}

/* ==========================================================================
   2. STATISTICS COUNTER SECTION
   ========================================================================== */
.saas-stats-section {
    padding: 60px 0;
    position: relative;
}

.saas-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.saas-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.saas-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}

.saas-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--gradient-cta);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 20px auto;
    box-shadow: 0 8px 16px rgba(19, 164, 89, 0.25);
}

.saas-stat-number {
    font-size: 38px;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.saas-stat-label {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   3. SUPPORTED PLATFORMS (STRICTLY TIKTOK & FACEBOOK ONLY)
   ========================================================================== */
.saas-platform-section {
    padding: 80px 0;
}

.saas-platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.saas-platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.saas-platform-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.saas-platform-card.tiktok-card:hover {
    border-color: #FE2C55;
}

.saas-platform-card.facebook-card:hover {
    border-color: #1877F2;
}

.saas-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 24px;
}

.tiktok-card .saas-platform-badge {
    background: rgba(254, 44, 85, 0.1);
    color: #FE2C55;
}

.facebook-card .saas-platform-badge {
    background: rgba(24, 119, 242, 0.1);
    color: #1877F2;
}

.saas-platform-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.saas-platform-logo {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.tiktok-card .saas-platform-logo {
    background: #000000;
    background: linear-gradient(135deg, #000000 0%, #25F4EE 50%, #FE2C55 100%);
}

.facebook-card .saas-platform-logo {
    background: linear-gradient(135deg, #1877F2 0%, #0056C6 100%);
}

.saas-platform-title h3 {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: var(--text-main);
}

.saas-platform-title p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.saas-platform-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 32px 0;
}

.saas-feature-pill {
    padding: 8px 16px;
    border-radius: 12px;
    background: var(--bg-page);
    border: 1px solid var(--border-card);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.saas-feature-pill i {
    color: var(--brand-primary);
}

.saas-platform-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ==========================================================================
   4. TWO TARGET USER GROUPS (DUAL USER MODULES)
   ========================================================================== */
.saas-usergroup-section {
    padding: 80px 0;
    background: rgba(var(--brand-primary-rgb), 0.03);
}

.saas-usergroup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

.saas-ug-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.saas-ug-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.saas-ug-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--gradient-cta);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.saas-ug-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}

.saas-ug-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

.saas-services-list {
    margin-bottom: 32px;
}

.saas-services-group {
    margin-bottom: 20px;
}

.saas-services-group-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.saas-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.saas-service-tag {
    padding: 6px 14px;
    background: var(--bg-page);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

/* ==========================================================================
   5. TIMELINE WORKFLOW (5 STEPS)
   ========================================================================== */
.saas-workflow-section {
    padding: 100px 0;
}

.saas-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    margin-top: 40px;
}

.saas-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    z-index: 1;
}

.saas-timeline-item {
    position: relative;
    z-index: 2;
    text-align: center;
}

.saas-step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--brand-primary);
    color: var(--brand-primary);
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 0 8px var(--bg-page), var(--shadow-sm);
    transition: var(--transition);
}

.saas-timeline-item:hover .saas-step-number {
    background: var(--gradient-cta);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 0 8px var(--bg-page), 0 10px 20px rgba(19, 164, 89, 0.3);
}

.saas-step-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.saas-step-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   6. FEATURE GRID (8 CARDS)
   ========================================================================== */
.saas-features-section {
    padding: 80px 0;
    background: rgba(var(--brand-primary-rgb), 0.02);
}

.saas-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.saas-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    transition: var(--transition);
}

.saas-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}

.saas-fc-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(var(--brand-primary-rgb), 0.1);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.saas-feature-card:hover .saas-fc-icon {
    background: var(--gradient-cta);
    color: #fff;
}

.saas-fc-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.saas-fc-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   7. SAAS INTERACTIVE DASHBOARD PREVIEW
   ========================================================================== */
.saas-dashboard-section {
    padding: 100px 0;
}

.saas-app-demo {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.saas-demo-nav {
    background: var(--bg-page);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-card);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.saas-demo-dots {
    display: flex;
    gap: 8px;
}

.saas-demo-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.saas-demo-dots span:nth-child(1) { background: #FF5F56; }
.saas-demo-dots span:nth-child(2) { background: #FFBD2E; }
.saas-demo-dots span:nth-child(3) { background: #27C93F; }

.saas-demo-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.saas-demo-body {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 480px;
}

.saas-demo-sidebar {
    background: var(--bg-page);
    border-right: 1px solid var(--border-card);
    padding: 20px 16px;
}

.saas-sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.saas-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.saas-menu-item.active, .saas-menu-item:hover {
    background: var(--bg-card);
    color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
}

.saas-demo-main {
    padding: 28px;
}

.saas-demo-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.saas-card-widget {
    background: var(--bg-page);
    border: 1px solid var(--border-card);
    border-radius: 18px;
    padding: 20px;
}

.saas-card-widget h6 {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 8px 0;
}

.saas-card-widget .amount {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
}

.saas-demo-table {
    width: 100%;
    border-collapse: collapse;
}

.saas-demo-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-card);
}

.saas-demo-table td {
    padding: 14px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-card);
    color: var(--text-main);
}

.saas-status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

.status-success {
    background: rgba(22, 194, 106, 0.15);
    color: var(--brand-accent);
}

/* ==========================================================================
   8. TESTIMONIALS & FAQ
   ========================================================================== */
.saas-reviews-section {
    padding: 80px 0;
}

.saas-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.saas-review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.saas-review-stars {
    color: #F59E0B;
    margin-bottom: 16px;
}

.saas-review-text {
    font-size: 15px;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 20px;
}

.saas-reviewer {
    display: flex;
    align-items: center;
    gap: 14px;
}

.saas-reviewer img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.saas-reviewer-info h6 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
}

.saas-reviewer-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* FAQ Accordion */
.saas-faq-section {
    padding: 80px 0;
    background: rgba(var(--brand-primary-rgb), 0.02);
}

.saas-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.saas-accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.saas-accordion-header {
    padding: 20px 24px;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.saas-accordion-header i {
    transition: transform 0.3s ease;
    color: var(--brand-primary);
}

.saas-accordion-item.active .saas-accordion-header i {
    transform: rotate(180deg);
}

.saas-accordion-body {
    padding: 0 24px 20px 24px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    display: none;
}

.saas-accordion-item.active .saas-accordion-body {
    display: block;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .saas-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .saas-stats-grid, .saas-features-grid { grid-template-columns: repeat(2, 1fr); }
    .saas-timeline { grid-template-columns: 1fr; gap: 30px; }
    .saas-timeline::before { display: none; }
    .saas-platform-grid, .saas-usergroup-grid, .saas-reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .saas-hero-title { font-size: 36px; }
    .saas-title-lg { font-size: 30px; }
    .saas-stats-grid, .saas-features-grid { grid-template-columns: 1fr; }
    .saas-demo-body { grid-template-columns: 1fr; }
    .saas-demo-sidebar { display: none; }
    .saas-platform-cta { grid-template-columns: 1fr; }
}

/* ==========================================================================
   HOMEPAGE LEADERBOARD & RECENT WITHDRAWALS STYLING
   ========================================================================== */
.saas-leaderboard-section {
    padding: 60px 0;
    background-color: #F8FAFC;
}

.leaderboard-card-saas {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
}

.leaderboard-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 18px;
}

.leaderboard-card-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.leaderboard-card-sub {
    font-size: 13px;
    color: #64748B;
    margin: 0;
}

.live-pulse-badge {
    background: rgba(19, 164, 89, 0.1);
    color: #13A459;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}

/* Period Tabs */
.period-tabs-nav {
    display: inline-flex;
    background: #F1F5F9;
    padding: 4px;
    border-radius: 50px;
    gap: 4px;
}

.period-tab-btn {
    border: none;
    background: transparent;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: #64748B;
    cursor: pointer;
    transition: all 0.25s ease;
}

.period-tab-btn:hover {
    color: #13A459;
}

.period-tab-btn.active {
    background: #13A459;
    color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(19, 164, 89, 0.3);
}

/* Item row styling */
.leaderboard-list-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    transition: opacity 0.2s ease;
}

.activity-row-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    transition: all 0.2s ease;
}

.activity-row-item:hover {
    border-color: rgba(19, 164, 89, 0.25);
    background: rgba(19, 164, 89, 0.02);
    transform: translateX(3px);
}

.activity-user-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.activity-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #F1F5F9;
    flex-shrink: 0;
}

.activity-uname {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 2px;
}

.activity-meta {
    font-size: 12px;
    color: #64748B;
}

.activity-amount-box {
    text-align: right;
}

.activity-amount {
    font-size: 14.5px;
    font-weight: 800;
    color: #13A459;
}

.activity-status-badge {
    font-size: 11px;
    font-weight: 700;
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 5px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 2px;
}

/* Leaderboard Row Items */
.earner-row-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    transition: all 0.25s ease;
}

.earner-row-item:hover {
    border-color: rgba(19, 164, 89, 0.3);
    transform: translateX(3px);
}

/* Top 1, 2, 3 special highlights */
.earner-row-item.rank-top-1 {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border: 1.5px solid #FCD34D;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
}

.earner-row-item.rank-top-2 {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border: 1.5px solid #CBD5E1;
}

.earner-row-item.rank-top-3 {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border: 1.5px solid #FDBA74;
}

.rank-badge-box {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.rank-badge-num {
    width: 28px;
    height: 28px;
    background: #F1F5F9;
    color: #64748B;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.earner-coins {
    font-size: 15px;
    font-weight: 800;
    color: #13A459;
}

/* Skeleton Loading Animation */
.leaderboard-skeleton-item {
    height: 60px;
    background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
    border-radius: 14px;
}

@keyframes skeletonLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 768px) {
    .leaderboard-card-saas { padding: 18px; border-radius: 16px; }
    .leaderboard-card-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .period-tabs-nav { width: 100%; justify-content: space-between; }
    .period-tab-btn { flex: 1; text-align: center; }
}

