*,
::after,
::before {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: Outfit, sans-serif;
    overflow-x: hidden;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Figtree, sans-serif;
}

.grad-text {
    background: linear-gradient(135deg, #818cf8 0, #06b6d4 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.grad-text-warm {
    background: linear-gradient(135deg, #f472b6 0, #fb923c 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.glass,
.iti__dropdown-content {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(20px);
}
#morePagesDropdown,
.langDropdown {
    background: rgba(255, 255, 255, 1) !important;
}
.dark #morePagesDropdown,
.dark .langDropdown {
    background: rgba(15, 23, 42, 1) !important;
}
.dark .glass,
.dark .iti__dropdown-content {
    background: rgba(15, 23, 42, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
select.form-input option {
    background: rgba(255, 255, 255, 1) !important;
    color: #0f172a;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #f8fafc inset !important;
    -webkit-text-fill-color: #0f172a !important;
    caret-color: #0f172a;
    border: 1px solid #cbd5e1 !important;
    outline: none !important;
}

.dark input:-webkit-autofill,
.dark input:-webkit-autofill:hover,
.dark input:-webkit-autofill:focus,
.dark input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #0f172a inset !important;
    -webkit-text-fill-color: #f8fafc !important;
    caret-color: #f8fafc;
    border: 1px solid #475569 !important;
    outline: none !important;
}

.dark select.form-input option {
    background: rgba(15, 23, 42, 1) !important;
    color: #f8fafc;
}
.btn-primary {
    background: linear-gradient(
        to top right,
        rgb(var(--color-primary-500)),
        rgb(var(--color-primary-600)),
        rgb(var(--color-primary-700))
    );
    border: 1px solid rgb(var(--color-primary-600));
    color: #fff;
    font-weight: 500;
    box-shadow: 0 4px 14px 0 rgba(var(--color-primary-shade-600), 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-secondary {
    background: #000000;
    border: 1px solid rgba(15, 23, 42, 0.15);
    color: #fff;
    font-weight: 500;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.28);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.dark .btn-primary {
    background: linear-gradient(
        to top right,
        rgb(var(--color-primary-600)),
        rgb(var(--color-primary-800)),
        rgb(var(--color-primary-900))
    );
    border: 1px solid rgb(var(--color-primary-700));
}
.dark .btn-secondary {
    background-color: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}
.btn-secondary:hover {
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}
.btn-primary:hover,
.btn-pricing:hover {
    box-shadow: 0 6px 20px rgba(var(--color-primary-shade-700), 0.3);
    transform: translateY(-2px);
}
.btn-primary:disabled {
    cursor: not-allowed;
}
.btn-ghost {
    background: transparent;
    border: 1px solid rgba(15, 23, 42, 0.15);
    color: #0f172a;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-ghost:hover {
    background: rgba(15, 23, 42, 0.03);
    border-color: rgba(15, 23, 42, 0.3);
    transform: translateY(-2px);
}
.dark .btn-ghost {
    border-color: rgba(255, 255, 255, 0.15);
    color: #f8fafc;
}
.dark .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}
.btn-primary:active,
.btn-secondary:active,
.btn-ghost:active {
    transform: scale(0.98);
}
.form-input {
    appearance: none;
    width: 100%;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    placeholder-weight: 400;
    transition:
        border-color 0.3s,
        box-shadow 0.3s,
        color 0.3s;
}
.form-input.with-toggle-password {
    padding-inline-end: 4rem !important;
}
.form-input.with-country-code {
    padding-inline-start: 5.2rem !important;
}
.form-input::placeholder {
    font-weight: 300 !important;
}
.dark .form-input {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}
.form-input:focus {
    outline: 0;
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.17);
}
.dark .form-input:focus {
    outline: 0;
    border-color: #475569;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.15);
}
.ps-10 {
    padding-inline-start: 2.5rem !important;
}
.px-10 {
    padding-inline: 2.5rem !important;
}
input[type="password"] {
    padding-right: 3rem;
}
.form-checkbox {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.375rem;
    border: 2px solid #cbd5e1;
    transition: all 0.2s;
    cursor: pointer;
}
.dark .form-checkbox {
    border-color: #4b5563;
}
.form-checkbox:checked {
    background-color: #6366f1;
    border-color: #6366f1;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}
input::-ms-clear,
input::-ms-reveal {
    display: none;
}
.link-input-wrap {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.link-input-wrap:focus-within {
    border-color: rgb(var(--color-primary-300));
    box-shadow: 0 0 0 3px rgba(var(--color-primary-shade-600), 0.17);
}
.dark .link-input-wrap {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.dark .link-input-wrap:focus-within {
    border-color: rgb(var(--color-primary-700));
    box-shadow: 0 0 0 3px rgba(var(--color-primary-shade-800), 0.8);
}
.link-input {
    background: transparent;
    outline: 0;
    width: 100%;
    color: #94a3b8;
}
.link-input::placeholder {
    color: #94a3b8;
}
.dark .link-input::placeholder {
    color: #64748b;
}
.grid-bg {
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-attachment: fixed;
    background-size: 60px 60px;
}
.dark .grid-bg {
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
}
#navbar {
    transition: all 0.4s ease;
}
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}
.dark #navbar.scrolled {
    background: rgba(10, 15, 28, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
#langDropdown {
    transform-origin: top right;
}
.faq-card,
.feature-card,
.hover-card,
.pricing-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-card:hover,
.feature-card:hover,
.hover-card:hover,
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    border-color: rgba(99, 102, 241, 0.3) !important;
}
.dark .faq-card:hover,
.dark .feature-card:hover,
.dark .hover-card:hover,
.dark .pricing-card:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}
.blog-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}
.dark .blog-card:hover {
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}
.blog-card img {
    transition: transform 0.3s ease-in-out;
}
.blog-card:hover img {
    transform: scale(1.05);
}
.glitch-hover {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glitch-hover:hover {
    transform: scale(1.05) rotate(-2deg);
}
.progress-bar,
.progress-bar-container {
    width: 100%;
    height: 6px;
    background-color: rgba(15, 23, 42, 0.05);
    border-radius: 999px;
    overflow: hidden;
}
.dark .progress-bar,
.dark .progress-bar-container {
    background-color: rgba(255, 255, 255, 0.1);
}
.progress-bar-fill,
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #06b6d4);
    width: 0;
    border-radius: 999px;
}
.demo-tab {
    background: transparent;
    color: #64748b;
    border: 1px solid transparent;
}
.demo-tab.active {
    background: #6366f1;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}
.dark .demo-tab {
    color: #94a3b8;
}
.dark .demo-tab.active {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    color: #fff;
}
.demo-panel {
    display: none;
}
.demo-panel.active {
    display: block;
}
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}
.faq-content {
    overflow: hidden;
}
.prose {
    max-width: 100%;
}
.prose-blog {
    max-width: 75ch;
}
.prose-lg {
    font-size: 1.125rem;
}
.dark .prose-invert {
    --tw-prose-body: #cbd5e1;
    --tw-prose-headings: #fff;
    --tw-prose-lead: #94a3b8;
    --tw-prose-links: #818cf8;
    --tw-prose-bold: #fff;
    --tw-prose-counters: #94a3b8;
    --tw-prose-bullets: #4f46e5;
    --tw-prose-hr: #334155;
    --tw-prose-quotes: #f1f5f9;
    --tw-prose-quote-borders: #4f46e5;
    --tw-prose-captions: #94a3b8;
}
.prose h2 {
    font-family: Figtree, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    scroll-margin-top: 120px;
}
.prose h3 {
    font-family: Figtree, sans-serif;
    font-weight: 700;
    scroll-margin-top: 120px;
}
.prose a {
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
    transition: border-color 0.2s;
}
.prose a:hover {
    border-bottom-color: #6366f1;
}
.prose blockquote {
    font-weight: 500;
    font-style: normal;
    border-left-width: 4px;
    padding-left: 1.5rem;
}
.prose img {
    border-radius: 1.5rem;
}
#heroContent > *,
#pageHeader > *,
#postHeader > *,
.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
}

/* ── Float Cards ── */
#floatCard1 {
    transform: rotate(-4deg);
}

#floatCard2 {
    transform: rotate(4deg);
}

/* ── Shorten Button Progress Bar ── */
#btnProgress {
    width: 0%;
}

/* ── Logos Bar: Vercel italic ── */
.logo-vercel {
    font-style: italic;
}

/* ── Demo Section Background Gradient ── */
.demo-bg-gradient {
    background: radial-gradient(
        ellipse 60% 40% at 50% 50%,
        rgba(99, 102, 241, 0.05) 0%,
        transparent 70%
    );
}

/* ── Analytics: Fake Bar Chart Bars ── */
.bar-h-40 {
    height: 40%;
}

.bar-h-45 {
    height: 45%;
}

.bar-h-48 {
    height: 48%;
}

.bar-h-55 {
    height: 55%;
}

.bar-h-60 {
    height: 60%;
}

.bar-h-65 {
    height: 65%;
}

.bar-h-70 {
    height: 70%;
}

.bar-h-72 {
    height: 72%;
}

.bar-h-80 {
    height: 80%;
}

.bar-h-85 {
    height: 85%;
}

.bar-h-90 {
    height: 90%;
}

.bar-h-100 {
    height: 100%;
}

/* ── Analytics: Progress Fill Bars ── */
.progress-fill-82 {
    width: 82%;
}

.progress-fill-64 {
    width: 64%;
}

.progress-fill-42 {
    width: 42%;
}

/* ── Testimonials Section: Background Gradient ── */
.testimonials-bg-gradient {
    background: radial-gradient(
        ellipse 60% 40% at 80% 50%,
        rgba(167, 139, 250, 0.07) 0%,
        transparent 70%
    );
}

/* ── CTA Section: Background Gradient ── */
.cta-bg-gradient {
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.08) 0%,
        rgba(6, 182, 212, 0.05) 50%,
        rgba(167, 139, 250, 0.08) 100%
    );
}

/* Custom Scrollbar for the dropdown */
.scrollbar-thin::-webkit-scrollbar {
    width: 6px;
}

.scrollbar-thin::-webkit-scrollbar-track {
    background: transparent;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
    background-color: rgba(156, 163, 175, 0.5);
    border-radius: 20px;
}

.dark .scrollbar-thin::-webkit-scrollbar-thumb {
    background-color: rgba(75, 85, 99, 0.5);
}

.bg-brand-bgLight {
    --tw-bg-opacity: 1;
    background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
}

.dark\:bg-brand-bgDark:is(.dark *) {
    --tw-bg-opacity: 1;
    background-color: rgb(10 15 28 / var(--tw-bg-opacity, 1));
}

.whatapp-chatbot {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 0 6px rgba(5, 5, 5, 0.4);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}
.whatapp-chatbot-icon {
    margin-left: 1px;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes floatY {
    0%,
    100% {
        transform: translateY(0) rotate(-6deg);
    }

    50% {
        transform: translateY(-12px) rotate(-6deg);
    }
}

@keyframes floatY1 {
    0%,
    100% {
        transform: translateY(0) rotate(6deg);
    }

    50% {
        transform: translateY(-12px) rotate(6deg);
    }
}

.themeSwiper .swiper-wrapper {
    align-items: center;
}

.themeSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    transition: all 0.4s ease;
}

/* CARD */
.themeSwiper .theme-card {
    position: relative;
    border-radius: 32px;
    overflow: visible;
    box-sizing: border-box;
}

.themeSwiper .theme-card img {
    width: 180px;
    display: block;
    border-radius: 28px;
    transition: all 0.45s ease;
}

@media (min-width: 640px) {
    .themeSwiper .theme-card img {
        width: 210px;
    }
}

@media (min-width: 1024px) {
    .themeSwiper .theme-card img {
        width: 245px;
    }
}

/* DEFAULT */
.themeSwiper .swiper-slide .theme-card {
    transform: scale(0.75);
    opacity: 0.45;
}

/* SIDE */
.themeSwiper .swiper-slide-prev .theme-card,
.themeSwiper .swiper-slide-next .theme-card {
    transform: scale(0.86);
    opacity: 0.72;
}

/* ACTIVE */
.themeSwiper .swiper-slide-active .theme-card {
    transform: scale(1);
    opacity: 1;
    padding: 8px;
    background: #1c1c1e;
    border-radius: 34px;
}

/* DARK MODE */
.dark .themeSwiper .swiper-slide-active .theme-card {
    background: rgb(30 41 59);
}

/* Dynamic Island */
.themeSwiper .swiper-slide-active .theme-card::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 34%;
    height: 17px;
    border-radius: 999px;
    background: #0f0f0f;
    z-index: 5;
}

/* Volume Buttons */
.themeSwiper .swiper-slide-active .theme-card::after {
    content: "";
    position: absolute;
    left: -3px;
    top: 90px;
    width: 3px;
    height: 30px;
    border-radius: 10px;
    background: #666;
    box-shadow: 0 40px 0 #666;
}

/* Power Button */
.themeSwiper .swiper-slide-active .power-btn {
    position: absolute;
    right: -3px;
    top: 110px;
    width: 3px;
    height: 50px;
    border-radius: 10px;
    background: #666;
}

/* MOBILE */
@media (max-width: 768px) {
    .themeSwiper .swiper-slide .theme-card {
        transform: scale(0.72);
        opacity: 0.45;
    }

    .themeSwiper .swiper-slide-active .theme-card {
        transform: scale(0.95);
    }

    .themeSwiper .swiper-slide-active .theme-card::before {
        height: 15px;
    }
}

@keyframes slideFront {
    0%,
    40% {
        transform: translateX(0%);
    }

    50%,
    100% {
        transform: translateX(-100%);
    }
}

@keyframes slideBack {
    0%,
    40% {
        transform: translateX(100%);
    }

    50%,
    100% {
        transform: translateX(0%);
    }
}

@keyframes marquee-ltr {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes marquee-rtl {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(50%);
    }
}

.animate-marquee-ltr {
    animation: marquee-ltr linear infinite;
}

.animate-marquee-rtl {
    animation: marquee-rtl linear infinite;
}
.iti {
    width: 100%;
}
.iti__search-input {
    width: 100%;
    padding: 0.75rem !important;
    background: rgba(255, 255, 255, 1);
}

.dark .iti__search-input {
    background: rgba(15, 23, 42, 1);
}

.iti__search-input:focus {
    outline: 0;
    border: none;
    box-shadow: none;
}

.iti--separate-dial-code .iti__selected-country,
.iti__selected-country-primary {
    border-radius: 0.75rem 0 0 0.75rem !important;
}

.iti__country-list {
    overflow-x: hidden;
}

.iti__dropdown-content {
    border-radius: 0.75rem !important;
    overflow: hidden;
    max-width: 278px;
}

.dark .iti__country-name,
.dark .iti__search-input {
    color: var(--iti-dialcode-color);
}

.dark .iti--inline-dropdown .iti__dropdown-content {
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}
