/* ============================================================
   MSD-SMM — Premium Landing Theme v2
   Dark-first · Glassmorphism · Heavy Animation
   ============================================================ */

/* ---- Web Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
.theme-default {
    --saas-bg: #06060e;
    --saas-bg-alt: #0c0c1a;
    --saas-surface: rgba(16, 16, 36, 0.7);
    --saas-surface-solid: #101024;
    --saas-border: rgba(99, 91, 255, 0.12);
    --saas-border-hover: rgba(99, 91, 255, 0.35);
    --saas-text: #eaeaf4;
    --saas-muted: #7a7a9e;
    --saas-primary: #635bff;
    --saas-primary-light: #8b83ff;
    --saas-primary-glow: rgba(99, 91, 255, 0.35);
    --saas-accent: #00d4aa;
    --saas-accent-glow: rgba(0, 212, 170, 0.25);
    --saas-pink: #ff6b9d;
    --saas-orange: #ff9f43;
    --saas-cyan: #00c9db;
    --saas-radius: 16px;
    --saas-radius-sm: 10px;
    --saas-radius-xs: 6px;
    --saas-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.03);
    --saas-shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
    --saas-glass: rgba(16, 16, 36, 0.55);
    --saas-glass-border: rgba(255, 255, 255, 0.06);
    --saas-gradient: linear-gradient(135deg, #635bff 0%, #00d4aa 100%);
    --saas-gradient-warm: linear-gradient(135deg, #635bff 0%, #ff6b9d 100%);
    --saas-gradient-fire: linear-gradient(135deg, #ff9f43 0%, #ff6b9d 100%);
}

/* ============================================================
   2. BASE & RESET
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body.theme-default.saas-guest {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--saas-bg);
    color: var(--saas-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ---- Animated Grid Background ---- */
body.theme-default.saas-guest::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(99, 91, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 91, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: gridPulse 8s ease-in-out infinite;
}

/* ---- Ambient Glow Orbs ---- */
body.theme-default.saas-guest::after {
    content: '';
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(99, 91, 255, 0.08) 0%, rgba(0, 212, 170, 0.04) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: orbFloat 12s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes orbFloat {
    0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
    33% { transform: translateX(-48%) translateY(30px) scale(1.05); }
    66% { transform: translateX(-52%) translateY(-20px) scale(0.97); }
}

/* ============================================================
   3. NAVBAR
   ============================================================ */
.guest-navbar {
    background: var(--saas-glass);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--saas-glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.guest-navbar.scrolled,
.guest-navbar:hover {
    background: rgba(16, 16, 36, 0.85);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.guest-logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.04em;
    background: var(--saas-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: opacity 0.2s;
}

.guest-logo:hover {
    opacity: 0.85;
}

.guest-navbar__actions {
    gap: 0.5rem 0.75rem;
    max-width: 100%;
}

.guest-navbar__locale .locale-selector {
    gap: 0.35rem;
}

.guest-navbar__locale .locale-selector__group {
    min-width: 6.25rem;
}

.guest-navbar__locale .locale-selector__select {
    min-width: 6.5rem;
    background: var(--saas-surface);
    color: var(--saas-text);
    border-color: var(--saas-border);
}

@media (max-width: 575.98px) {
    .guest-navbar .container {
        flex-wrap: wrap;
        row-gap: 0.75rem;
    }
    .guest-navbar__actions {
        width: 100%;
        justify-content: space-between;
    }
    .guest-navbar__locale { flex: 1 1 auto; min-width: 0; }
    .guest-navbar__buttons { flex: 0 0 auto; }
}

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn-saas-primary {
    background: var(--saas-gradient);
    color: #fff !important;
    border: none;
    border-radius: var(--saas-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px var(--saas-primary-glow);
    cursor: pointer;
    z-index: 1;
}

.btn-saas-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.btn-saas-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 32px var(--saas-primary-glow);
    color: #fff !important;
}

.btn-saas-primary:hover::before {
    opacity: 1;
}

.btn-saas-primary:active {
    transform: translateY(0) scale(0.98);
}

/* Shimmer effect */
.btn-saas-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: none;
    animation: btnShimmer 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes btnShimmer {
    0%, 70%, 100% { left: -100%; }
    50% { left: 100%; }
}

.btn-saas-ghost {
    background: transparent;
    color: var(--saas-text) !important;
    border: 1px solid var(--saas-border);
    border-radius: var(--saas-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-saas-ghost:hover {
    background: rgba(99, 91, 255, 0.08);
    border-color: var(--saas-border-hover);
    color: var(--saas-primary-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 91, 255, 0.1);
}

/* ============================================================
   5. HERO SECTION
   ============================================================ */
.hero-section {
    padding: 8rem 0 5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Floating decorative particles */
.hero-section::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 8%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 91, 255, 0.08), transparent 70%);
    border-radius: 50%;
    animation: floatA 6s ease-in-out infinite;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.07), transparent 70%);
    border-radius: 50%;
    animation: floatB 7s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatA {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-30px) translateX(15px); }
}

@keyframes floatB {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(20px) translateX(-20px); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1.1rem;
    background: rgba(99, 91, 255, 0.1);
    border: 1px solid rgba(99, 91, 255, 0.2);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--saas-primary-light);
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    animation: fadeInDown 0.6s ease-out both;
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    animation: badgeSweep 4s ease-in-out infinite;
}

@keyframes badgeSweep {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1.05;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #c4c0ff 50%, var(--saas-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: fadeInUp 0.7s ease-out both, gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--saas-muted);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-section .d-flex {
    animation: fadeInUp 0.9s ease-out 0.2s both;
}

/* ============================================================
   6. STATS BAR
   ============================================================ */
.smm-stats-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 3.5rem 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.smm-stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--saas-border), transparent);
}

.smm-stat {
    text-align: center;
    padding: 1.25rem 1.5rem;
    border-radius: var(--saas-radius);
    background: var(--saas-glass);
    border: 1px solid var(--saas-glass-border);
    backdrop-filter: blur(12px);
    min-width: 140px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.smm-stat:hover {
    transform: translateY(-4px);
    border-color: var(--saas-border-hover);
}

.smm-stat-number {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--saas-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.smm-stat-label {
    font-size: 0.78rem;
    color: var(--saas-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

/* ============================================================
   7. FEATURES SECTION
   ============================================================ */
.features-section {
    padding: 4rem 0 6rem;
    position: relative;
    z-index: 1;
}

.row.g-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.col-md-4 {
    display: flex;
}

.feature-card {
    background: var(--saas-surface);
    border: 1px solid var(--saas-border);
    border-radius: var(--saas-radius);
    padding: 2rem 1.75rem;
    height: 100%;
    box-shadow: var(--saas-shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    animation: fadeInUp 0.7s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

/* Top gradient line */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--saas-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Corner glow */
.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(99, 91, 255, 0.04), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--saas-border-hover);
    box-shadow: var(--saas-shadow-lg), 0 0 40px var(--saas-primary-glow);
    background: rgba(20, 20, 48, 0.8);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(99, 91, 255, 0.1);
    border: 1px solid rgba(99, 91, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    color: var(--saas-primary-light);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon {
    background: var(--saas-gradient);
    border-color: transparent;
    color: #fff;
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 6px 24px var(--saas-primary-glow);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--saas-text);
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--saas-muted);
    margin: 0;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ============================================================
   8. PLATFORMS SECTION
   ============================================================ */
.smm-platforms {
    text-align: center;
    padding: 3rem 0 5rem;
    position: relative;
    z-index: 1;
}

.smm-platforms-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--saas-muted);
    margin-bottom: 1.75rem;
    font-weight: 600;
    animation: fadeInUp 0.7s ease-out both;
}

.smm-platforms-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.smm-platform-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--saas-glass);
    border: 1px solid var(--saas-glass-border);
    color: var(--saas-text);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.smm-platform-chip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--saas-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.smm-platform-chip i {
    font-size: 1.1rem;
    color: var(--saas-primary-light);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.smm-platform-chip span,
.smm-platform-chip:not(:has(span)) {
    position: relative;
    z-index: 1;
}

.smm-platform-chip:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: var(--saas-border-hover);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.smm-platform-chip:hover::before {
    opacity: 0.15;
}

/* Platform-specific hover colors */
.smm-platform-chip:nth-child(1):hover i { color: #E4405F; }
.smm-platform-chip:nth-child(2):hover i { color: #00f2ea; }
.smm-platform-chip:nth-child(3):hover i { color: #FF0000; }
.smm-platform-chip:nth-child(4):hover i { color: #fff; }
.smm-platform-chip:nth-child(5):hover i { color: #1877F2; }
.smm-platform-chip:nth-child(6):hover i { color: #26A5E4; }
.smm-platform-chip:nth-child(7):hover i { color: #1DB954; }
.smm-platform-chip:nth-child(8):hover i { color: #9146FF; }

/* ============================================================
   9. HOW IT WORKS SECTION
   ============================================================ */
.smm-how-it-works {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.smm-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.smm-section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--saas-text);
    margin-bottom: 0.75rem;
}

.smm-section-header p {
    font-size: 1rem;
    color: var(--saas-muted);
    max-width: 500px;
    margin: 0 auto;
}

.smm-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.smm-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--saas-border), var(--saas-border), transparent);
    z-index: 0;
}

.smm-step {
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.7s ease-out both;
}

.smm-step:nth-child(1) { animation-delay: 0.1s; }
.smm-step:nth-child(2) { animation-delay: 0.25s; }
.smm-step:nth-child(3) { animation-delay: 0.4s; }

.smm-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--saas-gradient);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 20px var(--saas-primary-glow);
    position: relative;
}

.smm-step-number::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(99, 91, 255, 0.2);
    animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0; }
}

.smm-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--saas-text);
}

.smm-step p {
    font-size: 0.85rem;
    color: var(--saas-muted);
    line-height: 1.6;
}

/* ============================================================
   10. PRICING / PACKAGES SECTION
   ============================================================ */
.smm-pricing {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.smm-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.smm-price-card {
    background: var(--saas-surface);
    border: 1px solid var(--saas-border);
    border-radius: var(--saas-radius);
    padding: 2rem 1.75rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    animation: fadeInUp 0.7s ease-out both;
}

.smm-price-card:nth-child(1) { animation-delay: 0.1s; }
.smm-price-card:nth-child(2) { animation-delay: 0.2s; }
.smm-price-card:nth-child(3) { animation-delay: 0.3s; }

.smm-price-card.featured {
    border-color: var(--saas-primary);
    box-shadow: 0 0 40px var(--saas-primary-glow);
    transform: scale(1.03);
}

.smm-price-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--saas-gradient);
}

.smm-price-card:hover {
    transform: translateY(-6px);
    border-color: var(--saas-border-hover);
    box-shadow: var(--saas-shadow-lg);
}

.smm-price-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.smm-price-badge {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    background: rgba(99, 91, 255, 0.12);
    color: var(--saas-primary-light);
    border: 1px solid rgba(99, 91, 255, 0.2);
}

.smm-price-card.featured .smm-price-badge {
    background: var(--saas-gradient);
    color: #fff;
    border-color: transparent;
}

.smm-price-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--saas-text);
    margin-bottom: 0.5rem;
}

.smm-price-amount {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 0.25rem;
}

.smm-price-amount small {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--saas-muted);
}

.smm-price-desc {
    font-size: 0.85rem;
    color: var(--saas-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.smm-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    text-align: left;
}

.smm-price-features li {
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: var(--saas-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.smm-price-features li::before {
    content: '✓';
    color: var(--saas-accent);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ============================================================
   11. TESTIMONIALS
   ============================================================ */
.smm-testimonials {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.smm-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.smm-testimonial {
    background: var(--saas-surface);
    border: 1px solid var(--saas-border);
    border-radius: var(--saas-radius);
    padding: 1.75rem;
    position: relative;
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    animation: fadeInUp 0.7s ease-out both;
}

.smm-testimonial:nth-child(1) { animation-delay: 0.1s; }
.smm-testimonial:nth-child(2) { animation-delay: 0.2s; }
.smm-testimonial:nth-child(3) { animation-delay: 0.3s; }

.smm-testimonial:hover {
    transform: translateY(-4px);
    border-color: var(--saas-border-hover);
    box-shadow: var(--saas-shadow-lg);
}

.smm-testimonial-stars {
    color: var(--saas-orange);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
}

.smm-testimonial-text {
    font-size: 0.9rem;
    color: var(--saas-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.smm-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.smm-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--saas-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
}

.smm-testimonial-info strong {
    display: block;
    font-size: 0.85rem;
    color: var(--saas-text);
}

.smm-testimonial-info span {
    font-size: 0.75rem;
    color: var(--saas-muted);
}

/* ============================================================
   12. FAQ SECTION
   ============================================================ */
.smm-faq {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.smm-faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.smm-faq-item {
    background: var(--saas-surface);
    border: 1px solid var(--saas-border);
    border-radius: var(--saas-radius-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    animation: fadeInUp 0.6s ease-out both;
}

.smm-faq-item:nth-child(1) { animation-delay: 0.05s; }
.smm-faq-item:nth-child(2) { animation-delay: 0.1s; }
.smm-faq-item:nth-child(3) { animation-delay: 0.15s; }
.smm-faq-item:nth-child(4) { animation-delay: 0.2s; }
.smm-faq-item:nth-child(5) { animation-delay: 0.25s; }

.smm-faq-item:hover {
    border-color: var(--saas-border-hover);
}

.smm-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--saas-text);
    cursor: pointer;
    transition: color 0.2s;
    text-align: left;
    font-family: inherit;
}

.smm-faq-question:hover {
    color: var(--saas-primary-light);
}

.smm-faq-icon {
    font-size: 1.25rem;
    color: var(--saas-muted);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.smm-faq-item.open .smm-faq-icon {
    transform: rotate(45deg);
    color: var(--saas-primary-light);
}

.smm-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.3s ease;
    padding: 0 1.25rem;
}

.smm-faq-item.open .smm-faq-answer {
    max-height: 300px;
    padding: 0 1.25rem 1.1rem;
}

.smm-faq-answer p {
    font-size: 0.85rem;
    color: var(--saas-muted);
    line-height: 1.7;
}

/* ============================================================
   13. CTA SECTION
   ============================================================ */
.smm-cta {
    text-align: center;
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.smm-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 91, 255, 0.1), transparent 70%);
    pointer-events: none;
    animation: ctaGlow 4s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.smm-cta h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 0 0 0.75rem;
    color: #fff;
    position: relative;
    z-index: 1;
}

.smm-cta p {
    font-size: 1rem;
    color: var(--saas-muted);
    margin: 0 0 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.smm-cta .btn-saas-primary {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* ============================================================
   14. FOOTER
   ============================================================ */
.guest-footer {
    border-top: 1px solid var(--saas-glass-border);
    background: var(--saas-glass);
    backdrop-filter: blur(16px);
    padding: 2.5rem 0;
    position: relative;
    z-index: 1;
}

.guest-footer p,
.guest-footer a {
    font-size: 0.8rem;
    color: var(--saas-muted);
}

.guest-footer a:hover {
    color: var(--saas-primary-light);
}

/* ============================================================
   15. AUTH PAGES
   ============================================================ */
.saas-guest-auth {
    background: var(--saas-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.auth-card-wrap {
    max-width: 420px;
    width: 100%;
    padding: 1rem;
    animation: fadeInUp 0.6s ease-out both;
}

.auth-card-wrap:has(.auth-card-wide) {
    max-width: 520px;
}

.auth-card {
    background: var(--saas-surface);
    border: 1px solid var(--saas-border);
    border-radius: var(--saas-radius);
    box-shadow: var(--saas-shadow-lg);
    padding: 2.25rem 2rem 2rem;
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--saas-gradient);
}

.auth-card h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.4rem;
    color: var(--saas-text);
}

.auth-card .auth-sub {
    color: var(--saas-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.auth-footer-links {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--saas-muted);
}

.auth-footer-links a {
    color: var(--saas-primary-light);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-footer-links a:hover {
    color: var(--saas-accent);
}

/* ---- Form Controls ---- */
.form-control {
    background: var(--saas-bg-alt);
    border: 1px solid var(--saas-border);
    border-radius: var(--saas-radius-sm);
    color: var(--saas-text);
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
    transition: all 0.25s ease;
}

.form-control::placeholder {
    color: var(--saas-muted);
}

.form-control:focus {
    border-color: var(--saas-primary);
    box-shadow: 0 0 0 3px var(--saas-primary-glow);
    background: var(--saas-bg-alt);
    color: var(--saas-text);
    outline: none;
}

/* ---- Alerts ---- */
.alert-saas-success {
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.25);
    color: var(--saas-accent);
    border-radius: var(--saas-radius-sm);
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
}

.alert-saas-danger {
    background: rgba(255, 107, 157, 0.1);
    border: 1px solid rgba(255, 107, 157, 0.25);
    color: var(--saas-pink);
    border-radius: var(--saas-radius-sm);
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
}

/* ============================================================
   16. SCROLL ANIMATIONS (IntersectionObserver)
   ============================================================ */
.smm-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.smm-animate.smm-visible {
    opacity: 1;
    transform: translateY(0);
}

.smm-animate-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.smm-animate-left.smm-visible {
    opacity: 1;
    transform: translateX(0);
}

.smm-animate-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.smm-animate-right.smm-visible {
    opacity: 1;
    transform: translateX(0);
}

.smm-animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.smm-animate-scale.smm-visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for children */
.smm-stagger > *:nth-child(1) { transition-delay: 0s; }
.smm-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.smm-stagger > *:nth-child(3) { transition-delay: 0.2s; }
.smm-stagger > *:nth-child(4) { transition-delay: 0.25s; }
.smm-stagger > *:nth-child(5) { transition-delay: 0.3s; }
.smm-stagger > *:nth-child(6) { transition-delay: 0.35s; }
.smm-stagger > *:nth-child(7) { transition-delay: 0.4s; }
.smm-stagger > *:nth-child(8) { transition-delay: 0.45s; }

/* ============================================================
   17. UTILITY ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   18. SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--saas-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(99, 91, 255, 0.25);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 91, 255, 0.5);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 91, 255, 0.25) var(--saas-bg);
}

/* ============================================================
   19. SELECTION
   ============================================================ */
::selection {
    background: rgba(99, 91, 255, 0.3);
    color: #fff;
}

/* ============================================================
   20. RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 991.98px) {
    .hero-section { padding: 5rem 0 3.5rem; }
    .smm-steps::before { display: none; }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .smm-stats-bar {
        gap: 1rem;
    }

    .smm-stat {
        min-width: 120px;
        padding: 1rem;
    }

    .smm-stat-number {
        font-size: 1.5rem;
    }

    .smm-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .smm-price-card.featured {
        transform: none;
    }

    .smm-price-card.featured:hover {
        transform: translateY(-6px);
    }

    .smm-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .smm-cta {
        padding: 4rem 0;
    }
}

@media (max-width: 575.98px) {
    .hero-section .d-flex {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-saas-primary,
    .btn-saas-ghost {
        width: 100%;
        text-align: center;
    }

    .smm-stats-bar {
        gap: 0.75rem;
    }

    .smm-stat {
        min-width: 100px;
        padding: 0.75rem;
    }

    .smm-stat-number {
        font-size: 1.25rem;
    }

    .smm-platform-chip {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .smm-faq-question {
        font-size: 0.85rem;
        padding: 1rem;
    }
}

/* ============================================================
   21. DARK LIGHT TOGGLE HINT (optional)
   ============================================================ */
.theme-light {
    --saas-bg: #fafafa;
    --saas-bg-alt: #f0f0f5;
    --saas-surface: rgba(255, 255, 255, 0.85);
    --saas-surface-solid: #ffffff;
    --saas-border: #e4e4e7;
    --saas-border-hover: #a1a1aa;
    --saas-text: #18181b;
    --saas-muted: #71717a;
    --saas-primary: #635bff;
    --saas-primary-light: #635bff;
    --saas-primary-glow: rgba(99, 91, 255, 0.15);
    --saas-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06);
    --saas-shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
    --saas-glass: rgba(255, 255, 255, 0.7);
    --saas-glass-border: rgba(0, 0, 0, 0.06);
    --saas-gradient: linear-gradient(135deg, #635bff 0%, #00b894 100%);
}
