/* ======================================
   CSS Variables & Global Styles - BLUE THEME
====================================== */
:root {
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.4);
    --secondary: #93c5fd;
    --accent: #1e3a8a;
    --accent-glow: rgba(30, 58, 138, 0.4);
    --dark-1: #0a0a0f;
    --dark-2: #12121a;
    --dark-3: #1a1a25;
    --dark-4: #252535;
    --light: #f0f0f5;
    --light-dim: rgba(240, 240, 245, 0.7);
    --gradient-main: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-card: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(30, 58, 138, 0.05));
    --font-main: 'Outfit', sans-serif;
    --font-code: 'Fira Code', monospace;
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--dark-1);
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--light);
    line-height: 1.6;
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--dark-1);
}

/* ======================================
   Custom Scrollbar (Global)
====================================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 5px;
    border: 2px solid var(--dark-2);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary), var(--primary));
}

::-webkit-scrollbar-corner {
    background: var(--dark-2);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--dark-2);
}

/* ======================================
   Particle Canvas
====================================== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ======================================
   Gradient Orbs Background
====================================== */
.gradient-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.3), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 50px) scale(0.95);
    }
    75% {
        transform: translate(-50px, -20px) scale(1.05);
    }
}

/* ======================================
   Grid Pattern Overlay
====================================== */
.grid-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    pointer-events: none;
}

/* ======================================
   Cursor Glow
====================================== */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    pointer-events: none;
    z-index: 2;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s var(--ease-smooth);
    filter: blur(40px);
}

body:hover .cursor-glow {
    opacity: 0.3;
}

/* ======================================
   Container & Content
====================================== */
.container {
    position: relative;
    z-index: 10;
    padding: 20px;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
}

/* ======================================
   Navbar
====================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.nav-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-dim);
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s var(--ease-smooth);
}

.nav-back:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary);
    color: var(--light);
    transform: translateX(-5px);
}

.nav-back i {
    transition: transform 0.3s var(--ease-smooth);
}

.nav-back:hover i {
    transform: translateX(-3px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.nav-logo i {
    font-size: 1.2rem;
}

/* ======================================
   Hero Section
====================================== */
.hero-section {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 2rem;
    width: 100%;
}

/* Construction Badge */
.construction-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeSlideDown 0.8s var(--ease-elastic) forwards;
    animation-delay: 0.2s;
}

.construction-badge i {
    animation: pulse 2s ease-in-out infinite;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    animation: shimmerSlide 3s ease-in-out infinite;
}

@keyframes shimmerSlide {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Tool Icon */
.tool-icon {
    position: relative;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeSlideDown 0.8s var(--ease-elastic) forwards;
    animation-delay: 0.4s;
}

/* Explosion Container */
.explosion-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.explosion-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: explodeParticle var(--duration) var(--delay) ease-out infinite;
}

@keyframes explodeParticle {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translate(
            calc(-50% + var(--tx)),
            calc(-50% + var(--ty))
        ) scale(var(--scale));
        opacity: 0;
    }
}

.helmet {
    font-size: 4rem;
    color: var(--primary);
    display: block;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 40px var(--primary-glow);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Main Title */
.main-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) rotateX(-15deg);
    animation: wordReveal 0.8s var(--ease-elastic) forwards;
    margin: 0 0.1em;
}

.word:nth-child(1) { animation-delay: 0.6s; }
.word:nth-child(2) { animation-delay: 0.75s; }
.word:nth-child(3) { animation-delay: 0.9s; }
.word:nth-child(4) { animation-delay: 1.05s; }

.word.highlight {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes wordReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* Subtitle */
.subtitle {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeSlideUp 0.8s var(--ease-smooth) forwards;
    animation-delay: 1.3s;
}

.typing-text {
    font-size: 1.1rem;
    font-family: var(--font-code);
    color: var(--light-dim);
}

.code-bracket {
    color: var(--primary);
    font-weight: 600;
}

/* ======================================
   Tools Section
====================================== */
.tools-section {
    padding: 2rem 0 4rem;
}

.showcase-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.showcase-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--light-dim);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.header-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-main);
    margin: 0 auto;
    border-radius: 2px;
    transform: scaleX(0);
    animation: expandLine 1s var(--ease-smooth) forwards;
    animation-delay: 0.5s;
}

@keyframes expandLine {
    to { transform: scaleX(1); }
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Tool Card */
.tool-card {
    position: relative;
    background: rgba(26, 26, 37, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    color: var(--light);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s var(--ease-smooth);
    overflow: hidden;
}

.tool-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
    pointer-events: none;
}

.tool-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 40px var(--primary-glow);
}

.tool-card:hover .card-glow {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-main);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-1);
    transition: all 0.4s var(--ease-bounce);
    position: relative;
    z-index: 1;
}

.tool-card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.card-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.card-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    transition: color 0.3s var(--ease-smooth);
}

.tool-card:hover .card-content h4 {
    color: var(--primary);
}

.card-content p {
    font-size: 0.9rem;
    color: var(--light-dim);
}

.card-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s var(--ease-smooth);
}

.tool-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    background: rgba(30, 58, 138, 0.3);
    color: var(--secondary);
    border-radius: 100px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* ======================================
   Info Section
====================================== */
.info-section {
    padding: 2rem 0;
}

.info-card {
    background: rgba(59, 130, 246, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.info-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-1);
    animation: float 4s ease-in-out infinite;
}

.info-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--light);
}

.info-content p {
    font-size: 0.95rem;
    color: var(--light-dim);
}

/* ======================================
   Footer
====================================== */
.footer {
    padding: 3rem 0;
    text-align: center;
}

.footer-content p {
    color: var(--light-dim);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.footer-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: footerPulse 1.5s ease-in-out infinite;
}

.footer-dots span:nth-child(2) { animation-delay: 0.2s; }
.footer-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes footerPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* ======================================
   Utility Animations
====================================== */
@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ======================================
   Responsive Design
====================================== */
@media (max-width: 1024px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
    
    .typing-text {
        font-size: 0.95rem;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .tool-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .card-content h4 {
        font-size: 1.1rem;
    }
    
    .showcase-header h3 {
        font-size: 1.8rem;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .hero-section {
        padding: 1rem;
        min-height: 40vh;
    }
    
    .helmet {
        font-size: 3rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tool-card {
        padding: 1.25rem;
    }
    
    .card-content h4 {
        font-size: 1rem;
    }
    
    .card-content p {
        font-size: 0.85rem;
    }
    
    .card-arrow {
        display: none;
    }
}

/* ======================================
   Active Tool Card Badge
====================================== */
.card-badge.active {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.3);
}

.tool-card.active-tool {
    border-color: rgba(34, 197, 94, 0.3);
    cursor: pointer;
}

.tool-card.active-tool:hover {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(34, 197, 94, 0.2);
}

/* ======================================
   Modal System
====================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.container.blurred {
    filter: blur(5px);
    pointer-events: none;
    transition: filter 0.4s var(--ease-smooth);
}

/* Tool Modal Content - Hidden by default */
.tool-modal-content {
    display: none;
}

/* Card in Modal State */
.tool-card.modal-open {
    position: fixed !important;
    z-index: 200;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: auto;
    padding: 0;
    animation: modalOpen 0.5s var(--ease-elastic) forwards;
}

/* Markdown Preview - Larger Modal */
.tool-card.modal-open[data-tool="markdown-preview"] {
    max-width: 1000px;
    width: 95%;
}

.tool-card.modal-open .card-glow,
.tool-card.modal-open .card-icon,
.tool-card.modal-open .card-content,
.tool-card.modal-open .card-arrow,
.tool-card.modal-open .card-badge {
    display: none;
}

.tool-card.modal-open .tool-modal-content {
    display: block;
}

@keyframes modalOpen {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes modalClose {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* Modal Header */
.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    background: rgba(26, 26, 37, 0.95);
    border-radius: 20px 20px 0 0;
}

.modal-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--dark-1);
}

.modal-header h3 {
    flex: 1;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--light);
}

.modal-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--light-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s var(--ease-smooth);
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

/* Modal Body */
.modal-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(26, 26, 37, 0.95);
    border-radius: 0 0 20px 20px;
    overflow-y: auto;
    max-height: calc(80vh - 80px);
}

/* Custom Scrollbar for Modal */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent), var(--primary));
    background-clip: padding-box;
}

/* Firefox Scrollbar */
.modal-body {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(255, 255, 255, 0.05);
}

/* ======================================
   QR Generator Styles
====================================== */
.qr-input-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.qr-input-section label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--light-dim);
}

.qr-input-section textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    color: var(--light);
    font-family: var(--font-code);
    font-size: 0.95rem;
    resize: vertical;
    transition: all 0.3s var(--ease-smooth);
}

.qr-input-section textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.qr-input-section textarea::placeholder {
    color: rgba(240, 240, 245, 0.4);
}

.qr-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.option-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.option-group label {
    font-size: 0.85rem;
}

.option-group select {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    color: var(--light);
    font-family: var(--font-main);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.option-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.option-group select option {
    background: var(--dark-2);
    color: var(--light);
}

.qr-generate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-main);
    border: none;
    border-radius: 12px;
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.qr-generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.qr-generate-btn:active {
    transform: translateY(0);
}

.qr-output-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.qr-preview {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s var(--ease-smooth);
}

.qr-preview.has-qr {
    background: white;
    border-style: solid;
    border-color: rgba(59, 130, 246, 0.5);
    padding: 1rem;
}

.qr-preview img {
    max-width: 100%;
    max-height: 100%;
}

.qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-dim);
    text-align: center;
    padding: 1rem;
}

.qr-placeholder i {
    font-size: 3rem;
    opacity: 0.3;
}

.qr-placeholder span {
    font-size: 0.9rem;
    opacity: 0.7;
}

.qr-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 10px;
    color: #4ade80;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.qr-download-btn:hover {
    background: rgba(34, 197, 94, 0.3);
    transform: translateY(-2px);
}

/* ======================================
   Password Generator Styles
====================================== */
.password-output-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.password-display {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.password-display input {
    flex: 1;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    color: var(--light);
    font-family: var(--font-code);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    transition: all 0.3s var(--ease-smooth);
}

.password-display input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.password-display input::placeholder {
    color: rgba(240, 240, 245, 0.4);
    font-size: 0.95rem;
}

.password-copy-btn {
    width: 50px;
    min-width: 50px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s var(--ease-smooth);
}

.password-copy-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: var(--primary);
    transform: scale(1.05);
}

.password-copy-btn.copied {
    background: rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.5);
    color: #4ade80;
}

.password-strength {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.strength-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: all 0.4s var(--ease-smooth);
}

.strength-fill.weak {
    width: 25%;
    background: #ef4444;
}

.strength-fill.fair {
    width: 50%;
    background: #f59e0b;
}

.strength-fill.good {
    width: 75%;
    background: #3b82f6;
}

.strength-fill.strong {
    width: 100%;
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.strength-text {
    font-size: 0.85rem;
    color: var(--light-dim);
    min-width: 100px;
    text-align: right;
}

.password-options {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
}

.option-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-row label {
    font-size: 0.9rem;
    color: var(--light-dim);
    display: flex;
    justify-content: space-between;
}

.option-row label span {
    color: var(--primary);
    font-weight: 600;
    font-family: var(--font-code);
}

.option-row input[type="range"] {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
}

.option-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--gradient-main);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s var(--ease-smooth);
}

.option-row input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.option-row input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--gradient-main);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    transition: all 0.3s var(--ease-smooth);
}

.checkbox-option:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid rgba(59, 130, 246, 0.4);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-smooth);
}

.checkmark::after {
    content: '✓';
    font-size: 0.75rem;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s var(--ease-bounce);
}

.checkbox-option input[type="checkbox"]:checked + .checkmark {
    background: var(--gradient-main);
    border-color: var(--primary);
}

.checkbox-option input[type="checkbox"]:checked + .checkmark::after {
    opacity: 1;
    transform: scale(1);
}

.option-label {
    font-size: 0.85rem;
    color: var(--light-dim);
}

.password-generate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-main);
    border: none;
    border-radius: 12px;
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    width: 100%;
}

.password-generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.password-generate-btn:active {
    transform: translateY(0);
}

.password-generate-btn i {
    transition: transform 0.3s var(--ease-smooth);
}

.password-generate-btn:hover i {
    transform: rotate(180deg);
}

/* ======================================
   JSON Formatter Styles
====================================== */
.json-input-section,
.json-output-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.json-input-section label,
.json-output-section label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--light-dim);
}

.json-input-section textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    color: var(--light);
    font-family: var(--font-code);
    font-size: 0.9rem;
    resize: vertical;
    transition: all 0.3s var(--ease-smooth);
}

.json-input-section textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.json-input-section textarea::placeholder {
    color: rgba(240, 240, 245, 0.4);
}

.json-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.json-btn {
    flex: 1;
    min-width: 100px;
    padding: 0.75rem 1rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: var(--primary);
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s var(--ease-smooth);
}

.json-btn:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.json-btn.primary {
    background: var(--gradient-main);
    border: none;
    color: white;
}

.json-btn.primary:hover {
    box-shadow: 0 8px 25px var(--primary-glow);
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy-btn {
    width: 36px;
    height: 36px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-smooth);
}

.copy-btn:hover {
    background: rgba(59, 130, 246, 0.25);
    transform: scale(1.05);
}

.copy-btn.copied {
    background: rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.5);
    color: #4ade80;
}

.json-output {
    min-height: 150px;
    max-height: 300px;
    overflow: auto;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: var(--light);
    white-space: pre-wrap;
    word-break: break-all;
}

.json-output .output-placeholder {
    color: rgba(240, 240, 245, 0.4);
}

.json-output .json-key {
    color: #93c5fd;
}

.json-output .json-string {
    color: #86efac;
}

.json-output .json-number {
    color: #fcd34d;
}

.json-output .json-boolean {
    color: #f472b6;
}

.json-output .json-null {
    color: #a78bfa;
}

.json-status {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.json-status.success {
    display: block;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.json-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* ======================================
   Base64 Encoder Styles
====================================== */
.base64-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.base64-section label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--light-dim);
}

.base64-section textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    color: var(--light);
    font-family: var(--font-code);
    font-size: 0.9rem;
    resize: vertical;
    transition: all 0.3s var(--ease-smooth);
}

.base64-section textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.base64-section textarea::placeholder {
    color: rgba(240, 240, 245, 0.4);
}

.base64-section textarea[readonly] {
    background: rgba(0, 0, 0, 0.3);
    cursor: default;
}

.base64-actions {
    display: flex;
    gap: 1rem;
}

.base64-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s var(--ease-smooth);
}

.base64-btn.encode {
    background: var(--gradient-main);
    color: white;
}

.base64-btn.decode {
    background: rgba(147, 197, 253, 0.2);
    border: 1px solid rgba(147, 197, 253, 0.4);
    color: var(--secondary);
}

.base64-btn:hover {
    transform: translateY(-2px);
}

.base64-btn.encode:hover {
    box-shadow: 0 10px 30px var(--primary-glow);
}

.base64-btn.decode:hover {
    background: rgba(147, 197, 253, 0.3);
}

.base64-status {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.base64-status.success {
    display: block;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.base64-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* ======================================
   Responsive Modal
====================================== */
@media (max-width: 768px) {
    .tool-card.modal-open {
        width: 95%;
        max-height: 85vh;
    }
    
    .tool-card.modal-open[data-tool="markdown-preview"] {
        max-width: 98%;
        width: 98%;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .qr-preview {
        max-width: 220px;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .password-display input {
        font-size: 0.95rem;
    }
}

/* ======================================
   Renk Paleti Tool Styles
====================================== */
.color-picker-container {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.color-picker-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Color Area (Saturation-Brightness) */
.color-area {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 12px;
    background: linear-gradient(to right, #fff, hsl(217, 100%, 50%));
    cursor: crosshair;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.color-area-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, #000 100%);
    pointer-events: none;
}

.color-cursor {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 2px 10px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    transition: box-shadow 0.2s ease;
}

/* Hue Slider */
.hue-slider-container {
    width: 100%;
}

.hue-slider {
    position: relative;
    width: 100%;
    height: 20px;
    border-radius: 10px;
    background: linear-gradient(to right,
        hsl(0, 100%, 50%),
        hsl(60, 100%, 50%),
        hsl(120, 100%, 50%),
        hsl(180, 100%, 50%),
        hsl(240, 100%, 50%),
        hsl(300, 100%, 50%),
        hsl(360, 100%, 50%)
    );
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hue-cursor {
    position: absolute;
    top: 50%;
    width: 8px;
    height: 26px;
    background: white;
    border-radius: 4px;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* Preview Section */
.color-preview-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    min-width: 120px;
}

.color-preview-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.color-preview-current {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    background: #3b82f6;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: background 0.1s ease;
}

.color-preview-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.random-color-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--primary);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.random-color-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.4);
}

.random-color-btn i {
    transition: transform 0.3s ease;
}

.random-color-btn:hover i {
    transform: rotate(180deg);
}

/* Color Values Grid */
.color-values-grid {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.color-value-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.color-value-item label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    min-width: 35px;
}

.value-with-copy {
    display: flex;
    gap: 0.5rem;
    flex: 1;
}

.value-with-copy input {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: var(--light);
    font-family: var(--font-code);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: all 0.3s var(--ease-smooth);
}

.value-with-copy input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.copy-small-btn {
    width: 42px;
    min-width: 42px;
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.copy-small-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Color Harmony */
.color-harmony {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.color-harmony label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.harmony-colors {
    display: flex;
    gap: 0.5rem;
}

.harmony-color {
    flex: 1;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.harmony-color::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background 0.2s ease;
}

.harmony-color:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.harmony-color:hover::after {
    background: rgba(255, 255, 255, 0.15);
}

/* Responsive Color Picker */
@media (max-width: 600px) {
    .color-picker-container {
        flex-direction: column;
    }
    
    .color-preview-section {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }
    
    .color-preview-box {
        flex-direction: row;
        gap: 1rem;
    }
    
    .color-preview-current {
        width: 60px;
        height: 60px;
    }
    
    .random-color-btn {
        width: auto;
    }
    
}

/* ======================================
   Lorem Ipsum Tool Styles
====================================== */
.lorem-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
}

.lorem-option-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lorem-option-row label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.lorem-option-row label span {
    color: var(--primary);
    font-weight: 600;
}

.lorem-option-row select {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    color: var(--light);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.lorem-option-row select:hover,
.lorem-option-row select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 20px var(--primary-glow);
}

.lorem-option-row select option {
    background: var(--dark-2);
    color: var(--light);
}

/* Lorem Ipsum Slider with Track */
.lorem-slider-container {
    position: relative;
    padding-top: 0.5rem;
}

.lorem-slider-track {
    position: relative;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.lorem-slider-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    transition: width 0.1s ease;
}

.lorem-option-row input[type="range"] {
    position: absolute;
    top: 0.5rem;
    left: 0;
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    margin: 0;
    z-index: 2;
}

.lorem-option-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
    border: 3px solid white;
    transition: transform 0.15s ease;
}

.lorem-option-row input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.lorem-option-row input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
    border: 3px solid white;
}

.lorem-checkbox-row {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.lorem-generate-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.lorem-generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.lorem-generate-btn i {
    font-size: 1.1rem;
}

.lorem-output-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lorem-textarea {
    width: 100%;
    min-height: 180px;
    padding: 1rem;
    background: var(--dark-3);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    resize: vertical;
    font-family: inherit;
}

.lorem-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.lorem-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.lorem-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.lorem-actions {
    display: flex;
    justify-content: flex-end;
}

.lorem-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--dark-2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lorem-action-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ======================================
   UUID Generator Tool Styles
====================================== */
.uuid-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
}

.uuid-option-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.uuid-option-row label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.uuid-option-row label span {
    color: var(--primary);
    font-weight: 600;
}

.uuid-option-row select {
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: var(--light);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.uuid-option-row select:hover,
.uuid-option-row select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 20px var(--primary-glow);
}

.uuid-option-row select option {
    background: var(--dark-2);
    color: var(--light);
}

/* UUID Slider */
.uuid-slider-container {
    position: relative;
    padding-top: 0.5rem;
}

.uuid-slider-track {
    position: relative;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.uuid-slider-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    transition: width 0.1s ease;
}

.uuid-option-row input[type="range"] {
    position: absolute;
    top: 0.5rem;
    left: 0;
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    margin: 0;
    z-index: 2;
}

.uuid-option-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
    border: 3px solid white;
    transition: transform 0.15s ease;
}

.uuid-option-row input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.uuid-option-row input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
    border: 3px solid white;
}

.uuid-checkbox-row {
    display: flex;
    gap: 1rem;
    margin-top: 0.25rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.uuid-generate-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.uuid-generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.uuid-generate-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.uuid-generate-btn:hover i {
    transform: rotate(180deg);
}

.uuid-output-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.uuid-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: 180px;
    overflow-y: auto;
    padding: 0.4rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
}

.uuid-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 1.25rem;
    color: var(--text-muted);
}

.uuid-placeholder i {
    font-size: 1.5rem;
    opacity: 0.5;
}

.uuid-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.uuid-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary);
}

.uuid-text {
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--light);
    word-break: break-all;
}

.uuid-copy-btn {
    padding: 0.35rem 0.5rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 5px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-size: 0.75rem;
}

.uuid-copy-btn:hover {
    background: var(--primary);
    color: white;
}

.uuid-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.uuid-action-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--dark-2);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.uuid-action-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ======================================
   Hash Generator Styles
====================================== */
.hash-generator-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hash-input-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hash-input-section label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hash-textarea {
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: var(--light);
    font-family: var(--font-code);
    font-size: 0.9rem;
    resize: vertical;
    transition: all 0.3s ease;
}

.hash-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.hash-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
}

.hash-option-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hash-option-row label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hash-algo-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hash-algo-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hash-algo-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary);
    color: var(--light);
}

.hash-algo-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    color: white;
}

.hash-checkbox-row {
    display: flex;
    gap: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hash-generate-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.hash-generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.hash-generate-btn:active {
    transform: translateY(0);
}

.hash-output-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hash-output-section label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hash-result-container {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.hash-output {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: var(--light);
    font-family: var(--font-code);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.hash-output:focus {
    outline: none;
    border-color: var(--primary);
}

.hash-output.hash-generated {
    animation: hashPulse 0.3s ease;
}

@keyframes hashPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); border-color: var(--primary); }
    100% { transform: scale(1); }
}

.hash-copy-btn {
    padding: 0.75rem 1rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.hash-copy-btn:hover {
    background: var(--primary);
    color: white;
}

.hash-info {
    display: flex;
    gap: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hash-all-section {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hash-all-btn {
    width: 100%;
    padding: 0.6rem;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.hash-all-btn:hover {
    background: var(--primary);
    color: white;
}

.hash-all-results {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.hash-all-results.visible {
    display: flex;
}

.hash-all-item {
    padding: 0.6rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
}

.hash-all-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.hash-all-algo {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.hash-all-length {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.hash-all-value {
    display: flex;
    gap: 0.4rem;
}

.hash-all-value input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 6px;
    color: var(--light);
    font-family: var(--font-code);
    font-size: 0.7rem;
}

.hash-all-value .hash-copy-btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.7rem;
    border-radius: 6px;
}

/* Hash Toast */
.hash-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 0.75rem 1.5rem;
    background: var(--dark-2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: var(--light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10001;
    opacity: 0;
    transition: all 0.3s ease;
}

.hash-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.hash-toast.success {
    border-color: #22c55e;
}

.hash-toast.success i {
    color: #22c55e;
}

.hash-toast.warning {
    border-color: #f59e0b;
}

.hash-toast.warning i {
    color: #f59e0b;
}

/* ======================================
   Regex Tester Styles
====================================== */
.regex-tester-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.regex-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.regex-input-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.regex-pattern-container {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
}

.regex-delimiter {
    color: var(--primary);
    font-family: var(--font-code);
    font-size: 1.1rem;
    font-weight: bold;
}

.regex-pattern-container input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--light);
    font-family: var(--font-code);
    font-size: 0.95rem;
    padding: 0.25rem;
}

.regex-pattern-container input:focus {
    outline: none;
}

.regex-pattern-container input.regex-error {
    color: #ef4444;
}

.regex-flags {
    width: 50px !important;
    text-align: center;
    color: var(--primary) !important;
}

.regex-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
}

.regex-textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: var(--light);
    font-family: var(--font-code);
    font-size: 0.9rem;
    resize: vertical;
    transition: all 0.3s ease;
}

.regex-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.regex-results {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.regex-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.regex-result-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--light);
}

.regex-match-count {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.regex-matches {
    max-height: 150px;
    overflow-y: auto;
    padding: 0.5rem;
}

.regex-placeholder,
.regex-no-match,
.regex-error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.regex-placeholder i,
.regex-no-match i {
    font-size: 1.25rem;
    opacity: 0.5;
}

.regex-error-message {
    color: #ef4444;
}

.regex-error-message i {
    font-size: 1.25rem;
}

.regex-match-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
}

.regex-match-index {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

.regex-match-value {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.15);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.regex-match-position {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: auto;
}

.regex-match-groups {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.regex-group {
    font-size: 0.7rem;
    color: var(--secondary);
    background: rgba(147, 197, 253, 0.1);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
}

.regex-highlighted-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.regex-highlighted-section label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.regex-highlighted {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: var(--light);
    min-height: 60px;
    white-space: pre-wrap;
    word-break: break-word;
}

.regex-highlight {
    background: rgba(59, 130, 246, 0.4);
    color: white;
    padding: 0 2px;
    border-radius: 2px;
}

.regex-cheatsheet {
    margin-top: 0.5rem;
}

.regex-cheatsheet-btn {
    width: 100%;
    padding: 0.6rem;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.regex-cheatsheet-btn:hover,
.regex-cheatsheet-btn.active {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.regex-cheatsheet-content {
    display: none;
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
}

.regex-cheatsheet-content.visible {
    display: block;
}

.cheatsheet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.4rem;
}

.cheatsheet-item {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.3rem 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

.cheatsheet-item code {
    color: var(--primary);
    font-family: var(--font-code);
    margin-right: 0.3rem;
}

/* ======================================
   Epoch Converter Styles
====================================== */
.epoch-converter-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.epoch-current-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(30, 58, 138, 0.15));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
}

.epoch-live {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.epoch-live-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.epoch-live-value {
    font-family: var(--font-code);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.epoch-copy-current {
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.epoch-copy-current:hover {
    background: var(--primary);
    color: white;
}

.epoch-converter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.epoch-converter-card {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
}

.epoch-converter-card h4 {
    font-size: 0.9rem;
    color: var(--light);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.epoch-converter-card h4 i {
    color: var(--primary);
}

.epoch-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.epoch-input-group input {
    flex: 1;
    padding: 0.6rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: var(--light);
    font-family: var(--font-code);
    font-size: 0.85rem;
}

.epoch-input-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.epoch-input-group select {
    padding: 0.6rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: var(--light);
    font-size: 0.8rem;
    cursor: pointer;
}

.epoch-input-group select option {
    background: var(--dark-2);
}

.epoch-date-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.epoch-date-row {
    display: flex;
    gap: 0.5rem;
}

.epoch-date-row input {
    flex: 1;
    padding: 0.6rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: var(--light);
    font-size: 0.85rem;
}

.epoch-date-row input:focus {
    outline: none;
    border-color: var(--primary);
}

.epoch-now-btn {
    padding: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    color: var(--primary);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.epoch-now-btn:hover {
    background: var(--primary);
    color: white;
}

.epoch-convert-btn {
    width: 100%;
    padding: 0.6rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.epoch-convert-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.epoch-result {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.epoch-result.result-updated {
    animation: epochPulse 0.3s ease;
}

@keyframes epochPulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 1; }
}

.epoch-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    gap: 0.5rem;
}

.epoch-result-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.epoch-result-value {
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--light);
    text-align: right;
    word-break: break-all;
}

.epoch-result-copy {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.epoch-mini-copy {
    padding: 0.25rem 0.4rem;
    background: rgba(59, 130, 246, 0.15);
    border: none;
    border-radius: 4px;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.7rem;
    transition: all 0.2s ease;
}

.epoch-mini-copy:hover {
    background: var(--primary);
    color: white;
}

.epoch-info-section {
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 10px;
}

.epoch-info-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.epoch-info-section p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Epoch Toast */
.epoch-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 0.75rem 1.5rem;
    background: var(--dark-2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: var(--light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10001;
    opacity: 0;
    transition: all 0.3s ease;
}

.epoch-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.epoch-toast.success i { color: #22c55e; }
.epoch-toast.warning i { color: #f59e0b; }
.epoch-toast.error i { color: #ef4444; }

/* ======================================
   Cron Generator Styles
====================================== */
.cron-generator-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cron-output-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cron-output-section label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cron-expression-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(30, 58, 138, 0.15));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
}

.cron-expression {
    flex: 1;
    font-family: var(--font-code);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.cron-copy-btn {
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.cron-copy-btn:hover {
    background: var(--primary);
    color: white;
}

.cron-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.cron-presets {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cron-presets label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cron-preset-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.cron-preset-btn {
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cron-preset-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.cron-builder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
}

.cron-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cron-field label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cron-field select {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    color: var(--light);
    font-size: 0.75rem;
    cursor: pointer;
}

.cron-field select:focus {
    outline: none;
    border-color: var(--primary);
}

.cron-field select option {
    background: var(--dark-2);
}

.cron-custom-input {
    padding: 0.4rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--light);
    font-family: var(--font-code);
    font-size: 0.7rem;
    margin-top: 0.25rem;
}

.cron-custom-input:focus {
    outline: none;
    border-color: var(--primary);
}

.cron-custom-input::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

.cron-next-runs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cron-next-runs label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cron-next-runs label i {
    color: var(--primary);
}

.cron-next-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    max-height: 150px;
    overflow-y: auto;
}

.cron-next-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    font-size: 0.8rem;
}

.cron-next-index {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 600;
    min-width: 20px;
}

.cron-next-date {
    color: var(--light);
    font-family: var(--font-code);
    font-size: 0.75rem;
}

/* ======================================
   Character Counter Styles
====================================== */
.char-counter-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.char-input-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.char-input-section label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.char-textarea {
    width: 100%;
    min-height: 120px;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: var(--light);
    font-family: var(--font-code);
    font-size: 0.9rem;
    resize: vertical;
    transition: all 0.3s ease;
}

.char-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.char-input-actions {
    display: flex;
    gap: 0.5rem;
}

.char-clear-btn,
.char-paste-btn {
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.char-clear-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.char-paste-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary);
    color: var(--primary);
}

/* Main Stats Cards */
.char-stats-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.char-stat-card {
    text-align: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.char-stat-card.primary {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(30, 58, 138, 0.15));
    border-color: rgba(59, 130, 246, 0.3);
}

.char-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-code);
    line-height: 1.2;
}

.char-stat-value.stat-changed {
    animation: statPulse 0.3s ease;
}

@keyframes statPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); color: var(--secondary); }
    100% { transform: scale(1); }
}

.char-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

/* Detailed Stats Grid */
.char-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.4rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
}

.char-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.char-stat-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

.char-stat-item i {
    color: var(--primary);
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.char-stat-name {
    flex: 1;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.char-stat-num {
    font-family: var(--font-code);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--light);
}

.char-stat-num.stat-changed {
    animation: statPulse 0.3s ease;
}

/* Extra Stats */
.char-extra-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 10px;
}

.char-extra-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.char-extra-item i {
    color: var(--primary);
}

.char-extra-item strong {
    color: var(--light);
    font-family: var(--font-code);
}

/* Word Frequency */
.char-frequency-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.char-frequency-header {
    display: flex;
    align-items: center;
}

.char-frequency-header label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.char-frequency-header label i {
    color: var(--primary);
}

.char-frequency-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.char-frequency-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.char-frequency-placeholder i {
    font-size: 1.25rem;
    opacity: 0.5;
}

.char-frequency-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

.freq-word {
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--light);
    min-width: 80px;
    font-weight: 500;
}

.freq-bar-container {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.freq-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.freq-count {
    font-family: var(--font-code);
    font-size: 0.7rem;
    color: var(--primary);
    min-width: 25px;
    text-align: right;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 600px) {
    .char-stats-main {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .char-stat-value {
        font-size: 1.25rem;
    }
    
    .char-extra-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ======================================
   Markdown Preview Styles
====================================== */
.markdown-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.markdown-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
}

.md-tool-btn {
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.md-tool-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary);
    color: var(--primary);
}

.md-toolbar-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 0.25rem;
    align-self: center;
}

.markdown-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    min-height: 300px;
}

.markdown-editor,
.markdown-preview {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.markdown-panel-header {
    padding: 0.5rem 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.markdown-textarea {
    flex: 1;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    color: var(--light);
    font-family: var(--font-code);
    font-size: 0.85rem;
    resize: none;
    min-height: 250px;
}

.markdown-textarea:focus {
    outline: none;
}

.markdown-textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.5;
}

.markdown-output {
    flex: 1;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    overflow-y: auto;
    min-height: 250px;
}

.markdown-output .md-placeholder {
    color: var(--text-muted);
    font-style: italic;
}

/* Markdown Output Styles */
.markdown-output h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

.markdown-output h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--light);
    margin: 0.75rem 0 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.markdown-output h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light);
    margin: 0.6rem 0 0.4rem;
}

.markdown-output h4,
.markdown-output h5,
.markdown-output h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--light);
    margin: 0.5rem 0 0.3rem;
}

.markdown-output p {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.markdown-output strong {
    color: var(--light);
    font-weight: 600;
}

.markdown-output em {
    font-style: italic;
}

.markdown-output del {
    text-decoration: line-through;
    opacity: 0.7;
}

.markdown-output code {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: var(--font-code);
    font-size: 0.85em;
}

.markdown-output pre {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    overflow-x: auto;
    margin: 0.5rem 0;
}

.markdown-output pre code {
    background: transparent;
    padding: 0;
    color: var(--light);
    font-size: 0.8rem;
}

.markdown-output blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 0.75rem;
    margin: 0.5rem 0;
    color: var(--text-muted);
    font-style: italic;
}

.markdown-output ul,
.markdown-output ol {
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.markdown-output li {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.markdown-output hr {
    border: none;
    height: 1px;
    background: rgba(59, 130, 246, 0.3);
    margin: 1rem 0;
}

.markdown-output a {
    color: var(--primary);
    text-decoration: none;
}

.markdown-output a:hover {
    text-decoration: underline;
}

.markdown-output img {
    max-width: 100%;
    border-radius: 8px;
    margin: 0.5rem 0;
}

.markdown-output table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5rem 0;
    font-size: 0.85rem;
}

.markdown-output th,
.markdown-output td {
    padding: 0.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-align: left;
}

.markdown-output th {
    background: rgba(59, 130, 246, 0.1);
    font-weight: 600;
    color: var(--light);
}

.markdown-output td {
    color: var(--text-color);
}

.markdown-output .md-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0.25rem 0;
}

.markdown-output .md-checkbox input {
    accent-color: var(--primary);
}

.markdown-output .md-checkbox.checked {
    text-decoration: line-through;
    opacity: 0.7;
}

/* Markdown Actions */
.markdown-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.md-action-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.md-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.md-action-btn.secondary {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.md-action-btn.secondary:hover {
    background: rgba(239, 68, 68, 0.2);
    box-shadow: none;
    transform: none;
}

/* Markdown Toast */
.md-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 0.75rem 1.5rem;
    background: var(--dark-2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: var(--light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10001;
    opacity: 0;
    transition: all 0.3s ease;
}

.md-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.md-toast.success i {
    color: #22c55e;
}

/* Responsive */
@media (max-width: 768px) {
    .markdown-container {
        grid-template-columns: 1fr;
    }
    
    .markdown-textarea,
    .markdown-output {
        min-height: 180px;
    }
    
    .markdown-toolbar {
        gap: 0.2rem;
    }
    
    .md-tool-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.75rem;
        min-width: 28px;
    }
    
    .md-toolbar-divider {
        display: none;
    }
}

/* ======================================
   Responsive Renk Paleti & Lorem Ipsum
====================================== */
@media (max-width: 768px) {
    .color-preview-large {
        width: 140px;
        height: 140px;
    }
    
    .harmony-colors {
        flex-wrap: wrap;
    }
    
    .harmony-color {
        min-width: calc(50% - 0.25rem);
        height: 40px;
    }
    
    .lorem-textarea {
        min-height: 150px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ======================================
   Calm visual refresh
====================================== */
.tools-page {
    --primary: #6ea8fe;
    --primary-glow: rgba(110, 168, 254, 0.18);
    --secondary: #b7d3fb;
    --accent: #315b91;
    --accent-glow: rgba(49, 91, 145, 0.16);
    --dark-1: #090d14;
    --dark-2: #111823;
    --dark-3: #151f2d;
    --dark-4: #1c2939;
    --light: #e8eef6;
    --light-dim: rgba(196, 211, 228, 0.76);
    --font-main: "Manrope", sans-serif;
    --font-code: "IBM Plex Mono", monospace;
    background:
        radial-gradient(circle at 12% 6%, rgba(67, 135, 237, 0.13), transparent 28rem),
        radial-gradient(circle at 90% 36%, rgba(49, 91, 145, 0.12), transparent 30rem),
        #090d14;
}

.tools-page #particleCanvas,
.tools-page .gradient-orbs,
.tools-page .grid-pattern,
.tools-page .cursor-glow,
.tools-page .tool-icon,
.tools-page .subtitle,
.tools-page .badge-glow,
.tools-page .header-line,
.tools-page .footer-dots {
    display: none;
}

.tools-page .container {
    padding: 20px;
}

.tools-page .navbar {
    margin-bottom: 1rem;
}

.tools-page .nav-back,
.tools-page .construction-badge,
.tools-page .section-tag {
    border-color: rgba(110, 168, 254, 0.24);
    color: var(--primary);
    background: rgba(110, 168, 254, 0.1);
}

.tools-page .nav-back:hover {
    border-color: rgba(110, 168, 254, 0.46);
    background: rgba(110, 168, 254, 0.16);
}

.tools-page .hero-section {
    min-height: auto;
    padding: 5rem 1rem 3rem;
}

.tools-page .construction-badge,
.tools-page .word {
    opacity: 1;
    transform: none;
    animation: none;
}

.tools-page .main-title {
    max-width: 820px;
    font-size: clamp(2.55rem, 7vw, 4.8rem);
    letter-spacing: -0.06em;
}

.tools-page .word.highlight,
.tools-page .showcase-header h3 {
    background: none;
    color: var(--primary);
    -webkit-text-fill-color: currentColor;
}

.tools-page .tools-section {
    padding-top: 2rem;
}

.tools-page .tools-grid {
    gap: 1rem;
}

.tools-page .tool-card {
    min-height: 210px;
    padding: 1.45rem;
    border-color: rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    background: rgba(17, 24, 35, 0.78);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tools-page .tool-card:hover {
    transform: translateY(-4px);
    border-color: rgba(110, 168, 254, 0.42);
    background: rgba(19, 30, 44, 0.92);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

.tools-page .tool-card:hover .card-icon {
    transform: none;
    box-shadow: none;
}

.tools-page .card-icon,
.tools-page .modal-icon,
.tools-page .info-icon {
    color: var(--primary);
    background: rgba(110, 168, 254, 0.12);
}

.tools-page .card-glow {
    display: none;
}

.tools-page .card-badge {
    border-color: rgba(148, 163, 184, 0.18);
    color: #aebed0;
    background: rgba(148, 163, 184, 0.08);
}

.tools-page .card-badge.active {
    border-color: rgba(74, 222, 128, 0.24);
    color: #86efac;
    background: rgba(34, 197, 94, 0.1);
}

.tools-page .upcoming-tool {
    opacity: 0.72;
}

.tools-page .tool-card.is-loading {
    cursor: wait;
}

.tools-page .info-card {
    border-color: rgba(110, 168, 254, 0.18);
    background: rgba(110, 168, 254, 0.06);
}

.tools-page .info-icon {
    animation: none;
}

.tools-page .modal-overlay {
    background: rgba(4, 8, 14, 0.74);
}

.tools-page .tool-card.modal-open {
    min-height: auto;
    border-radius: 18px;
    animation: none;
}

.tools-page .modal-header,
.tools-page .modal-body {
    background: #151f2d;
}

.tools-page .modal-header {
    border-color: rgba(148, 163, 184, 0.16);
}

.tool-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 10001;
    max-width: min(420px, calc(100vw - 44px));
    padding: 13px 16px;
    border: 1px solid rgba(110, 168, 254, 0.28);
    border-radius: 12px;
    color: #e8eef6;
    background: #151f2d;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    font-size: 0.88rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.tool-toast.error {
    border-color: rgba(248, 113, 113, 0.5);
}

.tool-toast.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .tools-page .hero-section {
        padding: 4rem 0.5rem 2rem;
    }

    .tools-page .tools-grid {
        gap: 0.85rem;
    }

    .tools-page .tool-card {
        min-height: 180px;
        padding: 1.2rem;
    }
}
