
/* Devlixio Main Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(145deg, #0a0f1e 0%, #1a1f30 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #38bdf8;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #38bdf8;
}

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 40px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: #38bdf8;
    color: #0a0f1e;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px #38bdf8;
}

/* Main Content */
main {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: clamp(2.5rem, 7vw, 3.5rem);
    color: #38bdf8;
    margin-bottom: 10px;
    text-shadow: 0 5px 20px rgba(56, 189, 248, 0.3);
}

.subtitle {
    color: #94a3b8;
    font-size: 1.2rem;
}

/* Search */
.search-container {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #38bdf8;
    font-size: 1.2rem;
}

#searchInput {
    width: 100%;
    padding: 18px 20px 18px 55px;
    border-radius: 60px;
    border: 1px solid #38bdf8;
    background: rgba(30, 41, 59, 0.7);
    color: white;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

#searchInput:focus {
    outline: none;
    box-shadow: 0 0 30px #38bdf8;
    border-color: #22c55e;
}

.search-stats {
    text-align: center;
    margin-top: 10px;
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Stats */
.stats-mini {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0 30px;
    flex-wrap: wrap;
}

.stat-mini-item {
    background: rgba(30, 41, 59, 0.5);
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid #38bdf8;
    font-size: 1.1rem;
}

.stat-mini-item i {
    color: #22c55e;
    margin-right: 8px;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-tab {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid #38bdf8;
    color: white;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.1rem;
}

.category-tab.active {
    background: #38bdf8;
    color: #0a0f1e;
    box-shadow: 0 10px 25px #38bdf8;
}

.category-tab i {
    margin-right: 8px;
}

/* Category Sections */
.category-section {
    margin-bottom: 50px;
}

.category-title {
    font-size: 2rem;
    color: #38bdf8;
    margin-bottom: 25px;
    border-left: 8px solid #f59e0b;
    padding-left: 20px;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Tool Cards */
.tool-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid #38bdf8;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8, #22c55e, #f59e0b);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.tool-card:hover::before {
    transform: translateX(0);
}

.tool-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 35px -15px #38bdf8;
    background: #1e293b;
}

.tool-card.exclusive {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.tool-card.exclusive:hover {
    border-color: #f59e0b;
    box-shadow: 0 25px 35px -15px #f59e0b;
}

.lock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #f59e0b;
    color: #0f172a;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.tool-icon {
    font-size: 3.5rem;
    margin-bottom: 5px;
}

.tool-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #38bdf8;
}

.exclusive .tool-title {
    color: #f59e0b;
}

.tool-desc {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Tool Page */
.tool-page {
    max-width: 1000px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    margin-bottom: 25px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s;
}

.back-link:hover {
    color: #38bdf8;
    transform: translateX(-5px);
}

.tool-header {
    text-align: center;
    margin-bottom: 40px;
}

.tool-header h1 {
    font-size: 2.5rem;
    color: #38bdf8;
    margin-bottom: 10px;
}

.tool-header p {
    color: #94a3b8;
    font-size: 1.2rem;
}

.tool-container {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid #38bdf8;
}

.input-area, .output-area {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 10px;
    color: #38bdf8;
    font-weight: 600;
    font-size: 1.1rem;
}

textarea {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 12px;
    color: white;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    resize: vertical;
    transition: 0.3s;
}

textarea:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

textarea[readonly] {
    background: #1a1f30;
    cursor: default;
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 25px 0;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #38bdf8;
    color: #0a0f1e;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px #38bdf8;
}

.btn-secondary {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid #38bdf8;
    color: white;
}

.btn-secondary:hover {
    background: #38bdf8;
    color: #0a0f1e;
}

/* Premium Lock */
.premium-lock {
    text-align: center;
    padding: 60px 20px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 20px;
    border: 2px solid #f59e0b;
}

.premium-lock i {
    font-size: 4rem;
    color: #f59e0b;
    margin-bottom: 20px;
}

.premium-lock h3 {
    font-size: 2rem;
    color: #f59e0b;
    margin-bottom: 15px;
}

.premium-lock p {
    color: #94a3b8;
    font-size: 1.2rem;
}

.premium-lock a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
}

.premium-lock a:hover {
    text-decoration: underline;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 50px;
    color: white;
    z-index: 9999;
    animation: slideIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.notification.success {
    background: #22c55e;
}

.notification.error {
    background: #ef4444;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px;
    color: #94a3b8;
    display: none;
}

.no-results i {
    font-size: 4rem;
    color: #38bdf8;
    margin-bottom: 20px;
}

.no-results h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Ask Float Button */
.ask-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #f59e0b;
    color: #0a0f1e;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px #f59e0b;
    transition: 0.3s;
    z-index: 1500;
    border: 2px solid #fff;
}

.ask-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px #f59e0b;
}

.ask-float i {
    font-size: 1.8rem;
    margin-bottom: 2px;
}

.ask-float span {
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* Footer */
footer {
    background: #0a0f1e;
    color: #64748b;
    padding: 40px 20px 20px;
    margin-top: 60px;
    border-top: 1px solid #1e293b;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #38bdf8;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: 0.3s;
}

.footer-section a:hover {
    color: #38bdf8;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 12px 20px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 20px;
        background: rgba(10, 15, 30, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: 20px;
        width: 250px;
        border: 1px solid #38bdf8;
        z-index: 1000;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links a {
        width: 100%;
        text-align: center;
    }
    
    .tool-header h1 {
        font-size: 2rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-mini {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-mini-item {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .ask-float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
}
