/* =====================================================================
   AjonTec — Front Theme  (v2)
   Dream Blend Solutions Private Limited
   ---------------------------------------------------------------------
   v1 me sirf rang badle the, isliye dhaancha purana hi dikhta raha.
   v2 me wo cheezein badli hain jinse koi template "purana" lagta hai:

     1. Fixed 54px heading  ->  fluid clamp() -- har screen par sahi
     2. Hero ki background IMAGE  ->  saaf gradient + jaali
     3. Section padding 60-80px  ->  fluid 72-128px
     4. Bootstrap ka 1320px container  ->  1180px, padhne layak
     5. Flat cards  ->  parat wali chhaya, hover par uthav
     6. Ek hi font  ->  display + body ka jodaa, tight tracking

   MARKUP KO HAATH NAHI LAGAYA. Login popup, forms, slider, plan cards
   sab waise ke waise. Hataana ho to css.blade.php se ek line nikaal do.
   ===================================================================== */

/* Self-hosted fonts (SIL Open Font License, free to use & distribute).
   No external request, no tracking, works offline. */
@font-face{font-family:'AjtSans';src:url('../fonts/ajt/inter.woff2') format('woff2');font-weight:400 600;font-display:swap;font-style:normal}
@font-face{font-family:'AjtDisplay';src:url('../fonts/ajt/jakarta.woff2') format('woff2');font-weight:700 800;font-display:swap;font-style:normal}

:root {
    --ajt-ink: #14142b;
    --ajt-ink-soft: #52526e;
    --ajt-muted: #8a8aa3;

    --ajt-brand: var(--dynamic-primary, #4338ca);
    --ajt-brand-2: #6366f1;
    --ajt-accent: #0d9488;
    --ajt-accent-soft: #ccfbf1;

    --ajt-bg: #ffffff;
    --ajt-bg-2: #f6f7fb;
    --ajt-line: #e7e9f2;

    --ajt-r: 16px;
    --ajt-r-lg: 24px;
    --ajt-r-xl: 32px;

    --ajt-s1: 0 1px 2px rgba(20,20,43,.04), 0 6px 20px rgba(67,56,202,.06);
    --ajt-s2: 0 2px 6px rgba(20,20,43,.06), 0 22px 50px rgba(67,56,202,.14);

    --ajt-ease: cubic-bezier(.22,.61,.36,1);

    /* Fluid spacing -- mobile se desktop tak apne aap badalta hai */
    --ajt-sec: clamp(72px, 9vw, 128px);
}

/* ============================================================== BASE */
body {
    font-family: 'AjtSans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ajt-ink-soft);
    background: var(--ajt-bg);
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'AjtDisplay', 'AjtSans', system-ui, sans-serif;
    color: var(--ajt-ink);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.18;
}

/* Fixed px ki jagah fluid -- 320px phone se 4K tak sahi */
.home-banner-section h1, .banner-content h1 {
    font-size: clamp(2rem, 5.2vw, 3.6rem) !important;
    letter-spacing: -.035em;
    line-height: 1.08;
    margin-bottom: clamp(14px, 2vw, 22px);
}

.section-title h2, .section-title h1 {
    font-size: clamp(1.6rem, 3.4vw, 2.5rem) !important;
    margin-bottom: 12px;
}

.section-description, .banner-content p {
    font-size: clamp(.98rem, 1.25vw, 1.12rem);
    color: var(--ajt-ink-soft);
    max-width: 62ch;
}

.section-title.text-center .section-description { margin-inline: auto; }

::selection { background: var(--ajt-accent-soft); color: var(--ajt-ink); }

/* ========================================================= CONTAINER */
@media (min-width: 1200px) {
    .container, .container-lg, .container-xl { max-width: 1180px; }
}

/* =========================================================== SECTION */
.about-section, .customer-section, .faqs-section, .blogs-section,
.contact-section, .slick-slider-section, .watch-demo-section,
.plan-section, .pricing-section, .term-section, .policy-section {
    padding-block: var(--ajt-sec);
}

.section-title { margin-bottom: clamp(32px, 4.5vw, 56px); }

.slick-slider-section, .customer-section, .faqs-section {
    background: linear-gradient(180deg, var(--ajt-bg-2), var(--ajt-bg)) !important;
}

/* ============================================================ HEADER */
.header-section, .home-header {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255,255,255,.88) !important;
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--ajt-line);
    box-shadow: none !important;
    padding-block: 10px;
}
.header-logo img { max-height: 46px; width: auto; }
.header-section .get-app-btn, .home-header .get-app-btn {
    border-radius: 999px !important;
    font-weight: 600;
    padding: 9px 22px !important;
}

/* higher specificity than base ".header-section.home-header a" which forced white */
.header-section.home-header a.nav-link,
.header-section .navbar-nav .nav-link,
.home-header .navbar-nav .nav-link {
    font-weight: 600;
    color: var(--ajt-ink) !important;
    position: relative;
    padding: 10px 16px !important;
    font-size: .98rem;
}
.header-section.home-header a.nav-link:hover,
.header-section .navbar-nav .nav-link:hover,
.home-header .navbar-nav .nav-link:hover { color: var(--ajt-brand) !important; }
/* keep the red Login button text white */
.header-section.home-header a.get-app-btn,
.header-section .get-app-btn { color: #fff !important; }

.header-section .nav-link::after, .home-header .nav-link::after {
    content: '';
    position: absolute;
    left: 14px; right: calc(100% - 14px);
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--ajt-brand), var(--ajt-accent));
    transition: right .3s var(--ajt-ease);
}

.header-section .nav-link:hover::after, .home-header .nav-link:hover::after { right: 14px; }
.header-section .nav-link:hover, .home-header .nav-link:hover { color: var(--ajt-ink) !important; }

/* ============================================================== HERO */
/* Background IMAGE hata di -- wahi sabse zyada "purana template"
   dikhati thi. Uski jagah gradient + jaali. */
.home-banner-section {
    background-image: none !important;
    background:
        radial-gradient(1200px 560px at 10% -10%, rgba(99,102,241,.16), transparent 60%),
        radial-gradient(1000px 500px at 92% 4%, rgba(13,148,136,.13), transparent 58%),
        linear-gradient(180deg, #fafbff 0%, var(--ajt-bg) 100%) !important;
    padding-top: clamp(96px, 11vw, 150px) !important;
    padding-bottom: var(--ajt-sec);
    position: relative;
    overflow: hidden;
}

.home-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--ajt-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--ajt-line) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(76% 62% at 50% 0%, #000 10%, transparent 76%);
    mask-image: radial-gradient(76% 62% at 50% 0%, #000 10%, transparent 76%);
    opacity: .55;
    pointer-events: none;
}

.home-banner-section > * { position: relative; z-index: 1; }

/* Text pehle safed tha (image ke upar). Background ab halka hai,
   isliye gehra kiya -- warna padhne me nahi aata. */
.home-banner-section h1,
.home-banner-section .banner-content p,
.home-banner-section .banner-scan p,
.home-banner-section .video-button .text-white { color: var(--ajt-ink) !important; }

.home-banner-section .banner-content p,
.home-banner-section .banner-scan p { color: var(--ajt-ink-soft) !important; }

.banner-img img { border-radius: var(--ajt-r-xl); box-shadow: var(--ajt-s2); }

.banner-scan {
    background: rgba(255,255,255,.72);
    border: 1px solid var(--ajt-line);
    border-radius: var(--ajt-r);
    padding: 14px 16px;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.banner-scan img { box-shadow: none; border-radius: 10px; max-height: 56px; }
.banner-scan p { margin: 0; font-size: .92rem; }

.demo-btn-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: clamp(22px, 3vw, 34px) !important;
}

/* =========================================================== BUTTONS */
.custom-btn, .custom-primary-btn, .custom-generate-btn,
.custom-message-btn, .custom-downloads-btn {
    border-radius: 12px;
    font-family: 'AjtDisplay', 'AjtSans', system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: -.01em;
    border: 0;
    padding: .82rem 1.6rem;
    box-shadow: 0 1px 2px rgba(20,20,43,.06), 0 8px 20px rgba(67,56,202,.22);
    transition: transform .22s var(--ajt-ease), box-shadow .22s var(--ajt-ease);
}

.custom-btn:hover, .custom-primary-btn:hover,
.custom-generate-btn:hover, .custom-downloads-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(20,20,43,.08), 0 16px 34px rgba(67,56,202,.3);
}

.custom-btn:active, .custom-primary-btn:active { transform: translateY(0); }

.custom-outline-btn {
    border-radius: 12px;
    border: 1.5px solid var(--ajt-line);
    background: var(--ajt-bg);
    font-weight: 600;
    padding: .8rem 1.5rem;
    transition: border-color .2s var(--ajt-ease), color .2s, transform .2s var(--ajt-ease);
}

.custom-outline-btn:hover {
    border-color: var(--ajt-brand);
    color: var(--ajt-brand);
    transform: translateY(-2px);
}

.play-button { box-shadow: 0 6px 20px rgba(67,56,202,.3); transition: transform .22s var(--ajt-ease); }
.video-button:hover .play-button { transform: scale(1.08); }

/* ============================================================= CARDS */
.blog-shadow, .single-feature, .single-plan, .plan-card,
.testimonial-card, .feature-card {
    border-radius: var(--ajt-r-lg) !important;
    border: 1px solid var(--ajt-line);
    box-shadow: var(--ajt-s1);
    background: var(--ajt-bg);
    transition: transform .28s var(--ajt-ease), box-shadow .28s var(--ajt-ease), border-color .28s;
}

.blog-shadow:hover, .single-feature:hover, .single-plan:hover,
.plan-card:hover, .testimonial-card:hover, .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ajt-s2);
    border-color: rgba(99,102,241,.3);
}

/* ======================================================= PLAN / PRICE */
.pricing-plan-section .card {
    border: 1px solid var(--ajt-line) !important;
    border-radius: var(--ajt-r-lg) !important;
    overflow: hidden;
    transition: transform .28s var(--ajt-ease), box-shadow .28s var(--ajt-ease), border-color .28s var(--ajt-ease);
    background: #fff;
}
.pricing-plan-section .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ajt-s2);
    border-color: color-mix(in srgb, var(--ajt-brand) 40%, var(--ajt-line)) !important;
}
.pricing-plan-section .card-header {
    background: linear-gradient(180deg, color-mix(in srgb, var(--ajt-brand) 7%, #fff), #fff) !important;
    text-align: center;
    border-bottom: 1px solid var(--ajt-line) !important;
}
.pricing-plan-section .card-header p {
    font-family: 'AjtDisplay','AjtSans',sans-serif; font-weight: 700;
    font-size: 1.12rem; color: var(--ajt-ink); margin-bottom: 6px;
}
.pricing-plan-section .card-header h4 {
    font-family: 'AjtDisplay','AjtSans',sans-serif; font-weight: 800;
    font-size: clamp(1.9rem, 2.6vw, 2.4rem); color: var(--ajt-brand); line-height: 1.1; margin: 0;
}
.pricing-plan-section .price-span {
    display: block; margin-top: 4px; font-size: .82rem; font-weight: 500;
    color: var(--ajt-muted); font-family: 'AjtSans',sans-serif;
}
.pricing-plan-section .card-body ul li,
.pricing-plan-section .card-body li { padding-block: 5px; font-size: .92rem; }
.pricing-plan-section .subscribe-plan {
    border: 1.5px solid var(--ajt-brand) !important;
    color: var(--ajt-brand) !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    padding: 11px !important;
    transition: all .2s var(--ajt-ease);
}
.pricing-plan-section .subscribe-plan:hover {
    background: var(--ajt-brand) !important; color: #fff !important;
}
/* highlight the middle (most popular) plan */
.pricing-plan-section .row > [class*="col-"]:nth-child(2) .card {
    border-color: var(--ajt-brand) !important;
    box-shadow: 0 10px 40px color-mix(in srgb, var(--ajt-brand) 16%, transparent);
}
.pricing-plan-section .row > [class*="col-"]:nth-child(2) .card-header::after {
    content: 'POPULAR';
    position: absolute; top: 14px; right: -34px;
    background: var(--ajt-brand); color: #fff;
    font-size: 10px; font-weight: 700; letter-spacing: 1px;
    padding: 4px 40px; transform: rotate(45deg);
}
.pricing-plan-section .row > [class*="col-"]:nth-child(2) .card-header { position: relative; }
.pricing-plan-section .row > [class*="col-"]:nth-child(2) .subscribe-plan {
    background: var(--ajt-brand) !important; color: #fff !important;
}

.single-plan, .plan-card { position: relative; overflow: hidden; }

.single-plan::before, .plan-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ajt-brand), var(--ajt-brand-2), var(--ajt-accent));
    opacity: 0;
    transition: opacity .28s var(--ajt-ease);
}

.single-plan:hover::before, .plan-card:hover::before { opacity: 1; }

.single-plan ul li, .plan-card ul li { padding-block: 6px; font-size: .94rem; line-height: 1.5; }
.single-plan ul li i, .plan-card ul li i { width: 20px; flex: 0 0 20px; }

/* ============================================================= FORMS */
.form-control, .form-select {
    border-radius: 11px;
    border: 1.5px solid var(--ajt-line);
    padding: .72rem .95rem;
    font-size: .97rem;
    transition: border-color .18s var(--ajt-ease), box-shadow .18s var(--ajt-ease);
}

.form-control:focus, .form-select:focus {
    border-color: var(--ajt-brand);
    box-shadow: 0 0 0 4px rgba(99,102,241,.13);
    outline: 0;
}

.form-label, .custom-label { font-weight: 600; color: var(--ajt-ink); font-size: .9rem; }

/* ========================================================= ACCORDION */
.accordion-flush .accordion-item {
    border: 1px solid var(--ajt-line) !important;
    border-radius: var(--ajt-r) !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--ajt-bg);
}

.accordion-flush .accordion-button {
    font-family: 'AjtDisplay', 'AjtSans', system-ui, sans-serif;
    font-weight: 600;
    color: var(--ajt-ink);
    padding: 1.05rem 1.2rem;
    border-radius: var(--ajt-r) !important;
}

.accordion-flush .accordion-button:not(.collapsed) {
    background: var(--ajt-accent-soft);
    color: var(--ajt-ink);
    box-shadow: none;
}

.accordion-flush .accordion-button:focus { box-shadow: none; }

/* ============================================================= BLOGS */
.blogs-tag-btn-selected { background: var(--ajt-brand); border-radius: 999px; border: 0; }

.blogs-tag-btn-unselected {
    border-radius: 999px;
    border: 1.5px solid var(--ajt-line);
    background: var(--ajt-bg);
    transition: border-color .2s var(--ajt-ease), color .2s;
}

.blogs-tag-btn-unselected:hover { border-color: var(--ajt-brand); color: var(--ajt-brand); }
.home-blog-small-image img, .blog-shadow img { border-radius: var(--ajt-r); }

/* ======================================================== LONG-FORM */
.term-section p, .policy-section p, .legal-section p {
    line-height: 1.8;
    max-width: 72ch;
    color: var(--ajt-ink-soft);
}

.term-section h2, .policy-section h2,
.term-section h3, .policy-section h3 { margin-top: 2rem; margin-bottom: .7rem; }

/* ============================================================ FOOTER */
.footer-section {
    background: linear-gradient(180deg, #16162e, #0f0f22) !important;
    color: rgba(255,255,255,.7);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--ajt-brand), var(--ajt-accent)) 1;
    padding-block: clamp(56px, 7vw, 88px) 28px;
}

.footer-section h1, .footer-section h2, .footer-section h3,
.footer-section h4, .footer-section h5, .footer-section h6 { color: #fff !important; }

.footer-section a { color: rgba(255,255,255,.7) !important; transition: color .18s; }
.footer-section a:hover { color: #fff !important; }
.footer-details, .footer-play-store img { border-radius: 12px; }

/* ======================================================= LOGIN POPUP */
/* Sirf dikhawa. Class/id/JS chhue nahi -- login ka kaam waisa hi. */
.ua-card, .ua-box, .modal-content {
    border-radius: var(--ajt-r-lg);
    border: 1px solid var(--ajt-line);
    box-shadow: var(--ajt-s2);
}

.modal-content { overflow: hidden; }
.ua-switch a { font-weight: 600; }

/* ========================================================= RESPONSIVE */

/* Bada monitor -- text zyada na phaile */
@media (min-width: 1600px) {
    .container, .container-lg, .container-xl { max-width: 1260px; }
}

/* Tablet */
@media (max-width: 991.98px) {
    .home-banner-section::before { background-size: 44px 44px; }
    .home-banner-section { padding-top: clamp(88px, 14vw, 110px) !important; }
    .section-title { text-align: center; }
    .section-title .section-description { margin-inline: auto; }
    .blog-shadow:hover, .single-feature:hover,
    .single-plan:hover, .plan-card:hover { transform: none; }
}

/* Phone */
@media (max-width: 575.98px) {
    :root { --ajt-sec: 56px; }

    .home-banner-section::before { background-size: 34px 34px; }

    .demo-btn-group { gap: 12px; }
    .demo-btn-group > a { width: 100%; justify-content: center; }

    .custom-btn, .custom-primary-btn, .custom-outline-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: .85rem 1.2rem;
    }

    .banner-scan { width: 100%; }
    .section-title h2, .section-title h1 { font-size: clamp(1.45rem, 6.4vw, 1.9rem) !important; }
    .table-responsive { -webkit-overflow-scrolling: touch; }
}

/* Chhota phone (320-360px) */
@media (max-width: 360px) {
    body { font-size: 14.5px; }
    .home-banner-section h1 { font-size: 1.72rem !important; }
}

/* Landscape phone -- hero bahut lamba na ho */
@media (max-height: 520px) and (orientation: landscape) {
    .home-banner-section { padding-top: 84px !important; padding-bottom: 48px; }
}

/* Animation band rakhne wale users */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .blog-shadow:hover, .single-plan:hover, .plan-card:hover { transform: none; }
}

/* =============================================================== RTL */
[dir="rtl"] .header-section .nav-link::after,
[dir="rtl"] .home-header .nav-link::after { left: calc(100% - 14px); right: 14px; }

[dir="rtl"] .header-section .nav-link:hover::after,
[dir="rtl"] .home-header .nav-link:hover::after { left: 14px; }

/* ======================================================== SCROLLBAR */
@media (min-width: 992px) {
    ::-webkit-scrollbar { width: 11px; }
    ::-webkit-scrollbar-track { background: var(--ajt-bg-2); }
    ::-webkit-scrollbar-thumb {
        background: #c9ccdd;
        border-radius: 999px;
        border: 3px solid var(--ajt-bg-2);
    }
    ::-webkit-scrollbar-thumb:hover { background: var(--ajt-brand); }
}


/* =================================================== WINDOWS BADGE */
.play-store, .footer-play-store { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.play-store a img, .footer-play-store a img { height:52px; width:auto; border-radius:9px; }
.ajt-win-badge { display:inline-flex; transition:transform .2s var(--ajt-ease), box-shadow .2s var(--ajt-ease); }
.ajt-win-badge img { height:52px; width:auto; display:block; }
.ajt-win-badge:hover { transform:translateY(-2px); }
.ajt-win-badge:hover img { box-shadow:var(--ajt-s1); border-radius:9px; }

/* ================================================= MOBILE DRAWER */
.offcanvas.mobile-menu {
    position: fixed !important; top: 0 !important; left: 0 !important; bottom: 0 !important;
    height: 100vh !important; width: min(86vw, 340px) !important; max-width: 340px;
    background: #fff !important;
}
.offcanvas.mobile-menu .offcanvas-body { background: #fff; height: auto; overflow-y: auto; flex: 1 1 auto; }
.offcanvas.mobile-menu .accordion, .offcanvas.mobile-menu .accordion-item { background: #fff; border: 0; }
.offcanvas.mobile-menu .offcanvas-body { padding-top: 6px; }
.offcanvas.mobile-menu .accordion-button,
.offcanvas.mobile-menu .nav-link {
    color: var(--ajt-ink) !important;
    font-weight: 600;
    font-size: 1.02rem;
    padding: 13px 6px !important;
    border-bottom: 1px solid var(--ajt-line);
    border-radius: 0;
}
.offcanvas.mobile-menu .accordion-button:hover,
.offcanvas.mobile-menu .nav-link:hover { color: var(--ajt-brand) !important; }
.offcanvas.mobile-menu .accordion-button::after { filter: none; }
.offcanvas.mobile-menu .get-app-btn {
    display: inline-flex; margin-top: 14px; border-radius: 999px !important;
}
.offcanvas.mobile-menu .sub-menu, .offcanvas.mobile-menu .dropdown-menu { border: 0; padding-left: 10px; }
.home-offcanvas-header .header-logo img { max-height: 40px; }
.offcanvas.mobile-menu { z-index: 1050; box-shadow: 0 10px 40px rgba(0,0,0,.2); }
.offcanvas.mobile-menu.show { visibility: visible; }
.offcanvas-backdrop.show { opacity: .5; }

/* ======================================== FEATURES & TESTIMONIALS (actual markup) */
.service-section .section-title h2,
.customer-section .section-title h2,
.watch-demo-section .section-title h2,
.slick-slider-section .section-title h2,
.blogs-section .section-title h2 {
    font-family: 'AjtDisplay','AjtSans',sans-serif;
    font-weight: 800;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    color: var(--ajt-ink);
}
.service-card {
    border-radius: var(--ajt-r) !important;
    transition: transform .26s var(--ajt-ease), box-shadow .26s var(--ajt-ease);
    border: 1px solid rgba(255,255,255,.35);
    padding: 20px 12px !important;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--ajt-s2); }
.service-card .image img { transition: transform .26s var(--ajt-ease); }
.service-card:hover .image img { transform: scale(1.08); }
.service-card h6 { font-weight: 700; color: var(--ajt-ink); }

.customer-card {
    border: 1px solid var(--ajt-line);
    border-radius: var(--ajt-r-lg);
    background: #fff;
    transition: transform .26s var(--ajt-ease), box-shadow .26s var(--ajt-ease);
}
.customer-card:hover { transform: translateY(-4px); box-shadow: var(--ajt-s2); }

/* section backgrounds -> subtle, consistent */
.customer-section.bg-pos, .slick-slider-section.bg-pos { background: var(--ajt-bg-2) !important; }
.watch-demo-section { background: #fff; }
