/* ============================================
   Nurses.ai — Premium Modern Website
   Glassmorphism + Animated Blobs + Scroll Reveals
   ============================================ */

:root {
    --purple-50: #F3EEFF;
    --purple-100: #E8DFFE;
    --purple-200: #D4C4FD;
    --purple-300: #B89EF7;
    --purple-400: #9473E0;
    --purple-500: #8C6BD9;
    --purple-600: #7B5CC9;
    --purple-700: #6A45B5;
    --purple-800: #5B359E;
    --purple-900: #3D1F73;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --white: #FFFFFF;
    --red-500: #EF4444;
    --green-500: #10B981;
    --blue-500: #3B82F6;
    --orange-500: #F59E0B;
    --app-bg-dark: rgb(31, 26, 46);
    --app-purple: rgb(148, 115, 224);
    --app-purple-light: rgb(166, 140, 230);
    --app-purple-mid: rgb(140, 107, 217);
    --app-purple-deep: rgb(123, 92, 201);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-800);
    background: #0D0B14;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ============================================
   Navigation — Frosted Glass
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 11, 20, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(148, 115, 224, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
    background: rgba(13, 11, 20, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-weight: 800;
    font-size: 1.3rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--app-bg-dark);
    border: 1px solid rgba(148, 115, 224, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--app-purple);
    box-shadow: 0 0 20px rgba(148, 115, 224, 0.2);
}

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

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--app-purple);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--app-purple);
    transition: width 0.3s;
    border-radius: 2px;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
    border-radius: 2px;
}

/* ============================================
   Buttons — Glowing, Modern
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--app-purple-deep), var(--app-purple));
    color: white;
    box-shadow: 0 4px 20px rgba(148, 115, 224, 0.4), 0 0 40px rgba(148, 115, 224, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(148, 115, 224, 0.6), 0 0 60px rgba(148, 115, 224, 0.2);
}

.btn-primary:hover::before { opacity: 1; }

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(148, 115, 224, 0.5);
    box-shadow: 0 4px 20px rgba(148, 115, 224, 0.15);
}

.btn-white {
    background: white;
    color: var(--app-purple-deep);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; border-radius: 10px; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================
   Badge & Gradient Text
   ============================================ */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(148, 115, 224, 0.15);
    color: var(--app-purple);
    border: 1px solid rgba(148, 115, 224, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    backdrop-filter: blur(8px);
}

.badge-red {
    background: rgba(239, 68, 68, 0.15);
    color: #F87171;
    border-color: rgba(239, 68, 68, 0.2);
}

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

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: white;
}

.section-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Scroll Reveal Animation
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Hero — Full-screen + Animated Blobs
   ============================================ */
.hero {
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(148, 115, 224, 0.25) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(123, 92, 201, 0.15) 0%, transparent 50%),
                #0D0B14;
    z-index: 0;
}

/* Animated Gradient Blobs */
.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: blobFloat 12s ease-in-out infinite alternate;
}

.hero-bg::before {
    width: 500px;
    height: 500px;
    background: rgba(148, 115, 224, 0.2);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.hero-bg::after {
    width: 400px;
    height: 400px;
    background: rgba(106, 69, 181, 0.15);
    bottom: -10%;
    right: -5%;
    animation-delay: -6s;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
    100% { transform: translate(10px, -30px) scale(1.05); }
}

.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font-size: 1.6rem;
    opacity: 0.08;
    animation: floatIcon 10s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.08; }
    50% { transform: translateY(-30px) rotate(15deg); opacity: 0.15; }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
    color: white;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 36px;
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(12px);
}

.stat { display: flex; flex-direction: column; }

.stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--app-purple);
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
}

/* Phone Mockup — 3D Perspective */
.hero-image { display: flex; justify-content: center; }

.phone-mockup {
    width: 300px;
    background: linear-gradient(145deg, #1a1625, #0D0B14);
    border: 1px solid rgba(148, 115, 224, 0.2);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5),
                0 0 60px rgba(148, 115, 224, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: perspective(1200px) rotateY(-8deg) rotateX(3deg) translateY(0); }
    50% { transform: perspective(1200px) rotateY(-5deg) rotateX(1deg) translateY(-12px); }
}

.phone-mockup:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-8px);
    animation: none;
}

.phone-screen {
    background: #1a1625;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 9/19;
}

.app-preview { padding: 40px 16px 16px; height: 100%; }

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: white;
}

.preview-post {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-bottom: 10px;
}

.preview-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--app-purple), var(--app-purple-deep));
    flex-shrink: 0;
}

.preview-content { flex: 1; min-width: 0; }

.preview-name { font-weight: 600; font-size: 0.78rem; color: white; }
.preview-text { font-size: 0.72rem; color: rgba(255,255,255,0.5); margin: 4px 0; line-height: 1.4; }
.preview-engagement { font-size: 0.68rem; color: rgba(255,255,255,0.3); }

.preview-ai-badge {
    text-align: center;
    padding: 10px;
    background: rgba(148, 115, 224, 0.15);
    border: 1px solid rgba(148, 115, 224, 0.2);
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--app-purple);
    margin-top: 10px;
}

/* ============================================
   Features — Glass Cards
   ============================================ */
.features {
    padding: 120px 0;
    background: #0D0B14;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(148, 115, 224, 0.08);
    border-radius: 50%;
    filter: blur(100px);
    top: 0;
    right: -200px;
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.feature-card {
    position: relative;
    padding: 32px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(148, 115, 224, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(148, 115, 224, 0.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 40px rgba(148, 115, 224, 0.1);
}

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

.feature-card.featured {
    background: rgba(148, 115, 224, 0.08);
    border-color: rgba(148, 115, 224, 0.15);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.feature-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--app-purple);
    color: white;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(148, 115, 224, 0.4);
}

/* ============================================
   AI Section — Split with Glow
   ============================================ */
.ai-section {
    padding: 120px 0;
    background: #0D0B14;
    position: relative;
}

.ai-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(148, 115, 224, 0.1);
    border-radius: 50%;
    filter: blur(120px);
    bottom: -100px;
    left: -100px;
    pointer-events: none;
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ai-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.ai-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
    line-height: 1.7;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
}

.ai-feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.ai-check {
    width: 28px;
    height: 28px;
    background: rgba(148, 115, 224, 0.15);
    border: 1px solid rgba(148, 115, 224, 0.2);
    color: var(--app-purple);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.ai-feature-item strong { display: block; font-size: 0.95rem; color: white; }
.ai-feature-item span { font-size: 0.85rem; color: rgba(255,255,255,0.45); }

.ai-disclaimer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    color: #FBBF24;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Chat Window — Glowing */
.chat-window {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(148, 115, 224, 0.15);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 0 40px rgba(148, 115, 224, 0.08);
}

.chat-header {
    background: linear-gradient(135deg, var(--app-purple-deep), var(--app-purple));
    color: white;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.chat-header-dot {
    width: 10px;
    height: 10px;
    background: #34D399;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
}

.chat-messages {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #13101c;
}

.chat-bubble {
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 0.86rem;
    line-height: 1.6;
    max-width: 90%;
}

.chat-bubble.user {
    background: linear-gradient(135deg, var(--app-purple), var(--app-purple-deep));
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 6px;
    box-shadow: 0 4px 12px rgba(148, 115, 224, 0.3);
}

.chat-bubble.ai {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    align-self: flex-start;
    border-bottom-left-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-label {
    font-weight: 600;
    color: var(--app-purple);
    margin-bottom: 8px;
    font-size: 0.78rem;
}

/* ============================================
   HIPAA Section
   ============================================ */
.hipaa-section {
    padding: 120px 0;
    background: #0D0B14;
    position: relative;
}

.hipaa-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(239, 68, 68, 0.05);
    border-radius: 50%;
    filter: blur(100px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hipaa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.hipaa-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hipaa-card:hover {
    transform: translateY(-6px);
    border-color: rgba(148, 115, 224, 0.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.hipaa-icon { font-size: 2.5rem; margin-bottom: 16px; }
.hipaa-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: white; }
.hipaa-card p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ============================================
   Pricing — Floating Cards
   ============================================ */
.pricing-section {
    padding: 120px 0;
    background: #0D0B14;
    position: relative;
}

.pricing-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(148, 115, 224, 0.06);
    border-radius: 50%;
    filter: blur(100px);
    bottom: -200px;
    right: -200px;
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.pricing-card {
    position: relative;
    padding: 36px 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
    border-color: rgba(148, 115, 224, 0.3);
    box-shadow: 0 0 40px rgba(148, 115, 224, 0.1), 0 16px 48px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
    background: rgba(148, 115, 224, 0.08);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-6px);
    box-shadow: 0 0 60px rgba(148, 115, 224, 0.15), 0 20px 60px rgba(0, 0, 0, 0.4);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: linear-gradient(135deg, var(--app-purple-deep), var(--app-purple));
    color: white;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(148, 115, 224, 0.4);
}

.pricing-header { text-align: center; margin-bottom: 28px; }
.pricing-header h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: white; }
.pricing-amount { font-size: 3rem; font-weight: 900; color: white; }
.pricing-period { color: rgba(255,255,255,0.4); font-size: 0.9rem; }

.pricing-features { list-style: none; margin-bottom: 28px; }

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.pricing-features li.disabled { color: rgba(255,255,255,0.2); }

.check { color: var(--green-500); font-weight: 700; font-size: 1rem; }
.check.highlight { color: var(--app-purple); }
.x { color: rgba(255,255,255,0.2); font-size: 1rem; }

.pricing-note {
    text-align: center;
    margin-top: 32px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Professions — Glowing Tags
   ============================================ */
.professions-section {
    padding: 80px 0;
    background: #0D0B14;
}

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

.professions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.profession-tag {
    padding: 10px 20px;
    background: rgba(148, 115, 224, 0.08);
    color: var(--app-purple);
    border-radius: 30px;
    font-size: 0.86rem;
    font-weight: 500;
    border: 1px solid rgba(148, 115, 224, 0.12);
    transition: all 0.3s;
}

.profession-tag:hover {
    background: rgba(148, 115, 224, 0.18);
    border-color: rgba(148, 115, 224, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(148, 115, 224, 0.15);
}

/* ============================================
   CTA — Gradient with Glow
   ============================================ */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--app-bg-dark), #1a1230);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(148, 115, 224, 0.15);
    border-radius: 50%;
    filter: blur(120px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: 2.8rem; font-weight: 800; color: white; margin-bottom: 16px; }
.cta-content p { font-size: 1.1rem; color: rgba(255,255,255,0.6); margin-bottom: 36px; }

/* ============================================
   Footer — Dark Premium
   ============================================ */
.footer {
    background: #080610;
    color: rgba(255,255,255,0.4);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(148, 115, 224, 0.08);
}

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

.footer-brand .logo { color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }

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

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 4px 0;
    transition: all 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    text-align: center;
    font-size: 0.82rem;
}

.footer-disclaimer {
    margin-top: 8px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Page Styles (Privacy, Terms, Support)
   ============================================ */
.page-hero {
    padding: 140px 0 50px;
    background: radial-gradient(ellipse at 50% 0%, rgba(148, 115, 224, 0.2) 0%, transparent 60%), #0D0B14;
    text-align: center;
    position: relative;
}

.page-hero h1 { font-size: 2.5rem; font-weight: 800; color: white; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.5); font-size: 1.05rem; }

.page-content {
    padding: 60px 0 100px;
    max-width: 800px;
    margin: 0 auto;
    background: #0D0B14;
}

.page-content .container { max-width: 800px; }

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

.legal-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--app-purple);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-section h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    margin-top: 20px;
}

.legal-section p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-section ul { list-style: none; padding-left: 0; margin-bottom: 12px; }

.legal-section ul li {
    padding: 4px 0 4px 24px;
    position: relative;
    font-size: 0.93rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}

.legal-section ul li::before {
    content: '\2022';
    color: var(--app-purple);
    font-weight: bold;
    position: absolute;
    left: 8px;
}

.legal-warning {
    background: rgba(239, 68, 68, 0.08);
    border-left: 4px solid var(--red-500);
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    margin: 16px 0;
}

.legal-warning p { color: #FCA5A5; font-weight: 500; }

.legal-info {
    background: rgba(148, 115, 224, 0.08);
    border-left: 4px solid var(--app-purple);
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    margin: 16px 0;
}

.legal-info p { color: var(--purple-200); }

/* Support Page */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.support-card {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    transition: all 0.4s;
}

.support-card:hover {
    transform: translateY(-4px);
    border-color: rgba(148, 115, 224, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.support-card-icon { font-size: 2rem; margin-bottom: 12px; }
.support-card h3 { font-size: 1rem; font-weight: 600; color: white; margin-bottom: 6px; }
.support-card p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

.faq-section { margin-top: 48px; }

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.02);
}

.faq-item:hover { border-color: rgba(148, 115, 224, 0.15); }

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    text-align: left;
    font-family: inherit;
}

.faq-question .arrow {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    transition: transform 0.3s;
}

.faq-item.active .faq-question .arrow { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-content {
    padding: 0 24px 18px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

.faq-item.active .faq-answer { max-height: 500px; }

.hipaa-ref-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px 0;
}

.hipaa-ref-card { padding: 24px; border-radius: 16px; }

.hipaa-ref-card.dont {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.hipaa-ref-card.do {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.hipaa-ref-card h4 { font-size: 1rem; margin-bottom: 12px; }
.hipaa-ref-card.dont h4 { color: #F87171; }
.hipaa-ref-card.do h4 { color: #34D399; }
.hipaa-ref-card li { font-size: 0.88rem; padding: 3px 0; color: rgba(255,255,255,0.5); }
.hipaa-ref-card.dont li::before { content: '\2715'; color: #F87171; }
.hipaa-ref-card.do li::before { content: '\2713'; color: #34D399; }

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 36px;
    margin-top: 48px;
}

.contact-form h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; color: white; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 6px; }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(148, 115, 224, 0.4);
    box-shadow: 0 0 20px rgba(148, 115, 224, 0.1);
}

.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select option { background: #1a1625; color: white; }

.emergency-banner {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 16px;
    padding: 24px;
    margin-top: 48px;
    text-align: center;
}

.emergency-banner h3 { color: #F87171; font-size: 1.1rem; margin-bottom: 8px; }
.emergency-banner p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.6; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 2.8rem; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image { display: none; }
    .features-grid, .hipaa-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-content { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(13, 11, 20, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(148, 115, 224, 0.1);
    }

    .nav-links.active { display: flex; }
    .hamburger { display: flex; }

    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero { padding: 120px 0 60px; min-height: auto; }
    .hero-text h1 { font-size: 2.2rem; }
    .section-header h2 { font-size: 2rem; }
    .features-grid, .hipaa-grid, .pricing-grid, .support-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: none; }
    .pricing-card.popular:hover { transform: translateY(-6px); }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cta-content h2 { font-size: 1.8rem; }
    .hipaa-ref-grid { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 1.8rem; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { width: 40px; height: 1px; }
    .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
}
