/**
 * Cliniko Redesign - Premium SaaS
 * Centered title, icons below, image as background
 */

/* HERO */
.cliniko-hero {
    position: relative !important;
    background: #ffffff !important;
    overflow: hidden !important;
    padding: 0 !important;
    padding-top: 70px !important;
    padding-bottom: 120px !important;
    margin: 0 !important;
    min-height: auto !important;
}

/* Ambient glow - top right */
.cliniko-hero::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    width: 600px !important;
    height: 600px !important;
    background: radial-gradient(circle, rgba(147,51,234,0.08) 0%, rgba(255,255,255,0) 70%) !important;
    top: -150px !important;
    right: -100px !important;
    border-radius: 50% !important;
    filter: blur(60px) !important;
    z-index: 1 !important;
}

/* Ambient glow - bottom left */
.cliniko-hero::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    width: 400px !important;
    height: 400px !important;
    background: radial-gradient(circle, rgba(93,63,211,0.05) 0%, rgba(255,255,255,0) 70%) !important;
    bottom: 0 !important;
    left: -100px !important;
    border-radius: 50% !important;
    filter: blur(50px) !important;
    z-index: 1 !important;
}

/* Background image - left side */
.hero-bg-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 30% !important;
    height: 100% !important;
    z-index: 1 !important;
    overflow: hidden !important;
}

.hero-bg-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: brightness(1.08) !important;
    mask-image: linear-gradient(to right, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%) !important;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%) !important;
}

/* Centered content - title and subtitle */
.hero-center-content {
    position: relative !important;
    z-index: 3 !important;
    text-align: center !important;
    padding: 60px 40px 20px !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.hero-main-title {
    font-family: 'Heebo','Assistant',sans-serif !important;
    font-size: 62px !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
    color: #1e1b4b !important;
    margin-bottom: 28px !important;
    text-shadow: none !important;
    text-align: center !important;
}

.hero-main-subtitle {
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: #64748b !important;
    font-weight: 400 !important;
    margin-bottom: 32px !important;
    text-align: center !important;
}

/* Hero CTA Button */
.hero-cta-wrapper {
    text-align: center !important;
    margin-top: 8px !important;
}

.hero-cta-btn {
    background-color: #5D3FD3 !important;
    color: white !important;
    padding: 18px 48px !important;
    border-radius: 14px !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    font-family: 'Heebo', sans-serif !important;
    box-shadow: 0 10px 20px rgba(93, 63, 211, 0.3) !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.hero-cta-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px rgba(93, 63, 211, 0.4) !important;
    background-color: #7B61FF !important;
}

/* 3 STEPS - below title */
.cliniko-steps {
    position: relative !important;
    z-index: 3 !important;
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    padding: 40px 20px 60px !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    direction: ltr !important;
    border-top: none !important;
}

.cliniko-step {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    max-width: 200px !important;
}

.cliniko-step-icon {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 10px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
    position: relative !important;
    border: 1px solid #f1f5f9 !important;
    transition: transform 0.3s ease !important;
}

.cliniko-step-icon:hover { transform: scale(1.08) !important; }
.cliniko-step-icon img { width: 60px !important; height: 60px !important; object-fit: contain !important; }

.cliniko-step-number {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #5D3FD3 !important;
    color: white !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 10px !important;
}

.cliniko-step-label { font-size: 16px !important; font-weight: 700 !important; color: #2D1B69 !important; margin-bottom: 4px !important; }
.cliniko-step-desc { font-size: 13px !important; color: #64748b !important; line-height: 1.4 !important; }
.cliniko-step-arrow { display: flex !important; align-items: center !important; padding-top: 40px !important; }
.cliniko-step-arrow svg path { stroke: #E0E0E0 !important; }

/* HOW IT WORKS section */
.how-it-works-steps { padding: 80px 0 !important; background: #f5f3ff !important; }
.how-it-works-steps .section-title h2 { color: #1e1b4b !important; font-size: 42px !important; font-weight: 800 !important; }
.how-it-works-steps .section-title p { color: #64748b !important; }
.how-it-works-steps .cliniko-steps { border-top: none !important; padding-top: 20px !important; }

/* Section spacing */
.cliniko-benefits, .how-it-works-steps, .why-choose-section, .app-showcase, .pricing, .testimonials, .faq-accordion-section, .how-it-looks-section, .contact {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

/* WHY CHOOSE US - 2x2 Card Grid */
.why-choose-section { padding: 80px 0 !important; background: #ffffff !important; }
.why-choose-section .section-title h2 { color: #2D1B69 !important; font-size: 42px !important; font-weight: 800 !important; margin-bottom: 8px !important; }
.title-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-teal { background: #2E8B57; }
.dot-purple { background: #5D3FD3; }

.why-choose-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.why-card {
    display: flex !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    border: 1px solid #f0f0f0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04) !important;
    transition: all 0.3s ease !important;
    min-height: 260px !important;
}

.why-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important;
    transform: translateY(-4px) !important;
}

.why-card-img {
    flex: 0 0 45% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 30px !important;
    background: linear-gradient(135deg, #f5f3ff 0%, #f0fdf4 100%) !important;
}

.why-card-img img {
    width: 100% !important;
    max-width: 180px !important;
    height: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08)) !important;
}

.why-card-content {
    flex: 1 !important;
    padding: 32px 24px !important;
    text-align: right !important;
    position: relative !important;
}

.why-card-number {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #5D3FD3 !important;
    color: white !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.why-card-number-teal {
    background: #2E8B57 !important;
}

.why-card-content h3 {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #2D1B69 !important;
    margin-bottom: 10px !important;
    line-height: 1.2 !important;
}

.why-card-content p {
    font-size: 14px !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
}

.why-card-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #f8f7ff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #f0f0f0 !important;
}

/* BENEFITS */
.cliniko-benefits { padding: 48px 5% !important; background: #F8F8F8 !important; border-top: 1px solid #f0f0f0 !important; }
.cliniko-benefits-grid { display: grid !important; grid-template-columns: repeat(4,1fr) !important; gap: 24px !important; max-width: 1100px !important; margin: 0 auto !important; }
.cliniko-benefit-item { text-align: center !important; background: #fff !important; border: 1px solid rgba(226,232,240,0.6) !important; border-radius: 28px !important; padding: 40px 25px !important; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.04) !important; transition: all 0.3s ease !important; }
.cliniko-benefit-item:hover { border-color: #5D3FD3 !important; transform: translateY(-8px) !important; box-shadow: 0 20px 40px -15px rgba(0,0,0,0.08) !important; }
.cliniko-benefit-icon { width: 42px !important; height: 42px !important; border-radius: 50% !important; background: #f8f7ff !important; display: flex !important; align-items: center !important; justify-content: center !important; margin: 0 auto 16px !important; }
.cliniko-benefit-icon i { color: #5D3FD3 !important; width: 20px !important; height: 20px !important; }
.cliniko-benefit-item h4 { font-size: 18px !important; font-weight: 700 !important; color: #2D1B69 !important; margin-bottom: 6px !important; }
.cliniko-benefit-item p { font-size: 14px !important; color: #64748b !important; }

/* NAV BUTTONS */
.navbar .register-button, .navbar .login-button, .navbar #authButtons button { width: auto !important; min-width: auto !important; max-width: 180px !important; height: auto !important; padding: 10px 24px !important; font-size: 15px !important; }
.navbar .register-button { background-color: #5D3FD3 !important; border: none !important; border-radius: 10px !important; color: white !important; }
.navbar .login-button { background: transparent !important; border: 2px solid #5D3FD3 !important; border-radius: 10px !important; color: #5D3FD3 !important; }

/* FINAL CTA */
.final-cta-section { background: linear-gradient(180deg, #ffffff 0%, #f8f7ff 100%) !important; }
.final-cta-section button:hover { transform: translateY(-3px) !important; box-shadow: 0 15px 30px rgba(93,63,211,0.4) !important; }

/* Trust bar icon hover */
.cliniko-benefit-icon { transition: transform 0.3s ease !important; }
.cliniko-benefit-icon:hover { transform: scale(1.15) !important; }

/* Hide old elements */
.hero-container, .hero-image-wrapper, .saas-image, .light-glow, .hero-text-content { display: none !important; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .cliniko-hero { padding-top: 20px !important; padding-bottom: 60px !important; }
    .cliniko-hero::before, .cliniko-hero::after { display: none !important; }
    .hero-bg-image { width: 100% !important; height: 260px !important; position: relative !important; border-radius: 0 !important; margin-bottom: 0 !important; }
    .hero-bg-image img { mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%) !important; -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%) !important; object-position: center 55% !important; }
    .hero-main-title { font-size: 34px !important; }
    .hero-center-content { padding: 8px 24px 16px !important; margin-top: -40px !important; position: relative !important; z-index: 4 !important; }
    .cliniko-steps { flex-direction: column !important; align-items: center !important; }
    .cliniko-step-arrow { display: none !important; }
    .cliniko-benefits-grid { grid-template-columns: repeat(2,1fr) !important; }
    .why-choose-grid { grid-template-columns: 1fr !important; }
    .why-card { flex-direction: column !important; }
    .why-card-img { flex: none !important; height: 200px !important; }
}
