/* ==========================================================
   ALS Web Solutions - Smooth Animations & Hover Enhancements
   Loaded after style.css. Everything here is additive: the
   original design stays exactly the same, this only adds motion.
   ========================================================== */

/* ---------- Scroll progress bar ---------- */
.scroll-progress{
    position:fixed;top:0;left:0;height:3px;width:100%;
    background:var(--gradient-primary);
    transform-origin:0 50%;transform:scaleX(0);
    z-index:1001;pointer-events:none;
    box-shadow:0 0 12px rgba(0,209,255,.6);
}

/* ---------- Page entrance ---------- */
body{opacity:1}
body.is-loading{overflow:hidden}
.hero-title .title-line{display:block;overflow:hidden}
.hero-title .title-line > span{display:inline-block;transition:transform 1s cubic-bezier(.2,.8,.2,1)}
.js .hero-title .title-line > span{transform:translateY(105%)}
body.loaded .hero-title .title-line > span{transform:translateY(0)}
body.loaded .hero-title .title-line:nth-child(2) > span{transition-delay:.15s}

/* ---------- Animated gradient text ---------- */
.gradient-text,.logo-text,.stat-number,.footer-brand h3{
    background-size:200% auto !important;
    animation:gradientShift 6s ease-in-out infinite;
}
@keyframes gradientShift{
    0%,100%{background-position:0% 50%}
    50%{background-position:100% 50%}
}

/* ---------- Nav ---------- */
.main-nav{transition:padding .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background .35s ease, transform .4s cubic-bezier(.2,.8,.2,1)}
.main-nav.nav-hidden{transform:translateY(-100%)}
.nav-logo{transition:transform .3s ease}
.nav-logo:hover{transform:scale(1.04)}
.nav-item.nav-cta{transition:transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease}
.nav-item.nav-cta:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(0,209,255,.35)}
@media (max-width:1024px){
    .nav-menu .nav-item{opacity:0;transform:translateX(24px);transition:opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1), color .15s ease}
    .nav-menu.active .nav-item{opacity:1;transform:none}
    .nav-menu.active .nav-item:nth-child(1){transition-delay:.05s}
    .nav-menu.active .nav-item:nth-child(2){transition-delay:.1s}
    .nav-menu.active .nav-item:nth-child(3){transition-delay:.15s}
    .nav-menu.active .nav-item:nth-child(4){transition-delay:.2s}
    .nav-menu.active .nav-item:nth-child(5){transition-delay:.25s}
    .nav-menu.active .nav-item:nth-child(6){transition-delay:.3s}
    .nav-menu.active .nav-item:nth-child(7){transition-delay:.35s}
}

/* ---------- Buttons: shine sweep + ripple ---------- */
.btn-primary,.btn-secondary,.portfolio-link,.template-preview-btn{position:relative;overflow:hidden;isolation:isolate}
.btn-primary::after,.portfolio-link::after,.template-preview-btn::after{
    content:'';position:absolute;top:0;left:-120%;width:60%;height:100%;
    background:linear-gradient(120deg,transparent,rgba(255,255,255,.55),transparent);
    transform:skewX(-20deg);transition:left .7s cubic-bezier(.2,.8,.2,1);z-index:-1;pointer-events:none;
}
.btn-primary:hover::after,.portfolio-link:hover::after,.template-preview-btn:hover::after{left:140%}
.btn-primary i,.btn-secondary i{transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.btn-primary:hover i{transform:translateX(4px)}
.btn-secondary:hover i{transform:rotate(-8deg) scale(1.1)}
.btn-primary:hover{box-shadow:0 18px 40px rgba(0,209,255,.28)}
.ripple{
    position:absolute;border-radius:50%;transform:scale(0);
    background:rgba(255,255,255,.45);animation:ripple .65s ease-out forwards;pointer-events:none;
}
@keyframes ripple{to{transform:scale(4);opacity:0}}
.magnetic{transition:transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, background .28s ease, border-color .28s ease}

/* ---------- Card spotlight (follows the mouse) ---------- */
.service-card,.portfolio-card,.template-card,.testimonial-card,.skill-icon-card,.contact-form-wrapper{position:relative}
.service-card::after,.portfolio-card::after,.template-card::after,.testimonial-card::after,.skill-icon-card::after{
    content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;
    background:radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(0,209,255,.10), transparent 45%);
    opacity:0;transition:opacity .35s ease;z-index:0;
}
.service-card:hover::after,.portfolio-card:hover::after,.template-card:hover::after,
.testimonial-card:hover::after,.skill-icon-card:hover::after{opacity:1}
.service-card > *,.testimonial-card > *,.skill-icon-card > *{position:relative;z-index:1}

/* smoother card transitions */
.service-card,.portfolio-card,.template-card,.testimonial-card,.skill-icon-card{
    transition:transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease, border-color .35s ease;
    will-change:transform;
}
.tilt-active{transition:transform .12s linear, box-shadow .45s ease, border-color .35s ease !important}

/* ---------- Services ---------- */
.service-icon{transition:transform .5s cubic-bezier(.34,1.56,.64,1)}
.service-card:hover .service-icon{transform:translateY(-4px) scale(1.12) rotate(-6deg)}
.service-card h4{transition:color .3s ease}
.service-card:hover h4{color:var(--color-primary-light)}

/* ---------- Skills ---------- */
.skill-icon-card i{display:inline-block;transition:transform .5s cubic-bezier(.34,1.56,.64,1), filter .3s ease}
.skill-icon-card:hover i{transform:translateY(-6px) scale(1.15);filter:drop-shadow(0 8px 18px rgba(0,209,255,.35))}
.skill-icon-card span{transition:color .3s ease}
.skill-icon-card:hover span{color:var(--color-text-primary)}

/* ---------- Portfolio / Templates ---------- */
.portfolio-overlay .portfolio-link,.template-overlay .template-preview-btn{
    transform:translateY(18px) scale(.95);opacity:0;
    transition:transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease, box-shadow .3s ease;
}
.portfolio-card:hover .portfolio-link,.template-card:hover .template-preview-btn{transform:none;opacity:1}
.portfolio-link:hover,.template-preview-btn:hover{box-shadow:0 10px 30px rgba(0,209,255,.35)}
.portfolio-image,.template-image{transition:transform .9s cubic-bezier(.2,.8,.2,1), filter .5s ease}
.portfolio-card:hover .portfolio-image,.template-card:hover .template-image{filter:saturate(1.15)}
.portfolio-content h5,.template-content h5{transition:color .3s ease}
.portfolio-card:hover .portfolio-content h5,.template-card:hover .template-content h5{color:var(--color-primary-light)}
.portfolio-tag{transition:transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease}
.portfolio-tag:hover{transform:translateY(-2px);background:rgba(0,209,255,.08);border-color:rgba(0,209,255,.4);color:#fff}
.js .portfolio-image-wrapper img{opacity:0;transition:opacity .6s ease, transform .9s cubic-bezier(.2,.8,.2,1), filter .5s ease}
.js .portfolio-image-wrapper img.is-loaded,.js .template-image-wrapper img.is-loaded{opacity:1}
.js .template-image-wrapper img{opacity:0;transition:opacity .6s ease, transform .9s cubic-bezier(.2,.8,.2,1), filter .5s ease}
.img-skeleton{position:relative}
.js .img-skeleton::before{
    content:'';position:absolute;inset:0;
    background:linear-gradient(100deg,rgba(255,255,255,0) 30%,rgba(255,255,255,.05) 50%,rgba(255,255,255,0) 70%) var(--color-bg-tertiary);
    background-size:200% 100%;animation:skeleton 1.4s linear infinite;
}
.img-skeleton.done::before{display:none}
@keyframes skeleton{to{background-position:-200% 0}}

/* template layout: horizontal cards on wide screens */
@media (min-width:900px){
    .templates-grid .template-card{display:grid;grid-template-columns:minmax(320px,42%) 1fr;align-items:stretch}
    .templates-grid .template-image-wrapper{height:100%;min-height:260px}
    .templates-grid .template-content{display:flex;flex-direction:column;justify-content:center;padding:32px}
}

/* ---------- Testimonials ---------- */
.testimonial-card::before{transition:opacity .4s ease, transform .5s cubic-bezier(.2,.8,.2,1)}
.testimonial-card:hover::before{opacity:.18;transform:translateY(-6px) scale(1.1)}
.testimonial-author{transition:color .3s ease}
.testimonial-card:hover .testimonial-author{color:var(--color-primary-light)}

/* ---------- Section labels shimmer ---------- */
.section-label,.hero-badge{position:relative;overflow:hidden}
.section-label::after,.hero-badge::after{
    content:'';position:absolute;top:0;left:-100%;width:50%;height:100%;
    background:linear-gradient(90deg,transparent,rgba(0,209,255,.18),transparent);
    animation:labelShine 4s ease-in-out infinite;
}
@keyframes labelShine{0%{left:-100%}60%,100%{left:160%}}

/* ---------- Contact ---------- */
.contact-item{transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.contact-item:hover{transform:translateX(6px)}
.contact-icon{transition:background .35s ease, transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease}
.contact-item:hover .contact-icon{background:var(--gradient-primary);transform:rotate(-8deg) scale(1.08);box-shadow:0 10px 26px rgba(0,209,255,.3)}
.contact-icon i{transition:color .3s ease}
.contact-item:hover .contact-icon i{color:#fff}
.contact-text a{color:inherit;text-decoration:none;transition:color .2s ease}
.contact-text a:hover{color:var(--color-primary-light)}
.form-group label{transition:color .25s ease}
.form-group:focus-within label{color:var(--color-primary-light)}
.form-group input:focus,.form-group textarea:focus{transform:translateY(-1px)}
.contact-form-wrapper{transition:box-shadow .45s ease, border-color .35s ease}
.contact-form-wrapper:focus-within{box-shadow:0 0 0 1px rgba(0,209,255,.35), 0 24px 60px rgba(0,209,255,.08)}
.hp-field{position:absolute !important;left:-9999px !important;width:1px;height:1px;opacity:0}
.btn-submit[disabled]{opacity:.7;cursor:wait}

/* ---------- Footer ---------- */
.footer-links a{position:relative;display:inline-block;transition:color .2s ease, transform .3s cubic-bezier(.2,.8,.2,1)}
.footer-links a:hover{transform:translateX(6px)}
.footer-social .social-links a{display:inline-block;transition:color .25s ease, transform .4s cubic-bezier(.34,1.56,.64,1)}
.footer-social .social-links a:hover{transform:translateY(-6px) scale(1.1)}

/* ---------- Back to top ---------- */
.back-to-top{
    position:fixed;right:24px;bottom:24px;width:48px;height:48px;border-radius:50%;
    display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.08);
    background:rgba(10,10,14,.75);backdrop-filter:blur(8px);color:#fff;cursor:pointer;z-index:998;
    opacity:0;visibility:hidden;transform:translateY(20px);
    transition:opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1), visibility .35s, background .3s ease, box-shadow .3s ease;
}
.back-to-top.show{opacity:1;visibility:visible;transform:none}
.back-to-top:hover{background:var(--gradient-primary);color:#fff;box-shadow:0 12px 30px rgba(0,209,255,.35);transform:translateY(-4px)}
.back-to-top svg{position:absolute;inset:-1px;transform:rotate(-90deg)}
.back-to-top svg circle{fill:none;stroke:var(--color-primary);stroke-width:2;stroke-linecap:round;transition:stroke-dashoffset .1s linear}

/* ---------- WhatsApp float ---------- */
.whatsapp-float{
    position:fixed;left:24px;bottom:24px;width:56px;height:56px;border-radius:50%;
    background:#25D366;color:#fff;display:flex;align-items:center;justify-content:center;
    font-size:28px;text-decoration:none;z-index:998;box-shadow:0 10px 30px rgba(37,211,102,.35);
    transition:transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
    animation:waIn .8s cubic-bezier(.34,1.56,.64,1) 1.6s both;
}
.whatsapp-float::before{
    content:'';position:absolute;inset:0;border-radius:50%;border:2px solid #25D366;
    animation:waPulse 2.2s ease-out infinite;
}
.whatsapp-float:hover{transform:scale(1.1) rotate(-8deg);color:#fff;box-shadow:0 16px 40px rgba(37,211,102,.5)}
.whatsapp-float .wa-tip{
    position:absolute;left:68px;white-space:nowrap;background:#111;color:#fff;font-size:13px;
    padding:6px 12px;border-radius:999px;opacity:0;transform:translateX(-8px);pointer-events:none;
    transition:opacity .3s ease, transform .3s ease;border:1px solid rgba(255,255,255,.08)
}
.whatsapp-float:hover .wa-tip{opacity:1;transform:none}
@keyframes waPulse{0%{transform:scale(1);opacity:.7}100%{transform:scale(1.7);opacity:0}}
@keyframes waIn{from{transform:scale(0)}to{transform:scale(1)}}

/* ---------- Modal ---------- */
.modal.active .modal-overlay{animation:fadeIn .35s ease both}
.modal.active .modal-container{animation:modalIn .45s cubic-bezier(.2,.8,.2,1) both}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes modalIn{from{opacity:0;transform:translateY(30px) scale(.96)}to{opacity:1;transform:none}}

/* ---------- Cursor (smoothed in JS) ---------- */
.cursor-dot,.cursor-outline{left:0;top:0;will-change:transform}
.cursor-dot{transition:opacity .2s ease, width .2s ease, height .2s ease}
.cursor-outline{transition:width .25s ease,height .25s ease,border-color .2s ease,opacity .2s ease, background .25s ease}
.cursor-outline.expand{background:rgba(0,209,255,.08)}
.cursor-hidden .cursor-dot,.cursor-hidden .cursor-outline{opacity:0}
@media (hover:none){.cursor-dot,.cursor-outline{display:none}}

/* ---------- Empty states ---------- */
.empty-state{grid-column:1/-1;text-align:center;color:var(--color-text-muted);padding:40px 0}

/* ---------- Accessibility: reduced motion / disabled animations ---------- */
@media (prefers-reduced-motion: reduce){
    *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}
    .hero-title .title-line > span{transform:none}
}
body.no-anim *,body.no-anim *::before,body.no-anim *::after{animation:none !important}
body.no-anim .hero-title .title-line > span{transform:none}
body.no-anim .portfolio-overlay .portfolio-link,body.no-anim .template-overlay .template-preview-btn{transform:none;opacity:1}

/* ==========================================================
   MULTI-PAGE HERO, BREADCRUMBS, PRICING TABLE & FAQ ACCORDION
   ========================================================== */

/* ---------- Inner Page Hero & Breadcrumbs ---------- */
.page-hero {
    position: relative;
    padding: 150px 28px 72px;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.page-hero .hero-content {
    max-width: 840px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.page-hero h1 {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 16px;
}
.page-hero p {
    color: var(--color-text-secondary);
    font-size: clamp(0.98rem, 1.8vw, 1.12rem);
    max-width: 680px;
    margin: 0 auto;
}
.breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 999px;
    font-size: 12.5px;
    color: var(--color-text-muted);
    margin-bottom: 22px;
}
.breadcrumbs a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color .2s ease;
}
.breadcrumbs a:hover {
    color: #fff;
}
.breadcrumbs .sep {
    opacity: 0.4;
}

/* ---------- Filter Pills (Pricing & Portfolio) ---------- */
.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 44px;
}
.filter-pill {
    padding: 9px 22px;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    color: var(--color-text-secondary);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all .28s ease;
}
.filter-pill:hover, .filter-pill.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 26px rgba(0,209,255,0.28);
    transform: translateY(-2px);
}

/* ---------- Pricing Grid & Cards ---------- */
.pricing-section { background: transparent; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 30px;
    align-items: stretch;
}
.pricing-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--border-radius-xl);
    padding: 36px 30px 32px;
    display: flex;
    flex-direction: column;
    transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease, border-color .35s ease;
    overflow: hidden;
}
.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0,209,255,0.45);
    box-shadow: 0 24px 60px rgba(0,0,0,0.8), 0 0 36px rgba(0,209,255,0.12);
}

/* Featured / Recommended Highlighted Card */
.pricing-card.featured {
    background: linear-gradient(180deg, rgba(0,209,255,0.06) 0%, rgba(124,77,255,0.05) 100%);
    border: 1.5px solid rgba(0,209,255,0.55);
    box-shadow: 0 24px 64px rgba(0,0,0,0.85), 0 0 42px rgba(0,209,255,0.16);
}
@media (min-width: 1024px) {
    .pricing-card.featured {
        transform: translateY(-10px);
    }
    .pricing-card.featured:hover {
        transform: translateY(-18px);
    }
}
.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

/* Recommended / Custom Tag Badges */
.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.plan-badge.badge-primary {
    background: rgba(0,209,255,0.14);
    color: var(--color-primary-light);
    border: 1px solid rgba(0,209,255,0.35);
}
.plan-badge.badge-violet {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,209,255,0.35);
}
.plan-badge.badge-gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
    box-shadow: 0 6px 20px rgba(245,158,11,0.3);
}
.plan-badge.badge-pink {
    background: var(--gradient-secondary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255,107,203,0.3);
}
.plan-badge.badge-green {
    background: linear-gradient(135deg, #34d399, #10b981);
    color: #000;
}

.plan-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 6px;
}
.plan-subtitle {
    font-size: 13.5px;
    color: var(--color-text-muted);
    margin-bottom: 22px;
    min-height: 20px;
}
.plan-price-wrap {
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 20px;
}
.plan-original-price {
    font-size: 14px;
    color: var(--color-text-muted);
    text-decoration: line-through;
    margin-bottom: 2px;
}
.plan-price-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}
.plan-currency {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary-light);
}
.plan-amount {
    font-size: clamp(2rem, 3.4vw, 2.65rem);
    font-weight: 800;
    line-height: 1.05;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.plan-unit {
    font-size: 12.5px;
    color: var(--color-text-muted);
}
.plan-delivery {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 12.5px;
    color: var(--color-primary-light);
    background: rgba(0,209,255,0.06);
    padding: 4px 12px;
    border-radius: 999px;
}
.plan-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.65;
}
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex: 1;
}
.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.45;
}
.plan-features li i {
    margin-top: 3px;
    font-size: 14px;
    flex-shrink: 0;
}
.plan-features li.inc i {
    color: var(--color-primary);
}
.plan-features li.exc {
    color: var(--color-text-muted);
    opacity: 0.52;
    text-decoration: line-through;
}
.plan-features li.exc i {
    color: #ef4444;
}
.plan-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}
.plan-actions .btn-primary, .plan-actions .btn-secondary {
    width: 100%;
    justify-content: center;
}
.btn-wa-plan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #34d399;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.25);
    text-decoration: none;
    transition: all .25s ease;
}
.btn-wa-plan:hover {
    background: #10b981;
    color: #000;
    transform: translateY(-2px);
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.025));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: border-color .3s ease;
}
.faq-item.open, .faq-item:hover {
    border-color: rgba(0,209,255,0.35);
}
.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: 0;
    color: var(--color-text-primary);
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}
.faq-question i {
    color: var(--color-primary);
    transition: transform .3s ease;
}
.faq-item.open .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0 24px;
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.75;
}
.faq-item.open .faq-answer {
    max-height: 420px;
    padding: 0 24px 22px;
}

/* ---------- CTA Banner Section ---------- */
.cta-banner {
    background: linear-gradient(135deg, rgba(0,209,255,0.09) 0%, rgba(124,77,255,0.12) 100%);
    border: 1px solid rgba(0,209,255,0.25);
    border-radius: var(--border-radius-xl);
    padding: 52px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner h2 {
    font-size: clamp(1.6rem, 3.8vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 12px;
}
.cta-banner p {
    color: var(--color-text-secondary);
    max-width: 620px;
    margin: 0 auto 28px;
}
.section-more-wrap {
    text-align: center;
    margin-top: 44px;
}
.form-group select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 12px 14px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgb(255, 255, 255);
    border-radius: var(--border-radius-sm);
    color: var(--color-text-primary);
    font-size: 14px;
    font-family: inherit;
    text-overflow: ellipsis;
}
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 6px rgba(0,209,255,0.06);
}
.form-group select option {
    background: #0a0a0f;
    color: #fff;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 118px 18px 48px;
    }
    .breadcrumbs {
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
    }
}

/* ---------- Multi-Section Pricing Layout ---------- */
.pricing-sections-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto 48px;
    padding: 10px 14px;
    max-width: fit-content;
    background: rgba(12, 14, 22, 0.82);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    position: sticky;
    top: 84px;
    z-index: 40;
}
.pricing-sections-nav a {
    padding: 9px 20px;
    border-radius: 999px;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: all .25s ease;
}
.pricing-sections-nav a:hover {
    color: #fff;
    background: var(--gradient-primary);
    box-shadow: 0 6px 20px rgba(0, 209, 255, 0.25);
}
.pricing-section-block {
    scroll-margin-top: 130px;
}
.pricing-section-block + .pricing-section-block {
    margin-top: 88px;
    padding-top: 72px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
@media (min-width: 992px) {
    .pricing-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
    .pricing-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
}
.pricing-grid.layout-compact .pricing-card {
    padding: 28px 24px 26px;
}
.pricing-grid.layout-compact .plan-amount {
    font-size: clamp(1.65rem, 2.6vw, 2.15rem);
}
.pricing-section-footnote {
    text-align: center;
    margin-top: 26px;
    font-size: 13.5px;
    color: var(--color-text-muted);
}
.pricing-section-footnote i {
    color: var(--color-primary);
    margin-right: 6px;
}

/* ==========================================================
   ALS STUDIO CUSTOM POPUP DIALOG & SENDING ANIMATION
   (Replaces SweetAlert across the entire frontend)
   ========================================================== */
.als-popup-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.als-popup-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.als-popup-card {
    position: relative;
    width: 100%;
    max-width: 430px;
    background: linear-gradient(180deg, rgba(16, 20, 32, 0.96) 0%, rgba(8, 10, 18, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 36px 30px 30px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9), 0 0 42px rgba(0, 209, 255, 0.12);
    transform: translateY(24px) scale(0.95);
    transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.als-popup-backdrop.active .als-popup-card {
    transform: translateY(0) scale(1);
}
.als-popup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}
.als-popup-card.state-success {
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9), 0 0 44px rgba(16, 185, 129, 0.16);
}
.als-popup-card.state-success::before {
    background: linear-gradient(135deg, #00d1ff 0%, #10b981 100%);
}
.als-popup-card.state-error {
    border-color: rgba(239, 68, 68, 0.38);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.9), 0 0 44px rgba(239, 68, 68, 0.16);
}
.als-popup-card.state-error::before {
    background: linear-gradient(135deg, #ef4444 0%, #ff6bcb 100%);
}

/* Status Badge Pill */
.als-popup-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    margin-bottom: 18px;
    background: rgba(0, 209, 255, 0.08);
    border: 1px solid rgba(0, 209, 255, 0.24);
    color: var(--color-primary-light);
}
.als-popup-card.state-success .als-popup-badge {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
}
.als-popup-card.state-error .als-popup-badge {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Visual Stage (Orbital Sending Animation / Checkmark / Error) */
.als-popup-visual {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sending Orbital Animation */
.als-send-orbit-outer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(0, 209, 255, 0.15);
    border-top-color: #00d1ff;
    border-right-color: #7c4dff;
    animation: alsSpin 1.25s cubic-bezier(0.5, 0.15, 0.5, 0.85) infinite;
    box-shadow: 0 0 24px rgba(0, 209, 255, 0.22);
}
.als-send-orbit-inner {
    position: absolute;
    inset: 11px;
    border-radius: 50%;
    border: 1.5px dashed rgba(124, 77, 255, 0.45);
    animation: alsSpinReverse 2.4s linear infinite;
}
.als-send-pulse {
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 209, 255, 0.22) 0%, rgba(124, 77, 255, 0.08) 70%, transparent 100%);
    animation: alsPulseScale 1.6s ease-in-out infinite;
}
.als-send-plane {
    position: relative;
    z-index: 2;
    font-size: 28px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: alsPlaneFloat 1.5s ease-in-out infinite;
}
@keyframes alsSpin {
    to { transform: rotate(360deg); }
}
@keyframes alsSpinReverse {
    to { transform: rotate(-360deg); }
}
@keyframes alsPulseScale {
    0%, 100% { transform: scale(0.92); opacity: 0.7; }
    50% { transform: scale(1.08); opacity: 1; }
}
@keyframes alsPlaneFloat {
    0%, 100% { transform: translate(-2px, 2px) rotate(-4deg); }
    50% { transform: translate(3px, -3px) rotate(4deg); }
}

/* Success / Error / Info Icon Circle */
.als-state-circle {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: alsPopIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.als-state-circle.success {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(0, 209, 255, 0.08) 100%);
    border: 2px solid rgba(16, 185, 129, 0.55);
    box-shadow: 0 0 32px rgba(16, 185, 129, 0.28);
    color: #34d399;
}
.als-state-circle.error {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.2) 0%, rgba(255, 107, 203, 0.06) 100%);
    border: 2px solid rgba(239, 68, 68, 0.55);
    box-shadow: 0 0 32px rgba(239, 68, 68, 0.28);
    color: #f87171;
}
.als-state-circle.info {
    background: radial-gradient(circle, rgba(0, 209, 255, 0.2) 0%, rgba(124, 77, 255, 0.08) 100%);
    border: 2px solid rgba(0, 209, 255, 0.5);
    box-shadow: 0 0 32px rgba(0, 209, 255, 0.25);
    color: #00d1ff;
}
.als-state-circle svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: alsDrawStroke 0.5s 0.12s ease forwards;
}
@keyframes alsPopIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
@keyframes alsDrawStroke {
    to { stroke-dashoffset: 0; }
}

.als-popup-title {
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.als-popup-text {
    font-size: 14.5px;
    color: var(--color-text-secondary);
    line-height: 1.65;
    margin-bottom: 22px;
}

/* Indeterminate Sending Shimmer Bar */
.als-send-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    margin-top: 6px;
}
.als-send-progress-bar {
    position: absolute;
    top: 0;
    left: -45%;
    width: 45%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 999px;
    box-shadow: 0 0 14px #00d1ff;
    animation: alsShimmerSweep 1.3s ease-in-out infinite;
}
@keyframes alsShimmerSweep {
    0% { left: -45%; width: 40%; }
    50% { width: 60%; }
    100% { left: 105%; width: 40%; }
}
.als-send-substatus {
    margin-top: 12px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* Action Buttons inside Popup */
.als-popup-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.als-popup-btn {
    width: 100%;
    padding: 13px 24px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 10px 26px rgba(0, 209, 255, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.als-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 209, 255, 0.38);
    color: #ffffff;
}

@media (max-width: 480px) {
    .als-popup-card {
        padding: 28px 20px 24px;
        border-radius: 20px;
    }
    .als-popup-visual {
        width: 82px;
        height: 82px;
        margin-bottom: 16px;
    }
    .als-state-circle {
        width: 72px;
        height: 72px;
    }
    .als-popup-title {
        font-size: 19px;
    }
    .als-popup-text {
        font-size: 13.5px;
    }
}
