     /* Dark mode Pdf Viewer */
     
     * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            /* Light mode colors */
            --light-bg: #f8f9fa;
            --light-text: #212529;
            --light-card: #ffffff;
            --light-border: #e1e5eb;
            --light-shadow: rgba(0, 0, 0, 0.1);

            /* Dark mode colors */
            --dark-bg: #121212;
            --dark-text: #e9ecef;
            --dark-card: #1e1e1e;
            --dark-border: #333333;
            --dark-shadow: rgba(0, 0, 0, 0.3);

            /* Brand colors */
            --primary-orange: #ff6a00;
            --primary-pink: #ee0979;
            --primary-purple: #6a11cb;
            --primary-blue: #2575fc;

            /* Current theme */
            --bg-color: var(--light-bg);
            --text-color: var(--light-text);
            --card-color: var(--light-card);
            --border-color: var(--light-border);
            --shadow-color: var(--light-shadow);
        }

        body {
            font-family: "Segoe UI", Arial, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            transition: background-color 0.3s, color 0.3s;
        }

        body.dark-mode {
            --bg-color: var(--dark-bg);
            --text-color: var(--dark-text);
            --card-color: var(--dark-card);
            --border-color: var(--dark-border);
            --shadow-color: var(--dark-shadow);
        }

        /* Header */
        header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 30px;
            background: var(--card-color);
            box-shadow: 0 3px 10px var(--shadow-color);
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: background-color 0.3s, box-shadow 0.3s;
        }

        header img {
            height: 55px;
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 20px;
        }

        nav ul li a {
            text-decoration: none;
            font-weight: bold;
            color: var(--text-color);
            position: relative;
            transition: color 0.3s ease, transform 0.3s ease;
            padding: 5px 10px;
        }

        nav ul li a:hover {
            color: var(--primary-orange);
            transform: translateY(-2px);
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--primary-orange);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            transition: width 0.3s ease;
        }

        nav ul li a:hover::after {
            width: 100%;
        }

        /* Mobile Menu Toggle */
        .menu-toggle {
            display: none;
            font-size: 24px;
            background: none;
            border: none;
            color: var(--text-color);
            cursor: pointer;
            z-index: 1001;
            transition: color 0.3s ease, transform 0.3s ease;
        }

        .menu-toggle:hover {
            color: var(--primary-orange);
            transform: rotate(90deg);
        }

        @media (max-width: 768px) {
            .menu-toggle {
                display: block;
            }

            nav {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: var(--card-color);
                box-shadow: 0 3px 10px var(--shadow-color);
                transform: translateX(-100%);
                transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.4s;
                opacity: 0;
            }

            nav.active {
                display: block;
                transform: translateX(0);
                opacity: 1;
            }

            nav ul {
                flex-direction: column;
                padding: 20px;
                gap: 15px;
            }

            nav ul li {
                text-align: center;
                opacity: 0;
                transform: translateY(20px);
                transition: opacity 0.3s ease, transform 0.3s ease;
            }

            nav.active ul li {
                opacity: 1;
                transform: translateY(0);
            }

            nav ul li:nth-child(1) {
                transition-delay: 0.1s;
            }

            nav ul li:nth-child(2) {
                transition-delay: 0.2s;
            }

            nav ul li:nth-child(3) {
                transition-delay: 0.3s;
            }

            nav ul li:nth-child(4) {
                transition-delay: 0.4s;
            }

            nav ul li:nth-child(5) {
                transition-delay: 0.5s;
            }

            nav ul li:nth-child(6) {
                transition-delay: 0.6s;
            }

            nav ul li:nth-child(7) {
                transition-delay: 0.7s;
            }
        }

        /* Main content */
        .main-content {
            flex: 1 0 auto;
            width: 100%;
            padding: 20px 0;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
            color: white;
            text-align: center;
            padding: 70px 20px;
        }

        .hero h1 {
            font-size: 2.8rem;
            margin-bottom: 12px;
            animation: fadeInDown 1s ease;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
            position: relative;
            display: inline-block;
        }

        .hero h1::after {
            content: '';
            position: absolute;
            width: 100px;
            height: 4px;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .hero p {
            font-size: 1.2rem;
            animation: fadeInUp 1.2s ease;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Tools Heading */
        .tools-heading {
            text-align: center;
            margin: 30px auto;
            animation: fadeInDown 1s ease;
            width: 100%;
            max-width: 1000px;
            padding: 0 20px;
        }

        .tools-heading h2 {
            font-size: 2.4rem;
            background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 15px;
        }

        .tools-heading h2::after {
            content: "";
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink));
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;
            border-radius: 2px;
            transition: width 0.4s ease;
        }

        .tools-heading h2:hover::after {
            width: 140px;
        }

        .tools-heading p {
            font-size: 1rem;
            color: var(--text-color);
            max-width: 650px;
            margin: 15px auto 0;
            line-height: 1.6;
        }

        /* Brand Highlight */
        .brand-highlight {
            color: var(--primary-orange);
            font-weight: 700;
        }

        /* PDF Viewer Container */
        .pdf-container {
            width: 100%;
            max-width: 1200px;
            margin: 30px auto;
            padding: 0 20px;
        }

        .pdf-card {
            background: var(--card-color);
            border-radius: 20px;
            box-shadow: 0 10px 30px var(--shadow-color);
            padding: 30px;
            margin-bottom: 30px;
            transition: transform 0.3s ease, background-color 0.3s;
            position: relative;
            overflow: hidden;
        }

        .pdf-card::before {
            content: 'Toolnex AI';
            position: absolute;
            top: 10px;
            right: 10px;
            background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
            color: white;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 0.7rem;
            font-weight: bold;
        }

        .pdf-card:hover {
            transform: translateY(-5px);
        }

        .pdf-title {
            font-size: 1.5rem;
            color: var(--primary-orange);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            position: relative;
            padding-bottom: 10px;
            padding-right: 100px;
        }

        .pdf-title::after {
            content: '';
            position: absolute;
            width: 50px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink));
            bottom: 0;
            left: 0;
            border-radius: 2px;
            transition: width 0.3s ease;
        }

        .pdf-card:hover .pdf-title::after {
            width: 80px;
        }

        /* Controls Section */
        .controls-section {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 20px;
            align-items: center;
        }

        .control-group {
            display: flex;
            align-items: center;
            gap: 10px;
            background: var(--bg-color);
            padding: 10px 15px;
            border-radius: 10px;
            border: 1px solid var(--border-color);
        }

        .control-label {
            font-weight: 600;
            color: var(--text-color);
            white-space: nowrap;
        }

        .control-btn {
            background: var(--card-color);
            border: 1px solid var(--border-color);
            color: var(--text-color);
            padding: 8px 12px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .control-btn:hover {
            background: var(--primary-orange);
            color: white;
            transform: translateY(-2px);
        }

        .control-btn.active {
            background: var(--primary-orange);
            color: white;
        }

        .theme-selector {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            max-width: 200px;
        }

        .theme-btn {
            width: 25px;
            height: 25px;
            border-radius: 50%;
            border: 2px solid var(--border-color);
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .theme-btn:hover {
            transform: scale(1.1);
        }

        .theme-btn.active {
            border-color: var(--primary-orange);
            transform: scale(1.1);
        }

        .theme-dark-gray {
            background: #2d2d2d;
        }

        .theme-midnight-blue {
            background: #1a2a3a;
        }

        .theme-soft-sepia {
            background: #f4ecd8;
        }

        .theme-green-night {
            background: #1a3a2a;
        }

        .theme-purple-dusk {
            background: #2a1a3a;
        }

        .theme-red-night {
            background: #3a1a1a;
        }

        .theme-blue-gray {
            background: #2a3a3a;
        }

        .theme-amber-night {
            background: #3a2a1a;
        }

        .theme-teal-night {
            background: #1a3a3a;
        }

        .theme-pink-night {
            background: #3a1a2a;
        }

        .theme-brown-night {
            background: #3a2a1a;
        }

        .theme-cyan-night {
            background: #1a2a3a;
        }

        .theme-lavender-night {
            background: #2a1a3a;
        }

        .slider-control {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .slider {
            -webkit-appearance: none;
            width: 120px;
            height: 6px;
            background: var(--border-color);
            border-radius: 3px;
            outline: none;
        }

        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--primary-orange);
            cursor: pointer;
        }

        .slider::-moz-range-thumb {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--primary-orange);
            cursor: pointer;
            border: none;
        }

        /* File Upload Section */
        .file-upload {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            border: 2px dashed var(--border-color);
            border-radius: 15px;
            margin-bottom: 20px;
            transition: border-color 0.3s;
            background: var(--bg-color);
        }

        .file-upload:hover {
            border-color: var(--primary-orange);
        }

        .file-upload i {
            font-size: 3rem;
            color: var(--primary-orange);
            margin-bottom: 15px;
        }

        .file-upload p {
            margin-bottom: 15px;
            text-align: center;
            color: var(--text-color);
        }

        .file-input {
            display: none;
        }

        .file-label {
            background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
            color: white;
            padding: 12px 25px;
            border-radius: 10px;
            cursor: pointer;
            font-weight: 600;
            transition: transform 0.3s, box-shadow 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .file-label:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 106, 0, 0.4);
        }

        /* PDF Viewer */
        .pdf-viewer-container {
            width: 100%;
            height: 70vh;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            overflow: auto;
            background: var(--bg-color);
            position: relative;
            margin-bottom: 20px;
        }

        .pdf-viewer {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
        }

        .pdf-page {
            margin-bottom: 20px;
            box-shadow: 0 5px 15px var(--shadow-color);
            position: relative;
        }

        .pdf-page canvas {
            display: block;
            max-width: 100%;
            height: auto;
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
        }

        /* Navigation Controls */
        .navigation-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            margin-top: 20px;
        }

        .nav-btn {
            background: var(--card-color);
            border: 1px solid var(--border-color);
            color: var(--text-color);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .nav-btn:hover {
            background: var(--primary-orange);
            color: white;
            transform: translateY(-2px);
        }

        .page-info {
            font-weight: 600;
            color: var(--text-color);
            min-width: 100px;
            text-align: center;
        }

        /* Additional Features */
        .additional-features {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            margin-top: 25px;
        }

        @media (min-width: 480px) {
            .additional-features {
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            }
        }

        .feature-card {
            background: var(--card-color);
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 3px 10px var(--shadow-color);
            transition: transform 0.3s ease, background-color 0.3s;
            border-left: 4px solid var(--primary-orange);
        }

        .feature-card:hover {
            transform: translateY(-3px);
        }

        .feature-title {
            font-size: 1.1rem;
            color: var(--primary-orange);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .Toolnex-powered {
            font-size: 0.9rem;
            color: var(--primary-orange);
            font-weight: 600;
            margin-top: 10px;
            text-align: center;
        }

        /* Action Buttons */
        .action-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .action-btn {
            background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 10px;
            cursor: pointer;
            font-weight: 600;
            transition: transform 0.3s, box-shadow 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .action-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 106, 0, 0.4);
        }

        .action-btn.secondary {
            background: var(--card-color);
            color: var(--text-color);
            border: 1px solid var(--border-color);
        }

        .action-btn.secondary:hover {
            background: var(--bg-color);
        }

        /* How to Use Section */
        .how-to-use {
            width: 100%;
            max-width: 1000px;
            margin: 30px auto;
            padding: 0 20px;
        }

        .how-to-use-card {
            background: var(--card-color);
            border-radius: 20px;
            box-shadow: 0 10px 30px var(--shadow-color);
            padding: 30px;
            margin-bottom: 30px;
            transition: transform 0.3s ease, background-color 0.3s;
        }

        .how-to-use-card:hover {
            transform: translateY(-5px);
        }

        .how-to-use-card h2 {
            font-size: 1.8rem;
            color: var(--primary-orange);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            position: relative;
            padding-bottom: 10px;
        }

        .how-to-use-card h2::after {
            content: '';
            position: absolute;
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-orange), var(--primary-pink));
            bottom: 0;
            left: 0;
            border-radius: 2px;
            transition: width 0.3s ease;
        }

        .how-to-use-card:hover h2::after {
            width: 140px;
        }

        .how-to-use-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .step {
            background: var(--bg-color);
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
            border-left: 4px solid var(--primary-orange);
        }

        .step:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px var(--shadow-color);
        }

        .step-number {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
            color: white;
            border-radius: 50%;
            font-weight: bold;
            margin: 0 auto 15px;
        }

        .step h3 {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: var(--text-color);
            position: relative;
            padding-bottom: 8px;
        }

        .step h3::after {
            content: '';
            position: absolute;
            width: 30px;
            height: 2px;
            background: var(--primary-orange);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 1px;
        }

        .step p {
            color: var(--text-color);
            line-height: 1.5;
        }

        /* Footer */
        footer {
            background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
            color: white;
            padding: 20px 15px;
            position: relative;
            overflow: hidden;
            flex-shrink: 0;
            width: 100%;
        }

        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #ff6a00, #ee0979, #00c4cc);
            z-index: 1;
        }

        .footer-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 25px;
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .footer-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .footer-logo {
            margin-bottom: 15px;
            transition: transform 0.5s ease;
        }

        .footer-logo:hover {
            transform: translateY(-5px);
        }

        .footer-logo img {
            height: 50px;
            transition: transform 0.3s ease;
            border-radius: 8px;
            background: white;
            padding: 5px;
        }

        .footer-logo img:hover {
            transform: scale(1.05);
        }

        .footer-description {
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 15px;
            max-width: 100%;
            opacity: 0.9;
        }

        .footer-heading {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 15px;
            position: relative;
            padding-bottom: 8px;
            display: inline-block;
        }

        .footer-heading::after {
            content: '';
            position: absolute;
            width: 30px;
            height: 2px;
            background: linear-gradient(90deg, #ff6a00, #ee0979);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
            transition: width 0.4s ease;
        }

        .footer-heading:hover::after {
            width: 50px;
        }

        .footer-tools ul,
        .footer-quick-links ul {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            padding: 0;
            margin: 0;
        }

        .footer-tools ul li a,
        .footer-quick-links ul li a {
            color: white;
            text-decoration: none;
            opacity: 0.9;
            transition: opacity 0.3s ease, color 0.3s ease;
        }

        .footer-tools ul li a:hover,
        .footer-quick-links ul li a:hover {
            opacity: 1;
            color: #ffcc00;
        }

        .footer-social {
            display: flex;
            gap: 12px;
            margin-top: 15px;
            justify-content: center;
            align-items: center;
        }

        .footer-social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            font-size: 16px;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .footer-social a::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #ff6a00, #ee0979);
            border-radius: 50%;
            transform: scale(0);
            transition: transform 0.3s ease;
            z-index: -1;
        }

        .footer-social a:hover {
            transform: translateY(-3px);
            color: white;
        }

        .footer-social a:hover::after {
            transform: scale(1);
        }

        .footer-social a i {
            transition: transform 0.3s ease;
        }

        .footer-social a:hover i {
            transform: scale(1.2);
        }

        .footer-contact {
            margin-top: 15px;
        }

        .footer-contact p {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 10px;
            opacity: 0.9;
            font-size: 0.9rem;
        }

        .footer-contact i {
            margin-right: 8px;
            color: #ffcc00;
            font-size: 16px;
        }

        .footer-bottom {
            text-align: center;
            margin-top: 20px;
            font-size: 0.85rem;
            border-top: 1px solid rgba(255, 255, 255, 0.15);
            padding-top: 15px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            grid-column: 1 / -1;
        }

        .footer-bottom p {
            margin-bottom: 12px;
            opacity: 0.9;
            width: 100%;
        }

        .footer-legal {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
            width: 100%;
        }

        .footer-legal a {
            color: white;
            text-decoration: none;
            opacity: 0.8;
            transition: opacity 0.3s ease, color 0.3s ease;
            font-size: 0.85rem;
            position: relative;
            white-space: nowrap;
        }

        .footer-legal a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 1px;
            background: #ffcc00;
            bottom: -2px;
            left: 0;
            transition: width 0.3s ease;
        }

        .footer-legal a:hover {
            opacity: 1;
            color: #ffcc00;
        }

        .footer-legal a:hover::after {
            width: 100%;
        }

        .footer-bubble {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            animation: float 8s infinite ease-in-out;
        }

        .footer-bubble:nth-child(1) {
            width: 60px;
            height: 60px;
            top: 20%;
            left: 5%;
            animation-delay: 0s;
        }

        .footer-bubble:nth-child(2) {
            width: 40px;
            height: 40px;
            top: 60%;
            left: 8%;
            animation-delay: 1s;
        }

        .footer-bubble:nth-child(3) {
            width: 50px;
            height: 50px;
            top: 30%;
            right: 5%;
            animation-delay: 2s;
        }

        .footer-bubble:nth-child(4) {
            width: 30px;
            height: 30px;
            top: 70%;
            right: 10%;
            animation-delay: 3s;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0) rotate(0deg);
            }

            50% {
                transform: translateY(-15px) rotate(10deg);
            }
        }

        /* Newsletter Form */
        .footer-newsletter {
            margin-top: 15px;
            width: 100%;
        }

        .newsletter-form {
            display: flex;
            flex-direction: column;
            gap: 10px;
            align-items: center;
        }

        .newsletter-input {
            padding: 10px 15px;
            border: none;
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.12);
            color: white;
            font-size: 14px;
            transition: background 0.3s ease, box-shadow 0.3s ease;
            width: 100%;
            max-width: 250px;
        }

        .newsletter-input:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.18);
            box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.5);
        }

        .newsletter-input::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        .newsletter-btn {
            padding: 10px 15px;
            border: none;
            border-radius: 6px;
            background: linear-gradient(135deg, #ff6a00, #ee0979);
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            width: 100%;
            max-width: 250px;
        }

        .newsletter-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(255, 106, 0, 0.4);
        }

        /* Responsive Design for Footer */
        @media (min-width: 769px) {
            .footer-container {
                grid-template-columns: repeat(4, 1fr);
            }

            .footer-bottom {
                grid-column: 1 / span 4;
            }
        }

        @media (max-width: 480px) {
            .footer-logo img {
                height: 40px;
            }

            .footer-heading {
                font-size: 1.1rem;
            }

            .footer-tools ul,
            .footer-quick-links ul {
                grid-template-columns: 1fr;
            }

            .footer-social a {
                width: 32px;
                height: 32px;
                font-size: 14px;
            }

            .footer-contact p {
                font-size: 0.8rem;
            }

            .footer-contact i {
                font-size: 14px;
            }

            .footer-legal a {
                font-size: 0.8rem;
            }

            .newsletter-input,
            .newsletter-btn {
                padding: 8px 12px;
                font-size: 12px;
                max-width: 200px;
            }
        }

        .pdf-footer {
            text-align: center;
            margin-top: 30px;
            padding: 20px;
            color: var(--text-color);
            font-size: 0.9rem;
            border-top: 1px solid var(--border-color);
        }

        .disclaimer {
            max-width: 800px;
            margin: 0 auto;
            font-size: 0.8rem;
            color: var(--text-color);
            margin-top: 10px;
            line-height: 1.4;
            opacity: 0.7;
        }

        /* Loading indicator */
        .loading {
            display: none;
            text-align: center;
            padding: 20px;
            color: var(--text-color);
        }

        .loading i {
            font-size: 2rem;
            margin-bottom: 10px;
            color: var(--primary-orange);
        }

        /* Keyboard shortcuts info */
        .keyboard-shortcuts {
            background: var(--card-color);
            border-radius: 10px;
            padding: 15px;
            margin-top: 20px;
            border-left: 4px solid var(--primary-orange);
        }

        .keyboard-shortcuts h3 {
            margin-bottom: 10px;
            color: var(--primary-orange);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .shortcut-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 10px;
        }

        .shortcut-item {
            display: flex;
            justify-content: space-between;
            padding: 5px 0;
            border-bottom: 1px solid var(--border-color);
        }

        .shortcut-key {
            background: var(--bg-color);
            padding: 2px 8px;
            border-radius: 4px;
            font-family: monospace;
            font-weight: bold;
            border: 1px solid var(--border-color);
        }

        /* Night reading timer */
        .timer-control {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .timer-display {
            font-weight: bold;
            min-width: 40px;
            text-align: center;
        }

        /* View Mode Selector */
        .view-mode-selector {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .mode-btn {
            background: var(--card-color);
            border: 1px solid var(--border-color);
            color: var(--text-color);
            padding: 8px 12px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.9rem;
        }

        .mode-btn:hover {
            background: var(--primary-orange);
            color: white;
            transform: translateY(-2px);
        }

        .mode-btn.active {
            background: var(--primary-orange);
            color: white;
        }

        /* Responsive adjustments for controls */
        @media (max-width: 768px) {
            .controls-section {
                flex-direction: column;
                align-items: flex-start;
            }

            .control-group {
                width: 100%;
                justify-content: space-between;
            }

            .theme-selector {
                max-width: 100%;
            }

            .view-mode-selector {
                flex-wrap: wrap;
            }
        }