/* SalesNest CRM Landing Page — Leadnest.ai */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --sn-primary:       #673AB7;
    --sn-primary-dark:  #5e35b1;
    --sn-accent:        #673AB7;
    --sn-accent-light:  #9c6fdb;
    --sn-pale:          rgba(103, 58, 183, 0.07);
    --sn-text:          #1f2937;
    --sn-text-muted:    #64748b;
    --sn-heading:       #0f172a;
    --sn-bg-light:      #f8fafc;
    --sn-white:         #ffffff;
    --sn-border:        #f1f5f9;
}

html { height: auto !important; overflow-x: hidden !important; }
body { height: auto !important; overflow-x: hidden !important; overflow-y: visible !important; position: relative; margin: 0; padding: 0; }
main { overflow: visible !important; }

.sn-wrapper {
    font-family: 'Poppins', sans-serif;
    color: var(--sn-text);
    padding-top: 90px;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

.sn-bg-light  { background: var(--sn-bg-light); }
.sn-bg-white  { background: var(--sn-white); }

/* ══ HERO ══ */
.sn-hero {
    height: calc(100vh - 90px);
    min-height: 620px;
    background: var(--sn-white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.sn-hero-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right,  rgba(103, 58, 183, 0.12) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(103, 58, 183, 0.12) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 50% 40%, black 50%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 50%, transparent 90%);
    pointer-events: none; z-index: 1;
}
.sn-hero-content {
    max-width: 1240px; margin: 0 auto;
    display: flex; align-items: center; gap: 60px;
    padding: 0 24px; position: relative; z-index: 2; width: 100%;
}
.sn-hero-text  { flex: 1.15; }
.sn-hero-visual {
    flex: 0.95; position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    animation: snHeroFloat 6s infinite ease-in-out;
}
@keyframes snHeroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.sn-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px;
    background: var(--sn-pale);
    color: var(--sn-primary);
    border: 1px solid rgba(103, 58, 183, 0.2);
    border-radius: 100px; font-size: 13px; font-weight: 600;
    margin-bottom: 28px; letter-spacing: 0.3px;
}
.sn-hero-badge i { font-size: 14px; }
.sn-hero-text h1 {
    font-size: 52px; font-weight: 600; line-height: 1.12;
    margin-bottom: 24px; color: var(--sn-heading); letter-spacing: -0.03em;
}
.sn-accent-purple { color: var(--sn-primary); }
.sn-hero-text p {
    font-size: 18px; line-height: 1.6; color: #4b5563;
    margin-bottom: 36px; max-width: 95%; font-weight: 400;
}
.sn-hero-image {
    width: 100%; height: auto; border-radius: 16px;
    box-shadow: 0 24px 64px rgba(103, 58, 183, 0.12), 0 4px 16px rgba(0,0,0,0.08);
    display: block;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
}
.sn-hero-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 80px rgba(103, 58, 183, 0.16), 0 8px 24px rgba(0,0,0,0.1);
}
.sn-hero-cta { display: flex; gap: 16px; margin-bottom: 44px; flex-wrap: wrap; }

.sn-btn {
    padding: 14px 32px; border-radius: 12px;
    font-weight: 600; font-family: 'Poppins', sans-serif;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer; border: none; font-size: 15px;
    display: inline-flex; align-items: center; justify-content: center;
    gap: 10px; text-decoration: none !important;
}
.sn-btn-lg { padding: 16px 36px; font-size: 16px; }
.sn-btn-primary {
    background: var(--sn-primary); color: white !important;
    box-shadow: 0 4px 14px rgba(103, 58, 183, 0.25);
}
.sn-btn-primary:hover { background: var(--sn-primary-dark); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(103, 58, 183, 0.3); }
.sn-btn-primary i { transition: transform 0.2s ease; }
.sn-btn-primary:hover i { transform: translateX(5px); }
.sn-btn-secondary { background: #f3f4f6; color: #111827 !important; border: 1px solid transparent; }
.sn-btn-secondary:hover { background: #e5e7eb; transform: translateY(-2px); }

.sn-hero-trust { display: flex; align-items: center; gap: 28px; padding-top: 28px; border-top: 1px solid var(--sn-border); }
.sn-trust-divider { width: 1px; height: 24px; background: #e2e8f0; flex-shrink: 0; }
.sn-trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #374151; font-weight: 500; }
.sn-trust-item i { color: var(--sn-primary); font-size: 18px; }

/* ══ PARTNER SLIDER ══ */
.sn-partner-section {
    padding: 70px 0;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    border-bottom: 1px solid var(--sn-border);
}
.sn-trusted-heading {
    text-align: center; font-family: 'Poppins', sans-serif;
    font-size: 14px; font-weight: 600; color: var(--sn-primary);
    margin-bottom: 50px; text-transform: uppercase; letter-spacing: 2px;
    display: flex; align-items: center; justify-content: center; gap: 20px;
}
.sn-trusted-heading::before,
.sn-trusted-heading::after { content: ''; height: 1px; width: 60px; background: rgba(103, 58, 183, 0.2); }
.sn-partner-img { filter: none; opacity: 0.85; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); max-height: 40px; width: auto !important; margin: 0 auto; }
.sn-partner-img:hover { transform: scale(1.08); opacity: 1; }

/* ══ STATS BAND ══ */
.sn-stats-band { background: #0f172a; padding: 70px 0; color: white; position: relative; z-index: 10; }
.sn-stats-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; text-align: center; flex-wrap: wrap; gap: 32px; }
.sn-stat-value { font-size: 36px; font-weight: 600; margin-bottom: 8px; color: var(--sn-primary); font-family: 'Poppins', sans-serif; }
.sn-stat-label { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; opacity: 0.55; text-transform: uppercase; }

/* ══ FEATURE SECTIONS ══ */
.sn-feature-section { padding: 100px 0; position: relative; overflow: hidden; }
.sn-feature-container {
    max-width: 1240px; margin: 0 auto;
    display: flex; align-items: center; gap: 80px; padding: 0 24px;
}
.sn-feature-content { flex: 1; }
.sn-feature-image   { flex: 1; }

.sn-feature-badge {
    display: inline-block; padding: 6px 14px;
    background: var(--sn-pale); color: var(--sn-primary);
    border: 1px solid rgba(103, 58, 183, 0.2);
    border-radius: 6px; font-size: 11px; font-weight: 600;
    margin-bottom: 20px; letter-spacing: 1px; text-transform: uppercase;
}
.sn-feature-content h2 { font-size: 36px; font-weight: 600; line-height: 1.25; margin-bottom: 20px; color: var(--sn-heading); letter-spacing: -0.02em; }
.sn-feature-desc { font-size: 17px; line-height: 1.7; color: var(--sn-text-muted); margin-bottom: 32px; font-weight: 400; }
.sn-feature-highlights { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sn-feature-highlights li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--sn-heading); }
.sn-feature-highlights li i { color: var(--sn-primary); font-size: 18px; }
.sn-feature-img {
    width: 100%; height: auto; border-radius: 16px;
    box-shadow: 0 20px 50px rgba(103, 58, 183, 0.08), 0 4px 16px rgba(0,0,0,0.06);
    display: block;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
}
.sn-feature-img:hover { transform: translateY(-8px) rotate(1deg); box-shadow: 0 32px 80px rgba(103, 58, 183, 0.15), 0 8px 24px rgba(0,0,0,0.1); }

/* ══ SECTION HEADER ══ */
.sn-section-header { margin-bottom: 60px; text-align: center; }
.sn-section-header.text-left { text-align: left; }
.sn-section-header.text-left p { margin-left: 0; }
.sn-section-eyebrow { font-size: 13px; font-weight: 600; color: var(--sn-text-muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.sn-section-header h2 { font-size: 38px; font-weight: 700; color: var(--sn-heading); margin-bottom: 18px; letter-spacing: -0.02em; }
.sn-section-header p { font-size: 17px; color: var(--sn-text-muted); font-weight: 400; line-height: 1.6; max-width: 800px; margin: 0 auto; }

/* ══ PIPELINE VISUAL ══ */
.sn-pipeline-container { padding: 120px 0; background: #fff; position: relative; }
.sn-pipeline-container::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(var(--sn-pale) 1.5px, transparent 1.5px);
    background-size: 40px 40px; opacity: 0.6; pointer-events: none;
}
.sn-pipeline-nav { display: flex; justify-content: center; align-items: center; gap: 0; margin-bottom: 80px; flex-wrap: wrap; position: relative; z-index: 2; }
.sn-pipeline-step {
    display: flex; align-items: center; gap: 15px; padding: 16px 24px; border-radius: 100px;
    background: #fff; border: 1px solid #e2e8f0; transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02); cursor: default;
}
.sn-pipeline-step.active {
    background: var(--sn-primary); border-color: var(--sn-primary); color: white;
    transform: translateY(-5px) scale(1.05); box-shadow: 0 20px 40px rgba(103, 58, 183, 0.2);
}
.sn-pipeline-icon {
    width: 40px; height: 40px; border-radius: 50%; background: var(--sn-pale);
    color: var(--sn-primary); display: flex; align-items: center; justify-content: center;
    font-size: 18px; transition: all 0.3s ease;
}
.sn-pipeline-step.active .sn-pipeline-icon { background: rgba(255,255,255,0.2); color: white; }
.sn-pipeline-info h4 { font-size: 15px; font-weight: 700; margin: 0; line-height: 1.2; }
.sn-pipeline-info span { font-size: 12px; opacity: 0.7; font-weight: 500; display: block; margin-top: 2px; }
.sn-pipeline-arrow { color: #cbd5e1; font-size: 20px; padding: 0 15px; }

.sn-pipeline-visual-wrapper { position: relative; max-width: 1000px; margin: 0 auto; }
.sn-visual-glow {
    position: absolute; top: 10%; left: 10%; width: 80%; height: 80%;
    background: var(--sn-primary); filter: blur(100px); opacity: 0.1; z-index: 1; pointer-events: none;
}
.sn-pipeline-image {
    width: 100%; border-radius: 24px; position: relative; z-index: 2;
    box-shadow: 0 40px 100px rgba(0,0,0,0.12), 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

/* ══ CAPABILITIES ══ */
.sn-capabilities-section { padding: 100px 0; background: var(--sn-bg-light); }
.sn-capabilities-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sn-capabilities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.sn-cap-card {
    background: white; padding: 40px 30px; border-radius: 24px;
    border: 1px solid var(--sn-border); transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative; overflow: hidden;
}
.sn-cap-card::after {
    content: ''; position: absolute; top: 0; right: 0; width: 60px; height: 60px;
    background: linear-gradient(135deg, transparent 50%, var(--sn-pale) 50%);
    transition: all 0.4s ease;
}
.sn-cap-card:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); border-color: rgba(103, 58, 183, 0.3); }
.sn-cap-card:hover::after { width: 100px; height: 100px; }
.sn-cap-icon {
    width: 60px; height: 60px; background: var(--sn-pale); color: var(--sn-primary);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin-bottom: 24px; transition: all 0.3s ease;
}
.sn-cap-card:hover .sn-cap-icon { transform: scale(1.1) rotate(5deg); background: var(--sn-primary); color: white; }
.sn-cap-card h3 { font-size: 18px; font-weight: 700; color: var(--sn-heading); margin-bottom: 18px; }
.sn-cap-list { list-style: none; padding: 0; margin: 0; }
.sn-cap-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--sn-text-muted); margin-bottom: 12px; font-weight: 400; }
.sn-cap-list li i { color: var(--sn-primary); font-size: 16px; }

/* ══ COMPARISON TABLE ══ */
.sn-comparison-section { padding: 100px 0; background: #fff; }
.sn-table-wrapper {
    background: white; border-radius: 30px; border: 1px solid var(--sn-border);
    overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.04);
}
.sn-comparison-table { width: 100%; border-collapse: collapse; }
.sn-comparison-table th { padding: 30px; background: #f8fafc; font-weight: 700; color: var(--sn-heading); text-align: left; font-size: 16px; border-bottom: 2px solid var(--sn-border); }
.sn-comparison-table td { padding: 24px 30px; border-bottom: 1px solid var(--sn-border); font-size: 15px; color: var(--sn-text); transition: background 0.2s ease; }
.sn-comparison-table tr:hover td { background: #fdfbff; }
.sn-check { color: #10b981; font-size: 20px; font-weight: 800; }
.sn-cross { color: #ef4444; font-size: 20px; font-weight: 800; }

/* ══ FAQ ══ */
.sn-faq-section { padding: 100px 0; background: var(--sn-bg-light); }
.sn-faq-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sn-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.sn-faq-col { display: flex; flex-direction: column; gap: 20px; }
.sn-faq-item { background: var(--sn-white); border-radius: 20px; border: 1px solid var(--sn-border); overflow: hidden; transition: all 0.3s ease; }
.sn-faq-item:hover { border-color: rgba(103, 58, 183, 0.3); box-shadow: 0 10px 30px rgba(103, 58, 183, 0.08); }
.sn-faq-item.open { border-color: var(--sn-primary); box-shadow: 0 15px 40px rgba(103, 58, 183, 0.1); }
.sn-faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 30px; background: transparent; border: none; cursor: pointer; text-align: left; font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 700; color: var(--sn-heading); line-height: 1.4; }
.sn-faq-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--sn-pale); color: var(--sn-primary); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.sn-faq-item.open .sn-faq-icon { background: var(--sn-primary); color: white; transform: rotate(45deg); }
.sn-faq-answer { max-height: 0; overflow: hidden; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); padding: 0 30px; }
.sn-faq-item.open .sn-faq-answer { max-height: 400px; padding: 0 30px 26px; }
.sn-faq-answer p { font-size: 15px; line-height: 1.8; color: var(--sn-text-muted); border-top: 1px solid var(--sn-border); padding-top: 20px; margin: 0; }

/* ══ CTA ══ */
.sn-cta-section { padding: 120px 24px; position: relative; }
.sn-cta-container {
    max-width: 1200px; margin: 0 auto;
    background: linear-gradient(135deg, #673AB7 0%, #4527a0 50%, #311b92 100%);
    border-radius: 48px; padding: 100px 40px; text-align: center; color: white;
    position: relative; overflow: hidden; box-shadow: 0 40px 80px rgba(103, 58, 183, 0.35);
}
.sn-cta-container::before { content: ''; position: absolute; top: -50%; left: -10%; width: 50%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%); transform: rotate(30deg); pointer-events: none; }
.sn-cta-container::after { content: ''; position: absolute; bottom: -50%; right: -10%; width: 50%; height: 200%; background: radial-gradient(circle, rgba(103, 58, 183, 0.1) 0%, transparent 60%); transform: rotate(-30deg); pointer-events: none; }
.sn-cta-shape { position: absolute; background: rgba(255,255,255,0.05); border-radius: 50%; pointer-events: none; }
.sn-cta-shape-1 { width: 350px; height: 350px; top: -175px; right: -75px; }
.sn-cta-shape-2 { width: 250px; height: 250px; bottom: -125px; left: -75px; }
.sn-cta-content { position: relative; z-index: 2; max-width: 850px; margin: 0 auto; }
.sn-cta-content h2 { font-size: 52px; font-weight: 700; margin-bottom: 24px; color: white; line-height: 1.2; letter-spacing: -0.03em; }
.sn-cta-content p  { font-size: 20px; opacity: 0.95; margin-bottom: 50px; color: white; line-height: 1.7; font-weight: 400; }
.sn-cta-buttons { display: flex; gap: 24px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.sn-cta-note { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; padding: 14px 28px; background: rgba(0,0,0,0.25); border-radius: 100px; backdrop-filter: blur(10px); font-weight: 500; }
.sn-cta-note i { color: #fff; font-size: 18px; }
.sn-btn-white { background: white; color: var(--sn-primary) !important; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.sn-btn-white:hover { background: #f8fafc; transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.2); }
.sn-btn-outline { background: rgba(255,255,255,0.08); color: white !important; border: 2px solid rgba(255,255,255,0.3) !important; backdrop-filter: blur(10px); }
.sn-btn-outline:hover { background: rgba(255,255,255,0.2); border-color: white !important; transform: translateY(-5px); }

/* ══ ANIMATIONS ══ */
.sn-reveal       { opacity: 0; transform: translateY(40px);  transition: all 0.9s cubic-bezier(0.2,0.8,0.2,1); will-change: transform, opacity; }
.sn-reveal-left  { opacity: 0; transform: translateX(-60px); transition: all 0.9s cubic-bezier(0.2,0.8,0.2,1); will-change: transform, opacity; }
.sn-reveal-right { opacity: 0; transform: translateX(60px);  transition: all 0.9s cubic-bezier(0.2,0.8,0.2,1); will-change: transform, opacity; }
.sn-animate-in   { opacity: 1; transform: translate(0,0); }
.sn-delay-1 { transition-delay: 0.15s; }
.sn-delay-2 { transition-delay: 0.3s; }
.sn-delay-3 { transition-delay: 0.45s; }
.sn-delay-4 { transition-delay: 0.6s; }

@media (max-width: 991px) {
    .sn-hero { height: auto; padding: 140px 0 80px; }
    .sn-hero-content { flex-direction: column; text-align: center; gap: 50px; }
    .sn-hero-text h1 { font-size: 42px; }
    .sn-hero-cta { justify-content: center; }
    .sn-hero-trust { justify-content: center; flex-wrap: wrap; gap: 18px; }
    .sn-feature-container { flex-direction: column !important; gap: 50px; text-align: center; }
    .sn-feature-highlights { grid-template-columns: 1fr; text-align: left; }
    .sn-capabilities-grid { grid-template-columns: repeat(2, 1fr); }
    .sn-faq-grid { grid-template-columns: 1fr; }
    .sn-cta-content h2 { font-size: 38px; }
    .sn-cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 576px) {
    .sn-hero-text h1 { font-size: 34px; }
    .sn-capabilities-grid { grid-template-columns: 1fr; }
    .sn-pipeline-step { min-width: 100%; }
}
