/* ============================================
   BezOshibok.ru - Полный CSS (без Tailwind)
   ============================================ */

/* === БАЗОВЫЕ СТИЛИ === */
:root {
    /* Цветовая палитра */
    --brand-50: #eff6ff;
    --brand-100: #dbeafe;
    --brand-200: #bfdbfe;
    --brand-500: #3b82f6;
    --brand-600: #2563eb;
    --brand-700: #1d4ed8;
    --brand-900: #1e3a8a;
    
    --accent-400: #38bdf8;
    --accent-500: #0ea5e9;
    
    --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;
    
    --indigo-50: #eef2ff;
    --indigo-200: #c7d2fe;
    --indigo-400: #818cf8;
    --indigo-500: #6366f1;
    
    --sky-50: #f0f9ff;
    --sky-100: #e0f2fe;
    --sky-200: #bae6fd;
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    --sky-600: #0284c7;
    
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-400: #fbbf24;
    --amber-600: #d97706;
    
    --purple-50: #faf5ff;
    --purple-200: #e9d5ff;
    --purple-400: #a855f7;
    --purple-600: #9333ea;
    
    --cyan-50: #ecfeff;
    --cyan-200: #a5f3fc;
    --cyan-600: #0891b2;
    
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-200: #bbf7d0;
    --green-500: #22c55e;
    --green-600: #16a34a;
    
    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --red-400: #f87171;
    --red-500: #ef4444;
    --red-600: #dc2626;
    
    --orange-100: #ffedd5;
    --orange-200: #fed7aa;
    --orange-700: #c2410c;
    
    /* Шрифты */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    
    /* Размеры */
    --max-width: 80rem; /* 1280px / max-w-7xl */
    --navbar-height: 5rem; /* 80px / h-20 */
    
    /* Анимации */
    --transition-fast: 150ms;
    --transition-normal: 300ms;
    --transition-slow: 500ms;
}

/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    color: var(--slate-800);
    background-color: var(--slate-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--slate-300);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--slate-400);
}

/* === SELECTION === */
::selection {
    background: var(--brand-500);
    color: white;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem); /* 36px - 60px */
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.5rem); /* 30px - 40px */
    font-weight: 800;
}

h3 {
    font-size: 1.25rem; /* 20px */
    font-weight: 700;
}

p {
    color: var(--slate-500);
    line-height: 1.75;
}

strong {
    font-weight: 600;
    color: var(--slate-900);
}

/* === LINKS === */
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-normal);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: none;
}

.btn:active {
    transform: scale(0.95);
}

.btn-primary {
    background: var(--brand-600);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--brand-700);
}

.btn-secondary {
    background: white;
    color: var(--slate-600);
    border: 1px solid var(--slate-300);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.btn-secondary:hover {
    background: var(--slate-50);
    color: var(--red-500);
}

.btn-dark {
    background: var(--slate-900);
    color: white;
    border: 1px solid var(--slate-900);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.2);
}

.btn-dark:hover {
    background: var(--brand-600);
    border-color: var(--brand-600);
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

.btn-brand {
    background: var(--brand-50);
    color: var(--brand-700);
    border: 1px solid var(--brand-200);
}

.btn-brand:hover {
    background: var(--brand-100);
}

/* === LAYOUT === */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* === BACKGROUND === */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-color: var(--slate-50);
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(56, 189, 248, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(30, 58, 138, 0.04) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(37, 99, 235, 0.04) 0px, transparent 50%);
}

/* === GLASS EFFECTS === */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.editor-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 20px 50px -12px rgba(37, 99, 235, 0.1);
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: var(--navbar-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--brand-600), var(--accent-400));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.3);
    transition: box-shadow var(--transition-normal);
}

.logo:hover .logo-icon {
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5);
}

.logo-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--slate-800);
}

.logo-title span {
    color: var(--brand-600);
}

.logo-subtitle {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--slate-400);
    text-transform: uppercase;
    margin-top: 0.125rem;
}

/* Desktop Menu */
.desktop-menu {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .desktop-menu {
        display: flex;
    }
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    color: var(--slate-600);
    transition: all var(--transition-normal);
}

.nav-link:hover {
    color: var(--brand-600);
    background: var(--slate-50);
}

.nav-link.active {
    background: var(--brand-50);
    color: var(--brand-600);
    cursor: default;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    color: var(--slate-600);
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition-normal);
}

.mobile-menu-btn:hover {
    color: var(--brand-600);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn i {
    font-size: 1.25rem;
}

/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
    transform-origin: top;
    transition: all var(--transition-normal);
    display: none;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu-inner {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--slate-600);
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

.mobile-link:hover {
    background: var(--slate-50);
    color: var(--brand-600);
    border-color: var(--slate-100);
}

.mobile-link.active {
    background: var(--brand-50);
    color: var(--brand-700);
    border-color: var(--brand-100);
    font-weight: 700;
}

/* === HERO SECTION === */
.hero {
    padding: 8rem 1rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-600) 0%, var(--accent-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--slate-500);
    max-width: 48rem;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

/* === EDITOR BLOCKS === */
.editor-wrapper {
    max-width: 56rem; /* 896px */
    margin: 0 auto;
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Blobs (animated backgrounds) */
.blob {
    position: absolute;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(60px);
    opacity: 0.3;
    animation: blob 7s infinite;
}

.blob-1 {
    top: -2.5rem;
    left: -2.5rem;
    background: var(--brand-400);
}

.blob-2 {
    top: -2.5rem;
    right: -2.5rem;
    background: var(--accent-400);
    animation-delay: 2s;
}

@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

/* Editor Card */
.editor-card {
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 22rem;
    box-shadow: 0 20px 50px -12px rgba(37, 99, 235, 0.1);
    position: relative;
    z-index: 10;
    transition: all var(--transition-normal);
}

@media (min-width: 768px) {
    .editor-card {
        height: 25rem;
    }
}

.editor-card.output {
    background: rgba(239, 246, 255, 0.5);
    border-color: var(--brand-100);
}

/* Editor Header */
.editor-header {
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    flex-shrink: 0;
}

.editor-header.output {
    height: 3rem;
    background: rgba(219, 234, 254, 0.5);
    border-bottom-color: rgba(191, 219, 254, 0.6);
}

.editor-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.editor-label.output {
    color: var(--brand-700);
}

.editor-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.editor-btn {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    background: var(--brand-50);
    color: var(--brand-600);
    border: 1px solid var(--brand-200);
}

.editor-btn:hover {
    background: var(--brand-100);
}

.editor-btn-clear {
    background: none;
    border: none;
    color: var(--slate-400);
    padding: 0.25rem;
    cursor: pointer;
    transition: color var(--transition-normal);
}

.editor-btn-clear:hover {
    color: var(--red-500);
}

.divider {
    width: 1px;
    height: 1rem;
    background: var(--slate-300);
    margin: 0 0.25rem;
}

/* Editor Content */
.editor-content {
    flex: 1;
    position: relative;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Image Preview */
.image-preview {
    display: none;
    padding: 1rem 1.5rem 0.5rem;
    flex-shrink: 0;
}

.image-preview.visible {
    display: block;
}

.image-preview-inner {
    position: relative;
    display: inline-block;
}

.image-preview img {
    height: 6rem;
    width: auto;
    border-radius: 0.5rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.image-preview-remove {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--red-500);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background var(--transition-normal);
}

.image-preview-remove:hover {
    background: var(--red-600);
}

/* Textarea */
.editor-textarea-wrapper {
    flex: 1;
    position: relative;
}

.editor-textarea {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    resize: none;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-mono);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--slate-700);
    transition: background var(--transition-normal);
}

.editor-textarea::placeholder {
    color: var(--slate-300);
}

.editor-textarea:focus {
    background: rgba(255, 255, 255, 0.4);
}

/* Editor Footer */
.editor-footer {
    width: 100%;
    padding: 0.5rem 1.5rem;
    border-top: 1px solid var(--slate-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.625rem;
    font-family: var(--font-mono);
    color: var(--slate-400);
    background: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.editor-footer-right {
    font-size: 0.625rem;
}

/* Editor Actions Bar */
.editor-actions-bar {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-top: 1px solid var(--slate-100);
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* Output Text */
.output-text {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    overflow-y: auto;
    outline: none;
    font-family: var(--font-mono);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--slate-800);
    white-space: pre-wrap;
}

.output-text-placeholder {
    color: rgba(100, 116, 139, 0.5);
    font-style: italic;
    user-select: none;
}

/* Loader */
.loader-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    z-index: 30;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-overlay.visible {
    display: flex;
}

.loader-spinner {
    width: 3rem;
    height: 3rem;
    border: 4px solid var(--brand-100);
    border-top-color: var(--brand-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    margin-top: 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--brand-600);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Copy Button */
.copy-btn {
    color: var(--brand-500);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition-normal);
}

.copy-btn:hover {
    color: var(--brand-700);
}

/* === ANALYSIS SECTION === */
.analysis-section {
    padding: 4rem 0;
    background: white;
    border-top: 1px solid var(--slate-200);
    transition: all var(--transition-slow);
}

.analysis-section.hidden {
    display: none;
}

.analysis-container {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .analysis-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .analysis-container {
        padding: 0 2rem;
    }
}

.analysis-space {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Diff Card */
.diff-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.diff-header {
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-200);
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .diff-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.diff-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.diff-title-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--brand-500), var(--indigo-500));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.diff-actions {
    display: flex;
    gap: 0.75rem;
}

.diff-content {
    padding: 2rem;
    background: white;
    min-height: 150px;
    line-height: 2;
    color: var(--slate-700);
    font-family: var(--font-mono);
    font-size: 1rem;
}

/* Errors List */
.errors-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.errors-title-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.errors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Error Card */
.error-card {
    background: white;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color var(--transition-normal);
}

@media (min-width: 640px) {
    .error-card {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.error-card:hover {
    border-color: var(--brand-300);
}

.error-card-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.error-card-number {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.error-card-info h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 0.25rem;
}

.error-card-diff {
    font-size: 0.875rem;
    font-family: var(--font-mono);
    background: var(--slate-50);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-block;
}

.error-card-diff .original {
    text-decoration: line-through;
    color: var(--slate-400);
    margin-right: 0.5rem;
}

.error-card-diff .arrow {
    color: var(--slate-300);
    font-size: 0.75rem;
    margin: 0 0.25rem;
}

.error-card-diff .corrected {
    color: var(--brand-600);
    font-weight: 700;
}

.error-card-actions {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

@media (min-width: 640px) {
    .error-card-actions {
        width: auto;
        margin-top: 0;
    }
}

/* === DIFF STYLES === */
.diff-word-mod {
    background-color: var(--orange-100);
    color: var(--orange-700);
    border: 1px solid var(--orange-200);
    border-bottom-width: 2px;
    padding: 2px 4px;
    border-radius: 4px;
    margin: 0 2px;
    display: inline-block;
    cursor: pointer;
    transition: opacity var(--transition-normal);
}

.diff-word-mod:hover {
    opacity: 0.8;
}

.diff-char-add {
    background-color: var(--green-100);
    color: var(--green-600);
    border: 1px solid var(--green-200);
    border-bottom-width: 2px;
    padding: 2px 4px;
    border-radius: 4px;
    margin: 0 1px;
    font-weight: 700;
    display: inline-block;
    cursor: pointer;
    transition: opacity var(--transition-normal);
}

.diff-char-add:hover {
    opacity: 0.8;
}

/* === HOW IT WORKS SECTION === */
.how-section {
    padding: 6rem 0;
    background: white;
    border-top: 1px solid var(--slate-200);
    position: relative;
    overflow: hidden;
}

.how-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, var(--slate-100) 1px, transparent 1px),
        linear-gradient(to bottom, var(--slate-100) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.how-content {
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    color: var(--brand-600);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.section-description {
    margin-top: 1rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Visualization */
.visualization {
    max-width: 56rem;
    margin: 0 auto;
    background: var(--slate-50);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    position: relative;
}

.visualization-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    color: var(--slate-400);
    font-family: var(--font-mono);
    border: 1px solid var(--slate-200);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background: white;
}

.visualization-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.vis-input {
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px dashed var(--slate-300);
    color: var(--slate-400);
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.vis-arrow {
    color: var(--slate-300);
    font-size: 1rem;
}

.vis-tokens {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    position: relative;
    width: 100%;
}

.vis-tokens::before {
    content: '';
    display: none;
    position: absolute;
    top: -20px;
    left: 10%;
    width: 80%;
    height: 20px;
    border-left: 2px solid var(--slate-200);
    border-top: 2px solid var(--slate-200);
    border-right: 2px solid var(--slate-200);
    border-radius: 0.75rem 0.75rem 0 0;
}

@media (min-width: 768px) {
    .vis-tokens::before {
        display: block;
    }
}

.vis-token {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.vis-token-label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
}

.vis-token-label.indigo {
    color: var(--indigo-500);
    background: var(--indigo-50);
}

.vis-token-label.brand {
    color: var(--brand-500);
    background: var(--brand-50);
}

.vis-token-label.slate {
    color: var(--slate-400);
    background: var(--slate-100);
}

.vis-token-box {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    color: var(--slate-800);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.vis-token-box.indigo {
    border: 1px solid var(--indigo-200);
}

.vis-token-box.brand {
    border: 1px solid var(--brand-200);
}

.vis-token-box.slate {
    border: 1px solid var(--slate-200);
}

.vis-token-alert {
    position: absolute;
    left: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    background: var(--red-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-500);
    font-size: 0.625rem;
    z-index: 10;
    border: 1px solid white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.vis-result {
    background: var(--green-50);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--green-200);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
}

.vis-result-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--green-500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
}

.vis-result .bold {
    font-weight: 700;
}

.vis-result .highlight {
    color: var(--green-600);
    font-weight: 700;
    background: var(--green-100);
    padding: 0 0.25rem;
    border-radius: 0.25rem;
}

/* === FEATURES SECTION === */
.features-section {
    padding: 6rem 0;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Feature Card */
.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border: 1px solid var(--slate-100);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.feature-icon.indigo {
    background: var(--indigo-50);
    color: var(--indigo-600);
}

.feature-card:hover .feature-icon.indigo {
    background: var(--indigo-600);
    color: white;
}

.feature-icon.sky {
    background: var(--sky-50);
    color: var(--sky-600);
}

.feature-card:hover .feature-icon.sky {
    background: var(--sky-500);
    color: white;
}

.feature-icon.amber {
    background: var(--amber-50);
    color: var(--amber-600);
}

.feature-card:hover .feature-icon.amber {
    background: var(--amber-600);
    color: white;
}

.feature-icon.brand {
    background: var(--brand-50);
    color: var(--brand-600);
}

.feature-card:hover .feature-icon.brand {
    background: var(--brand-600);
    color: white;
}

.feature-icon.cyan {
    background: var(--cyan-50);
    color: var(--cyan-600);
}

.feature-card:hover .feature-icon.cyan {
    background: var(--cyan-600);
    color: white;
}

.feature-icon.purple {
    background: var(--purple-50);
    color: var(--purple-600);
}

.feature-card:hover .feature-icon.purple {
    background: var(--purple-600);
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* === SEO SECTION === */
.seo-section {
    padding: 6rem 0;
    background: white;
    border-top: 1px solid var(--slate-200);
}

.seo-content {
    max-width: 56rem;
    margin: 0 auto;
}

.seo-prose {
    color: var(--slate-600);
    line-height: 1.75;
}

.seo-prose h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.seo-prose p {
    margin-bottom: 1rem;
}

.seo-prose ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.seo-prose li {
    margin-bottom: 0.5rem;
}

.seo-prose li::marker {
    color: var(--brand-500);
    font-weight: 600;
}

/* Info Box */
.info-box {
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-box-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--brand-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-600);
}

.info-box h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}

.info-box p {
    font-size: 0.875rem;
    color: var(--slate-600);
    margin: 0;
}

/* FAQ */
.faq-box {
    background: var(--slate-50);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--slate-200);
    margin-top: 3rem;
}

.faq-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    text-align: center;
    margin-bottom: 1.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
    padding: 1rem;
    background: white;
    transition: background var(--transition-normal);
    list-style: none;
}

.faq-question:hover {
    background: var(--slate-50);
}

.faq-question span {
    color: var(--slate-900);
}

.faq-question i {
    color: var(--brand-500);
    transition: transform var(--transition-normal);
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1rem;
    border-top: 1px solid var(--slate-100);
    background: rgba(248, 250, 252, 0.5);
    color: var(--slate-600);
    font-size: 1rem;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

/* === METRICS SECTION === */
.metrics-section {
    padding: 5rem 0;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
    background: white;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.metric-item {
    text-align: center;
    cursor: default;
}

.metric-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
    transition: color var(--transition-normal);
}

.metric-item:hover .metric-value {
    color: var(--brand-600);
}

.metric-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* === TESTIMONIALS SECTION === */
.testimonials-section {
    padding: 6rem 0;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--slate-100);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition-normal);
}

.testimonial-card:hover {
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.testimonial-avatar.sky {
    background: linear-gradient(135deg, var(--sky-400), var(--cyan-400));
}

.testimonial-avatar.indigo {
    background: linear-gradient(135deg, var(--indigo-400), var(--purple-400));
}

.testimonial-name {
    font-weight: 700;
    color: var(--slate-900);
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--slate-500);
}

.testimonial-stars {
    display: flex;
    color: var(--amber-400);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.testimonial-text {
    color: var(--slate-600);
    line-height: 1.75;
    flex: 1;
}

/* === FOOTER === */
.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 3rem 1rem;
    border-top: 1px solid var(--slate-800);
    text-align: center;
}

.footer p {
    color: var(--slate-400);
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-links a {
    color: var(--slate-400);
    transition: color var(--transition-normal);
}

.footer-links a:hover {
    color: white;
}

/* === TOAST === */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    transform: translateY(5rem);
    opacity: 0;
    transition: all var(--transition-slow);
    z-index: 50;
}

.toast.visible {
    transform: translateY(0);
    opacity: 1;
}

.toast-inner {
    background: var(--slate-900);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toast-icon {
    color: var(--green-400);
}

.toast-icon.error {
    color: var(--red-400);
}

.toast-message {
    font-size: 0.875rem;
}

/* === UTILITIES === */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-y-auto { overflow-y: auto; }

.shrink-0 { flex-shrink: 0; }
.flex-1 { flex: 1; }

.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }

.opacity-0 { opacity: 0; }
.opacity-75 { opacity: 0.75; }

.select-none { user-select: none; }

/* === RESPONSIVE UTILITIES === */
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:items-center { align-items: center; }
    .sm\:w-auto { width: auto; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:text-6xl { font-size: 3.75rem; }
    .md\:h-\[400px\] { height: 25rem; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* === ANIMATIONS === */
@keyframes blink {
    50% { opacity: 0; }
}

.typing-cursor::after {
    content: '|';
    animation: blink 1s step-start infinite;
}

/* === PRINT STYLES === */
@media print {
    .navbar,
    .toast,
    .blob,
    .mesh-bg {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .editor-card,
    .diff-card,
    .feature-card,
    .testimonial-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* ============================================
   MORPHOLOGY PAGE STYLES
   ============================================ */

/* === MORPH HERO === */
.morph-hero {
    padding: 8rem 1rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.morph-wrapper {
    max-width: 56rem;
    margin: 0 auto;
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.morph-hero-content {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.morph-hero h1 {
    font-size: clamp(2.25rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.morph-hero-description {
    font-size: 1.125rem;
    color: var(--slate-500);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.75;
}

/* === SEARCH BOX === */
.search-box {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 50px -12px rgba(37, 99, 235, 0.1);
    position: relative;
    z-index: 10;
    padding: 0.5rem;
}

.search-box-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 0.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-200);
}

@media (min-width: 768px) {
    .search-box-inner {
        flex-direction: row;
        align-items: center;
    }
}

.search-input-wrapper {
    flex: 1;
    width: 100%;
    position: relative;
}

.search-input-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    padding-left: 1rem;
    display: flex;
    align-items: center;
    pointer-events: none;
    color: var(--slate-400);
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 2.5rem;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--slate-800);
}

.search-input::placeholder {
    color: var(--slate-400);
}

.search-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--brand-600);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.2);
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.search-btn:hover {
    background: var(--brand-700);
}

.search-btn:active {
    transform: scale(0.95);
}

.search-btn:disabled {
    opacity: 0.75;
    cursor: wait;
}

@media (min-width: 768px) {
    .search-btn {
        width: auto;
    }
}

/* === MORPH LOADER === */
.morph-loader {
    display: none;
    justify-content: center;
    padding: 3rem 0;
}

.morph-loader.visible {
    display: flex;
}

.morph-loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.morph-loader-spinner {
    width: 2.5rem;
    height: 2.5rem;
    border: 4px solid var(--brand-100);
    border-top-color: var(--brand-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.morph-loader-text {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--brand-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: pulse 2s infinite;
}

/* === RESULT BLOCK === */
.result-block {
    display: none;
    transition: all var(--transition-slow);
}

.result-block.visible {
    display: block;
}

.result-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

/* Result Header */
.result-header {
    background: linear-gradient(135deg, var(--slate-50), white);
    border-bottom: 1px solid var(--slate-200);
    padding: 2rem;
}

.result-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.result-word {
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.result-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.result-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: default;
    transition: transform var(--transition-normal);
}

.result-badge:hover {
    transform: scale(1.05);
}

.result-badge.primary {
    background: var(--brand-600);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.2);
}

.result-badge.secondary {
    background: var(--indigo-50);
    border: 1px solid var(--indigo-100);
    color: var(--indigo-600);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Result Info Grid */
.result-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
}

@media (min-width: 768px) {
    .result-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.result-info-box {
    position: relative;
    background: var(--slate-50);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--slate-100);
}

.result-info-box-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--slate-300);
    font-size: 1.5rem;
}

.result-info-box-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.result-info-box-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-800);
    font-family: var(--font-mono);
}

.result-info-box-hint {
    font-size: 0.75rem;
    color: var(--slate-400);
    margin-top: 0.5rem;
}

/* Features Section */
.result-features {
    border-top: 1px solid var(--slate-200);
}

.result-features-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .result-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.result-features-column {
    padding: 2rem;
}

.result-features-column:nth-child(2) {
    background: rgba(248, 250, 252, 0.5);
}

@media (min-width: 768px) {
    .result-features-column:nth-child(2) {
        border-left: 1px solid var(--slate-200);
        background: rgba(248, 250, 252, 0.5);
    }
}

.result-features-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

.result-features-title-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.result-features-title-icon.indigo {
    background: var(--indigo-100);
    color: var(--indigo-600);
}

.result-features-title-icon.pink {
    background: #fce7f3;
    color: #db2777;
}

.result-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px dashed var(--slate-200);
}

.feature-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.feature-item-label {
    color: var(--slate-500);
}

.feature-item-value {
    font-weight: 700;
    color: var(--slate-700);
}

.feature-item-empty {
    color: var(--slate-400);
    font-style: italic;
    font-size: 0.875rem;
}

/* === INFO SECTION === */
.info-section {
    padding: 6rem 0;
    background: white;
    border-top: 1px solid var(--slate-200);
}

.info-content {
    max-width: 56rem;
    margin: 0 auto;
}

.info-section h2 {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

.info-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.info-section p {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* Example Box */
.example-box {
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.example-box h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--brand-800);
    margin-bottom: 0.5rem;
}

.example-box-content {
    color: var(--brand-700);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.75;
}

/* Check List */
.check-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .check-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--slate-600);
}

.check-list li i {
    color: var(--brand-500);
    margin-top: 0.25rem;
}

/* Algorithm Box */
.algorithm-box {
    background: var(--slate-50);
    border-radius: 0.75rem;
    border: 1px solid var(--slate-200);
    padding: 2rem;
}

.algorithm-box p {
    margin-bottom: 1rem;
}

.algorithm-list {
    list-style: decimal;
    padding-left: 1.5rem;
}

.algorithm-list li {
    padding-left: 0.5rem;
    margin-bottom: 1rem;
    color: var(--slate-700);
}

.algorithm-list li span {
    display: block;
}

.algorithm-list .title {
    font-weight: 700;
    color: var(--slate-900);
}

.algorithm-list .hint {
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-top: 0.25rem;
    padding-left: 1.5rem;
}

.algorithm-list ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.algorithm-list ul li {
    font-size: 0.875rem;
    color: var(--slate-600);
    margin-bottom: 0.25rem;
}

/* === USE CASES SECTION === */
.use-cases-section {
    padding: 5rem 0;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .use-cases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.use-case-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--slate-100);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition-normal);
}

.use-case-card:hover {
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
}

.use-case-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.use-case-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.use-case-avatar.blue { background: var(--sky-100); color: var(--sky-600); }
.use-case-avatar.green { background: var(--green-100); color: var(--green-600); }
.use-case-avatar.purple { background: var(--purple-50); color: var(--purple-600); }

.use-case-name {
    font-weight: 700;
    color: var(--slate-900);
}

.use-case-role {
    font-size: 0.875rem;
    color: var(--slate-500);
}

.use-case-stars {
    display: flex;
    color: var(--amber-400);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.use-case-text {
    color: var(--slate-600);
    line-height: 1.75;
    flex: 1;
}

/* === WHAT IS SECTION === */
.what-is-section {
    padding: 6rem 0;
    background: white;
    border-top: 1px solid var(--slate-200);
}

.what-is-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 768px) {
    .what-is-grid {
        flex-direction: row;
        align-items: flex-start;
    }
}

.what-is-content {
    flex: 1;
}

.what-is-content h2 {
    font-size: 1.875rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.what-is-content p {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.highlight-text {
    background: #fef3c7;
    padding: 0 0.25rem;
    border-radius: 0.25rem;
    font-weight: 700;
    color: var(--slate-800);
}

.what-is-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.what-is-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--slate-600);
}

.what-is-list li::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--brand-500);
    flex-shrink: 0;
}

/* Tip Card */
.tip-card {
    width: 100%;
    background: var(--slate-50);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    transform: rotate(1deg);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .tip-card {
        width: 33.333%;
    }
}

.tip-card-content {
    text-align: center;
}

.tip-card-number {
    font-size: 3.75rem;
    font-weight: 900;
    color: var(--slate-200);
    user-select: none;
    margin-bottom: 1rem;
}

.tip-card h4 {
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}

.tip-card p {
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-bottom: 1rem;
}

.tip-card-divider {
    width: 4rem;
    height: 0.25rem;
    background: var(--brand-500);
    margin: 0 auto;
    border-radius: 0.125rem;
}

/* === ERRORS SECTION (Dark) === */
.errors-section {
    padding: 5rem 0;
    background: var(--slate-900);
    color: white;
    position: relative;
    overflow: hidden;
}

.errors-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    pointer-events: none;
}

.errors-section-bg span {
    position: absolute;
    font-size: 3rem;
    transform: rotate(12deg);
}

.errors-section-bg span:nth-child(1) { top: 2.5rem; left: 2.5rem; }
.errors-section-bg span:nth-child(2) { bottom: 5rem; right: 5rem; transform: rotate(-12deg); font-size: 5rem; }

.errors-section-content {
    position: relative;
    z-index: 10;
}

.errors-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.errors-section-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid rgba(239, 68, 68, 0.3);
    margin-bottom: 1rem;
}

.errors-section h2 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.errors-section-subtitle {
    color: var(--slate-400);
    font-size: 1.125rem;
}

.errors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .errors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.error-item {
    background: rgba(30, 41, 59, 0.5);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--slate-700);
    transition: border-color var(--transition-normal);
}

.error-item:hover {
    border-color: rgba(239, 68, 68, 0.5);
}

.error-item-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.error-item-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red-500);
    font-weight: 700;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.error-item:hover .error-item-number {
    background: var(--red-500);
    color: white;
}

.error-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.error-item p {
    color: var(--slate-400);
    font-size: 0.875rem;
    line-height: 1.75;
}

.error-item .wrong {
    color: #fca5a5;
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
}

.error-item .correct {
    color: var(--green-500);
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
}
