/* ===========================
   Smart Doc - Landing Page
   Enhanced Edition
   =========================== */

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

:root {
    --teal: #4FD1C5;
    --teal-dark: #38B2AC;
    --teal-light: #81E6D9;
    --teal-50: #E6FFFA;
    --purple: #667EEA;
    --purple-dark: #5A67D8;
    --purple-light: #A3BFFA;
    --purple-50: #EBF4FF;
    --orange: #F6AD55;
    --orange-dark: #ED8936;
    --green: #48BB78;
    --green-dark: #38A169;
    --red: #FC8181;

    --bg: #F7FAFC;
    --bg-dark: #0F172A;
    --surface: #FFFFFF;
    --text-primary: #1A202C;
    --text-secondary: #718096;
    --text-light: #A0AEC0;
    --border: #E2E8F0;
    --border-light: #EDF2F7;

    --font-primary: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-teal: 0 10px 40px rgba(79, 209, 197, 0.3);
    --shadow-purple: 0 10px 40px rgba(102, 126, 234, 0.3);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--teal), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-purple {
    background: linear-gradient(135deg, var(--purple), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Cursor Glow --- */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 209, 197, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cursor-glow.visible {
    opacity: 1;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius);
    text-decoration: none;
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: white;
    box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 44px rgba(79, 209, 197, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--teal);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--teal);
    color: var(--teal-dark);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-icon svg {
    display: block;
}

.logo-accent {
    color: var(--teal);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--teal), var(--purple));
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--teal-dark);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Hero --- */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    width: 100%;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(79, 209, 197, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-gradient-orb.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--teal);
    top: -200px;
    right: -100px;
    opacity: 0.12;
}

.hero-gradient-orb.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--purple);
    bottom: -100px;
    left: -100px;
    opacity: 0.10;
}

.hero-gradient-orb.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--orange);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.06;
}

.hero-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 50% 50% at 70% 50%, rgba(79, 209, 197, 0.08) 0%, transparent 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal-50);
    color: var(--teal-dark);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(79, 209, 197, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-suffix {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* --- Phone Mockup --- */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-glow {
    position: absolute;
    width: 320px;
    height: 420px;
    background: radial-gradient(ellipse, rgba(79, 209, 197, 0.2) 0%, rgba(102, 126, 234, 0.1) 40%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: blur(40px);
}

.phone-glow.small-glow {
    width: 260px;
    height: 360px;
}

.phone-glow.purple-glow {
    background: radial-gradient(ellipse, rgba(102, 126, 234, 0.2) 0%, rgba(79, 209, 197, 0.1) 40%, transparent 70%);
}

.phone-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 40px;
    border: 1px solid rgba(79, 209, 197, 0.1);
    z-index: 0;
    animation: ringPulse 4s ease-in-out infinite;
}

.phone-ring.ring-1 {
    width: 340px;
    height: 500px;
    animation-delay: 0s;
}

.phone-ring.ring-2 {
    width: 400px;
    height: 560px;
    animation-delay: 2s;
    border-color: rgba(102, 126, 234, 0.08);
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.03); }
}

.phone-mockup {
    position: relative;
    z-index: 2;
}

.phone-frame {
    width: 280px;
    background: var(--surface);
    border-radius: 36px;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.05), 0 0 80px rgba(79, 209, 197, 0.1);
    border: 1px solid var(--border-light);
}

.phone-mockup.small .phone-frame {
    width: 260px;
}

.phone-notch {
    width: 120px;
    height: 24px;
    background: var(--bg);
    border-radius: 0 0 16px 16px;
    margin: 0 auto 12px;
}

.phone-screen {
    background: var(--bg);
    border-radius: 24px;
    padding: 20px 16px;
    min-height: 420px;
}

.phone-mockup.small .phone-screen {
    min-height: 380px;
}

.screen-header {
    margin-bottom: 16px;
}

.screen-greeting {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.screen-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.screen-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    padding: 10px 14px;
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    font-size: 0.8rem;
    color: var(--text-light);
}

.screen-specialties {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    overflow: hidden;
    flex-wrap: nowrap;
}

.spec-chip {
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--surface);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    white-space: nowrap;
}

.spec-chip.active {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: white;
    border-color: transparent;
}

.screen-doctor-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    padding: 12px;
    border-radius: var(--radius);
    margin-bottom: 8px;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.doc-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--teal-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-avatar.purple {
    background: var(--purple-50);
}

.doc-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.doc-name {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-spec {
    font-size: 0.68rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.doc-rating .stars {
    color: var(--orange);
    font-size: 0.7rem;
    letter-spacing: -1px;
}

.doc-book-btn {
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* --- Floating cards --- */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.5);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    z-index: 3;
    white-space: nowrap;
    animation: float 6s ease-in-out infinite;
}

.floating-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-card-icon.green {
    background: var(--teal-50);
    color: var(--teal-dark);
}

.floating-card-icon.purple {
    background: var(--purple-50);
    color: var(--purple-dark);
}

.floating-card-icon.orange {
    background: #FFFBEB;
    color: var(--orange-dark);
}

.card-1 {
    top: 15%;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    left: -20px;
    animation-delay: 3s;
}

.card-3 {
    top: 55%;
    right: -40px;
    animation-delay: 1.5s;
}

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

/* --- Trusted / Marquee --- */
.trusted {
    padding: 32px 0;
    background: var(--surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.trusted-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trusted-marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.trust-item {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-light);
    opacity: 0.6;
}

.trust-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    opacity: 0.4;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Sections --- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--teal-50);
    color: var(--teal-dark);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-tag.purple {
    background: var(--purple-50);
    color: var(--purple-dark);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Features --- */
.features {
    padding: 100px 0;
    background: var(--surface);
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    background: var(--surface);
    overflow: hidden;
}

.feature-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(79, 209, 197, 0.06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 209, 197, 0.2);
}

.feature-card:hover .feature-card-glow {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.feature-icon.teal {
    background: var(--teal-50);
    color: var(--teal-dark);
}

.feature-icon.purple {
    background: var(--purple-50);
    color: var(--purple-dark);
}

.feature-icon.orange {
    background: #FFFBEB;
    color: var(--orange-dark);
}

.feature-icon.green {
    background: #F0FFF4;
    color: var(--green-dark);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    position: relative;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
}

/* --- How It Works (Timeline) --- */
.how-it-works {
    padding: 100px 0;
    background: var(--bg);
    overflow: hidden;
}

.steps-timeline {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--purple), var(--green));
    border-radius: 2px;
    opacity: 0.2;
}

.step {
    flex: 1;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-marker {
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--purple));
    color: white;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(79, 209, 197, 0.3);
}

.step-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    width: 100%;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon-wrap.teal {
    background: var(--teal-50);
    color: var(--teal-dark);
}

.step-icon-wrap.purple {
    background: var(--purple-50);
    color: var(--purple-dark);
}

.step-icon-wrap.green {
    background: #F0FFF4;
    color: var(--green-dark);
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Audience Sections --- */
.audience-section {
    padding: 100px 0;
    overflow: hidden;
}

.patients-section {
    background: var(--surface);
}

.doctors-section {
    background: var(--bg);
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.audience-grid.reverse {
    direction: rtl;
}

.audience-grid.reverse > * {
    direction: ltr;
}

.audience-content h2 {
    font-size: 2.25rem;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.benefit-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-icon.teal {
    background: var(--teal-50);
    color: var(--teal-dark);
}

.benefit-icon.purple {
    background: var(--purple-50);
    color: var(--purple-dark);
}

.benefit-list strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.benefit-list p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.audience-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

/* Appointment cards in phone */
.appointment-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid var(--border-light);
}

.appt-status {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: var(--teal-50);
    color: var(--teal-dark);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.appt-status.done {
    background: #F0FFF4;
    color: var(--green-dark);
}

.appt-doctor {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.82rem;
}

.appt-detail {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.appt-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

.appt-review {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    color: var(--text-secondary);
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--border-light);
}

.appt-review .stars {
    color: var(--orange);
    letter-spacing: -1px;
}

/* Doctor dashboard phone screen */
.doctor-screen {
    background: linear-gradient(180deg, var(--teal-50) 0%, var(--bg) 40%);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.mini-stat {
    background: var(--surface);
    border-radius: var(--radius-sm);
    padding: 10px;
    text-align: center;
    border: 1px solid var(--border-light);
}

.mini-stat-num {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--teal-dark);
}

.mini-stat-label {
    font-size: 0.62rem;
    color: var(--text-secondary);
}

.pending-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.78rem;
    margin-bottom: 8px;
}

.pending-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    border: 1px solid var(--border-light);
}

.pending-name {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.75rem;
}

.pending-time {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.pending-actions {
    display: flex;
    gap: 6px;
}

.accept-btn, .decline-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accept-btn {
    background: var(--green);
    color: white;
}

.decline-btn {
    background: var(--red);
    color: white;
}

/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
    background: var(--surface);
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--teal);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(79, 209, 197, 0.2);
}

.testimonial-stars {
    color: var(--orange);
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
}

.author-avatar.purple {
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
}

.author-avatar.orange {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-author span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* --- Pricing --- */
.pricing {
    padding: 100px 0;
    background: var(--bg);
    overflow: hidden;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--surface);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--teal);
    box-shadow: var(--shadow-teal);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(79, 209, 197, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: white;
    padding: 4px 20px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 1;
}

.pricing-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 24px;
    position: relative;
}

.pricing-header h3 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 12px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-light);
}

.pricing-header p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: 24px;
    position: relative;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-features svg {
    flex-shrink: 0;
}

/* --- Download --- */
.download {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.download-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.download-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 30% 50%, rgba(79, 209, 197, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
}

.download-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.download-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.download-icon-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
}

.download-float-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.download-float-icon:nth-child(2) {
    animation-delay: 2s;
}

.download-float-icon:nth-child(3) {
    animation-delay: 4s;
}

.download h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.download p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.store-label {
    display: block;
    font-size: 0.7rem;
    opacity: 0.7;
}

.store-name {
    display: block;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 64px 0 32px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
    color: white;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--teal);
    color: white;
    transform: translateY(-2px);
}

.footer-links h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 4px 0;
}

.footer-links a:hover {
    color: var(--teal);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Animations --- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        justify-self: center;
    }

    .steps-timeline {
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-links:last-child {
        grid-column: span 1;
    }
}

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }

    .hero {
        padding: 100px 0 50px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
        word-break: break-word;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-content {
        order: 0;
    }

    .hero-visual {
        order: 1;
    }

    .hero-gradient-orb {
        display: none;
    }

    .phone-glow {
        width: 200px !important;
        height: 280px !important;
    }

    .floating-card {
        display: none;
    }

    .phone-ring {
        display: none;
    }

    .phone-frame {
        width: 240px;
    }

    .phone-mockup.small .phone-frame {
        width: 230px;
    }

    .phone-screen {
        padding: 16px 12px;
        min-height: 380px;
    }

    .screen-greeting {
        font-size: 0.95rem;
    }

    .screen-subtitle {
        font-size: 0.72rem;
    }

    .screen-specialties {
        overflow: hidden;
        flex-wrap: nowrap;
    }

    .spec-chip {
        padding: 4px 9px;
        font-size: 0.62rem;
    }

    .screen-doctor-card {
        padding: 8px;
        gap: 8px;
    }

    .doc-avatar {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .doc-avatar svg {
        width: 18px;
        height: 18px;
    }

    .doc-name {
        font-size: 0.72rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .doc-spec {
        font-size: 0.62rem;
    }

    .doc-rating {
        font-size: 0.6rem;
    }

    .doc-rating .stars {
        font-size: 0.62rem;
    }

    .doc-book-btn {
        padding: 4px 8px;
        font-size: 0.58rem;
        border-radius: 6px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: 1.6rem;
        word-break: break-word;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .features {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .how-it-works {
        padding: 60px 0;
    }

    .steps-timeline {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .timeline-line {
        display: none;
    }

    .step {
        max-width: 100%;
        width: 100%;
    }

    .step-card {
        padding: 24px 20px;
    }

    .audience-section {
        padding: 60px 0;
    }

    .audience-grid,
    .audience-grid.reverse {
        grid-template-columns: 1fr;
        gap: 32px;
        direction: ltr;
    }

    .audience-content {
        text-align: center;
    }

    .audience-content h2 {
        font-size: 1.6rem;
    }

    .benefit-list {
        text-align: left;
    }

    .benefit-list li {
        gap: 12px;
    }

    .testimonials {
        padding: 60px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card {
        padding: 24px;
    }

    .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .pricing {
        padding: 60px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin: 0 auto;
    }

    .pricing-card {
        padding: 28px 20px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .download {
        padding: 60px 0;
    }

    .download h2 {
        font-size: 1.6rem;
    }

    .download p {
        font-size: 0.95rem;
    }

    .download-icon-row {
        gap: 12px;
        margin-bottom: 24px;
    }

    .download-float-icon {
        width: 44px;
        height: 44px;
    }

    .footer {
        padding: 40px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 90px 0 40px;
    }

    .hero h1 {
        font-size: 1.65rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .phone-frame {
        width: 220px;
    }

    .phone-mockup.small .phone-frame {
        width: 210px;
    }

    .phone-screen {
        padding: 14px 10px;
        min-height: 340px;
    }

    .screen-greeting {
        font-size: 0.85rem;
    }

    .screen-subtitle {
        font-size: 0.65rem;
    }

    .screen-search {
        padding: 8px 10px;
        font-size: 0.7rem;
        margin-bottom: 8px;
    }

    .screen-specialties {
        gap: 4px;
        margin-bottom: 10px;
    }

    .spec-chip {
        padding: 3px 7px;
        font-size: 0.58rem;
    }

    .screen-doctor-card {
        padding: 6px;
        gap: 6px;
        margin-bottom: 6px;
    }

    .doc-avatar {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .doc-avatar svg {
        width: 16px;
        height: 16px;
    }

    .doc-name {
        font-size: 0.65rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 80px;
    }

    .doc-spec {
        font-size: 0.58rem;
    }

    .doc-rating {
        font-size: 0.55rem;
    }

    .doc-rating .stars {
        font-size: 0.58rem;
    }

    .doc-book-btn {
        padding: 3px 6px;
        font-size: 0.55rem;
        border-radius: 5px;
    }

    .phone-notch {
        width: 90px;
        height: 20px;
        margin-bottom: 8px;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .trusted-label {
        font-size: 0.75rem;
    }

    .trust-item {
        font-size: 0.9rem;
    }

    .feature-card {
        padding: 20px;
    }

    .step-number {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .step-icon-wrap {
        width: 52px;
        height: 52px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-card p {
        font-size: 0.88rem;
    }

    .price-amount {
        font-size: 2rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .download h2 {
        font-size: 1.4rem;
    }

    .audience-content h2 {
        font-size: 1.4rem;
    }
}
