/**
 * Appointment Landing Page Styles
 * File: public/assets/css/pages/appointment.css
 * 
 * Premium appointment booking landing page with:
 * - Sophisticated visual hierarchy
 * - Strategic conversion-focused design
 * - Enhanced trust signals
 * - Smooth animations and interactions
 */

/* ==========================================================================
   APPOINTMENT HERO SECTION
   ========================================================================== */

.appointment-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        hsl(350, 70%, 97%) 0%, 
        hsl(270, 50%, 97%) 50%, 
        hsl(0, 0%, 100%) 100%);
    padding: 8rem 0 10rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Background Effects */
.appointment-hero__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.appointment-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.appointment-hero__orb--primary {
    width: 600px;
    height: 600px;
    top: -10%;
    right: -10%;
    background: linear-gradient(135deg, 
        hsl(350, 80%, 85%) 0%, 
        hsl(330, 70%, 85%) 100%);
    animation-delay: 0s;
}

.appointment-hero__orb--secondary {
    width: 500px;
    height: 500px;
    bottom: -15%;
    left: -10%;
    background: linear-gradient(135deg, 
        hsl(220, 50%, 90%) 0%, 
        hsl(200, 40%, 90%) 100%);
    animation-delay: 5s;
}

.appointment-hero__orb--tertiary {
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, 
        hsl(340, 60%, 92%) 0%, 
        hsl(350, 50%, 92%) 100%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Floating Particles */
.appointment-hero__particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: hsl(350, 80%, 70%);
    border-radius: 50%;
    opacity: 0.4;
    animation: bounce-particle 3s ease-in-out infinite;
}

.particle--1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.particle--2 {
    top: 35%;
    right: 15%;
    width: 12px;
    height: 12px;
    background: hsl(270, 70%, 75%);
    animation-delay: 1s;
}

.particle--3 {
    bottom: 30%;
    left: 25%;
    width: 10px;
    height: 10px;
    background: hsl(340, 60%, 80%);
    animation-delay: 2s;
}

@keyframes bounce-particle {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-20px);
        opacity: 0.7;
    }
}

/* Container */
.appointment-hero .container {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   HERO CONTENT
   ========================================================================== */

.appointment-hero__content {
    max-width: 900px;
    margin: 0 auto 5rem;
    text-align: center;
}

/* Premium Badge */
.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, 
        hsl(0, 0%, 100%) 0%, 
        hsl(350, 70%, 98%) 100%);
    border: 1px solid hsl(350, 60%, 90%);
    border-radius: 9999px;
    box-shadow: 
        0 4px 6px -1px hsla(0, 0%, 0%, 0.05),
        0 2px 4px -1px hsla(0, 0%, 0%, 0.03);
    margin-bottom: 2.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(350, 80%, 50%);
    transition: all 0.3s ease;
}

.premium-badge:hover {
    box-shadow: 
        0 10px 15px -3px hsla(0, 0%, 0%, 0.1),
        0 4px 6px -2px hsla(0, 0%, 0%, 0.05);
}

.premium-badge__pulse {
    position: relative;
    display: block;
    width: 12px;
    height: 12px;
}

.premium-badge__pulse::before,
.premium-badge__pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: hsl(350, 80%, 60%);
    border-radius: 50%;
}

.premium-badge__pulse::before {
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.premium-badge__pulse::after {
    width: 8px;
    height: 8px;
    background: hsl(350, 90%, 55%);
    animation: none;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Main Headline */
.appointment-hero__headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    color: hsl(220, 15%, 10%);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.appointment-hero__headline-highlight {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, 
        hsl(350, 80%, 55%) 0%, 
        hsl(270, 70%, 60%) 50%, 
        hsl(340, 75%, 60%) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.appointment-hero__headline-underline {
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        hsl(350, 80%, 55%, 0.5) 0%, 
        hsl(270, 70%, 60%, 0.5) 50%, 
        hsl(340, 75%, 60%, 0.5) 100%);
    border-radius: 9999px;
}

/* Subheadline */
.appointment-hero__subheadline {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.6;
    color: hsl(220, 10%, 40%);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

.appointment-hero__subheadline strong {
    font-weight: 700;
    color: hsl(220, 15%, 20%);
}

/* ==========================================================================
   TRUST BADGES
   ========================================================================== */

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 6rem;
}

.trust-badge {
    position: relative;
    padding: 2.5rem 2rem;
    background: hsla(0, 0%, 100%, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid hsl(220, 10%, 95%);
    border-radius: 1.5rem;
    box-shadow: 
        0 4px 6px -1px hsla(0, 0%, 0%, 0.05),
        0 2px 4px -1px hsla(0, 0%, 0%, 0.03);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-badge:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 25px -5px hsla(0, 0%, 0%, 0.08),
        0 10px 10px -5px hsla(0, 0%, 0%, 0.04);
}

.trust-badge__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    font-size: 2rem;
    box-shadow: 
        0 4px 6px -1px hsla(0, 0%, 0%, 0.1),
        0 2px 4px -1px hsla(0, 0%, 0%, 0.06);
    transition: transform 0.3s ease;
}

.trust-badge:hover .trust-badge__icon {
    transform: scale(1.1) rotate(5deg);
}

.trust-badge__icon--certification {
    background: linear-gradient(135deg, 
        hsl(350, 70%, 96%) 0%, 
        hsl(350, 80%, 94%) 100%);
    color: hsl(350, 80%, 50%);
}

.trust-badge__icon--manual {
    background: linear-gradient(135deg, 
        hsl(270, 60%, 96%) 0%, 
        hsl(270, 70%, 94%) 100%);
    color: hsl(270, 70%, 55%);
}

.trust-badge__icon--support {
    background: linear-gradient(135deg, 
        hsl(140, 50%, 96%) 0%, 
        hsl(140, 60%, 94%) 100%);
    color: hsl(140, 70%, 45%);
}

.trust-badge__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(220, 15%, 10%);
    margin-bottom: 0.5rem;
}

.trust-badge__description {
    font-size: 0.9375rem;
    color: hsl(220, 10%, 45%);
    line-height: 1.5;
}

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */

.process-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 5rem;
    padding: 4rem 0;
}

/* Timeline (desktop only) */
.process-steps__timeline {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        hsl(220, 10%, 85%) 20%, 
        hsl(220, 10%, 85%) 80%, 
        transparent 100%);
    transform: translateY(-50%);
    z-index: 0;
}

.process-step {
    position: relative;
    text-align: center;
    z-index: 1;
}

/* Step Number */
.process-step__number {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 1.5rem;
    box-shadow: 
        0 10px 15px -3px hsla(0, 0%, 0%, 0.1),
        0 4px 6px -2px hsla(0, 0%, 0%, 0.05);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-step:hover .process-step__number {
    transform: scale(1.25) rotate(6deg);
}

.process-step__number--primary {
    background: linear-gradient(135deg, 
        hsl(220, 15%, 10%) 0%, 
        hsl(220, 15%, 25%) 100%);
    color: hsl(0, 0%, 100%);
    border: 4px solid hsl(0, 0%, 100%);
}

.process-step__number--secondary {
    background: hsl(0, 0%, 100%);
    color: hsl(220, 15%, 10%);
    border: 4px solid hsl(220, 10%, 85%);
}

.process-step__number--accent {
    background: linear-gradient(135deg, 
        hsl(350, 80%, 55%) 0%, 
        hsl(340, 75%, 60%) 100%);
    color: hsl(0, 0%, 100%);
    border: 4px solid hsl(0, 0%, 100%);
}

/* Glow Effect */
.process-step__glow {
    position: absolute;
    inset: -20%;
    border-radius: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(20px);
    z-index: -1;
}

.process-step:hover .process-step__glow {
    opacity: 0.3;
}

.process-step__number--primary .process-step__glow {
    background: linear-gradient(135deg, 
        hsl(350, 80%, 55%, 0.4) 0%, 
        hsl(270, 70%, 60%, 0.4) 100%);
}

.process-step__number--secondary .process-step__glow {
    background: linear-gradient(135deg, 
        hsl(270, 70%, 60%, 0.4) 0%, 
        hsl(340, 75%, 60%, 0.4) 100%);
}

.process-step__number--accent .process-step__glow {
    background: linear-gradient(135deg, 
        hsl(350, 80%, 55%, 0.5) 0%, 
        hsl(340, 75%, 60%, 0.5) 100%);
}

.process-step__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: hsl(220, 15%, 10%);
    margin-bottom: 1rem;
}

.process-step__description {
    font-size: 1rem;
    line-height: 1.7;
    color: hsl(220, 10%, 40%);
    padding: 0 1.5rem;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.appointment-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

/* Primary Button */
.btn--primary {
    background: linear-gradient(135deg, 
        hsl(220, 15%, 10%) 0%, 
        hsl(220, 15%, 20%) 50%, 
        hsl(220, 15%, 10%) 100%);
    color: hsl(0, 0%, 100%);
    box-shadow: 
        0 10px 15px -3px hsla(0, 0%, 0%, 0.2),
        0 4px 6px -2px hsla(0, 0%, 0%, 0.1);
}

.btn--primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 20px 25px -5px hsla(0, 0%, 0%, 0.3),
        0 10px 10px -5px hsla(0, 0%, 0%, 0.15);
}

.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        hsl(350, 80%, 55%) 0%, 
        hsl(270, 70%, 60%) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn--primary:hover::before {
    opacity: 1;
}

.btn--primary .btn__text,
.btn--primary .btn__icon {
    position: relative;
    z-index: 1;
}

.btn--primary .btn__icon {
    transition: transform 0.3s ease;
}

.btn--primary:hover .btn__icon {
    transform: translateX(4px);
}

/* Shine Effect */
.btn__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        hsla(0, 0%, 100%, 0.3) 50%, 
        transparent 100%);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.6s ease;
}

.btn--primary:hover .btn__shine {
    transform: translateX(100%) skewX(-15deg);
}

/* Secondary Button */
.btn--secondary {
    background: hsl(0, 0%, 100%);
    color: hsl(220, 15%, 25%);
    border: 2px solid hsl(220, 10%, 85%);
    box-shadow: 
        0 4px 6px -1px hsla(0, 0%, 0%, 0.05),
        0 2px 4px -1px hsla(0, 0%, 0%, 0.03);
}

.btn--secondary:hover {
    transform: translateY(-4px) scale(1.05);
    background: linear-gradient(135deg, 
        hsl(140, 50%, 97%) 0%, 
        hsl(140, 60%, 96%) 100%);
    border-color: hsl(140, 60%, 80%);
    box-shadow: 
        0 10px 15px -3px hsla(0, 0%, 0%, 0.1),
        0 4px 6px -2px hsla(0, 0%, 0%, 0.05);
}

.btn__icon-prefix {
    font-size: 1.5rem;
    color: hsl(140, 70%, 45%);
    transition: transform 0.3s ease;
}

.btn--secondary:hover .btn__icon-prefix {
    transform: scale(1.1);
}

/* ==========================================================================
   OPERATING HOURS
   ========================================================================== */

.operating-hours {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    background: hsla(0, 0%, 100%, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid hsl(220, 10%, 90%);
    border-radius: 9999px;
    box-shadow: 
        0 4px 6px -1px hsla(0, 0%, 0%, 0.05),
        0 2px 4px -1px hsla(0, 0%, 0%, 0.03);
}

.operating-hours i {
    color: hsl(350, 80%, 55%);
    font-size: 1.25rem;
}

.operating-hours p {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: hsl(220, 10%, 30%);
}

.operating-hours strong {
    font-weight: 700;
    color: hsl(220, 15%, 10%);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .appointment-hero {
        padding: 6rem 0 8rem;
    }

    .appointment-hero__headline {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

    .trust-badges {
        gap: 1.5rem;
    }

    .process-steps {
        gap: 3rem;
    }

    .process-steps__timeline {
        display: none;
    }
}

@media (max-width: 768px) {
    .appointment-hero {
        padding: 5rem 0 6rem;
        min-height: auto;
    }

    .appointment-hero__content {
        margin-bottom: 3rem;
    }

    .appointment-hero__headline {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        margin-bottom: 1.5rem;
    }

    .appointment-hero__subheadline {
        font-size: 1.125rem;
    }

    .trust-badges {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 4rem;
    }

    .trust-badge {
        padding: 2rem 1.5rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2rem 0;
        margin-bottom: 3rem;
    }

    .process-step__number {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .process-step__title {
        font-size: 1.5rem;
    }

    .process-step__description {
        padding: 0 1rem;
    }

    .appointment-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 400px;
        padding: 1.125rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .appointment-hero {
        padding: 4rem 0 5rem;
    }

    .premium-badge {
        padding: 0.5rem 1.25rem;
        font-size: 0.6875rem;
        margin-bottom: 2rem;
    }

    .appointment-hero__headline {
        margin-bottom: 1.25rem;
    }

    .trust-badge {
        padding: 1.75rem 1.25rem;
    }

    .trust-badge__icon {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }

    .trust-badge__title {
        font-size: 1.125rem;
    }

    .process-step__number {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    .btn {
        padding: 1rem 1.75rem;
    }

    .operating-hours {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   ACCESSIBILITY & REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States for Keyboard Navigation */
.btn:focus-visible,
.premium-badge:focus-visible {
    outline: 3px solid hsl(350, 80%, 55%);
    outline-offset: 3px;
}