/* CSS Variables */
:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f3f4f6;
    --bg-dark: #1f2937;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.15s ease;
    transform: translate(-50%, -50%);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.loading-logo i {
    margin-right: 0.5rem;
    font-size: 2.5rem;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: white;
    border-radius: 2px;
    animation: loading 2s ease-in-out;
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}


.gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline, .btn-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    color: white;
    box-shadow: 0 8px 15px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(14, 165, 233, 0.4);
}


.btn-primary.pulse {
    animation: pulse 2s infinite;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover .btn-glow {
    left: 100%;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.send-fax-btn:hover .btn-shine {
    left: 100%;
}

.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}


.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}


.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(59, 130, 246, 0.9) 100%);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.floating-element:nth-child(4) {
    top: 40%;
    right: 30%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    color: white;
}

/* Enhanced Hero Badge/Tag */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 8px 15px rgba(29, 78, 216, 0.25);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    transform: translateX(-100%);
    animation: shimmer 3s infinite;
}

.hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0 50px 50px 0;
}

.hero-badge i {
    font-size: 1rem;
    color: white;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.badge-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    100% {
        transform: translateX(100%);
    }
}

.hero-badge span {
    position: relative;
    z-index: 2;
}



.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Enhanced Stat Cards */
/* Enhanced Stat Cards - Refined Colors */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.8rem 1.5rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    min-width: 140px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
    z-index: 1;
    border-radius: 0 0 20px 20px;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    color: white;
    position: relative;
    z-index: 2;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.6rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Refined colors for each stat card */
.stat-item:nth-child(1) {
    background: linear-gradient(135deg, #4f46e5, #3730a3); /* Deep indigo */
}

.stat-item:nth-child(2) {
    background: linear-gradient(135deg, #16a34a, #15803d); /* Forest green */
}

.stat-item:nth-child(3) {
    background: linear-gradient(135deg, #ea580c, #c2410c); /* Burnt orange */
}




/* Demo Pointer */
.hero-visual {
    position: relative;
}

.demo-pointer {
    position: absolute;
    top: -60px;
    right: 50%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float-pointer 3s ease-in-out infinite;
}

.pointer-line {
    width: 3px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #38bdf8);
}

.pointer-text {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pointer-text i {
    color: #38bdf8;
    font-size: 1.2rem;
}

@keyframes float-pointer {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Enhanced Demo Interface */
.eye2fax-tabs {
    display: flex;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 1rem;
}

.tab {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.tab:hover {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

.tab.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.tab-badge {
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.tab-content {
    display: none;
    padding: 1.5rem;
}

.tab-content.active {
    display: block;
}

/* Fax List Styling */
.fax-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fax-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.fax-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.fax-item.unread {
    border-left: 3px solid var(--primary-color);
}

.fax-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    margin-right: 1rem;
}

.fax-icon.success {
    color: #10b981;
}

.fax-icon.warning {
    color: #f59e0b;
}

.fax-details {
    flex: 1;
}

.fax-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.fax-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.fax-actions, .fax-status {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    background: #f1f5f9;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: #e2e8f0;
    color: var(--primary-color);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.status-badge.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

/* Contacts Tab */
.contacts-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.contact-search {
    flex: 1;
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
}

.add-contact-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.contact-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.contact-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 1rem;
}

.contact-info {
    flex: 1;
}

.contact-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-number {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.contact-actions {
    display: flex;
    gap: 0.5rem;
}




@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}



.stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.8;
}

.trust-text {
    font-size: 0.9rem;
}

.trust-badges {
    display: flex;
    gap: 1rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.visual-container {
    position: relative;
}

.browser-mockup {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.3s ease;
}

.browser-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.browser-header {
    background: #f3f4f6;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.browser-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ef4444; }
.control.yellow { background: #f59e0b; }
.control.green { background: #10b981; }

.browser-url {
    flex: 1;
    background: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.extension-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.extension-tooltip {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-dark);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.extension-badge:hover .extension-tooltip {
    opacity: 1;
    transform: translateY(5px);
}

.browser-content {
    padding: 2rem;
    background: #fafafa;
    min-height: 400px;
    position: relative;
}

.ehr-interface {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.ehr-header {
    background: #f8fafc;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ehr-logo {
    height: 32px;
}

.patient-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.patient-info span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.document-preview {
    padding: 1.5rem;
}

.document-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.document-header i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.document-header span {
    flex: 1;
    font-weight: 500;
}

.fax-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.fax-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.document-content {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
}

.doc-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doc-line {
    height: 4px;
    background: #cbd5e1;
    border-radius: 2px;
}

.doc-line.short {
    width: 60%;
}

.fax-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    padding: 1.5rem;
    width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fax-popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.popup-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.popup-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-light);
}

.form-field {
    margin-bottom: 1rem;
}

.form-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
}

.input-with-suggestions {
    position: relative;
}

.suggestion-badge {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
}

.send-fax-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.send-fax-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.success-notification {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
}

.success-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.notification-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.notification-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Integration Showcase */
.integration-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
}

.integration-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.ehr-card, .eye2fax-card, .srfax-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 200px;
    transition: all 0.3s ease;
}

.ehr-card:hover, .eye2fax-card:hover, .srfax-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.integration-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.srfax-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.ehr-card h3, .eye2fax-card h3, .srfax-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.ehr-card p, .eye2fax-card p, .srfax-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Integration Showcase Section */
.integration-showcase-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.integration-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.ehr-card, .eye2fax-card, .srfax-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    min-width: 200px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ehr-card:hover, .eye2fax-card:hover, .srfax-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.integration-logo, .srfax-logo {
    height: 60px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.ehr-card h3, .eye2fax-card h3, .srfax-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.ehr-card p, .eye2fax-card p, .srfax-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* New Flow Animation */
.connection-flow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.connection-flow i {
    font-size: 1.5rem;
    color: var(--primary-light);
    opacity: 0.3;
    animation: flow-pulse 1.5s ease-in-out infinite;
}

.connection-flow i:nth-child(1) {
    animation-delay: 0s;
}
.connection-flow i:nth-child(2) {
    animation-delay: 0.2s;
}
.connection-flow i:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes flow-pulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
        color: var(--primary-color);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

/* Responsive adjustments for the integration showcase */
@media (max-width: 768px) {
    .integration-visual {
        flex-direction: column;
        gap: 1rem;
    }
    
    .connection-flow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .ehr-card, .eye2fax-card, .srfax-card {
        width: 100%;
        max-width: 280px;
    }
}


.connection-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.data-flow {
    position: absolute;
    top: 0;
    left: -20px;
    width: 20px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    animation: dataFlow 2s linear infinite;
}

@keyframes dataFlow {
    0% { left: -20px; }
    100% { left: 100px; }
}

.connection-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.feature-card.premium {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    transform: scale(1.05);
}

.feature-card.premium::before {
    display: none;
}

.feature-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.feature-card.premium .feature-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
}

.feature-badge {
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card.premium h3 {
    color: white;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-card.premium p {
    color: rgba(255, 255, 255, 0.9);
}

.feature-demo, .feature-preview {
    margin-top: 1.5rem;
}

.demo-steps {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.step {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.step.active {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
    font-size: 0.9rem;
}

.contact-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
}

.cover-page-preview {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.cover-header {
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.cover-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cover-line {
    height: 4px;
    background: #cbd5e1;
    border-radius: 2px;
}

.cover-line.short {
    width: 60%;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
    font-size: 0.9rem;
}

.history-item i {
    width: 20px;
    text-align: center;
}

.history-item.sent i {
    color: var(--secondary-color);
}

.history-item.received i {
    color: var(--primary-color);
}

.history-item span {
    flex: 1;
}

.status {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status.delivered {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
}

.status.new {
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
}

.security-indicators {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.security-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    flex: 1;
}

.security-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.security-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.analytics-chart {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 60px;
    padding: 0 1rem;
}

.chart-bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    animation: chartGrow 1s ease-out;
}

@keyframes chartGrow {
    from { height: 0; }
}

/* Get Started Section */
.get-started {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.step-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.step-visual {
    position: relative;
    margin-bottom: 2rem;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.step-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.step-feature i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-primary);
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    position: relative;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

.pricing-header {
    padding: 3rem 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pricing-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pricing-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.pricing-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.regular-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: line-through;
    opacity: 0.7;
}

.promo-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.price-period {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.pricing-features {
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-primary);
}

.pricing-feature i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.pricing-cta {
    padding: 2rem 3rem 3rem;
    text-align: center;
}

.pricing-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.method-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.method-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.method-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-header p {
    color: var(--text-secondary);
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--bg-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 350px;
}

/* Footer Logo Enhancement */
.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-3px);
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-logo .logo-text {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-family: 'Space Grotesk', sans-serif;
}

/* Add a subtle glow effect on hover */
.footer-logo:hover .logo-icon {
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.5);
}


.footer-brand p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.1rem;
}

.footer-column a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-light);
}

.footer-badges {
    display: flex;
    gap: 1rem;
}

.compliance-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.compliance-badge i {
    color: var(--secondary-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: var(--shadow-2xl);
    animation: modalSlideIn 0.3s ease;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 2rem 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.close {
    color: var(--text-light);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-secondary);
}

.close:hover {
    color: var(--text-primary);
    background: var(--border-color);
}

.modal-body {
    padding: 2rem;
}

.modal-body p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.calendar-placeholder {
    background: var(--bg-secondary);
    padding: 4rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px dashed var(--border-color);
}

.calendar-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.calendar-placeholder h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.calendar-placeholder p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .integration-visual {
        flex-direction: column;
        gap: 1rem;
    }
    
    .connection-line {
        width: 4px;
        height: 40px;
        transform: rotate(90deg);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 4px;
    }
    
    .hamburger span {
        width: 25px;
        height: 3px;
        background: var(--text-primary);
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .feature-card.premium {
        transform: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .browser-mockup {
        transform: none;
    }
    
    .browser-mockup:hover {
        transform: scale(1.02);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-white {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .feature-card,
    .step-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .pricing-header,
    .pricing-features,
    .pricing-cta {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .cursor,
    .cursor-follower {
        display: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000000;
        --text-secondary: #333333;
        --border-color: #666666;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-element {
        animation: none;
    }
    
    .cursor,
    .cursor-follower {
        display: none;
    }
}

/* Focus States for Accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Selection Styling */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* Mobile Optimization for Hero Section */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 1.5rem 1rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-visual {
        margin-top: 2rem;
    }
    
    .browser-mockup {
        transform: none !important;
        max-width: 100%;
    }
    
    .demo-pointer {
        display: none; /* Hide the pointer on mobile */
    }
}

/* Even smaller screens */
@media (max-width: 480px) {
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-badge {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .browser-header {
        padding: 8px 12px;
    }
    
    .browser-url {
        font-size: 0.7rem;
    }
    
    .extension-badge {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    .browser-content {
        padding: 1rem;
    }
    
    .ehr-header {
        padding: 0.75rem 1rem;
    }
    
    .ehr-logo {
        height: 24px;
    }
    
    .patient-info h3 {
        font-size: 0.9rem;
    }
    
    .patient-info span {
        font-size: 0.8rem;
    }
    
    .eye2fax-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 900px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 40px;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stat-item {
        width: 100%;
    }
}

/* Refined Mobile Optimization for Hero Section */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 100px 0 50px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        /* Ensure title isn't cut off */
        width: 100%;
        max-width: 100%;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Fix stat cards size */
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .stat-item {
        width: calc(33% - 0.75rem);
        min-width: 90px;
        padding: 1rem 0.75rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Fix CTA buttons */
    .hero-cta {
        display: flex;
        flex-direction: row;
        gap: 0.75rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: auto;
        min-width: 140px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Fix browser mockup */
    .hero-visual {
        margin-top: 1rem;
        padding: 0 1rem;
    }
    
    .browser-mockup {
        transform: none !important;
        max-width: 100%;
    }
    
    .demo-pointer {
        top: -40px;
        right: 40%;
    }
    
    .pointer-line {
        height: 40px;
    }
    
    .pointer-text {
        font-size: 0.8rem;
        padding: 6px 12px;
        white-space: nowrap;
    }
}

/* Even smaller screens */
@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 200px;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
    }
    
    .browser-content {
        padding: 1rem;
    }
    
    .eye2fax-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 0.5rem;
    }
    
    .tab {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .document-preview {
        padding: 1rem;
    }
    
    .document-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .document-header span {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .fax-btn {
        margin-left: auto;
    }
}

/* Comprehensive Mobile Fixes for Hero Section */
@media (max-width: 768px) {
    /* Fix overall container and spacing */
    body {
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 40px;
        width: 100%;
        overflow: hidden;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        width: 100%;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* Fix navigation and hamburger area */
    .nav-container {
        padding: 0 1rem;
        width: 100%;
    }
    
    /* Fix hero content */
    .hero-content {
        width: 100%;
        padding: 0;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    /* Fix stat cards */
    .hero-stats {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .stat-item {
        flex: 1;
        min-width: 90px;
        max-width: 110px;
        padding: 1rem 0.5rem;
    }
    
    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 0.2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Fix CTA buttons */
    .hero-cta {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        padding: 8px 16px;
        font-size: 0.9rem;
        flex: 0 1 auto;
    }
    
    /* Fix trust badges */
    .hero-trust {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    /* Fix browser mockup */
    .hero-visual {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .visual-container {
        width: 100%;
        max-width: 100%;
    }
    
    .browser-mockup {
        transform: none !important;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .browser-header {
        padding: 8px;
        gap: 0.5rem;
    }
    
    .browser-url {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .extension-badge {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    .browser-content {
        padding: 1rem;
        min-height: 300px;
    }
    
    /* Fix demo pointer */
    .demo-pointer {
        top: -30px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .pointer-line {
        height: 30px;
    }
    
    .pointer-text {
        font-size: 0.75rem;
        padding: 5px 10px;
        white-space: nowrap;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .hero-stats {
        flex-direction: row;
    }
    
    .stat-item {
        max-width: 90px;
        padding: 0.75rem 0.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 80%;
    }
    
    .eye2fax-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding: 0;
    }
    
    .tab {
        padding: 0.75rem 0.5rem;
        font-size: 0.7rem;
        flex-shrink: 0;
    }
}

/* Fix white space below hamburger icon */
@media (max-width: 768px) {
    /* Fix navigation container */
    .navbar {
        width: 100%;
        max-width: 100vw;
    }
    
    .nav-container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        justify-content: space-between;
    }
    
    /* Fix hamburger menu positioning */
    .hamburger {
        margin-right: 0;
        padding-right: 0;
    }
    
    /* Fix mobile menu when active */
    .nav-menu.active {
        width: 100vw;
        left: 0;
        right: 0;
        padding: 2rem 0;
        z-index: 1000;
    }
    
    /* Fix body overflow when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Fix hero section top padding */
    .hero {
        padding-top: 80px;
    }
    
    /* Fix container width */
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }
}
/* Add this at the end of your CSS file */

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
        margin: 0;
        padding: 0;
    }
    
    .container, .hero-container, .nav-container {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix for browser mockup in mobile view */
    .browser-mockup, .visual-container, .hero-visual {
        max-width: 100%;
        width: 100%;
        overflow: hidden;
    }
    
    /* Fix for any potential overflowing elements */
    img, svg, video {
        max-width: 100%;
        height: auto;
    }
    
    /* Move the hero badge down on mobile */
    .hero-badge {
        margin-top: 60px;
        margin-bottom: 1.5rem;
    }
}

/* For even smaller screens */
@media (max-width: 480px) {
    .hero-badge {
        margin-top: 40px;
    }
}

/* Add this to the end of your styles.css file */

@media (max-width: 768px) {
    /* Move the hero badge down on mobile */
    .hero-badge {
        margin-top: 60px;  /* Adjust this value to move it further down as needed */
        margin-bottom: 1.5rem;
    }
}

/* For even smaller screens, you might want to adjust further */
@media (max-width: 480px) {
    .hero-badge {
        margin-top: 40px;  /* Slightly less space on very small screens */
    }
}

/* Video Modal Styles */
.video-modal-content {
    width: 90%;
    max-width: 800px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

/* Contact Form Modal */
.contact-form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.contact-form-content {
    background-color: white;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.contact-form-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.contact-form-header h4 {
    margin: 0;
    font-size: 1.2rem;
}

.contact-form-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.contact-form-body {
    padding: 1.5rem;
}

.save-contact-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
}

/* Fax Preview Popup */
.fax-preview-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.preview-content {
    background-color: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.preview-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.preview-header h4 {
    margin: 0;
    font-size: 1.2rem;
}

.preview-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.preview-body {
    padding: 1.5rem;
}

.preview-document {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.preview-document-header {
    background: white;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.preview-logo {
    height: 30px;
}

.preview-document-title {
    font-weight: 600;
    color: var(--text-primary);
}

.preview-document-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-line {
    height: 8px;
    background: #cbd5e1;
    border-radius: 4px;
}

.preview-line.short {
    width: 60%;
}

/* Ensure the fax popup has proper z-index and positioning */
.fax-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    padding: 1.5rem;
    width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000; /* Ensure it's above other elements */
}

.fax-popup.show {
    opacity: 1;
    visibility: visible;
}

/* Make the fax button more clickable */
.fax-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10; /* Ensure it's clickable */
}

.fax-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Enhanced Get Started Section */
.get-started {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.get-started::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

/* Journey Path - Visual Connection Between Steps */
.journey-path {
    max-width: 800px;
    margin: 0 auto 3rem;
    position: relative;
    padding: 2rem 0;
}

.journey-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: translateY(-50%);
    border-radius: 2px;
}

.journey-dots {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    padding: 0 10%;
}

.journey-dot {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
}

.journey-dot.active {
    background: var(--primary-color);
    color: white;
    transform: scale(1.2);
    box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.3);
}

.journey-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.journey-dot:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Enhanced Step Cards */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.step-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.step-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-card.premium {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.85) 0%, rgba(59, 130, 246, 0.85) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.3);
    position: relative;
    overflow: hidden;
}

/* Add glass reflections */
.step-card.premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: rotate(30deg);
    pointer-events: none;
}

.step-card.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.step-card.premium .step-feature i {
    color: #93c5fd; /* Lighter blue for better visibility */
}

.step-card.premium .step-feature span,
.step-card.premium p,
.step-card.premium h3 {
    color: white;
    position: relative;
    z-index: 2;
}

/* Glass effect for the icon */
.step-card.premium .step-icon {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Add subtle inner border */
.step-card.premium {
    box-shadow: 
        0 15px 35px rgba(30, 64, 175, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* Button styling for glass effect */
.step-card.premium .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.step-card.premium .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Time indicator styling */
.step-card.premium .step-time {
    color: rgba(255, 255, 255, 0.8);
}

.glass-highlights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.glass-highlights::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%
    );
}

.glass-highlights::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 70% 70%,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 50%
    );
}


.step-visual {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

.step-card.premium .step-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-tag {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-card.premium .step-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.step-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.step-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.step-feature i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.step-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.btn-step {
    padding: 12px 20px;
    font-weight: 600;
    width: 100%;
    justify-content: center;
}

.step-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
    justify-content: flex-end;
    padding-right: 0.5rem;
}

.step-card.premium .step-time {
    color: rgba(255, 255, 255, 0.8);
}

/* Add this to ensure proper spacing */
.step-action {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* CTA at the bottom of the section */
.get-started-cta {
    margin-top: 5rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.cta-content {
    color: white;
}

.cta-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .journey-path {
        display: none;
    }
    
    .get-started-cta {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }
    
    .step-action {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .btn-step {
        width: 100%;
        justify-content: center;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo:active {
    transform: scale(0.98);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-icon {
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}
