        /* ============================================
           CENTRIGON TEXT TOOLS - COMPLETE STYLESHEET
           ============================================ */
        
        /* CSS Variables */
        :root {
            --deep-plum: #2d2a4e;
            --rich-gold: #e6b422;
            --soft-berry: #b76e6e;
            --pure-white: #ffffff;
            --slate-50: #f8fafc;
            --slate-100: #f1f5f9;
            --slate-200: #e2e8f0;
            --slate-300: #cbd5e1;
            --slate-400: #94a3b8;
            --slate-500: #64748b;
            --slate-600: #475569;
            --slate-700: #334155;
            --slate-800: #1e293b;
            --slate-900: #0f172a;
            --gradient-1: linear-gradient(135deg, #2d2a4e 0%, #4a3b6e 100%);
            --gradient-2: linear-gradient(135deg, #e6b422 0%, #f5b042 100%);
        }
        
        /* Reset & Base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
            background: linear-gradient(135deg, #faf9ff 0%, #f5f3ff 100%);
            color: var(--slate-800);
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
        }
        
        /* Background Pattern */
        .bg-pattern {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0.03;
            pointer-events: none;
            background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232d2a4e' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            background-repeat: repeat;
        }
        
        /* Container */
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 2rem;
        }
        
        /* Header & Navigation */
        .site-header {
            padding: 2rem 0 1rem 0;
            position: relative;
            z-index: 10;
        }
        
        .breadcrumb {
            margin-bottom: 2rem;
        }
        
        .breadcrumb ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            gap: 0.5rem;
            font-size: 0.75rem;
        }
        
        .breadcrumb li:not(:last-child):after {
            content: "/";
            margin-left: 0.5rem;
            color: var(--slate-400);
        }
        
        .breadcrumb a {
            color: var(--slate-500);
            text-decoration: none;
            transition: color 0.15s ease;
        }
        
        .breadcrumb a:hover {
            color: var(--deep-plum);
        }
        
        .breadcrumb li[aria-current="page"] {
            color: var(--deep-plum);
            font-weight: 500;
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .title-group {
            display: flex;
            align-items: baseline;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        
        .page-title {
            font-size: 2.5rem;
            font-weight: 700;
            letter-spacing: -0.02em;
            background: var(--gradient-1);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        
        .page-sigil {
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--rich-gold);
            background: rgba(230, 180, 34, 0.1);
            padding: 0.25rem 0.75rem;
            border-radius: 2rem;
        }
        
        .header-accent {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }
        
        .pill {
            font-size: 0.75rem;
            padding: 0.25rem 0.75rem;
            background: white;
            border-radius: 2rem;
            color: var(--slate-600);
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        }
        
        .pill-highlight {
            background: var(--gradient-2);
            color: white;
        }
        
        /* Hero Section */
        .hero {
            padding: 2rem 0 3rem 0;
            position: relative;
            z-index: 10;
        }
        
        .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }
        
        .hero-tagline {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--rich-gold);
            font-weight: 600;
            margin-bottom: 1rem;
            display: inline-block;
        }
        
        .hero-title {
            font-size: 2.5rem;
            font-weight: 700;
            letter-spacing: -0.02em;
            line-height: 1.2;
            margin-bottom: 1rem;
            color: var(--slate-900);
        }
        
        .hero-title-highlight {
            background: var(--gradient-2);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        
        .hero-description {
            font-size: 1rem;
            color: var(--slate-600);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }
        
        .hero-stats {
            display: flex;
            gap: 2rem;
        }
        
        .stat-item {
            display: flex;
            flex-direction: column;
        }
        
        .stat-number {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--deep-plum);
        }
        
        .stat-label {
            font-size: 0.75rem;
            color: var(--slate-500);
        }
        
        .hero-visual {
            background: white;
            border-radius: 1rem;
            padding: 1.5rem;
            box-shadow: 0 8px 25px -12px rgba(0,0,0,0.1);
            border: 1px solid var(--slate-200);
        }
        
        .hero-visual-title {
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--slate-400);
            margin-bottom: 1rem;
            text-align: center;
        }
        
        .text-playground {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .text-sample {
            background: var(--slate-50);
            padding: 0.75rem;
            border-radius: 0.5rem;
            border: 1px solid var(--slate-200);
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
            overflow: hidden;
        }
        
        .text-sample:hover {
            transform: translateX(4px);
            border-color: var(--rich-gold);
            background: white;
            box-shadow: 0 2px 8px rgba(230, 180, 34, 0.1);
        }
        
        .text-sample:active {
            transform: scale(0.98);
        }
        
        .text-sample-label {
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--slate-500);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .click-hint {
            font-size: 0.6rem;
            color: var(--rich-gold);
            opacity: 0;
            transition: opacity 0.2s ease;
        }
        
        .text-sample:hover .click-hint {
            opacity: 1;
        }
        
        .sample-content {
            font-family: monospace;
            font-size: 0.8rem;
            color: var(--slate-700);
        }
        
        /* Pulsing animation for the first example */
        @keyframes gentlePulse {
            0%, 100% {
                border-color: var(--slate-200);
                background: var(--slate-50);
            }
            50% {
                border-color: var(--rich-gold);
                background: rgba(230, 180, 34, 0.05);
            }
        }
        
        .text-sample-highlight {
            animation: gentlePulse 1.5s ease-in-out 3;
        }
        
        /* Arrow indicator for scrolling */
        .scroll-indicator {
            display: inline-block;
            animation: bounce 1s ease infinite;
            margin-left: 0.25rem;
        }
        
        @keyframes bounce {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(3px);
            }
        }
        
        /* Tools Section */
        .tools-section {
            padding: 3rem 0;
            position: relative;
            z-index: 10;
            scroll-margin-top: 2rem;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 2.5rem;
        }
        
        .section-eyebrow {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--rich-gold);
            font-weight: 600;
            margin-bottom: 0.75rem;
            display: inline-block;
        }
        
        .section-title {
            font-size: 2rem;
            font-weight: 700;
            letter-spacing: -0.01em;
            color: var(--slate-900);
            margin-bottom: 0.75rem;
        }
        
        .section-divider {
            width: 60px;
            height: 3px;
            background: var(--gradient-2);
            margin: 1rem auto 0;
            border-radius: 3px;
        }
        
        .section-subtitle {
            color: var(--slate-600);
            max-width: 600px;
            margin: 1rem auto 0;
        }
        
        /* Tool Container */
        .tool-container {
            background: white;
            border-radius: 1.5rem;
            padding: 2rem;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
            border: 1px solid var(--slate-200);
        }
        
        /* Sort Options */
        .sort-options {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--slate-200);
        }
        
        .sort-btn {
            padding: 0.5rem 1rem;
            font-size: 0.8125rem;
            font-weight: 500;
            border-radius: 0.5rem;
            border: 1px solid var(--slate-200);
            background: white;
            color: var(--slate-600);
            cursor: pointer;
            transition: all 0.15s ease;
            font-family: inherit;
        }
        
        .sort-btn:hover {
            background: var(--slate-50);
            border-color: var(--slate-300);
            transform: translateY(-1px);
        }
        
        .sort-btn.active {
            background: var(--slate-900);
            border-color: var(--slate-900);
            color: white;
        }
        
        /* Options Group */
        .options-group {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: var(--slate-50);
            border-radius: 0.75rem;
            border: 1px solid var(--slate-200);
        }
        
        .checkbox-label {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.8125rem;
            color: var(--slate-700);
            cursor: pointer;
        }
        
        .checkbox-label input {
            width: 1rem;
            height: 1rem;
            cursor: pointer;
        }
        
        /* Textareas */
        .tool-textarea {
            width: 100%;
            padding: 1rem;
            font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
            font-size: 0.875rem;
            line-height: 1.6;
            border: 1px solid var(--slate-200);
            border-radius: 0.75rem;
            background: white;
            transition: all 0.2s ease;
            resize: vertical;
            color: var(--slate-800);
        }
        
        .tool-textarea:focus {
            outline: none;
            border-color: var(--rich-gold);
            box-shadow: 0 0 0 3px rgba(230, 180, 34, 0.1);
        }
        
        .textarea-container {
            position: relative;
        }
        
        .line-count {
            position: absolute;
            bottom: 0.75rem;
            right: 0.75rem;
            background: rgba(15, 23, 42, 0.8);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 0.375rem;
            font-size: 0.6875rem;
            font-family: monospace;
            pointer-events: none;
        }
        
        /* Buttons */
        .btn {
            padding: 0.625rem 1.25rem;
            font-size: 0.875rem;
            font-weight: 500;
            border-radius: 0.5rem;
            border: none;
            cursor: pointer;
            transition: all 0.15s ease;
            font-family: inherit;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .btn-primary {
            background: var(--slate-900);
            color: white;
        }
        
        .btn-primary:hover {
            background: var(--slate-800);
            transform: translateY(-1px);
        }
        
        .btn-secondary {
            background: white;
            color: var(--slate-700);
            border: 1px solid var(--slate-200);
        }
        
        .btn-secondary:hover {
            background: var(--slate-50);
            border-color: var(--slate-300);
            transform: translateY(-1px);
        }
        
        /* Stats Row */
        .stats-row {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--slate-200);
            font-size: 0.75rem;
            color: var(--slate-600);
        }
        
        .stat-badge {
            background: var(--slate-100);
            padding: 0.25rem 0.75rem;
            border-radius: 1rem;
        }
        
        /* Features Grid */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 1.5rem;
            margin-top: 1rem;
        }
        
        .feature-item {
            text-align: center;
            padding: 1.5rem;
            background: white;
            border-radius: 1rem;
            border: 1px solid var(--slate-200);
            transition: all 0.2s ease;
        }
        
        .feature-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px -12px rgba(0,0,0,0.1);
        }
        
        .feature-emoji {
            font-size: 2rem;
            margin-bottom: 0.75rem;
        }
        
        .feature-title {
            font-size: 1rem;
            font-weight: 600;
            color: var(--slate-900);
            margin-bottom: 0.5rem;
        }
        
        .feature-desc {
            font-size: 0.8125rem;
            color: var(--slate-600);
            line-height: 1.5;
        }
        
        /* Related Tools Section */
        .related-tools-section {
            padding: 3rem 0;
            background: var(--slate-50);
            margin: 2rem 0;
            border-radius: 1.5rem;
        }
        
        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 1.5rem;
        }
        
        .related-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.875rem 1rem;
            background: white;
            border-radius: 0.75rem;
            text-decoration: none;
            border: 1px solid var(--slate-200);
            transition: all 0.15s ease;
        }
        
        .related-link:hover {
            transform: translateX(4px);
            border-color: var(--rich-gold);
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        
        .related-icon {
            font-size: 1.25rem;
        }
        
        .related-info {
            flex: 1;
        }
        
        .related-name {
            font-weight: 600;
            color: var(--slate-900);
            font-size: 0.875rem;
        }
        
        .related-badge {
            font-size: 0.65rem;
            color: var(--rich-gold);
        }
        
        /* Features Section (Dark) */
        .features-section {
            background: var(--slate-900);
            padding: 3rem 0;
            margin: 2rem 0;
            border-radius: 1.5rem;
        }
        
        .features-section .section-eyebrow {
            color: var(--rich-gold);
        }
        
        .features-section .section-title {
            color: white;
        }
        
        .features-section .feature-item {
            background: var(--slate-800);
            border-color: var(--slate-700);
        }
        
        .features-section .feature-title {
            color: white;
        }
        
        .features-section .feature-desc {
            color: var(--slate-400);
        }
        
        /* Preview Section */
        .preview-section {
            padding: 3rem 0;
        }
        
        /* CTA Section */
        .cta-section {
            text-align: center;
            padding: 3rem 0;
        }
        
        .cta-title {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--slate-900);
            margin-bottom: 0.5rem;
        }
        
        .cta-description {
            font-size: 1rem;
            color: var(--slate-600);
            margin-bottom: 1.5rem;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .cta-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        /* Footer */
        .site-footer {
            padding: 2rem 0;
            border-top: 1px solid var(--slate-200);
            margin-top: 2rem;
        }
        
        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .footer-logo {
            font-size: 0.75rem;
            font-family: monospace;
            color: var(--slate-400);
        }
        
        .footer-links {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
        }
        
        .footer-links a {
            color: var(--slate-500);
            text-decoration: none;
            font-size: 0.75rem;
            transition: color 0.15s ease;
        }
        
        .footer-links a:hover {
            color: var(--deep-plum);
        }
        
        .footer-legal {
            font-size: 0.7rem;
            color: var(--slate-400);
        }
        
        /* Toast */
        .toast {
            position: fixed;
            bottom: 1.5rem;
            right: 1.5rem;
            background: var(--slate-900);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            font-size: 0.8125rem;
            font-weight: 500;
            z-index: 1000;
            animation: fadeUp 0.2s ease;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        
        @keyframes fadeUp {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Focus highlight animation */
        @keyframes focusGlow {
            0% {
                box-shadow: 0 0 0 0 rgba(230, 180, 34, 0.4);
            }
            70% {
                box-shadow: 0 0 0 8px rgba(230, 180, 34, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(230, 180, 34, 0);
            }
        }
        
        .tool-focus {
            animation: focusGlow 0.8s ease-out;
        }
        
        /* Responsive */
        @media (max-width: 900px) {
            .container {
                padding: 0 1rem;
            }
            .hero-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            .tool-container {
                padding: 1rem;
            }
            .options-group {
                gap: 0.75rem;
            }
            .footer-content {
                flex-direction: column;
                text-align: center;
            }
        }
        
        @media (max-width: 640px) {
            .page-title {
                font-size: 1.75rem;
            }
            .hero-title {
                font-size: 1.75rem;
            }
            .sort-options {
                gap: 0.375rem;
            }
            .sort-btn {
                padding: 0.375rem 0.75rem;
                font-size: 0.75rem;
            }
            .stats-row {
                flex-direction: column;
                gap: 0.5rem;
            }
        }
        /* Removed from inline */
        #custom-example-p {
            margin-top: 1rem; font-size: 0.7rem; text-align: center; color: var(--slate-400);
        }

        #customInputOutputGrid {
            display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem;
        }

        #customInputLabel {
            display: block; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--slate-600);
        }

        #customOutputLabel {
            display: block; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--slate-600);
        }

        #actionBtnContainer {
            display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center;
        }