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

/* ══════════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════════ */
:root {
    --ml-primary:       #673AB7;
    --ml-primary-dark:  #5e35b1;
    --ml-primary-deep:  #4527a0;
    --ml-accent:        #8B5CF6; /* Brand Violet Accent */
    --ml-accent-dark:   #7C3AED;
    --ml-text:          #1f2937;
    --ml-text-muted:    #64748b;
    --ml-heading:       #0f172a;
    --ml-bg-light:      #f8fafc;
    --ml-white:         #ffffff;
    --ml-border:        #f1f5f9;
}

/* ══════════════════════════════════════
   BASE RESET
══════════════════════════════════════ */
html { height: auto !important; overflow-x: clip !important; }
body { height: auto !important; overflow-x: clip !important; overflow-y: visible !important; position: relative; margin: 0; padding: 0; }
main { overflow: visible !important; }

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

/* ══════════════════════════════════════
   BACKGROUND UTILITIES
══════════════════════════════════════ */
.ml-bg-light  { background: var(--ml-bg-light); }
.ml-bg-white  { background: var(--ml-white); }

/* ══════════════════════════════════════
   HERO SECTION
══════════════════════════════════════ */
.ml-hero {
    height: calc(100vh - 90px);
    min-height: 620px;
    background: var(--ml-white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Grid background */
.ml-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;
}

.ml-hero::after {
    content: '';
    position: absolute;
    top: -10%; right: -5%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
    z-index: 1;
}

.ml-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%;
}

.ml-hero-text  { flex: 1.15; }
.ml-hero-visual {
    flex: 0.95;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ml-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(103, 58, 183, 0.07);
    color: var(--ml-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;
}

.mp-hero-text h1 {
    font-size: 52px;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--mp-heading);
    letter-spacing: -0.03em;
}

.ml-accent-brand { color: var(--ml-accent); }

.ml-hero-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 36px;
    max-width: 95%;
    font-weight: 400;
}

.ml-hero-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(103, 58, 183, 0.15), 0 10px 20px rgba(0,0,0,0.05);
    display: block;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
}

.ml-hero-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 90px rgba(103, 58, 183, 0.2), 0 15px 30px rgba(0,0,0,0.08);
}

.ml-hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.ml-btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s 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;
}

.ml-btn-lg { padding: 16px 36px; font-size: 16px; }

.ml-btn-primary {
    background: var(--ml-primary);
    color: white !important;
    box-shadow: 0 4px 14px rgba(103,58,183,0.25);
}

.ml-btn-primary:hover {
    background: var(--ml-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(103,58,183,0.3);
}

.ml-btn-secondary {
    background: #f3f4f6;
    color: #111827 !important;
    border: 1px solid transparent;
}

.ml-btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.ml-hero-trust {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--ml-border);
}

.ml-trust-divider { width: 1px; height: 24px; background: #e2e8f0; flex-shrink: 0; }

.ml-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.ml-trust-item i { color: var(--ml-primary); font-size: 18px; }

/* ══════════════════════════════════════
   PARTNER SLIDER
══════════════════════════════════════ */
.ml-partner-section {
    padding: 70px 0;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    border-bottom: 1px solid var(--ml-border);
}

.ml-trusted-heading {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--ml-text-muted);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.ml-trusted-heading::before,
.ml-trusted-heading::after {
    content: '';
    height: 1px;
    width: 40px;
    background: rgba(0,0,0,0.1);
}

.ml-partner-img {
    filter: none;
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    max-height: 38px;
    width: auto !important;
    margin: 0 auto;
}

.ml-partner-img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ══════════════════════════════════════
   STATS BAND
══════════════════════════════════════ */
.ml-stats-band {
    background: #0f172a;
    padding: 70px 0;
    color: white;
    position: relative;
    z-index: 10;
}

.ml-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;
}

.ml-stat-value {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ml-accent);
}

.ml-stat-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    opacity: 0.6;
    text-transform: uppercase;
}

/* ══════════════════════════════════════
   FEATURE SECTIONS
══════════════════════════════════════ */
.ml-feature-section { padding: 120px 0; }

.ml-feature-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 0 24px;
}

.ml-feature-reverse { flex-direction: row-reverse; }

.ml-feature-content { flex: 1; }
.ml-feature-image   { flex: 1; }

.ml-feature-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 176, 255, 0.07);
    color: var(--ml-accent);
    border: 1px solid rgba(0, 176, 255, 0.2);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ml-feature-content h2 {
    font-size: 38px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 24px;
    color: var(--ml-heading);
    letter-spacing: -0.02em;
}

.ml-feature-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--ml-text-muted);
    margin-bottom: 36px;
}

.ml-feature-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.ml-feature-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--ml-heading);
}

.ml-feature-highlights li i {
    color: var(--ml-accent);
    font-size: 20px;
}

.ml-feature-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* ══════════════════════════════════════
   CAPABILITIES GRID
══════════════════════════════════════ */
.ml-capabilities-section { padding: 120px 0; }

.ml-section-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
}

.ml-section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    color: var(--ml-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.ml-section-header h2 {
    font-size: 42px;
    font-weight: 600;
    color: var(--ml-heading);
    margin-bottom: 20px;
}

.ml-capabilities-grid {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ml-cap-card {
    background: white;
    padding: 40px 32px;
    border-radius: 24px;
    border: 1px solid var(--ml-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ml-cap-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(103, 58, 183, 0.08);
    border-color: rgba(103, 58, 183, 0.2);
}

.ml-cap-icon {
    width: 56px;
    height: 56px;
    background: rgba(103, 58, 183, 0.07);
    color: var(--ml-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
}

.ml-cap-card h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--ml-heading);
}

.ml-cap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ml-cap-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--ml-text-muted);
    margin-bottom: 12px;
}

.ml-cap-list li i {
    color: var(--ml-primary);
    font-size: 16px;
}

.ml-cap-featured {
    background: #fdfbff;
    border: 2px solid rgba(103, 58, 183, 0.3);
    position: relative;
}

.ml-cap-badge {
    position: absolute;
    top: -14px;
    right: 32px;
    background: var(--ml-primary);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ══════════════════════════════════════
   USE CASES
══════════════════════════════════════ */
.ml-use-cases-section { padding: 120px 0; }

.ml-use-cases-grid {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ml-use-case-card {
    background: var(--ml-bg-light);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.ml-use-case-card:hover {
    background: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.ml-use-case-icon {
    width: 72px;
    height: 72px;
    background: rgba(0, 176, 255, 0.1);
    color: var(--ml-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
}

.ml-use-case-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.ml-use-case-card p {
    color: var(--ml-text-muted);
    line-height: 1.6;
    font-size: 15px;
}

/* ══════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════ */
.ml-steps-section { padding: 120px 0; background: #fff; }

.ml-steps-grid {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.ml-step-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--ml-bg-light);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.ml-step-card:hover {
    background: white;
    box-shadow: 0 20px 40px rgba(103, 58, 183, 0.08);
    transform: translateY(-5px);
}

.ml-step-number {
    width: 54px;
    height: 54px;
    background: var(--ml-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    margin: 0 auto 28px;
    box-shadow: 0 8px 16px rgba(103, 58, 183, 0.25);
}

.ml-step-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--ml-heading);
}

.ml-step-card p {
    font-size: 15px;
    color: var(--ml-text-muted);
    line-height: 1.6;
}

/* ══════════════════════════════════════
   PLATFORM SUPPORT
══════════════════════════════════════ */
.ml-platform-section { padding: 100px 0; background: #0f172a; color: white; overflow: hidden; }

.ml-platform-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.ml-platform-content { flex: 1; }
.ml-platform-visual { flex: 1; position: relative; }

.ml-platform-content h2 { color: white; font-size: 42px; font-weight: 600; margin-bottom: 24px; }
.ml-platform-content p { color: rgba(255,255,255,0.7); font-size: 18px; margin-bottom: 40px; }

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

.ml-platform-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.ml-platform-item i { font-size: 24px; color: var(--ml-accent); }
.ml-platform-item span { font-weight: 600; font-size: 15px; }

/* ══════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════ */
.ml-faq-section { padding: 120px 0; }

.ml-faq-grid {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ml-faq-item {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--ml-border);
    overflow: hidden;
}

.ml-faq-question {
    width: 100%;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.ml-faq-question span {
    font-size: 18px;
    font-weight: 600;
    color: var(--ml-heading);
}

.ml-faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ml-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ml-faq-open .ml-faq-icon {
    background: var(--ml-primary);
    color: white;
    transform: rotate(45deg);
}

.ml-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 32px;
}

.ml-faq-open .ml-faq-answer {
    max-height: 400px;
    padding-bottom: 32px;
}

.ml-faq-answer p {
    color: var(--ml-text-muted);
    line-height: 1.7;
    font-size: 16px;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--ml-border);
}

/* ══════════════════════════════════════
   CTA SECTION
══════════════════════════════════════ */
.ml-cta-section { padding: 120px 24px; }

.ml-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #673AB7 0%, #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.3);
}

.ml-cta-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }

.mp-cta-content h2 { font-size: 48px; font-weight: 600; margin-bottom: 24px; }

.ml-cta-content p { font-size: 20px; opacity: 0.9; margin-bottom: 48px; }

.ml-cta-buttons { display: flex; gap: 20px; justify-content: center; }

.ml-btn-white { background: white; color: var(--ml-primary) !important; }
.ml-btn-white:hover { background: #f8fafc; transform: translateY(-3px); }

.ml-btn-outline {
    background: rgba(255,255,255,0.05);
    color: white !important;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.ml-btn-outline:hover { background: rgba(255,255,255,0.15); border-color: white; transform: translateY(-3px); }

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
.ml-reveal       { opacity: 0; transform: translateY(30px);  transition: all 0.8s cubic-bezier(0.2,0.8,0.2,1); }
.ml-reveal-left  { opacity: 0; transform: translateX(-50px); transition: all 0.8s cubic-bezier(0.2,0.8,0.2,1); }
.ml-reveal-right { opacity: 0; transform: translateX(50px);  transition: all 0.8s cubic-bezier(0.2,0.8,0.2,1); }

.ml-animate-in .ml-reveal,
.ml-animate-in.ml-reveal,
.ml-animate-in .ml-reveal-left,
.ml-animate-in.ml-reveal-left,
.ml-animate-in .ml-reveal-right,
.ml-animate-in.ml-reveal-right { opacity: 1 !important; transform: translate(0,0) scale(1) !important; }

.ml-delay-1 { transition-delay: 0.1s; }
.ml-delay-2 { transition-delay: 0.2s; }
.ml-delay-3 { transition-delay: 0.3s; }
.ml-delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
    .ml-capabilities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .ml-hero { height: auto; padding: 60px 0 100px; }
    .ml-hero-content { flex-direction: column; text-align: center; gap: 50px; }
    .ml-hero-text h1 { font-size: 42px; }
    .ml-hero-cta { justify-content: center; }
    .ml-hero-trust { justify-content: center; }
    .ml-feature-container { flex-direction: column !important; gap: 60px; text-align: center; }
    .ml-feature-highlights { justify-items: center; }
    .ml-use-cases-grid { grid-template-columns: repeat(2, 1fr); }
    .ml-cta-content h2 { font-size: 36px; }
}

@media (max-width: 576px) {
    .ml-hero-text h1 { font-size: 34px; }
    .ml-capabilities-grid { grid-template-columns: 1fr; }
    .ml-use-cases-grid { grid-template-columns: 1fr; }
    .ml-cta-buttons { flex-direction: column; }
}
