:root { 
    --primary-purple: #6F2DBD; 
    --vibrant-purple: #A663CC;
    --soft-lavender: #B298DC;
    --electric-blue: #B8D0EB;
    --cyan-glow: #B9FAF8;
    --soft-bg: #f8f9fa;
    --glass-white: rgba(255, 255, 255, 0.85);
    --glass-dark: rgba(111, 45, 189, 0.08);
}

body { 
    font-family: 'Inter', sans-serif; 
    background-color: #ffffff; 
    color: #1a1a2e;
    overflow-x: hidden;
}

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

@keyframes glow-pulse {
    0%, 100% { opacity: 0.3; filter: blur(60px); }
    50% { opacity: 0.6; filter: blur(80px); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-left { animation: slideInLeft 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards; }
.animate-right { animation: slideInRight 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards; }
.fade-up { animation: fadeInUp 1s ease-out forwards; }

.hero-dock {
    padding: 120px 0 160px;
    background: 
        radial-gradient(circle at 0% 0%, rgba(185, 250, 248, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(166, 99, 204, 0.2) 0%, transparent 60%),
        linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
    border-radius: 0 0 80px 80px;
    position: relative;
    overflow: hidden;
}

.hero-dock h1 {
    font-weight: 900;
    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 1.1;
    letter-spacing: -3px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--vibrant-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 25px;
}

.hero-dock p {
    font-size: 1.3rem;
    color: #4a5568;
    margin-bottom: 45px;
    font-weight: 500;
    max-width: 550px;
    line-height: 1.5;
}

.stat-bubble {
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    border-radius: 60px;
    padding: 12px 24px;
    border: 1px solid var(--electric-blue);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(111, 45, 189, 0.1);
}

.stat-number {
    font-size: 1.8rem;
    color: var(--primary-purple);
    line-height: 1;
}

.hero-slideshow-container {
    position: relative;
    transform: rotate(-3deg);
    z-index: 2;
    transition: transform 0.3s ease;
}

.hero-slideshow-container:hover {
    transform: rotate(-2deg) scale(1.02);
}

.carousel-inner {
    border-radius: 48px;
    border: 8px solid white;
    box-shadow: 0 40px 80px rgba(111, 45, 189, 0.2);
    overflow: hidden;
}

.carousel-item {
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(111,45,189,0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.service-float-tag {
    position: absolute;
    bottom: 35px;
    left: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 18px 32px;
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 1px solid var(--electric-blue);
    transform: rotate(3deg);
    z-index: 10;
    transition: all 0.3s ease;
}

.service-float-tag:hover {
    transform: rotate(3deg) scale(1.05);
    background: white;
    border-color: var(--vibrant-purple);
}

.badge-vetted-sm {
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--primary-purple);
    background: var(--cyan-glow);
    padding: 5px 12px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 8px;
    letter-spacing: 1.5px;
}

.main-search {
    background: white;
    padding: 8px;
    border-radius: 80px;
    box-shadow: 0 25px 50px rgba(111, 45, 189, 0.12);
    border: 2px solid rgba(166, 99, 204, 0.2);
    display: flex;
    align-items: center;
    max-width: 600px;
    transition: all 0.3s ease;
}

.main-search:focus-within {
    border-color: var(--vibrant-purple);
    box-shadow: 0 30px 60px rgba(111, 45, 189, 0.2);
    transform: translateY(-2px);
}

.main-search input { 
    border: none; 
    padding: 18px 24px; 
    font-weight: 600; 
    flex-grow: 1; 
    background: transparent;
    font-size: 1rem;
}
.main-search input:focus { outline: none; }
.main-search input::placeholder {
    color: #cbd5e0;
    font-weight: 500;
}

.btn-brand-lg {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--vibrant-purple) 100%);
    color: white !important;
    border-radius: 60px;
    padding: 14px 40px;
    font-weight: 800;
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 0.5px;
}

.btn-brand-lg:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(111, 45, 189, 0.3);
}

.trust-dock { 
    background: rgba(111, 45, 189, 0.95);
    backdrop-filter: blur(10px);
    padding: 45px 0; 
    border-radius: 60px; 
    margin-top: -80px;
    position: relative;
    z-index: 5;
    box-shadow: 0 30px 60px rgba(111, 45, 189, 0.25);
    border: 1px solid rgba(255,255,255,0.2);
}

.trust-item { 
    color: white; 
    text-align: center; 
    border-right: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
    cursor: default;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-item i { 
    color: var(--cyan-glow); 
    font-size: 2.5rem; 
    margin-bottom: 12px; 
    display: block;
    transition: all 0.3s ease;
}

.trust-item:hover i {
    transform: scale(1.1);
}

.trust-item span { 
    font-size: 0.8rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 2px;
    display: block;
}

.cat-card {
    background: white;
    border-radius: 48px;
    padding: 20px;
    border: 1px solid var(--electric-blue);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}

.cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(166, 99, 204, 0.1), transparent);
    transition: left 0.6s ease;
}

.cat-card:hover::before {
    left: 100%;
}

.cat-card:hover {
    transform: translateY(-16px) scale(1.02);
    border-color: var(--vibrant-purple);
    box-shadow: 0 40px 70px rgba(111, 45, 189, 0.2);
}

.cat-thumb {
    height: 280px;
    border-radius: 38px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cat-card:hover .cat-thumb {
    transform: scale(1.05);
}

.glass-label {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--primary-purple);
    letter-spacing: 1.5px;
    border: 1px solid rgba(166, 99, 204, 0.3);
}

.social-proof {
    background: linear-gradient(135deg, var(--soft-bg) 0%, #ffffff 100%);
    border-radius: 60px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: white;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(111, 45, 189, 0.08);
    border: 1px solid var(--electric-blue);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(111, 45, 189, 0.15);
}

.star-rating {
    color: #ffc107;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.cta-dramatic {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #4a1d7a 100%);
    border-radius: 60px;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--cyan-glow);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

.carousel-fade .carousel-item { 
    opacity: 0; 
    transition: opacity 0.8s ease-in-out; 
}
.carousel-fade .carousel-item.active { 
    opacity: 1; 
}

@media (max-width: 768px) {
    .hero-dock { padding: 80px 0 120px; border-radius: 0 0 40px 40px; }
    .hero-dock h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
    .hero-dock p { font-size: 1rem; max-width: 100%; }
    .trust-dock { border-radius: 40px; margin-top: -40px; padding: 30px 0; }
    .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 16px; }
    .trust-item:last-child { border-bottom: none; }
    .trust-item i { font-size: 2rem; }
    .cat-card { border-radius: 32px; }
    .cat-thumb { border-radius: 24px; height: 200px; }
    .service-float-tag { padding: 10px 16px; bottom: 12px; left: 12px; }
    .service-float-tag h6 { font-size: 0.85rem; }
    .btn-brand-lg { padding: 12px 25px; font-size: 0.9rem; }
    .main-search { max-width: 100%; flex-wrap: wrap; border-radius: 40px; }
    .main-search input { padding: 14px 18px; font-size: 0.9rem; width: 100%; }
    .social-proof { border-radius: 40px; padding: 40px 20px; }
    .testimonial-card { padding: 24px; }
    .cta-dramatic { border-radius: 40px; }
    .stat-bubble { padding: 10px 18px; }
    .stat-number { font-size: 1.4rem; }
    .carousel-inner { border-radius: 32px; border-width: 6px; }
}

@media (max-width: 576px) {
    .hero-dock { padding: 40px 0 80px; border-radius: 0 0 30px 30px; }
    .hero-dock h1 { font-size: clamp(1.6rem, 10vw, 2rem); letter-spacing: -1px; }
    .hero-dock p { font-size: 0.9rem; margin-bottom: 30px; }
    .cat-thumb { height: 160px; border-radius: 20px; }
    .cat-card { border-radius: 24px; padding: 16px; }
    .cat-card:hover { transform: translateY(-8px) scale(1.01); }
    .trust-dock { border-radius: 30px; padding: 24px 0; margin-top: -30px; }
    .social-proof { border-radius: 30px; padding: 24px 16px; }
    .testimonial-card { padding: 20px; }
    .testimonial-card:hover { transform: translateY(-4px); }
    .cta-dramatic { border-radius: 30px; }
    .cta-dramatic h2 { font-size: 1.5rem; }
    .cta-glow { width: 200px; height: 200px; }
    .stat-bubble { padding: 8px 14px; gap: 8px; }
    .stat-number { font-size: 1.2rem; }
    .service-float-tag { display: block; padding: 8px 14px; bottom: 10px; left: 10px; right: auto; max-width: calc(100% - 20px); border-radius: 16px; transform: none; }
    .service-float-tag h6 { font-size: 0.8rem; margin-bottom: 2px; }
    .service-float-tag small, .service-float-tag p { font-size: 0.7rem; }
    .main-search { max-width: 100%; }
    .main-search input { padding: 12px 16px; font-size: 0.85rem; }
    .btn-brand-lg { padding: 10px 20px; font-size: 0.85rem; width: 100%; text-align: center; }
    .carousel-inner { border-radius: 24px; border-width: 4px; }
    .glass-label { padding: 6px 14px; font-size: 0.6rem; }
    .floating-chatbot {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }
    .floating-chatbot i {
        font-size: 1.2rem;
    }
}

@media (max-width: 400px) {
    .hero-dock { padding: 40px 0 60px; border-radius: 0 0 20px 20px; }
    .hero-dock h1 { font-size: 1.8rem; letter-spacing: -1px; }
    .hero-dock p { font-size: 0.85rem; }
    .trust-dock { border-radius: 20px; margin-top: -20px; padding: 20px 0; }
    .stat-bubble { padding: 6px 12px; gap: 6px; }
    .stat-number { font-size: 1.1rem; }
    .main-search { border-radius: 30px; }
    .main-search input { padding: 10px 14px; font-size: 0.8rem; }
    .btn-brand-lg { padding: 8px 15px; font-size: 0.8rem; }
    .carousel-inner { border-radius: 16px; border-width: 3px; }
}

.floating-chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1040;
    width: 60px;
    height: 60px;
    background: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(111, 45, 189, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-chatbot:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(111, 45, 189, 0.4);
}

.floating-chatbot i {
    color: white;
    font-size: 1.5rem;
}
