:root {
            --primary: #6a11cb;
            --primary-dark: #4a0da8;
            --secondary: #2575fc;
            --dark: #1a1a2e;
            --light: #f8f9fa;
            --gray: #6c757d;
            --success: #38b000;
            --border-radius: 12px;
            --shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
            --transition: all 0.3s ease;
            --card-bg: rgba(255, 255, 255, 0.95);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
        }
        
        .main-container {
            background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
            color: var(--dark);
            min-height: 100vh;
            line-height: 1.5;
        }
        
        .app-container {
            width: 95%;
            margin: 0 auto;
            padding: 20px;
        }
        
        /* HEADER */
        .app-header {
            text-align: center;
            padding: 40px 20px;
            margin-bottom: 40px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: var(--border-radius);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .app-header h1 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-weight: 800;
        }
        
        .app-header p {
            font-size: 1.1rem;
            color: #e2e1ff;
            max-width: 600px;
            margin: 0 auto;
        }
        
        /* MAIN LAYOUT - SIMPLE & CLEAN */
        .main-layout {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        
        @media (min-width: 992px) {
            .main-layout {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 30px;
            }
        }
        
        /* CARD STYLES */
        .card {
            background: var(--card-bg);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            padding: 25px;
            height: fit-content;
            transition: var(--transition);
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
        }
        
        .card-title {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 25px;
            color: var(--primary);
            font-size: 1.4rem;
            font-weight: 700;
        }
        
        /* PREVIEW CARD */
        .preview-card {
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .gradient-display {
            width: 100%;
            height: 300px;
            border-radius: var(--border-radius);
            margin-bottom: 25px;
            box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
            border: 2px solid rgba(106, 17, 203, 0.1);
        }
        
        .gradient-code {
            background: rgba(0, 0, 0, 0.05);
            padding: 20px;
            border-radius: var(--border-radius);
            font-family: 'Courier New', monospace;
            font-size: 0.95rem;
            line-height: 1.4;
            margin-bottom: 25px;
            word-break: break-all;
            color: #333;
            border-left: 4px solid var(--primary);
        }
        
        /* CONTROLS CARD */
        .controls-grid {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }
        
        /* GRADIENT TYPE SELECTOR */
        .gradient-type-selector {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .type-btn {
            flex: 1;
            padding: 12px;
            border: 2px solid #e0e0e0;
            background: white;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            color: #555;
            transition: var(--transition);
            text-align: center;
        }
        
        .type-btn.active {
            border-color: var(--primary);
            background: rgba(106, 17, 203, 0.1);
            color: var(--primary);
        }
        
        /* SLIDER GROUP */
        .slider-group {
            margin-bottom: 25px;
        }
        
        .slider-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            font-weight: 600;
            color: #444;
        }
        
        .slider-value {
            color: var(--primary);
            font-weight: 700;
        }
        
        input[type="range"] {
            width: 100%;
            height: 8px;
            border-radius: 4px;
            background: #e0e0e0;
            outline: none;
            -webkit-appearance: none;
        }
        
        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            border: 3px solid white;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
        
        /* COLORS SECTION - COMPLETELY REDESIGNED */
        .colors-section {
            margin-top: 10px;
        }
        
        .colors-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .colors-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
            max-height: 350px;
            overflow-y: auto;
            padding-right: 10px;
            margin-bottom: 25px;
        }
        
        /* COLOR ITEM - NEW COMPACT DESIGN */
        .color-item {
            display: grid;
            grid-template-columns: 40px 1fr 70px 40px;
            gap: 12px;
            align-items: center;
            padding: 12px;
            background: rgba(0, 0, 0, 0.03);
            border-radius: 8px;
            border: 1px solid #e0e0e0;
            transition: var(--transition);
        }
        
        .color-item:hover {
            background: rgba(0, 0, 0, 0.05);
            border-color: var(--primary);
        }
        
        .color-picker {
            width: 40px;
            height: 40px;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            padding: 0;
            background: transparent;
        }
        
        .color-picker::-webkit-color-swatch-wrapper {
            padding: 0;
        }
        
        .color-picker::-webkit-color-swatch {
            border: 3px solid white;
            border-radius: 50%;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
        
        .color-position-slider {
            width: 100%;
        }
        
        .color-position-value {
            font-weight: 600;
            color: var(--primary);
            text-align: center;
            min-width: 50px;
        }
        
        .remove-color-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: none;
            background: #ff4757;
            color: white;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }
        
        .remove-color-btn:hover {
            background: #ff2e43;
            transform: scale(1.1);
        }
        
        .add-color-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
            padding: 15px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: var(--border-radius);
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .add-color-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }
        
        /* ACTION BUTTONS */
        .action-buttons {
            display: flex;
            gap: 15px;
            margin-top: 25px;
        }
        
        .action-btn {
            flex: 1;
            padding: 15px;
            border: none;
            border-radius: var(--border-radius);
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        .primary-btn {
            background: var(--primary);
            color: white;
        }
        
        .primary-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }
        
        .secondary-btn {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }
        
        .secondary-btn:hover {
            background: rgba(106, 17, 203, 0.1);
        }
        
        /* FEATURES */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-top: 50px;
        }
        
        .feature-item {
            background: rgba(255, 255, 255, 0.05);
            padding: 30px;
            border-radius: var(--border-radius);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            transition: var(--transition);
        }
        
        .feature-item:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.1);
        }
        
        .feature-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 20px;
        }
        
        .feature-item h3 {
            color: white;
            margin-bottom: 15px;
            font-size: 1.3rem;
        }
        
        .feature-item p {
            color: #e2e1ff;
        }
        
        /* NOTIFICATION */
        .notification {
            position: fixed;
            bottom: 30px;
            right: 30px;
            padding: 15px 25px;
            background: var(--success);
            color: white;
            border-radius: var(--border-radius);
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            transform: translateY(100px);
            opacity: 0;
            transition: transform 0.4s ease, opacity 0.4s ease;
            z-index: 1000;
            max-width: 350px;
        }
        
        .notification.show {
            transform: translateY(0);
            opacity: 1;
        }
        
        /* RESPONSIVE ADJUSTMENTS */
        @media (max-width: 768px) {
            .app-container {
                padding: 15px;
            }
            
            .app-header {
                padding: 30px 15px;
                margin-bottom: 30px;
            }
            
            .app-header h1 {
                font-size: 2rem;
            }
            
            .gradient-display {
                height: 250px;
            }
            
            .color-item {
                grid-template-columns: 35px 1fr 60px 35px;
                gap: 10px;
                padding: 10px;
            }
            
            .color-picker {
                width: 35px;
                height: 35px;
            }
            
            .remove-color-btn {
                width: 35px;
                height: 35px;
            }
            
            .action-buttons {
                flex-direction: column;
            }
            
            .features-grid {
                grid-template-columns: 1fr;
                gap: 15px;
                margin-top: 40px;
            }
            
            .notification {
                bottom: 20px;
                right: 20px;
                left: 20px;
                max-width: none;
            }
        }
        
        @media (max-width: 576px) {
            .app-header h1 {
                font-size: 1.7rem;
            }
            
            .app-header p {
                font-size: 1rem;
            }
            
            .card {
                padding: 20px;
            }
            
            .gradient-display {
                height: 200px;
            }
            
            .gradient-type-selector {
                flex-direction: column;
            }
            
            .color-item {
                grid-template-columns: 1fr;
                grid-template-rows: auto auto auto auto;
                gap: 8px;
            }
            
            .color-picker {
                width: 50px;
                height: 50px;
                justify-self: center;
            }
            
            .color-position-value {
                text-align: center;
            }
            
            .remove-color-btn {
                width: 100%;
                height: 45px;
                border-radius: 8px;
            }
        }
        
        /* UTILITY CLASSES */
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
        
        .hidden {
            display: none !important;
        }

/* ===== ARTICLE SPECIFIC STYLES - NO BODY STYLES ===== */
#gradient-guide-article {
      width: 95%;
      margin: 0 auto;
      padding: 2rem 1.5rem 3rem 1.5rem;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }

    /* Hero Section */
    .gradient-guide-hero {
      text-align: center;
      margin-bottom: 2.5rem;
      padding: 2rem 1.5rem;
      background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
      border-radius: 32px;
      box-shadow: 0 12px 30px rgba(106, 17, 203, 0.3);
    }

    .gradient-guide-hero h2 {
      font-size: 2.6rem;
      font-weight: 800;
      color: white;
      margin-bottom: 1rem;
      letter-spacing: -0.02em;
      font-family: 'Playfair Display', serif;
    }

    .gradient-guide-hero .gradient-hero-sub {
      font-size: 1.2rem;
      color: rgba(255, 255, 255, 0.9);
      max-width: 720px;
      margin: 0 auto;
      line-height: 1.5;
    }

    .gradient-guide-meta {
      display: flex;
      justify-content: center;
      gap: 2rem;
      color: rgba(255, 255, 255, 0.8);
      font-weight: 500;
      margin-top: 1.2rem;
      flex-wrap: wrap;
    }

    .gradient-guide-meta span i {
      margin-right: 0.5rem;
    }

    /* Main Content */
    .gradient-main-content {
      background: white;
      border-radius: 28px;
      padding: 2rem 2rem 2.5rem 2rem;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
      border: 1px solid rgba(106, 17, 203, 0.15);
    }

    .gradient-main-content h2 {
      font-size: 1.8rem;
      font-weight: 700;
      margin-top: 2rem;
      margin-bottom: 1rem;
      color: #6a11cb;
      border-left: 5px solid #2575fc;
      padding-left: 1rem;
      font-family: 'Playfair Display', serif;
    }

    .gradient-main-content h2:first-of-type {
      margin-top: 0;
    }

    .gradient-main-content h3 {
      font-size: 1.35rem;
      font-weight: 600;
      margin: 1.5rem 0 0.75rem 0;
      color: #2575fc;
    }

    .gradient-main-content p {
      font-size: 1.05rem;
      color: #2d3748;
      margin-bottom: 1.2rem;
      line-height: 1.6;
    }

    .gradient-main-content ul, .gradient-main-content ol {
      margin: 1rem 0 1.2rem 1.8rem;
      color: #2d3748;
      line-height: 1.6;
    }

    .gradient-main-content li {
      margin-bottom: 0.5rem;
    }

    .gradient-highlight-box {
      background: linear-gradient(135deg, rgba(106, 17, 203, 0.08), rgba(37, 117, 252, 0.05));
      border-left: 6px solid #2575fc;
      padding: 1.25rem 1.5rem;
      border-radius: 20px;
      margin: 1.75rem 0;
    }

    .gradient-pro-tip {
      background: rgba(37, 117, 252, 0.1);
      border-radius: 20px;
      padding: 1.2rem 1.5rem;
      margin: 1.5rem 0;
      display: flex;
      gap: 1rem;
      align-items: flex-start;
      border: 1px solid rgba(106, 17, 203, 0.3);
    }

    .gradient-pro-tip i {
      font-size: 1.8rem;
      color: #6a11cb;
    }

    .gradient-stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1.2rem;
      margin: 2rem 0;
    }

    .gradient-stat-card {
      background: #f5f7fa;
      border-radius: 20px;
      padding: 1.2rem;
      text-align: center;
      transition: all 0.2s;
      border: 1px solid rgba(106, 17, 203, 0.2);
    }

    .gradient-stat-card .stat-number {
      font-size: 2rem;
      font-weight: 800;
      color: #6a11cb;
      margin-bottom: 0.25rem;
    }

    .gradient-quote-block {
      background: #f5f7fa;
      padding: 1.5rem;
      border-radius: 24px;
      text-align: center;
      font-style: italic;
      margin: 1.5rem 0;
      border: 1px solid rgba(106, 17, 203, 0.2);
    }

    .gradient-quote-block i {
      font-size: 2rem;
      color: #2575fc;
      margin-bottom: 0.5rem;
      display: inline-block;
    }

    .gradient-table-wrapper {
      overflow-x: auto;
      margin: 1.5rem 0;
    }

    .gradient-syntax-table {
      width: 100%;
      border-collapse: collapse;
      background: #f5f7fa;
      border-radius: 16px;
      overflow: hidden;
    }

    .gradient-syntax-table th, .gradient-syntax-table td {
      padding: 12px 16px;
      text-align: left;
      border-bottom: 1px solid rgba(106, 17, 203, 0.2);
    }

    .gradient-syntax-table th {
      background: rgba(106, 17, 203, 0.1);
      font-weight: 600;
      color: #6a11cb;
    }

    .gradient-syntax-table tr:hover {
      background: rgba(37, 117, 252, 0.05);
    }

    .gradient-formula-box {
      background: rgba(106, 17, 203, 0.1);
      border-radius: 16px;
      padding: 0.8rem 1.2rem;
      margin: 1rem 0;
      font-family: 'Courier New', monospace;
      font-size: 0.9rem;
      text-align: center;
      border: 1px dashed #6a11cb;
    }

    .gradient-applications-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.2rem;
      margin: 1.5rem 0;
    }

    .gradient-application-card {
      background: #f5f7fa;
      border-radius: 16px;
      padding: 1.2rem;
      border: 1px solid rgba(106, 17, 203, 0.2);
      transition: all 0.2s;
    }

    .gradient-application-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(106, 17, 203, 0.1);
    }

    .gradient-application-title {
      font-weight: 700;
      color: #6a11cb;
      margin-bottom: 0.5rem;
      font-size: 1.1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .gradient-footer-note {
      margin-top: 2.5rem;
      text-align: center;
      font-size: 0.85rem;
      color: #718096;
      border-top: 1px solid #e2e8f0;
      padding-top: 2rem;
    }

    @media (max-width: 768px) {
      .gradient-guide-hero h2 {
        font-size: 2rem;
      }
      .gradient-main-content {
        padding: 1.5rem;
      }
      #gradient-guide-article {
        padding: 1rem;
      }
    }