/* ================================================================
   Funnlead — Landing Page Styles
   Modern SaaS, mobile-first
   ================================================================ */

/* ?? Variables extra landing ???????????????????????????????????? */
:root {
    --land-radius: 20px;
    --land-radius-sm: 14px;
    --land-section-py: 5rem;
    --land-max: 1200px;
}

/* ?? Utility ???????????????????????????????????????????????????? */
.land-container {
    max-width: var(--land-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.land-section {
    padding: var(--land-section-py) 1.25rem;
}

.land-section-alt {
    background: linear-gradient(160deg, #f8f7ff 0%, #fdf4ff 100%);
}

.land-section-dark {
    background: linear-gradient(135deg, #111827 0%, #1e1b4b 100%);
    color: #fff;
}

.land-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ede9fe;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.land-label-light {
    background: rgba(255,255,255,0.15);
    color: #c7d2fe;
}

.land-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.land-title span {
    color: var(--primary);
}

.land-title-light {
    color: #fff;
}

.land-title-light span {
    color: #a5b4fc;
}

.land-subtitle {
    font-size: 1rem;
    color: var(--gray-500);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.land-subtitle-light {
    color: #a5b4fc;
}

/* ?? Hero ??????????????????????????????????????????????????????? */
.land-hero {
    background: linear-gradient(145deg, #f0f0ff 0%, #faf5ff 50%, #f0fdf4 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 5rem 1.25rem;
    position: relative;
    overflow: hidden;
}

.land-hero-centered {
    min-height: 76vh;
}

.land-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(99,102,241,0.13) 0%, transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}

.land-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}

/* Centered hero title — larger and full-width */
.land-title-hero {
    font-size: clamp(2.4rem, 6vw, 4.25rem);
    max-width: 820px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid #e0e7ff;
    color: var(--primary);
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(99,102,241,0.14);
}

.hero-cta-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0.25rem;
}

/* Primary CTA button */
.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 14px;
    border: 2px solid var(--primary);
    box-shadow: 0 6px 24px rgba(99,102,241,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-decoration: none;
    letter-spacing: -0.2px;
}

.hero-btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(99,102,241,0.4);
}

/* Secondary CTA button */
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 14px;
    border: 2px solid #c7d2fe;
    box-shadow: 0 2px 10px rgba(99,102,241,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    letter-spacing: -0.2px;
}

.hero-btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99,102,241,0.16);
}

/* ?? Feature Grid ??????????????????????????????????????????????? */
.land-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.land-feature-card {
    background: #fff;
    border: 1.5px solid #f1f0ff;
    border-radius: var(--land-radius-sm);
    padding: 1.75rem 1.5rem;
    box-shadow: 0 2px 12px rgba(99,102,241,0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.land-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(99,102,241,0.12);
    border-color: var(--primary);
}

.land-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ede9fe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* ?? Chat Preview ??????????????????????????????????????????????? */
.chat-preview {
    background: #fff;
    border-radius: var(--land-radius);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1.5px solid #f1f0ff;
    max-width: 340px;
}

.chat-preview-header {
    background: var(--primary);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-preview-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.chat-preview-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.chat-preview-status {
    font-size: 11px;
    color: rgba(255,255,255,0.75);
}

.chat-preview-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8f9ff;
    min-height: 220px;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.5;
    max-width: 85%;
}

.chat-bubble-user {
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

.chat-bubble-bot {
    background: #fff;
    color: var(--gray-800);
    border: 1.5px solid #e5e7eb;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.chat-bubble-time {
    font-size: 10px;
    color: var(--gray-400);
    margin-top: 2px;
}

.chat-bubble-time-right { text-align: right; }

.chat-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 1rem 1rem;
    background: #f8f9ff;
}

.chat-action-btn {
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 100px;
    border: 1.5px solid var(--primary);
    background: #fff;
    color: var(--primary);
    cursor: default;
    transition: background 0.15s;
}

.chat-action-btn-primary {
    background: var(--primary);
    color: #fff;
}

/* ?? Flow Preview ??????????????????????????????????????????????? */
.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: var(--land-radius-sm);
    border: 1.5px solid #f1f0ff;
    box-shadow: 0 2px 8px rgba(99,102,241,0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.flow-step:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(99,102,241,0.1);
}

.flow-step-number {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ede9fe;
    color: var(--primary);
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-connector {
    width: 2px;
    height: 24px;
    background: linear-gradient(#c7d2fe, #ede9fe);
    margin-left: calc(18px + 1rem + 1px); /* center under number */
}

/* ?? Product Cards ?????????????????????????????????????????????? */
.land-product-card {
    background: #fff;
    border-radius: var(--land-radius-sm);
    border: 1.5px solid #f1f0ff;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(99,102,241,0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.land-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(99,102,241,0.13);
}

.land-product-img {
    height: 130px;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.land-product-body {
    padding: 1rem;
}

.land-product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 4px 0 10px;
}

/* ?? Link Pill ?????????????????????????????????????????????????? */
.land-link-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1.5px solid #f1f0ff;
    border-radius: 100px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--gray-700);
    box-shadow: 0 2px 8px rgba(99,102,241,0.06);
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.land-link-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99,102,241,0.13);
}

.land-link-pill-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* ?? Lead Card ?????????????????????????????????????????????????? */
.land-lead-card {
    background: #fff;
    border-radius: var(--land-radius-sm);
    border: 1.5px solid #f1f0ff;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.land-lead-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(99,102,241,0.1);
}

.land-lead-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.lead-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
}

.lead-status-new      { background: #ede9fe; color: var(--primary); }
.lead-status-contact  { background: #cffafe; color: #0891b2; }
.lead-status-closed   { background: #d1fae5; color: #059669; }

/* ?? Plan Cards ????????????????????????????????????????????????? */
.land-plan-card {
    background: #fff;
    border-radius: var(--land-radius);
    border: 1.5px solid #f1f0ff;
    padding: 2rem 1.75rem;
    box-shadow: 0 4px 16px rgba(99,102,241,0.06);
    position: relative;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    height: 100%;
}

.land-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(99,102,241,0.12);
}

.land-plan-card-featured {
    background: linear-gradient(145deg, #6366f1, #818cf8);
    border-color: transparent;
    color: #fff;
}

.land-plan-card-featured .land-plan-price,
.land-plan-card-featured .land-plan-period,
.land-plan-card-featured .land-plan-feature {
    color: rgba(255,255,255,0.9);
}

.land-plan-card-featured .land-plan-feature i {
    color: #a5b4fc;
}

.land-plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #f59e0b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 100px;
    white-space: nowrap;
}

.land-plan-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.land-plan-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -1px;
    line-height: 1;
}

.land-plan-period {
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    margin-top: 4px;
}

.land-plan-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.land-plan-feature i {
    color: var(--primary);
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* ?? Scroll Animations ?????????????????????????????????????????? */
.land-fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.land-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.land-fade-up-delay-1 { transition-delay: 0.1s; }
.land-fade-up-delay-2 { transition-delay: 0.2s; }
.land-fade-up-delay-3 { transition-delay: 0.3s; }
.land-fade-up-delay-4 { transition-delay: 0.4s; }

/* ?? Responsive tweaks ?????????????????????????????????????????? */
@media (max-width: 767.98px) {
    .land-section { padding: 3rem 1rem; }
    .land-hero    { min-height: auto; padding: 4rem 1rem; }
    .chat-preview { max-width: 100%; }
    .hero-cta-group { flex-direction: column; align-items: stretch; }
    .hero-btn-primary,
    .hero-btn-secondary { justify-content: center; padding: 14px 24px; }
}
