:root {
            --primary-blue: #2563eb;
            --primary-navy: #1e3d6f;
            --secondary-teal: #0891b2;
            --accent-cyan: #06b6d4;
            --text-dark: #1f2937;
            --text-light: #6b7280;
            --background-light: #ffffff;
            --background-gray: #f8fafc;
            --border-light: #e5e7eb;
            --bg-light: #ffffff;
            --bg-gray: #f8fafc;
        }

        [data-theme="dark"] {
            --primary-blue: #3b82f6;
            --primary-navy: #1e40af;
            --secondary-teal: #0891b2;
            --accent-cyan: #06b6d4;
            --text-dark: #f9fafb;
            --text-light: #d1d5db;
            --background-light: #111827;
            --background-gray: #1f2937;
            --border-light: #374151;
            --bg-light: #111827;
            --bg-gray: #1f2937;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background: var(--background-light);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* PROTECTED IMAGE STYLES */
        .protected-img {
            user-select: none !important;
            -webkit-user-select: none !important;
            -moz-user-select: none !important;
            -ms-user-select: none !important;
            pointer-events: none !important;
            -webkit-user-drag: none !important;
            -khtml-user-drag: none !important;
            -moz-user-drag: none !important;
            -o-user-drag: none !important;
            position: relative;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        .protected-img::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 1;
            pointer-events: none;
        }

        .logo-protected {
            width: 180px;
            height: 50px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: left center;
        }

        /* Header Styles */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: var(--background-light);
            border-bottom: 1px solid var(--border-light);
            z-index: 1000;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 80px;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary-navy);
            text-decoration: none;
            display: flex;
            align-items: center;
        }

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

        .nav-link {
            color: var(--text-dark);
            text-decoration: none;
            font-weight: 600;
            transition: color 0.3s ease;
            font-size: 0.9rem;
        }

        .nav-link:hover {
            color: var(--primary-blue);
        }

        .theme-toggle {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
        }

        .mobile-menu-button {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
        }

        /* Hero Section */
        .hero {
            background: 
                linear-gradient(135deg, rgba(30, 61, 111, 0.9), rgba(37, 99, 235, 0.9)),
                url('/assets/images/backgrounds/digital-dentistry-collage-light.jpg') center center/cover no-repeat;
            background-position: center center, center -200px; /* Show only middle row */
            padding: 4rem 2rem;
            text-align: center;
            position: relative;
        }

        [data-theme="dark"] .hero {
            background: 
                linear-gradient(135deg, rgba(30, 61, 111, 0.95), rgba(37, 99, 235, 0.95)),
                url('/assets/images/backgrounds/digital-dentistry-collage-dark.jpg') center center/cover no-repeat;
            background-position: center center, center -200px; /* Show only middle row */
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .hero-title {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: white;
        }

        .hero-subtitle {
            font-size: 1.25rem;
            color: rgba(255, 255, 255, 0.9);
        }

        /* Content Styles */
        .main-content {
            flex: 1;
        }

        .content-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 3rem 2rem;
        }

        .terms-content {
            background: var(--background-light);
            border: 1px solid var(--border-light);
            border-radius: 8px;
            padding: 3rem;
            max-width: 900px;
            margin: 0 auto;
        }

        .terms-content h2 {
            color: var(--primary-navy);
            font-size: 1.8rem;
            margin-top: 2.5rem;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--border-light);
        }

        .terms-content h2:first-child {
            margin-top: 0;
        }

        [data-theme="dark"] .terms-content h2 {
            color: var(--accent-cyan);
        }

        .terms-content h3 {
            color: var(--primary-blue);
            font-size: 1.2rem;
            margin-top: 1.5rem;
            margin-bottom: 0.75rem;
        }

        .terms-content h4 {
            color: var(--primary-blue);
            font-size: 1.1rem;
            margin-top: 1.25rem;
            margin-bottom: 0.5rem;
        }

        .terms-content p {
            margin-bottom: 1rem;
            line-height: 1.7;
        }

        .terms-content ul, .terms-content ol {
            margin: 1rem 0 1rem 2rem;
        }

        .terms-content li {
            margin-bottom: 0.5rem;
            line-height: 1.6;
        }

        .terms-content a {
            color: var(--primary-blue);
            text-decoration: none;
        }

        .terms-content a:hover {
            text-decoration: underline;
        }

        .highlight-box {
            background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
            color: white;
            padding: 1.5rem;
            border-radius: 8px;
            margin: 2rem 0;
        }

        .highlight-box h4 {
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: white;
        }

        .highlight-box p {
            color: white;
            opacity: 1;
            font-weight: 500;
        }

        .messaging-terms-box {
            background: linear-gradient(135deg, var(--secondary-teal), var(--accent-cyan));
            color: white;
            padding: 2rem;
            border-radius: 8px;
            margin: 2rem 0;
        }

        .messaging-terms-box h3 {
            color: white;
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        .messaging-terms-box h4 {
            color: white;
            margin-top: 1.5rem;
            margin-bottom: 0.75rem;
        }

        .messaging-terms-box ul {
            margin: 1rem 0 1rem 1.5rem;
        }

        .messaging-terms-box li {
            color: white;
            margin-bottom: 0.5rem;
        }

        .messaging-terms-box p {
            color: white;
            margin-bottom: 1rem;
        }

        .messaging-terms-box a {
            color: white;
            text-decoration: underline;
        }

        .messaging-terms-box a:hover {
            color: rgba(255, 255, 255, 0.9);
        }

        .info-box {
            background: var(--background-gray);
            border-left: 4px solid var(--primary-blue);
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 8px 8px 0;
        }

        .warning-box {
            background: linear-gradient(135deg, #dc2626, #ef4444);
            color: white;
            padding: 1.5rem;
            border-radius: 8px;
            margin: 2rem 0;
        }

        .warning-box h4 {
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: white;
        }

        .contact-section {
            background: var(--primary-navy);
            color: white;
            padding: 2rem;
            border-radius: 8px;
            margin: 2rem 0;
            text-align: center;
        }

        .contact-button {
            display: inline-block;
            background: white;
            color: var(--primary-navy);
            padding: 0.75rem 2rem;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 600;
            margin-top: 1rem;
            transition: all 0.3s ease;
        }

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

        /* Footer Styles */
        .footer {
            background: var(--primary-navy);
            color: white;
            padding: 3rem 0 1rem;
            margin-top: auto;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

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

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

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

        .footer-section a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s ease;
        }

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

        .footer-bottom {
            text-align: center;
            padding: 1.5rem 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            color: rgba(255, 255, 255, 0.8);
        }

        .footer-bottom a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
        }

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

        /* Skip to content link */
        .skip-to-content {
            position: absolute;
            left: -9999px;
            z-index: 999;
            padding: 1rem;
            background: var(--primary-blue);
            color: white;
            text-decoration: none;
        }

        .skip-to-content:focus {
            left: 50%;
            transform: translateX(-50%);
            top: 1rem;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            body {
                padding-top: 70px;
            }

            .header-content {
                height: 70px;
                padding: 0 1rem;
            }

            .nav-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--background-light);
                flex-direction: column;
                padding: 1rem 0;
                border-bottom: 1px solid var(--border-light);
                box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            }

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

            .nav-link {
                padding: 1rem 2rem;
                width: 100%;
            }

            .mobile-menu-button {
                display: block;
            }

            .hero-title {
                font-size: 2rem;
            }

            .content-container {
                padding: 2rem 1rem;
            }

            .terms-content {
                padding: 2rem;
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .header-content {
                padding: 0 1rem;
            }

            .hero-content {
                padding: 0 1rem;
            }

            .terms-content {
                padding: 1.5rem;
            }
        }

        /* Print Styles */
        @media print {
            .header,
            .footer,
            .theme-toggle,
            .mobile-menu-button {
                display: none;
            }

            body {
                color: black;
                background: white;
                padding-top: 0;
            }

            .terms-content {
                border: none;
                box-shadow: none;
                padding: 0;
            }
        }

        /* Focus Visible for better keyboard navigation */
        :focus-visible {
            outline: 2px solid var(--primary-blue);
            outline-offset: 2px;
            border-radius: 4px;
        }

        /* Reduced Motion */
        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }
        }

        /* Smooth scroll behavior */
        html {
            scroll-behavior: smooth;
        }
