/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066FF;
    --secondary-color: #00D4AA;
    --accent-color: #FF6B35;
    --text-dark: #0F172A;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --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);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-content {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white !important;
}

.btn-primary:hover {
    background-color: #0052CC;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu .btn-primary {
    color: white !important;
}

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

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

body.menu-open {
    overflow: hidden;
}

/* Hero Section */
.hero {
    padding: 120px 0 40px;
    background: linear-gradient(to bottom, var(--bg-light), var(--bg-white));
}

.hero-content {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.hero-title {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    margin-bottom: 0.2em;
    white-space: nowrap;
}

.title-line:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .title-line {
        white-space: normal;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.link-underline {
    color: var(--text-dark);
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: var(--transition);
}

.link-underline:hover {
    color: var(--primary-color);
    text-decoration-thickness: 2px;
}

.hero-image {
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.dashboard-mockup {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.mockup-header {
    background: var(--bg-light);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

.mockup-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.mockup-header .dot:first-child { background: #FF5F57; }
.mockup-header .dot:nth-child(2) { background: #FFBD2E; }
.mockup-header .dot:nth-child(3) { background: #28CA42; }

.mockup-content {
    padding: 32px;
    background: #F8FAFC;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E2E8F0;
}

.dashboard-header h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.dashboard-header .time {
    color: var(--text-light);
    font-size: 0.875rem;
}

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

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 8px;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0 0 4px 0;
    text-transform: uppercase;
    font-weight: 600;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 4px 0;
}

.stat-change {
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.appointment-preview {
    grid-column: span 3;
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.appointment-preview h4 {
    margin: 0 0 16px 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.appointment-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #F1F5F9;
}

.appointment-item:last-child {
    border-bottom: none;
}

.appointment-time {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 70px;
    font-size: 0.875rem;
}

.appointment-details {
    flex: 1;
}

.appointment-details strong {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.appointment-details span {
    font-size: 0.75rem;
    color: var(--text-light);
}

.appointment-status {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.appointment-status.confirmed {
    background: #E6FFF9;
    color: var(--secondary-color);
}

.appointment-status.pending {
    background: #FFF4E6;
    color: #F59E0B;
}

/* Trust Badges */
.trust-badges {
    padding: 20px 0 40px 0;
    background: var(--bg-light);
}

.badges-wrapper {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Key Features */
.key-features {
    padding: 40px 0 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    min-height: 2.5em;
    display: flex;
    align-items: flex-start;
}

.feature-card p {
    min-height: 4.5em;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.learn-more {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

.learn-more:hover {
    gap: 8px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 100%;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    scroll-snap-align: center;
    display: none;
}

.testimonial-card.active {
    display: block;
}

.stars {
    color: #FFB800;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img,
.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    font-size: 0.875rem;
    margin: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--primary-color);
}

/* ROI Calculator */
.roi-calculator {
    padding: 80px 0;
}

.roi-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.roi-text h2 {
    margin-bottom: 1rem;
}

.roi-inputs {
    margin-top: 2rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.input-group input[type="range"] {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.input-group .value {
    display: inline-block;
    margin-left: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.roi-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.result-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.result-card.primary {
    grid-column: span 2;
    background: var(--primary-color);
    color: white;
    border: none;
}

.result-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.result-card.primary h3 {
    color: white;
}

.result-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.result-card.primary .result-number {
    color: white;
}

/* Integrations */
.integrations {
    padding: 80px 0;
    background: var(--bg-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
}

.partner-logo {
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 80px;
}

.partner-logo span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.logo-placeholder {
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo-placeholder.quickbooks {
    background: linear-gradient(135deg, #0077C5, #005A9A);
    color: white;
}

.logo-placeholder.stripe {
    background: linear-gradient(135deg, #635BFF, #4E46E5);
    color: white;
}

.logo-placeholder.google {
    background: linear-gradient(135deg, #4285F4, #34A853);
    color: white;
}

.logo-placeholder.zoom {
    background: linear-gradient(135deg, #2D8CFF, #1976D2);
    color: white;
}

.logo-placeholder.office {
    background: linear-gradient(135deg, #FF6B35, #E53E3E);
    color: white;
}

.partner-logo:hover .logo-placeholder {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
    width: 80px;
    height: 35px;
    object-fit: contain;
}

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

.integration-note {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.integration-note p {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #0052CC);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color) !important;
    border: 2px solid white;
}

.cta-section .btn-primary:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    border-color: var(--bg-light);
}

.cta-section .btn-secondary {
    border-color: white;
    color: white;
    background: transparent;
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

/* Floating Demo Button */
.floating-demo-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-color);
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    z-index: 999;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.floating-demo-btn.show {
    opacity: 1;
    transform: translateY(0);
}

.floating-demo-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .roi-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 
MOBILE DASHBOARD VERSIONS BACKUP
Version 1 (Horizontal Cards) - Current Active Version
- Cards in vertical stack with horizontal layout
- Icon on left, content on right
- All stats visible at once
*/

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 0;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
        margin-top: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Version 1: Horizontal Cards - Final Implementation */
    .dashboard-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .appointment-preview {
        grid-column: span 1;
    }
    
    .stat-card {
        flex-direction: row;
        align-items: center;
        padding: 16px;
        gap: 16px;
    }
    
    .stat-icon {
        font-size: 1.25rem;
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }
    
    .stat-content {
        text-align: left;
        flex: 1;
    }
    
    .stat-card .stat-label {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--text-light);
        margin-bottom: 4px;
    }
    
    .stat-card .stat-value {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-dark);
        line-height: 1.2;
    }
    
    .stat-card .stat-change {
        font-size: 0.75rem;
        margin-top: 2px;
    }
    
    /* Hide other version elements */
    .show-more-stats {
        display: none;
    }
    
    .priority-badge {
        display: none;
    }
    
    .stat-visual {
        display: none;
    }
    
    .stat-card-header {
        display: none;
    }
    
    .scroll-indicators {
        display: none;
    }
    
    .appointment-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .floating-demo-btn span {
        display: none;
    }
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
    loading: lazy;
}

/* Extra small devices */
@media (max-width: 480px) {
    .dashboard-section h3 {
        font-size: 1.25rem;
    }
    
    .stat-card {
        padding: 12px;
        gap: 12px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .stat-change {
        font-size: 0.7rem;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid currentColor;
    }
    
    .btn-secondary {
        background: var(--text-dark);
        color: var(--bg-white);
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to main content link */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 9999;
    border-radius: 4px;
}

.skip-to-main:focus {
    top: 6px;
}

/* Improve contrast for better readability */
.hero-subtitle,
.section-subtitle {
    color: #475569; /* Darker than var(--text-light) for better contrast */
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }