body { font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }

/* ─── BRAND COLORS ─── */
.Dashboard {
    background-color: #4c31ec;
    border-radius: 10px;
    color: #ffffff;
    padding: 12px 24px;
    display: inline-block;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.Dashboard:hover { opacity: 0.88; }

.colors { color: #4c31ec; }

/* ─── HAMBURGER ─── */
#mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
#mobile-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ─── MOBILE NAV DRAWER ─── */
#nav-drawer {
    display: none;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 8px 0 16px;
}
#nav-drawer a {
    padding: 14px 24px;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
    display: block;
}
#nav-drawer a:hover { color: #4c31ec; background: #f9f7ff; }
#nav-drawer .drawer-btn {
    margin: 12px 24px 0;
    background: #4c31ec;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    padding: 13px 20px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: block;
}

/* ─── HERO BADGES ─── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ede9fe;
    color: #4c31ec;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ─── FEATURE CARDS ─── */
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(76,49,236,0.07);
    border: 1px solid #ede9fe;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: left;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(76,49,236,0.13);
}
.feature-icon {
    font-size: 28px;
    margin-bottom: 14px;
    display: block;
}
.feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* ─── HOW IT WORKS STEPS ─── */
.step-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
}
.step-number {
    width: 44px;
    height: 44px;
    background: #4c31ec;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 700;
    margin: 0 auto 16px;
}
.step-card h4 { font-size: 16px; font-weight: 600; color: #1f2937; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: #6b7280; }

/* ─── AI SECTION ─── */
.ai-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 15px;
    color: #374151;
}
.ai-check-list li:last-child { border-bottom: none; }
.ai-check {
    width: 22px;
    height: 22px;
    background: #4c31ec;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ─── PRICING CARDS ─── */
.pricing-wrapper {
    position: relative;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #4c31ec, #8b5cf6, #6366f1);
    transition: transform 0.3s;
}
.pricing-wrapper:hover { transform: scale(1.02); }
.pricing-inner {
    background: #fff;
    border-radius: 22px;
    padding: 32px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #4c31ec;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(76,49,236,0.3);
}
.pricing-plan-name {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}
.pricing-price {
    font-size: 46px;
    font-weight: 800;
    color: #4c31ec;
    line-height: 1.1;
}
.pricing-period {
    font-size: 14px;
    color: #9ca3af;
    margin-left: 4px;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex: 1;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    font-size: 14px;
    color: #4b5563;
    border-bottom: 1px solid #f9fafb;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-check { color: #4c31ec; font-weight: 700; font-size: 15px; }
.pricing-btn {
    width: 100%;
    background: #4c31ec;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    display: block;
    text-align: center;
}
.pricing-btn:hover { opacity: 0.9; }
.pricing-btn-active {
    width: 100%;
    background: #22c55e;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    text-align: center;
}

/* ─── CTA SECTION ─── */
.cta-section {
    background: linear-gradient(135deg, #4c31ec 0%, #7c3aed 100%);
    color: #fff;
    padding: 72px 24px;
    text-align: center;
}
.cta-section h2 {
    font-size: clamp(22px, 5vw, 38px);
    font-weight: 700;
    margin-bottom: 12px;
}
.cta-section p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.cta-btn-white {
    background: #fff;
    color: #4c31ec;
    padding: 14px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s;
}
.cta-btn-white:hover { transform: scale(1.03); }

/* ─── DEMO MODAL ─── */
#demoModal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.72);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
#demoModal.open { display: flex; }
.modal-inner {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    max-width: 700px;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ─── STAT PILLS ─── */
.stat-pill {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    flex: 1;
    min-width: 90px;
}
.stat-pill .num { font-size: 22px; font-weight: 700; color: #4c31ec; }
.stat-pill .lbl { font-size: 12px; color: #9ca3af; margin-top: 2px; }

/* ─── MOBILE OVERRIDES ─── */
@media (max-width: 767px) {

    /* Navbar */
    #desktop-nav { display: none !important; }
    #mobile-menu { display: flex; }

    /* Hero */
    .hero-grid { grid-template-columns: 1fr !important; }
    .hero-grid .preview-card { display: none; }
    .hero-title { font-size: 28px !important; line-height: 1.25 !important; }
    .hero-desc { font-size: 15px !important; }
    .hero-buttons { flex-direction: column !important; gap: 12px !important; }
    .hero-buttons a,
    .hero-buttons button { width: 100%; text-align: center; justify-content: center; }

    /* Stats */
    .stats-row { flex-wrap: wrap; gap: 10px !important; }
    .stat-pill { min-width: calc(50% - 5px); }

    /* Features */
    .features-grid { grid-template-columns: 1fr !important; }

    /* How it works */
    .steps-grid { grid-template-columns: 1fr !important; }

    /* AI section */
    .ai-grid { grid-template-columns: 1fr !important; }
    .ai-grid .ai-image { display: none; }

    /* Pricing */
    .pricing-grid { grid-template-columns: 1fr !important; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; text-align: center; }
}

@media (max-width: 479px) {
    .stat-pill { min-width: 100%; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    /* Tablet tweaks */
    .features-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .pricing-grid { grid-template-columns: 1fr !important; max-width: 420px; margin: 0 auto; }
}
.img{
    width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
}
/* FOOTER LINKS */
.footer-link{
    color:#333333;
    text-decoration:none;
    transition:all 0.25s ease;
    position:relative;
}



/* SOCIAL ICONS */
.social-icon{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#111827;
    border:1px solid #1f2937;
    border-radius:10px;
    cursor:pointer;
    transition:all 0.25s ease;
}

.social-icon:hover{
    background:#4c31ec;
    transform:translateY(-3px);
    box-shadow:0 6px 18px rgba(76,49,236,0.4);
}

/* FOOTER GRID MOBILE IMPROVE */
.footer-grid{
    align-items:flex-start;
}
.call-btn{
    background:#4c31ec;
    color:#fff;
    padding:12px 24px;
    border-radius:10px;
    font-weight:600;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    gap:8px;
}

.call-btn:hover{
    background:#4338ca !important;
    color:#fff !important;
    box-shadow:none !important;
    transform:none !important;
}