/* ============ Reset & Base ============ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple-600: #7C3AED;
    --purple-700: #6D28D9;
    --purple-100: #EDE9FE;
    --purple-50: #F5F3FF;
    --gray-600: #4B5563;
    --gray-800: #1F2937;
    --white: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============ Navbar ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--gray-800);
    letter-spacing: -0.5px;
}

.logo-health {
    font-weight: 400;
    color: var(--gray-600);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--purple-600);
}

.nav-cta {
    background: var(--purple-600);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
    background: var(--purple-700);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 20px 40px 24px;
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,0.06);
}

.mobile-menu .nav-cta {
    text-align: center;
}

/* ============ Hero ============ */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--white) 0%, var(--purple-50) 50%, #f0e6ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 40px 60px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 560px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1.5px solid var(--purple-600);
    border-radius: 50px;
    margin-bottom: 32px;
}

.hero-badge span {
    font-size: 14px;
    font-weight: 600;
    color: var(--purple-600);
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--gray-800);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-cta {
    display: inline-block;
    background: var(--purple-600);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.hero-cta:hover {
    background: var(--purple-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}

/* ============ Hero Visual ============ */
.hero-visual {
    flex: 1;
    position: relative;
    min-height: 520px;
    max-width: 580px;
}

.visual-main {
    position: relative;
    z-index: 1;
}

.receptionist-image {
    width: 380px;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(160deg, #e8dff5 0%, #d4c5ed 100%);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.15);
}

.receptionist-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    background: rgba(124, 58, 237, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.play-button:hover {
    transform: translateX(-50%) scale(1.1);
    background: var(--purple-600);
}

.receptionist-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.label-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.label-name {
    font-size: 18px;
    color: var(--white);
    font-weight: 700;
}

/* ============ Floating Cards ============ */
.float-card {
    position: absolute;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    z-index: 5;
    animation: floatIn 0.8s ease-out both;
}

.calendar-card {
    top: 20px;
    right: -20px;
    padding: 16px 18px;
    width: 220px;
    animation-delay: 0.2s;
}

.calendar-header {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gray-800);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 6px;
}

.calendar-days span {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-600);
    text-align: center;
    padding: 2px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-grid span {
    font-size: 11px;
    text-align: center;
    padding: 4px 2px;
    border-radius: 50%;
    color: var(--gray-800);
}

.calendar-grid span.dim {
    color: #ccc;
}

.calendar-grid span.active {
    background: var(--purple-600);
    color: var(--white);
    font-weight: 600;
}

.user-badge {
    top: 10px;
    right: -65px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 20px;
    animation-delay: 0.4s;
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--purple-600);
}

.user-status {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
}

.meeting-card {
    bottom: 80px;
    right: -40px;
    padding: 16px 20px;
    width: 240px;
    animation-delay: 0.6s;
}

.meeting-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.meeting-details {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meeting-avatar {
    flex-shrink: 0;
}

.meeting-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
    display: block;
}

.meeting-time {
    font-size: 11px;
    color: var(--gray-600);
}

.specialty-tag {
    bottom: 30px;
    right: -10px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 20px;
    animation-delay: 0.8s;
}

.specialty-tag span {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
}

/* ============ Talk Now Button ============ */
.talk-now-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 20px 8px 8px;
    border-radius: 50px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 50;
}

.talk-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.16);
}

.talk-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.talk-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
}

/* ============ Animations ============ */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.calendar-card { animation: floatIn 0.8s ease-out 0.2s both, float 4s ease-in-out 1.2s infinite; }
.user-badge    { animation: floatIn 0.8s ease-out 0.4s both, float 4s ease-in-out 1.4s infinite; }
.meeting-card  { animation: floatIn 0.8s ease-out 0.6s both, float 4s ease-in-out 1.8s infinite; }
.specialty-tag { animation: floatIn 0.8s ease-out 0.8s both, float 4s ease-in-out 2.0s infinite; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 60px 24px 40px;
        gap: 40px;
    }

    .hero-content {
        max-width: 600px;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-visual {
        max-width: 420px;
        margin: 0 auto;
    }

    .calendar-card { right: 0; }
    .user-badge { right: -20px; }
    .meeting-card { right: 0; }
    .specialty-tag { right: 20px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu.open {
        display: flex;
    }

    .nav-container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-visual {
        min-height: 400px;
    }

    .receptionist-image {
        width: 280px;
        height: 360px;
    }

    .calendar-card {
        width: 180px;
        right: -10px;
        top: 0;
    }

    .meeting-card {
        width: 200px;
        right: -10px;
    }

    .user-badge {
        right: -10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-badge span {
        font-size: 12px;
    }

    .receptionist-image {
        width: 240px;
        height: 320px;
    }

    .float-card {
        transform: scale(0.85);
    }
}
