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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #10b981;
    --accent: #f59e0b;
    --dark: #0f0f1a;
    --darker: #0a0a14;
    --card-bg: #1a1a2e;
    --card-hover: #222240;
    --text: #ffffff;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
    --border: #2d2d4a;
    --border-light: #3d3d5c;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    display: flex;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--darker);
    border-right: 1px solid var(--border);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    padding: 24px 0;
    z-index: 100;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.sidebar-logo {
    padding: 0 24px 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.sidebar-logo a {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.sidebar-logo img {
    width: 40px;
    height: 40px;
}

.sidebar-section {
    margin-bottom: 28px;
}

.sidebar-section-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 0 24px;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: rgba(99, 102, 241, 0.08);
    color: var(--text);
    border-left-color: rgba(99, 102, 241, 0.3);
}

.sidebar-link.active {
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-light);
    border-left-color: var(--primary);
}

.sidebar-link .badge {
    margin-left: auto;
    font-size: 0.65rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 700;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    min-height: 100vh;
    background: var(--dark);
}

/* Top Bar */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    border-bottom: 1px solid var(--border);
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-nav {
    display: flex;
    gap: 32px;
}

.topbar-nav a {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    padding: 8px 0;
    position: relative;
}

.topbar-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.topbar-nav a:hover {
    color: var(--text);
}

.topbar-nav a:hover::after,
.topbar-nav a.active::after {
    width: 100%;
}

.topbar-nav a.active {
    color: var(--text);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-pro {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

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

/* Live Banner */
.live-banner {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.12) 0%, rgba(239, 68, 68, 0.04) 100%);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 16px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 40px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.live-banner:hover {
    border-color: rgba(239, 68, 68, 0.5);
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.18) 0%, rgba(239, 68, 68, 0.08) 100%);
    transform: translateY(-1px);
}

.live-dot {
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% { 
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

.live-banner p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.live-banner strong {
    color: #ef4444;
    font-weight: 700;
}

/* Hero Section */
.hero {
    padding: 40px;
}

.hero-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    box-shadow: var(--shadow-xl);
}

.hero-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-content h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 6px;
    font-weight: 500;
}

.hero-btn {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
}

.hero-image {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-live-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(239, 68, 68, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.hero-live-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Section */
.section {
    padding: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.section-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.btn-add {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-add:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-1px);
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.tool-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(99, 102, 241, 0.15);
    background: var(--card-hover);
}

.tool-card-icon {
    width: 52px;
    height: 52px;
    background: rgba(99, 102, 241, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-card:hover .tool-card-icon {
    background: rgba(99, 102, 241, 0.2);
    transform: scale(1.05);
}

.tool-card-icon img {
    width: 32px;
    height: 32px;
}

.tool-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.tool-card .tool-type {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.tool-card .tool-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.7rem;
    padding: 4px 12px;
    border-radius: 10px;
    font-weight: 700;
}

.tool-card .btn-tool {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: auto;
}

.btn-tool-free {
    background: rgba(16, 185, 129, 0.12);
    color: var(--secondary);
    border: 1px solid rgba(16, 185, 129, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-tool-free:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.5);
}

/* Footer */
.footer {
    padding: 40px;
    border-top: 1px solid var(--border);
    margin-top: 48px;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-links span {
    color: var(--border);
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Tools Page */
.tools-page {
    padding: 40px;
}

.tools-categories {
    display: flex;
    gap: 14px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-btn:hover,
.category-btn.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}

/* Contact Page */
.contact-page {
    padding: 48px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--darker);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

/* About Page */
.about-page {
    padding: 48px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 56px;
}

.about-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.about-header h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-header p {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.about-stat {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.about-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.about-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 500;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.about-content h2 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-feature {
    display: flex;
    gap: 18px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-feature:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.about-feature p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-muted);
}

/* Tool Page */
.tool-page {
    padding: 40px;
    max-width: 1000px;
}

.tool-header {
    margin-bottom: 36px;
}

.tool-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.tool-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.search-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    margin-bottom: 36px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

.results-section {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-lg);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.results-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .sidebar {
        width: 260px;
    }
    
    .main-content {
        margin-left: 260px;
    }
    
    .hero-content {
        padding: 36px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        gap: 28px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive - Mobile Landscape */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .topbar {
        padding: 16px 24px;
    }
    
    .topbar-nav {
        gap: 20px;
    }
    
    .topbar-nav a {
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 24px;
    }
    
    .hero-card {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        padding: 32px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat-value {
        font-size: 1.4rem;
    }
    
    .section {
        padding: 24px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .tool-card {
        padding: 20px;
    }
    
    .tool-card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .tool-card h3 {
        font-size: 0.95rem;
    }
    
    .tools-page {
        padding: 24px;
    }
    
    .tools-categories {
        gap: 10px;
    }
    
    .category-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    
    .contact-page {
        padding: 32px 24px;
    }
    
    .contact-form {
        padding: 32px;
    }
    
    .about-page {
        padding: 32px 24px;
    }
    
    .about-header h1 {
        font-size: 1.8rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .about-stat {
        padding: 24px;
    }
    
    .about-stat-value {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .tool-page {
        padding: 24px;
    }
    
    .tool-header h1 {
        font-size: 1.6rem;
    }
    
    .search-form-card {
        padding: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row .form-group {
        margin-bottom: 20px;
    }
    
    .footer {
        padding: 32px 24px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* Responsive - Mobile Portrait */
@media (max-width: 480px) {
    .topbar-nav {
        gap: 16px;
    }
    
    .topbar-nav a {
        font-size: 0.8rem;
    }
    
    .live-banner {
        margin: 16px;
        padding: 12px 16px;
    }
    
    .live-banner p {
        font-size: 0.8rem;
    }
    
    .hero-content {
        padding: 24px;
    }
    
    .hero-content h1 {
        font-size: 1.4rem;
    }
    
    .hero-content .subtitle {
        font-size: 0.9rem;
    }
    
    .hero-content p {
        font-size: 0.85rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-stat {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .hero-stat-value {
        font-size: 1.3rem;
    }
    
    .hero-stat-label {
        font-size: 0.75rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-card {
        padding: 20px;
    }
    
    .tool-card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .tool-card h3 {
        font-size: 0.9rem;
    }
    
    .tool-card .tool-type {
        font-size: 0.75rem;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .about-header h1 {
        font-size: 1.5rem;
    }
    
    .about-header p {
        font-size: 0.9rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-stat {
        padding: 20px;
    }
    
    .about-stat-value {
        font-size: 1.6rem;
    }
    
    .about-stat-label {
        font-size: 0.75rem;
    }
    
    .about-content h2 {
        font-size: 1.3rem;
    }
    
    .about-content p {
        font-size: 0.9rem;
    }
    
    .about-feature {
        padding: 16px;
    }
    
    .about-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .about-feature h4 {
        font-size: 0.95rem;
    }
    
    .about-feature p {
        font-size: 0.85rem;
    }
    
    .tool-header h1 {
        font-size: 1.4rem;
    }
    
    .tool-header p {
        font-size: 0.9rem;
    }
    
    .search-form-card {
        padding: 24px;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-links span {
        display: none;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-card,
.tool-card,
.about-stat,
.about-feature,
.search-form-card,
.contact-form,
.results-section {
    animation: fadeIn 0.5s ease-out;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.preloader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Selection */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: var(--text);
}

/* Focus States */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-light);
}
