        :root {
            --primary: #4361ee;
            --primary-light: #6a7ff5;
            --primary-dark: #3a0ca3;
            --secondary: #7209b7;
            --accent: #4cc9f0;
            --light: #f8f9fa;
            --dark: #212529;
            --success: #4ade80;
            --warning: #f59e0b;
            --danger: #ef4444;
            --gray: #6c757d;
            --gray-light: #e9ecef;
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
            --radius: 12px;
            --radius-lg: 20px;
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
        }

        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #e3e9f7 100%);
            color: var(--dark);
            line-height: 1.6;
            min-height: 100vh;
            padding: 20px;
            position: relative;
            overflow-x: hidden;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 80%, rgba(67, 97, 238, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(76, 201, 240, 0.05) 0%, transparent 50%);
            z-index: -1;
        }

        .container {
            max-width: 1400px;
            margin: 0 25px;
        }

        header {
            text-align: center;
            margin-bottom: 40px;
            padding: 30px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            position: relative;
            overflow: hidden;
        }

        header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
        }

        h1 {
            color: var(--primary);
            margin-bottom: 10px;
            font-size: 3rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
        }

        .tagline {
            color: var(--gray);
            font-size: 1.2rem;
            max-width: 600px;
            margin: 0 auto;
        }

        .main-content {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 40px;
            margin-bottom: 40px;
        }

        @media (max-width: 1024px) {
            .main-content {
                grid-template-columns: 1fr;
            }
        }

        .input-section,
        .results-section {
            background: rgba(255, 255, 255, 0.85);
            border-radius: var(--radius-lg);
            padding: 30px;
            box-shadow: var(--shadow);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .section-title {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
            color: var(--primary-dark);
            font-size: 1.6rem;
            font-weight: 600;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--gray-light);
        }

        .section-title i {
            margin-right: 12px;
            font-size: 1.5rem;
            color: var(--primary);
        }

        textarea {
            width: 100%;
            height: 320px;
            padding: 20px;
            border: 2px solid var(--gray-light);
            border-radius: var(--radius);
            resize: vertical;
            font-size: 1rem;
            line-height: 1.6;
            transition: var(--transition);
            background: rgba(255, 255, 255, 0.7);
        }

        textarea:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 4px rgba(76, 201, 240, 0.2);
            background: white;
        }

        .input-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .file-upload {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .file-upload-label {
            background: var(--light);
            padding: 10px 18px;
            border-radius: var(--radius);
            cursor: pointer;
            border: 1px solid var(--gray-light);
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            transition: var(--transition);
            font-weight: 500;
        }

        .file-upload-label:hover {
            background: var(--primary-light);
            color: white;
            transform: translateY(-2px);
        }

        .file-upload-label i {
            margin-right: 8px;
        }

        #fileUpload {
            display: none;
        }

        .text-actions {
            display: flex;
            gap: 10px;
        }

        .text-action-btn {
            background: var(--light);
            border: 1px solid var(--gray-light);
            padding: 10px 18px;
            border-radius: var(--radius);
            cursor: pointer;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            transition: var(--transition);
            font-weight: 500;
        }

        .text-action-btn:hover {
            background: var(--primary-light);
            color: white;
            transform: translateY(-2px);
        }

        .text-action-btn i {
            margin-right: 8px;
        }

        .buttons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        button {
            padding: 14px 24px;
            border: none;
            border-radius: var(--radius);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
        }

        button i {
            margin-right: 10px;
        }

        .analyze-btn {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            flex: 1;
            box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
        }

        .analyze-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
        }

        .clear-btn {
            background: var(--light);
            color: var(--dark);
            border: 1px solid var(--gray-light);
        }

        .clear-btn:hover {
            background: var(--gray-light);
            transform: translateY(-2px);
        }

        .action-btn {
            background: linear-gradient(135deg, var(--accent), #3aa8d0);
            color: white;
            box-shadow: 0 4px 15px rgba(76, 201, 240, 0.3);
        }

        .action-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(76, 201, 240, 0.4);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .stat-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.7) 100%);
            padding: 20px;
            border-radius: var(--radius);
            text-align: center;
            box-shadow: var(--shadow);
            border: 1px solid rgba(255, 255, 255, 0.5);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
        }

        .stat-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .stat-value {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 8px;
        }

        .stat-label {
            font-size: 0.95rem;
            color: var(--gray);
            font-weight: 500;
        }

        .reading-time {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
        }

        .time-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.7) 100%);
            padding: 20px;
            border-radius: var(--radius);
            text-align: center;
            flex: 1;
            box-shadow: var(--shadow);
            border: 1px solid rgba(255, 255, 255, 0.5);
            transition: var(--transition);
        }

        .time-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }

        .time-value {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 5px;
        }

        .time-label {
            font-size: 0.9rem;
            color: var(--gray);
            font-weight: 500;
        }

        .word-frequency {
            margin-top: 20px;
        }

        .frequency-title {
            margin-bottom: 20px;
            font-size: 1.3rem;
            color: var(--primary-dark);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .frequency-controls {
            display: flex;
            gap: 10px;
        }

        .frequency-controls button {
            padding: 8px 16px;
            font-size: 0.85rem;
        }

        .frequency-list {
            max-height: 300px;
            overflow-y: auto;
            border: 1px solid var(--gray-light);
            border-radius: var(--radius);
            padding: 15px;
            background: rgba(255, 255, 255, 0.5);
        }

        .frequency-item {
            display: flex;
            justify-content: space-between;
            padding: 12px 15px;
            border-bottom: 1px solid var(--gray-light);
            transition: var(--transition);
            border-radius: 6px;
        }

        .frequency-item:hover {
            background: rgba(67, 97, 238, 0.05);
            transform: translateX(5px);
        }

        .frequency-item:last-child {
            border-bottom: none;
        }

        .word {
            font-weight: 600;
            color: var(--dark);
        }

        .count {
            background: linear-gradient(135deg, var(--accent), #3aa8d0);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .additional-features {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 25px;
            margin-top: 30px;
        }

        @media (max-width: 768px) {
            .additional-features {
                grid-template-columns: 1fr;
            }
        }

        .feature-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.7) 100%);
            border-radius: var(--radius);
            padding: 25px;
            box-shadow: var(--shadow);
            border: 1px solid rgba(255, 255, 255, 0.5);
            transition: var(--transition);
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .feature-title {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            color: var(--primary-dark);
            font-size: 1.2rem;
            font-weight: 600;
        }

        .feature-title i {
            margin-right: 10px;
            font-size: 1.1rem;
            color: var(--primary);
        }

        .keyword-list {
            max-height: 150px;
            overflow-y: auto;
            border: 1px solid var(--gray-light);
            border-radius: var(--radius);
            padding: 10px;
            margin-top: 10px;
            background: rgba(255, 255, 255, 0.5);
        }

        .keyword-item {
            padding: 8px 10px;
            border-bottom: 1px solid var(--gray-light);
            transition: var(--transition);
            border-radius: 4px;
        }

        .keyword-item:hover {
            background: rgba(67, 97, 238, 0.05);
        }

        .keyword-item:last-child {
            border-bottom: none;
        }

        .text-preview {
            max-height: 150px;
            overflow-y: auto;
            border: 1px solid var(--gray-light);
            border-radius: var(--radius);
            padding: 15px;
            margin-top: 10px;
            font-size: 0.9rem;
            line-height: 1.5;
            background: rgba(255, 255, 255, 0.5);
        }

        .tab-container {
            margin-top: 30px;
        }

        .tabs {
            display: flex;
            border-bottom: 2px solid var(--gray-light);
            margin-bottom: 20px;
            overflow-x: auto;
        }

        .tab {
            padding: 12px 24px;
            cursor: pointer;
            border-bottom: 3px solid transparent;
            transition: var(--transition);
            white-space: nowrap;
            font-weight: 500;
        }

        .tab.active {
            border-bottom: 3px solid var(--primary);
            color: var(--primary);
            font-weight: 600;
        }

        .tab-content {
            display: none;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .tab-content.active {
            display: block;
        }

        .sentiment-indicator {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-top: 15px;
        }

        .sentiment-bar {
            flex: 1;
            height: 12px;
            background: var(--gray-light);
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

        .sentiment-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--danger), var(--warning), var(--success));
            border-radius: 10px;
            width: 50%;
            transition: width 1s ease;
        }

        .sentiment-marker {
            position: absolute;
            top: -5px;
            width: 4px;
            height: 22px;
            background: var(--dark);
            transform: translateX(-50%);
        }

        .text-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .text-stat {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid var(--gray-light);
            transition: var(--transition);
        }

        .text-stat:hover {
            background: rgba(67, 97, 238, 0.05);
            padding-left: 10px;
            border-radius: 6px;
        }

        .text-stat:last-child {
            border-bottom: none;
        }

        .text-stat-label {
            color: var(--gray);
            font-weight: 500;
        }

        .text-stat-value {
            font-weight: 600;
            color: var(--primary);
        }

        .export-options {
            display: flex;
            gap: 15px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .export-btn {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            padding: 12px 20px;
            font-size: 0.9rem;
            box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
        }

        .export-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
        }

        footer {
            text-align: center;
            margin-top: 50px;
            padding: 25px;
            color: var(--gray);
            font-size: 0.95rem;
            background: rgba(255, 255, 255, 0.7);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .loading {
            display: none;
            text-align: center;
            padding: 40px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: var(--radius);
            margin: 20px 0;
        }

        .spinner {
            border: 5px solid rgba(67, 97, 238, 0.2);
            border-left-color: var(--primary);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        .notification {
            position: fixed;
            top: 30px;
            right: 30px;
            padding: 18px 28px;
            background: linear-gradient(135deg, var(--success), #22c55e);
            color: white;
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            transform: translateX(150%);
            transition: var(--transition);
            z-index: 1000;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .notification.show {
            transform: translateX(0);
        }

        .notification.warning {
            background: linear-gradient(135deg, var(--warning), #eab308);
        }

        .notification.info {
            background: linear-gradient(135deg, var(--accent), #3aa8d0);
        }

        .progress-bar {
            height: 4px;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 2px;
            overflow: hidden;
            margin-top: 10px;
        }

        .progress-fill {
            height: 100%;
            background: white;
            width: 100%;
            animation: progress 3s linear;
        }

        @keyframes progress {
            from {
                width: 100%;
            }

            to {
                width: 0%;
            }
        }

        .floating-shapes {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }

        .shape {
            position: absolute;
            background: rgba(67, 97, 238, 0.05);
            border-radius: 50%;
            animation: float 20s infinite linear;
        }

        .shape:nth-child(1) {
            width: 100px;
            height: 100px;
            top: 10%;
            left: 5%;
            animation-duration: 25s;
        }

        .shape:nth-child(2) {
            width: 150px;
            height: 150px;
            top: 60%;
            left: 80%;
            animation-duration: 30s;
        }

        .shape:nth-child(3) {
            width: 70px;
            height: 70px;
            top: 80%;
            left: 10%;
            animation-duration: 20s;
        }

        .shape:nth-child(4) {
            width: 120px;
            height: 120px;
            top: 20%;
            left: 90%;
            animation-duration: 35s;
        }

        @keyframes float {
            0% {
                transform: translate(0, 0) rotate(0deg);
            }

            25% {
                transform: translate(20px, 30px) rotate(90deg);
            }

            50% {
                transform: translate(0, 60px) rotate(180deg);
            }

            75% {
                transform: translate(-20px, 30px) rotate(270deg);
            }

            100% {
                transform: translate(0, 0) rotate(360deg);
            }
        }

        .dark-mode-toggle {
            position: fixed;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: var(--shadow);
            z-index: 100;
            transition: var(--transition);
        }

        .dark-mode-toggle:hover {
            transform: rotate(30deg);
        }

        .dark-mode {
            --primary: #6a7ff5;
            --primary-light: #8b9df8;
            --primary-dark: #5a6fdb;
            --secondary: #9d4edd;
            --accent: #56cfe1;
            --light: #1a1a2e;
            --dark: #f8f9fa;
            --success: #4cc9a7;
            --warning: #f9c74f;
            --danger: #f25c54;
            --gray: #a0aec0;
            --gray-light: #2d3748;
            background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
            color: var(--dark);
        }

        .dark-mode header,
        .dark-mode .input-section,
        .dark-mode .results-section,
        .dark-mode .feature-card,
        .dark-mode .stat-card,
        .dark-mode .time-card,
        .dark-mode footer {
            background: rgba(26, 26, 46, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .dark-mode textarea {
            background: rgba(26, 26, 46, 0.5);
            border-color: rgba(255, 255, 255, 0.1);
            color: var(--dark);
        }

        .dark-mode textarea:focus {
            background: rgba(26, 26, 46, 0.8);
        }

        .dark-mode .frequency-list,
        .dark-mode .keyword-list,
        .dark-mode .text-preview {
            background: rgba(26, 26, 46, 0.5);
            border-color: rgba(255, 255, 255, 0.1);
        }

        .dark-mode .shape {
            background: rgba(106, 127, 245, 0.1);
        }

        .dark-mode .text-action-btn {
            background: rgba(45, 55, 72, 0.8);
            color: var(--dark);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .dark-mode .text-action-btn:hover {
            background: var(--primary-light);
            color: white;
        }

        .dark-mode .file-upload-label {
            background: rgba(45, 55, 72, 0.8);
            color: var(--dark);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .dark-mode .file-upload-label:hover {
            background: var(--primary-light);
            color: white;
        }

        .dark-mode #fileName {
            color: var(--dark);
        }

        .dark-mode .dark-mode-toggle {
            background: rgba(45, 55, 72, 0.8);
            color: var(--dark);
        }

        .dark-mode .dark-mode-toggle:hover {
            background: var(--primary-light);
            color: white;
        }

        /* Ensure all text in dark mode has proper contrast */
        .dark-mode .input-controls,
        .dark-mode .text-actions,
        .dark-mode .file-upload {
            color: var(--dark);
        }

        @media (max-width: 768px) {
            h1 {
                font-size: 2.2rem;
            }

            .main-content {
                gap: 20px;
            }

            .input-section,
            .results-section {
                padding: 20px;
            }

            .stats-grid {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
                gap: 15px;
            }

            .buttons {
                flex-direction: column;
            }
        }

        /* Documentation Section Styles */
        .documentation-section {
            background: rgba(255, 255, 255, 0.85);
            border-radius: var(--radius-lg);
            padding: 40px;
            box-shadow: var(--shadow);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            margin-top: 40px;
        }

        .documentation-nav {
            display: flex;
            gap: 10px;
            margin-bottom: 30px;
            flex-wrap: wrap;
            border-bottom: 2px solid var(--gray-light);
            padding-bottom: 20px;
        }

        .doc-nav-btn {
            padding: 12px 24px;
            background: var(--light);
            border: 1px solid var(--gray-light);
            border-radius: var(--radius);
            cursor: pointer;
            transition: var(--transition);
            font-weight: 500;
        }

        .doc-nav-btn.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        .doc-nav-btn:hover:not(.active) {
            background: var(--gray-light);
        }

        .doc-content {
            display: none;
            animation: fadeIn 0.5s ease;
        }

        .doc-content.active {
            display: block;
        }

        .doc-section {
            margin-bottom: 30px;
        }

        .doc-section h3 {
            color: var(--primary-dark);
            margin-bottom: 15px;
            font-size: 1.4rem;
            border-left: 4px solid var(--primary);
            padding-left: 15px;
        }

        .doc-section p {
            margin-bottom: 15px;
            line-height: 1.7;
        }

        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin: 20px 0;
        }

        .feature-card-doc {
            background: var(--light);
            padding: 20px;
            border-radius: var(--radius);
            border-left: 4px solid var(--accent);
        }

        .feature-card-doc h4 {
            color: var(--primary);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .feature-card-doc h4 i {
            color: var(--accent);
        }

        .metric-explanation {
            background: rgba(67, 97, 238, 0.05);
            padding: 20px;
            border-radius: var(--radius);
            margin: 15px 0;
            border-left: 4px solid var(--primary);
        }

        .metric-explanation h5 {
            color: var(--primary-dark);
            margin-bottom: 10px;
        }

        .formula {
            background: var(--light);
            padding: 15px;
            border-radius: var(--radius);
            font-family: 'Courier New', monospace;
            margin: 10px 0;
            border: 1px solid var(--gray-light);
        }

        .tip-box {
            background: linear-gradient(135deg, #e3f2fd, #bbdefb);
            padding: 20px;
            border-radius: var(--radius);
            margin: 20px 0;
            border-left: 4px solid var(--accent);
        }

        .tip-box.warning {
            background: linear-gradient(135deg, #ffebee, #ffcdd2);
            border-left-color: var(--danger);
        }

        .use-cases {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 20px 0;
        }

        .use-case {
            text-align: center;
            padding: 20px;
            background: var(--light);
            border-radius: var(--radius);
            transition: var(--transition);
        }

        .use-case:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }

        .use-case i {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 15px;
        }

        .dark-mode .documentation-section {
            background: rgba(26, 26, 46, 0.8);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .dark-mode .feature-card-doc {
            background: rgba(45, 55, 72, 0.5);
        }

        .dark-mode .metric-explanation {
            background: rgba(67, 97, 238, 0.1);
        }

        .dark-mode .formula {
            background: rgba(45, 55, 72, 0.5);
            border-color: rgba(255, 255, 255, 0.1);
        }

        .dark-mode .tip-box {
            background: linear-gradient(135deg, #1a237e, #283593);
        }

        .dark-mode .use-case {
            background: rgba(45, 55, 72, 0.5);
        }

        @media (max-width: 768px) {
            .documentation-section {
                padding: 20px;
            }

            .feature-grid {
                grid-template-columns: 1fr;
            }

            .doc-nav-btn {
                padding: 10px 15px;
                font-size: 0.9rem;
            }
        }

        .seo-content {
            background: rgba(255, 255, 255, 0.9);
            padding: 40px 0;
            margin: 40px 0;
        }

        .seo-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }

        .seo-feature {
            text-align: center;
            padding: 25px;
        }

        .seo-feature h3 {
            color: var(--primary);
            margin-bottom: 15px;
        }