/* ===== CSS Variables & Reset ===== */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --dark: #1e293b;
    --dark-light: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; }
button { cursor: pointer; border: none; outline: none; font-family: var(--font); }
input, textarea { font-family: var(--font); outline: none; }


/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    color: var(--dark);
}

.logo i {
    color: var(--primary);
    font-size: 1.6rem;
}

.logo strong { color: var(--primary); }

.nav-menu { display: flex; align-items: center; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links > li > a {
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark-light);
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}


/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 10px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--dark-light);
}

.dropdown-menu li a:hover {
    background: var(--light);
    color: var(--primary);
}

.dropdown-menu li a i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--light);
    border-radius: 50px;
    padding: 6px 14px;
    border: 1px solid var(--border);
}

.search-box input {
    border: none;
    background: none;
    padding: 4px 8px;
    width: 160px;
    font-size: 0.85rem;
}

.search-box button {
    background: none;
    color: var(--gray);
    font-size: 0.9rem;
}

.mobile-toggle {
    display: none;
    background: none;
    font-size: 1.4rem;
    color: var(--dark);
}


/* ===== Hero Section ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.hero-search {
    display: flex;
    max-width: 550px;
    margin: 0 auto 40px;
    background: var(--white);
    border-radius: 50px;
    padding: 6px;
    box-shadow: var(--shadow-xl);
}

.hero-search input {
    flex: 1;
    border: none;
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: 50px;
}

.hero-search button {
    background: var(--primary);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.hero-search button:hover {
    background: var(--primary-dark);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.stat { text-align: center; }

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: var(--white);
}

.shape-1 { width: 300px; height: 300px; top: -100px; right: -50px; }
.shape-2 { width: 200px; height: 200px; bottom: -50px; left: -50px; }
.shape-3 { width: 150px; height: 150px; top: 50%; left: 60%; }


/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
}

/* ===== Categories Section ===== */
.categories {
    padding: 80px 0;
    background: var(--light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: var(--white);
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.category-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.category-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
    padding: 4px 12px;
    border-radius: 50px;
}


/* ===== Tools Section ===== */
.tools-section {
    padding: 80px 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.tool-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: block;
}

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

.tool-icon {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(14,165,233,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.tool-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.tool-card p {
    font-size: 0.88rem;
    color: var(--gray);
    margin-bottom: 14px;
    line-height: 1.5;
}

.tool-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
    padding: 4px 10px;
    border-radius: 50px;
}

/* ===== Ad Container ===== */
.ad-container {
    padding: 20px 0;
    background: var(--light);
    text-align: center;
}

.ad-horizontal {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ===== Who Uses Section ===== */
.who-uses {
    padding: 80px 0;
    background: var(--light);
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.user-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.user-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.user-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.user-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.user-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ===== Features Section ===== */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    color: var(--white);
}

.feature-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.6;
}


/* ===== Newsletter Section ===== */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.newsletter-content {
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.newsletter p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.newsletter-form {
    display: flex;
    background: var(--white);
    border-radius: 50px;
    padding: 5px;
    box-shadow: var(--shadow-xl);
}

.newsletter-form input {
    flex: 1;
    border: none;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
}

.newsletter-form button {
    background: var(--primary);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    padding: 60px 0 30px;
    color: rgba(255,255,255,0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo i { color: var(--primary-light); }

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}


/* ===== Tool Page Styles ===== */
.tool-page {
    padding: 100px 0 60px;
    min-height: 100vh;
}

.tool-page .tool-header {
    text-align: center;
    margin-bottom: 40px;
}

.tool-page .tool-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.tool-page .tool-header p {
    color: var(--gray);
    font-size: 1.05rem;
}

.tool-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.tool-wrapper textarea,
.tool-wrapper input[type="text"],
.tool-wrapper input[type="url"],
.tool-wrapper input[type="number"] {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
    resize: vertical;
}

.tool-wrapper textarea:focus,
.tool-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

.tool-wrapper textarea {
    min-height: 150px;
    font-family: 'Courier New', monospace;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--light);
    color: var(--dark);
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--border);
}

.btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.result-box {
    margin-top: 24px;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    min-height: 100px;
}

.result-box h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.stat-box {
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
}

.stat-box .number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-box .label {
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
}


/* ===== Category Page Styles ===== */
.category-page {
    padding: 100px 0 60px;
}

.category-page .category-header {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-xl);
    color: var(--white);
}

.category-page .category-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-page .category-header p {
    font-size: 1.05rem;
    opacity: 0.9;
}

/* ===== Info Pages (About, Privacy, etc.) ===== */
.info-page {
    padding: 100px 0 60px;
}

.info-page .page-header {
    text-align: center;
    padding: 50px 0;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-xl);
    color: var(--white);
}

.info-page .page-header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.info-page .page-header p {
    font-size: 1.05rem;
    opacity: 0.9;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.info-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--dark);
}

.info-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0 10px;
    color: var(--dark-light);
}

.info-content p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.info-content ul, .info-content ol {
    margin: 15px 0 15px 20px;
}

.info-content li {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 8px;
    list-style: disc;
}

.info-content a {
    color: var(--primary);
    text-decoration: underline;
}

.info-content a:hover {
    color: var(--primary-dark);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

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


/* ===== Breadcrumb ===== */
.breadcrumb {
    padding: 90px 0 10px;
}

.breadcrumb ul {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.breadcrumb li { color: var(--gray); }
.breadcrumb li a { color: var(--primary); }
.breadcrumb li a:hover { text-decoration: underline; }
.breadcrumb li + li::before {
    content: '/';
    margin-right: 8px;
    color: var(--gray-light);
}

/* ===== Sidebar Ad ===== */
.ad-sidebar {
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius);
    text-align: center;
    min-height: 250px;
    margin: 20px 0;
    border: 1px solid var(--border);
}

/* ===== Color Picker Specific ===== */
.color-display {
    width: 100%;
    height: 150px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    margin: 16px 0;
}

.color-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.color-value-box {
    background: var(--light);
    padding: 12px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
}

.color-value-box label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.color-value-box span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

/* ===== Password Generator Specific ===== */
.password-display {
    background: var(--dark);
    color: #10b981;
    padding: 20px;
    border-radius: var(--radius);
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    text-align: center;
    word-break: break-all;
    margin: 16px 0;
}

.password-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.password-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.password-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.password-option label {
    font-size: 0.9rem;
    color: var(--dark-light);
}

.range-group {
    margin: 20px 0;
}

.range-group label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.range-group input[type="range"] {
    width: 100%;
    accent-color: var(--primary);
}

/* ===== Strength Meter ===== */
.strength-meter {
    height: 6px;
    border-radius: 3px;
    background: var(--border);
    margin: 12px 0;
    overflow: hidden;
}

.strength-meter .fill {
    height: 100%;
    border-radius: 3px;
    transition: var(--transition);
}

.strength-weak { width: 25%; background: var(--danger); }
.strength-fair { width: 50%; background: var(--accent); }
.strength-good { width: 75%; background: var(--secondary); }
.strength-strong { width: 100%; background: var(--success); }


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

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats { gap: 30px; }
    .stat-number { font-size: 1.5rem; }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links > li > a {
        display: block;
        padding: 12px 16px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 20px;
        display: none;
    }

    .dropdown.active .dropdown-menu { display: block; }

    .mobile-toggle { display: block; }
    .search-box { display: none; }

    .categories-grid { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: 1fr; }
    .users-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

    .hero-search { flex-direction: column; border-radius: var(--radius-lg); }
    .hero-search input { border-radius: var(--radius); }
    .hero-search button { border-radius: var(--radius); margin-top: 6px; }

    .newsletter-form { flex-direction: column; border-radius: var(--radius-lg); }
    .newsletter-form input { border-radius: var(--radius); }
    .newsletter-form button { border-radius: var(--radius); }

    .tool-wrapper { padding: 24px; }
    .info-content { padding: 30px; }
    .password-options { grid-template-columns: 1fr; }
    .color-values { grid-template-columns: 1fr; }

    .section-header h2 { font-size: 1.7rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero { padding: 120px 0 60px; }
    .stat-number { font-size: 1.3rem; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .btn-group { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }
.hidden { display: none; }

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--gray-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray); }
