/* 
   Dotsaap - Premium UI Override Stylesheet
   Designed for high-end visual aesthetics, modern typography, and smooth micro-animations.
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    --primary-glow: rgba(37, 211, 102, 0.15);
    --dark-slate: #0f172a;
    --light-slate: #475569;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(15, 23, 42, 0.06);
}

/* Global Font & Smooth Scroll Override */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif !important;
    color: var(--light-slate);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, 
.tp-hero__title-lg, 
.tp-section-title, 
.tp-section-title-sm, 
.tp-service__title-sm, 
.tp-price__title,
.tp-brand__title,
.tp-cta__title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700;
    color: var(--dark-slate);
}

/* Floating Glassmorphic Header (Always Fixed) */
#header-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(15px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
    padding: 15px 0 !important;
    z-index: 999 !important;
}

/* Header Links Hover Indicator */
.tp-header__main-menu ul li {
    margin-right: 35px !important;
}

.tp-header__main-menu ul li a {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    color: var(--dark-slate) !important;
    position: relative;
    padding: 6px 0 !important;
    transition: color 0.3s ease !important;
}

.tp-header__main-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.tp-header__main-menu ul li a:hover {
    color: #128C7E !important;
}

.tp-header__main-menu ul li a:hover::after,
.tp-header__main-menu ul li.active a::after {
    width: 100%;
}

/* Login and Dashboard Buttons (Matches User Image) */
.tp-header__right .tp-btn,
.tp-header__right-two .tp-btn-blue,
.tp-btn-blue,
.tp-btn {
    border-radius: 100px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    padding: 14px 36px !important;
    background: linear-gradient(135deg, #1ddc6f 0%, #00a088 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(29, 220, 111, 0.2) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
}

.tp-header__right .tp-btn:hover,
.tp-header__right-two .tp-btn-blue:hover,
.tp-btn-blue:hover,
.tp-btn:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(29, 220, 111, 0.3) !important;
    color: #ffffff !important;
}

/* Main Hero Section Styling */
.tp-hero__bg-2 {
    background: radial-gradient(circle at 10% 20%, rgba(37, 211, 102, 0.06) 0%, transparent 45%),
                radial-gradient(circle at 90% 80%, rgba(1, 126, 250, 0.05) 0%, transparent 45%),
                linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    position: relative;
    overflow: hidden;
    padding-top: 190px !important;
    padding-bottom: 120px !important;
}

/* Floating Ambient Blobs for Hero */
.tp-hero__bg-2::before,
.tp-hero__bg-2::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.tp-hero__bg-2::before {
    width: 250px;
    height: 250px;
    background: rgba(37, 211, 102, 0.12);
    top: 15%;
    left: 8%;
    animation: floatShape 9s infinite alternate ease-in-out;
}

.tp-hero__bg-2::after {
    width: 200px;
    height: 200px;
    background: rgba(1, 126, 250, 0.08);
    bottom: 20%;
    right: 8%;
    animation: floatShape2 11s infinite alternate ease-in-out;
}

@keyframes floatShape {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(40px) scale(1.15); }
}

@keyframes floatShape2 {
    0% { transform: translateY(0) scale(1.1); }
    100% { transform: translateY(-40px) scale(0.9); }
}

/* Title LG Design Upgrade */
.tp-hero__title-lg {
    font-size: 64px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -1.8px !important;
    color: var(--dark-slate) !important;
    margin-bottom: 25px;
}

.tp-hero__title-lg span {
    background: var(--primary-gradient) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block;
    position: relative;
}

.tp-hero__title-lg span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0.2;
    border-radius: 2px;
}

/* Contact Links in Hero */
.tp-hero__contact a {
    display: inline-block;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 10px 24px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: var(--light-slate) !important;
    font-size: 14.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.tp-hero__contact a:hover {
    background: #ffffff;
    border-color: #25D366;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.12);
    color: var(--dark-slate) !important;
    transform: translateY(-2px);
}

.tp-hero__contact a b {
    color: #128C7E !important;
}

/* App Store / Play Store Badge Styling */
.tp-app__thumb-sm-1 a img,
.tp-app__thumb-sm-2 a img {
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.tp-app__thumb-sm-1 a:hover img,
.tp-app__thumb-sm-2 a:hover img {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* Hero Screenshot / Mockup Card */
.tp-hero__thumb-2 {
    margin-top: 40px;
    perspective: 1000px;
    position: relative;
    z-index: 1;
}

.tp-hero__thumb-2 > img {
    border-radius: 24px !important;
    box-shadow: 0 35px 70px rgba(15, 23, 42, 0.12), 
                0 0 0 1px rgba(15, 23, 42, 0.04) !important;
    border: 6px solid #ffffff !important;
    background: #ffffff;
    transition: transform 0.5s ease;
    animation: floatMockup 6s ease-in-out infinite;
}

@keyframes floatMockup {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.tp-hero__thumb-2:hover > img {
    transform: translateY(-4px) rotateX(1deg);
    box-shadow: 0 45px 80px rgba(15, 23, 42, 0.18), 
                0 0 0 1px rgba(15, 23, 42, 0.04) !important;
}

/* Left & Right Ambient Floating Badges */
.tp-hero__img-1 img, 
.tp-hero__img-2 img {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08) !important;
    border: 4px solid #ffffff !important;
    border-radius: 16px !important;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.tp-hero__img-1:hover img, 
.tp-hero__img-2:hover img {
    transform: scale(1.08) translateY(-6px);
    box-shadow: 0 25px 50px rgba(37, 211, 102, 0.15) !important;
}

/* CTA and Logo Brand Areas */
.tp-brand__area {
    background: #ffffff;
    padding-top: 100px !important;
    padding-bottom: 120px !important;
}

.tp-brand__title {
    font-size: 20px !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #64748b !important;
}

.tp-cta__area {
    margin-bottom: 60px;
}

.tp-cta__bg.grey-bg {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border-radius: 24px;
    padding: 60px 50px !important;
}

.tp-cta__title {
    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 700;
    line-height: 1.3;
}

/* Section Title Refinements */
.tp-section-title {
    font-size: 42px !important;
    font-weight: 800 !important;
    letter-spacing: -1.2px !important;
    line-height: 1.25;
    color: var(--dark-slate) !important;
}

/* Feature/Service Grid Section */
.tp-feature__area {
    background: #f8fafc;
}

.tp-service__item.tp-service__inner-item {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border) !important;
    border-radius: 24px !important;
    padding: 40px 30px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.tp-service__item.tp-service__inner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.04) 0%, rgba(1, 126, 250, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.tp-service__item.tp-service__inner-item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 25px 50px rgba(37, 211, 102, 0.06) !important;
    border-color: rgba(37, 211, 102, 0.15) !important;
}

.tp-service__item.tp-service__inner-item:hover::before {
    opacity: 1;
}

.tp-service__item.tp-service__inner-item > * {
    position: relative;
    z-index: 1;
}

/* Icon Box Style */
.tp-service__icon {
    width: 65px;
    height: 65px;
    background: rgba(37, 211, 102, 0.08) !important;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.tp-service__item.tp-service__inner-item:hover .tp-service__icon {
    background: var(--primary-gradient) !important;
    transform: scale(1.05) rotate(4deg);
}

.tp-service__item.tp-service__inner-item:hover .tp-service__icon img {
    filter: brightness(0) invert(1);
}

.tp-service__icon img {
    width: 30px !important;
    height: 30px !important;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Service Titles and Link Buttons */
.tp-service__title-sm {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 12px;
}

.tp-service__title-sm a {
    color: var(--dark-slate) !important;
    transition: color 0.3s ease;
}

.tp-service__title-sm a:hover {
    color: #128C7E !important;
}

.tp-service__content p {
    color: var(--light-slate) !important;
    font-size: 15px !important;
    line-height: 1.6;
}

.tp-service__link a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-slate) !important;
    transition: all 0.3s ease;
}

.tp-service__item:hover .tp-service__link a {
    background: var(--primary-gradient) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.25);
}

.tp-service__link a svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.tp-service__item:hover .tp-service__link a svg {
    transform: translateX(4px);
}

/* Platform / Feature Description Section */
.tp-platform__area {
    background: #ffffff;
    padding-top: 60px;
    padding-bottom: 120px !important;
}

.tp-section-title-sm {
    font-size: 38px !important;
    font-weight: 800 !important;
    line-height: 1.25;
    letter-spacing: -1px !important;
    color: var(--dark-slate) !important;
}

.tp-platform__content p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--light-slate);
}

.tp-platform__content .tp-btn-blue {
    background: var(--primary-gradient) !important;
    border-radius: 30px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    padding: 14px 35px !important;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.15) !important;
}

.tp-platform__content .tp-btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.25) !important;
}

.tp-platform__thumb img {
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06);
    border: 5px solid #ffffff;
}

/* Premium Pricing Cards */
.tp-price__area {
    background: #f8fafc;
}

.tp-price__item {
    background: #ffffff !important;
    border-radius: 24px !important;
    border: 1px solid rgba(15, 23, 42, 0.05) !important;
    padding: 45px 35px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tp-price__item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(37, 211, 102, 0.15) !important;
}

.tp-price__active {
    border: 2px solid #25D366 !important;
    box-shadow: 0 20px 45px rgba(37, 211, 102, 0.15) !important;
}

.tp-price__active::before {
    content: 'Most Popular' !important;
    background: var(--primary-gradient) !important;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
}

.tp-price__title {
    font-size: 38px !important;
    font-weight: 800 !important;
    color: var(--dark-slate) !important;
    letter-spacing: -1.2px !important;
}

.tp-price__small_title {
    font-size: 15px !important;
    color: var(--light-slate) !important;
}

.tp-price__list ul li {
    font-size: 15px !important;
    color: #334155 !important;
    margin-bottom: 12px !important;
}

.tp-price__list ul li i {
    color: #25D366 !important;
    font-size: 16px !important;
    margin-right: 12px !important;
}

.tp-price__list ul li.text-muted i {
    color: #cbd5e1 !important;
}

/* Pricing Buttons */
.tp-price__btn a.tp-btn-blue, 
.tp-price__btn a.tp-btn-border {
    border-radius: 12px !important;
    padding: 14px 28px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.tp-price__btn a.tp-btn-blue {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.15) !important;
}

.tp-price__btn a.tp-btn-blue:hover {
    background: var(--primary-gradient) !important;
    opacity: 0.95;
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.25) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

.tp-price__btn a.tp-btn-border {
    border: 2px solid #e2e8f0 !important;
    background: transparent !important;
    color: var(--dark-slate) !important;
}

.tp-price__btn a.tp-btn-border:hover {
    border-color: #25D366 !important;
    background: rgba(37, 211, 102, 0.04) !important;
    color: #128C7E !important;
    transform: translateY(-2px);
}

/* FAQ Accordion Styling Updates */
.tp-faq__area {
    background: #ffffff;
}

.tp-custom-accordio .accordion-items,
.tp-custom-accordio-3 .accordion-items {
    border-radius: 16px !important;
    border: 1px solid rgba(15, 23, 42, 0.05) !important;
    background: #ffffff !important;
    margin-bottom: 15px !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.01) !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tp-custom-accordio .accordion-items:hover,
.tp-custom-accordio-3 .accordion-items:hover {
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04) !important;
    border-color: rgba(37, 211, 102, 0.1) !important;
}

.tp-custom-accordio .accordion-buttons,
.tp-custom-accordio-3 .accordion-buttons {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16.5px !important;
    color: var(--dark-slate) !important;
    background: transparent !important;
    padding: 22px 25px !important;
    box-shadow: none !important;
    border: none !important;
    transition: all 0.3s ease;
}

.tp-custom-accordio .accordion-buttons::after,
.tp-custom-accordio-3 .accordion-buttons::after {
    font-size: 14px;
    font-weight: 400;
}

.tp-custom-accordio .accordion-buttons:not(.collapsed),
.tp-custom-accordio-3 .accordion-buttons:not(.collapsed) {
    color: #128C7E !important;
    background: rgba(37, 211, 102, 0.02) !important;
}

.tp-custom-accordio .accordion-body,
.tp-custom-accordio-3 .accordion-body {
    padding: 10px 25px 25px 25px !important;
    font-size: 15px !important;
    color: var(--light-slate) !important;
    line-height: 1.65 !important;
}

/* Scroll To Top Button Override */
.scroll-top.scroll-to-target {
    background: var(--primary-gradient) !important;
    border: none !important;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.25) !important;
    transition: all 0.3s ease !important;
}

.scroll-top.scroll-to-target:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35) !important;
}

/* Responsive login buttons header overrides */
.tp-header__login {
    display: inline-flex !important;
    align-items: center;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    color: var(--dark-slate) !important;
    transition: all 0.3s ease;
}

.tp-header__login svg {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.tp-header__login:hover {
    color: #128C7E !important;
}

.tp-header__login:hover svg {
    transform: scale(1.1);
}

/* Off-canvas mobile login button padding & alignment (Matches User Image Capsule Style) */
.tpoffcanvas__login-btn {
    padding: 0 15px;
}

.tpoffcanvas__login-btn .tp-btn,
.tpoffcanvas__login-btn .tp-btn-blue {
    display: block !important;
    width: 100%;
    text-align: center;
    border-radius: 100px !important;
    padding: 14px 25px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    background: linear-gradient(135deg, #1ddc6f 0%, #00a088 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(29, 220, 111, 0.2) !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.tpoffcanvas__login-btn .tp-btn:hover,
.tpoffcanvas__login-btn .tp-btn-blue:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(29, 220, 111, 0.3) !important;
}

/* Global Outlined Button Style */
/* Global Outlined Button Style (Matches User Image) */
.tp-btn-border {
    border: 2px solid #1ddc6f !important;
    background: transparent !important;
    color: #00a088 !important;
    border-radius: 100px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    padding: 12px 34px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.tp-btn-border:hover {
    background: linear-gradient(135deg, #1ddc6f 0%, #00a088 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 10px 25px rgba(29, 220, 111, 0.2) !important;
    transform: translateY(-2px) scale(1.02) !important;
}

@media (max-width: 767px) {
    .tp-header__login span {
        font-size: 14px;
    }
    .tp-header__login svg {
        width: 16px;
        height: 16px;
        margin-right: 5px;
    }
    .tp-header__right-two .tp-btn-blue,
    .tp-header__right-two .tp-btn-border,
    .tp-header__right .tp-btn,
    .tp-header__right .tp-btn-border {
        display: none !important;
    }
}
