/* Professional Tools Website CSS */

/* Import modern fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    /* Professional Two-Color Palette - Based on Logo */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #ea580c;
    --secondary-dark: #dc2626;
    --secondary-light: #f97316;
    --success-color: #22c55e;
    --warning-color: #ea580c;
    --danger-color: #dc2626;
    --info-color: #2563eb;
    --accent-color: #ea580c;
    --accent-dark: #dc2626;
    --light-color: #fefefe;
    --dark-color: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Simple Two-Color Design - No Gradients */
    --gradient-primary: var(--primary-color);
    --gradient-secondary: var(--secondary-color);
    --gradient-tertiary: var(--primary-color);
    --gradient-hero: var(--primary-color);
    --gradient-card: #ffffff;
    --gradient-dark: var(--dark-color);
    --gradient-success: var(--success-color);
    --gradient-warning: var(--secondary-color);
    --gradient-danger: var(--danger-color);
    --gradient-info: var(--primary-color);

    /* Professional Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    /* Animation Durations */
    --duration-75: 75ms;
    --duration-100: 100ms;
    --duration-150: 150ms;
    --duration-200: 200ms;
    --duration-300: 300ms;
    --duration-500: 500ms;
    --duration-700: 700ms;
    --duration-1000: 1000ms;

    /* Component Colors */
    --body-bg: var(--gray-50);
    --body-text: var(--gray-700);
    --header-text: var(--gray-900);
    --card-bg: #ffffff;
    --card-border: var(--gray-200);
    --card-shadow: var(--shadow-md);
    --panel-bg: var(--gray-50);
    --panel-border: var(--gray-200);
    --input-bg: #ffffff;
    --input-border: var(--gray-200);
    --input-text: var(--gray-900);
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --navbar-border: var(--gray-200);
    --dropdown-bg: rgba(255, 255, 255, 0.95);
}

/* Global Dark Mode Overrides */
[data-theme="dark"] {
    --gray-50: #0f172a;
    --gray-100: #1e293b;
    --gray-200: #334155;
    --gray-300: #475569;
    --gray-400: #94a3b8;
    --gray-500: #cbd5e1;
    --gray-600: #e2e8f0;
    --gray-700: #f1f5f9;
    --gray-800: #f8fafc;
    --gray-900: #ffffff;

    --light-color: #1e293b;
    --dark-color: #ffffff;

    --gradient-card: #1e293b;
    --gradient-dark: #020617;

    /* Component Colors Overrides */
    --body-bg: #0f172a;
    --body-text: var(--gray-400);
    --header-text: #ffffff;
    --card-bg: #1e293b;
    --card-border: var(--gray-700);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --panel-bg: #1e293b;
    --panel-border: var(--gray-700);
    --input-bg: #0f172a;
    --input-border: var(--gray-700);
    --input-text: #ffffff;
    --navbar-bg: rgba(15, 23, 42, 0.95);
    --navbar-border: var(--gray-700);
    --dropdown-bg: rgba(15, 23, 42, 0.95);

    color-scheme: dark;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--header-text);
    background: var(--body-bg);
    background-image:
        radial-gradient(circle at 25% 25%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--body-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    border: 3px solid var(--body-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--primary-light), var(--primary-color));
}

/* Firefox Support */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--body-bg);
}

/* Improved Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--header-text);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

p {
    color: var(--body-text);
    margin-bottom: var(--space-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--duration-200) ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Code Typography */
code,
kbd,
samp,
pre {
    font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

/* Professional Navigation */
.navbar {
    backdrop-filter: blur(20px);
    background: var(--navbar-bg) !important;
    border-bottom: 1px solid var(--navbar-border);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-300) ease;
}

.navbar.navbar-dark {
    background: rgba(15, 23, 42, 0.95) !important;
    border-bottom: 1px solid var(--gray-700);
}

.navbar-brand {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.025em;
    transition: all var(--duration-300) ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand i {
    color: var(--secondary-color);
    margin-right: var(--space-sm);
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: var(--text-sm);
    color: var(--gray-700) !important;
    padding: var(--space-sm) var(--space-lg) !important;
    border-radius: var(--radius-md);
    transition: all var(--duration-200) ease;
    position: relative;
    margin: 0 var(--space-xs);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--primary-color) !important;
    background: var(--gray-100);
    transform: translateY(-1px);
}

.navbar-dark .navbar-nav .nav-link:hover {
    background: var(--gray-800);
    color: var(--primary-light) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: var(--gray-100);
    font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link.active {
    background: var(--gray-800);
    color: #ffffff !important;
}

.navbar-dark .navbar-brand {
    color: #ffffff !important;
}

.navbar-dark .nav-link.dropdown-toggle::after {
    border-top-color: rgba(255, 255, 255, 0.9);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    margin-top: var(--space-sm);
    background: var(--dropdown-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--navbar-border);
}

.dropdown-item {
    padding: var(--space-md) var(--space-lg);
    transition: all var(--duration-200) ease;
    border-radius: var(--radius);
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--gray-700);
    display: flex;
    align-items: center;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
}

.dropdown-item i {
    margin-right: var(--space-sm);
    width: 16px;
    text-align: center;
}

/* Modern Hero Section */
.hero-section {
    background: var(--gradient-hero);
    color: white;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.8;
    animation: float 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        conic-gradient(from 45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(0.5deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: white;
}

.hero-subtitle {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2xl);
    opacity: 0.95;
    color: var(--gray-100);
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
}

/* Professional Card Styles */
.tool-card {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--duration-300) cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    height: 100%;
    position: relative;
    backdrop-filter: blur(20px);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transition: transform var(--duration-300) ease;
}

.tool-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-light);
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card .card-header {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: var(--space-xl);
    text-align: center;
}

/* Removed gradient animation */

.tool-card .card-header i {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    opacity: 0.9;
    transition: all var(--duration-300) ease;
}

.tool-card:hover .card-header i {
    transform: scale(1.1) rotate(5deg);
    opacity: 1;
}

.tool-card .card-body {
    padding: var(--space-xl);
    background: white;
}

.tool-card .card-title {
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--header-text);
    font-size: var(--text-lg);
}

.tool-card .card-text {
    color: var(--body-text);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
    font-size: var(--text-sm);
}

.tool-card .btn {
    border-radius: var(--radius-full);
    padding: var(--space-md) var(--space-xl);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--duration-300) cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.tool-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--duration-500) ease;
}

.tool-card .btn:hover::before {
    left: 100%;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Tool Page Styles */
.tool-container {
    background: white;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 2rem;
}

.tool-header {
    background: var(--gradient-3);
    color: white;
    padding: 2rem;
    text-align: center;
}

.tool-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tool-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.tool-content {
    padding: 2rem;
}

/* Form Controls */
.form-control,
.form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--header-text);
    margin-bottom: 0.5rem;
}

/* Professional Buttons */
.btn {
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-xl);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--duration-300) cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.025em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--duration-500) ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-hero);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: var(--primary-dark);
    color: white;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-success {
    background: var(--success-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: white;
}

.btn-warning {
    background: var(--warning-color);
    color: var(--gray-900);
    box-shadow: var(--shadow-md);
}

.btn-warning:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--gray-900);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: white;
}

.btn-info {
    color: white;
    background: var(--info-color);
    /* color: var(--gray-900); */
    box-shadow: var(--shadow-md);
}

.btn-info:hover {
    background: #0891b2;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: white;
}

.btn-light {
    background: var(--card-bg);
    color: var(--header-text);
    border-color: var(--card-border);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--gray-900);
}

.btn-outline-light {
    color: rgb(66, 66, 66);
    border: 2px solid rgba(0, 4, 241, 0.5);
}

.btn-outline-light:hover {
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: var(--primary-dark);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-base);
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-xs);
    border-radius: var(--radius-sm);
}

/* Result Box */
.result-box {
    background: var(--light-color);
    border: 2px solid #dee2e6;
    border-radius: 8px;
    color: black;
    padding: 1.5rem;
    margin-top: 1rem;
    min-height: 100px;
    font-family: 'Courier New', monospace;
    position: relative;
}

.result-box.success {
    border-color: var(--success-color);
    background-color: #d1e7dd;
}

.result-box.error {
    border-color: var(--danger-color);
    background-color: #f8d7da;
}

/* Copy Button */
.copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #0b5ed7;
}

/* Statistics Cards */
.stats-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-3px);
}

.stats-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--header-text);
    margin-bottom: 0.5rem;
}

.stats-label {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Professional Footer Styles */
.footer-section {
    background: var(--gradient-dark);
    color: var(--gray-100);
    margin-top: var(--space-3xl);
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0 var(--space-2xl);
}

.newsletter-section {
    position: relative;
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.newsletter-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: #ffffff !important;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
}

.newsletter-subtitle {
    color: #e2e8f0;
    margin-bottom: var(--space-xl);
    font-size: var(--text-base);
}

.newsletter-form {
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form .input-group {
    box-shadow: var(--shadow-lg);
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.newsletter-form .form-control::placeholder {
    color: var(--gray-400);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-light);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.newsletter-form .btn {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.footer-brand {
    position: relative;
}

.brand-title {
    color: white;
    font-size: var(--text-xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.brand-description {
    color: white;
    line-height: 1.6;
    margin-bottom: var(--space-xl);
    font-size: var(--text-sm);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-300);
    border-radius: var(--radius);
    transition: all var(--duration-300) ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-link:hover {
    background: var(--gradient-hero);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.footer-heading {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: #ffffff;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-hero);
    border-radius: var(--radius-full);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: var(--text-sm);
    transition: all var(--duration-200) ease;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-links a i {
    width: 16px;
    text-align: center;
    font-size: var(--text-xs);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-xl) 0;
    position: relative;
    z-index: 1;
}

.copyright-text {
    color: var(--gray-400);
    margin: 0;
    font-size: var(--text-sm);
}

.footer-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-lg);
}

.made-with {
    color: var(--gray-400);
    font-size: var(--text-sm);
}

.version-info {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-300);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Stats Card Enhancements */
.stats-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--duration-300) ease;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transition: transform var(--duration-300) ease;
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.stats-card:hover::before {
    transform: scaleX(1);
}

.stats-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-md);
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-number {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
    line-height: 1;
}

.stats-label {
    color: var(--gray-600);
    font-weight: 500;
    font-size: var(--text-sm);
}

/* Feature Cards */
.feature-card {
    transition: all var(--duration-300) ease;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    background: white;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transition: transform var(--duration-300) ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon i {
    transition: all var(--duration-300) ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1) rotate(5deg);
}

/* Admin Styles */
.admin-sidebar {
    background: var(--gradient-dark);
    min-height: 100vh;
    padding: var(--space-md) 0;
    border-right: 1px solid var(--gray-700);
}

.admin-sidebar .nav-link {
    color: var(--gray-400);
    padding: var(--space-md) var(--space-xl);
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-md);
    transition: all var(--duration-300) ease;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: var(--gradient-hero);
    color: white;
    transform: translateX(4px);
}

.admin-content {
    padding: var(--space-2xl);
    background: var(--gray-50);
    min-height: 100vh;
}

/* Color Picker Tool */
.color-preview {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    margin: 1rem 0;
}

.color-values {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.color-values .form-control {
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
}

/* QR Code Styles */
.qr-preview {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    margin-top: 1rem;
}

.qr-preview canvas {
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

/* Password Generator */
.password-display {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    word-break: break-all;
    position: relative;
}

.password-strength {
    margin-top: 1rem;
}

.strength-meter {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    transition: width 0.3s ease;
}

.strength-weak {
    background: var(--danger-color);
}

.strength-medium {
    background: var(--warning-color);
}

.strength-strong {
    background: var(--success-color);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .tool-header h1 {
        font-size: 2rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tool-content {
        padding: 1rem;
    }

    .admin-sidebar {
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .tool-card .card-header,
    .tool-card .card-body {
        padding: 1rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-1 {
    background: var(--gradient-1);
}

.bg-gradient-2 {
    background: var(--gradient-2);
}

.bg-gradient-3 {
    background: var(--gradient-3);
}

.shadow-sm {
    box-shadow: var(--box-shadow);
}

.shadow-lg {
    box-shadow: var(--box-shadow-lg);
}

/* Professional Dark Mode */
[data-theme="dark"] {
    --gray-50: #0f172a;
    --gray-100: #1e293b;
    --gray-200: #334155;
    --gray-300: #475569;
    --gray-400: #64748b;
    --gray-500: #94a3b8;
    --gray-600: #cbd5e1;
    --gray-700: #e2e8f0;
    --gray-800: #f1f5f9;
    --gray-900: #f8fafc;
    --light-color: #1e293b;
    --dark-color: #f8fafc;

    --gradient-card: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

[data-theme="dark"] body {
    background: var(--gray-50);
    background-image:
        radial-gradient(circle at 25% 25%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    color: var(--gray-900);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95) !important;
    border-bottom: 1px solid var(--gray-700);
}

[data-theme="dark"] .navbar-nav .nav-link {
    color: var(--gray-300) !important;
}

[data-theme="dark"] .navbar-nav .nav-link:hover,
[data-theme="dark"] .navbar-nav .nav-link:focus {
    color: var(--primary-light) !important;
    background: var(--gray-800);
}

[data-theme="dark"] .navbar-nav .nav-link.active {
    color: var(--primary-light) !important;
    background: var(--gray-800);
}

[data-theme="dark"] .dropdown-menu {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid var(--gray-700);
}

[data-theme="dark"] .dropdown-item {
    color: var(--gray-300);
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus {
    background: var(--gradient-hero);
    color: white;
}

[data-theme="dark"] .tool-card {
    background: var(--gradient-card);
    border-color: var(--gray-700);
}

[data-theme="dark"] .tool-card .card-body {
    background: var(--gray-100);
}

[data-theme="dark"] .tool-card .card-title {
    color: var(--gray-900);
}

[data-theme="dark"] .tool-card .card-text {
    color: var(--gray-600);
}

[data-theme="dark"] .stats-card {
    background: var(--gradient-card);
    border-color: var(--gray-700);
}

[data-theme="dark"] .feature-card {
    background: var(--gradient-card);
    border-color: var(--gray-700);
}

[data-theme="dark"] .result-box {
    background: var(--gray-100);
    border-color: var(--gray-700);
    color: var(--gray-900);
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background: var(--gray-100);
    border-color: var(--gray-700);
    color: var(--gray-900);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    background: var(--gray-100);
    border-color: var(--primary-light);
    color: var(--gray-900);
}

[data-theme="dark"] .form-control::placeholder {
    color: var(--gray-500);
}

[data-theme="dark"] .btn-light {
    background: var(--gray-100);
    color: var(--gray-900);
    border-color: var(--gray-700);
}

[data-theme="dark"] .btn-light:hover {
    background: var(--gray-200);
    color: var(--gray-900);
    border-color: var(--gray-600);
}

/* Scroll Effects */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 23, 42, 0.98) !important;
}

/* Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Enhanced Loading Animation */
.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: currentColor;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Improved Toast Notifications */
.custom-toast {
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-2xl) !important;
    border: none !important;
    backdrop-filter: blur(20px);
}

.custom-toast.alert-success {
    background: rgba(16, 185, 129, 0.95) !important;
    color: white !important;
}

.custom-toast.alert-danger {
    background: rgba(239, 68, 68, 0.95) !important;
    color: white !important;
}

.custom-toast.alert-info {
    background: rgba(6, 182, 212, 0.95) !important;
    color: white !important;
}

/* Enhanced Tool Container */
.tool-container {
    color: white;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: var(--space-2xl);
    border: 1px solid var(--gray-200);
}

[data-theme="dark"] .tool-container {
    background: var(--gradient-card);
    border-color: var(--gray-700);
}

.tool-header {
    background: linear-gradient(135deg, var(--primary-color) 0%,rgb(88, 59, 247) 100%);
    color: white;
    padding: var(--space-3xl);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tool-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.tool-header h1 {
    position: relative;
    color: white;
    z-index: 1;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.tool-header p {
    color: white;
    position: relative;
    z-index: 1;
    font-size: var(--text-xl);
    opacity: 0.95;
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

.tool-content {
    padding: var(--space-2xl);
}

[data-theme="dark"] .tool-content {
    background: var(--gray-100);
}

/* Authentication Pages */
.auth-container {
    background: var(--gradient-card);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

[data-theme="dark"] .auth-container {
    background: var(--gradient-card);
    border-color: var(--gray-700);
}

.auth-header {
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.auth-logo {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.auth-title {
    font-size: var(--text-2xl);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.auth-subtitle {
    font-size: var(--text-base);
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 1;
}

.auth-body {
    padding: var(--space-2xl);
}

[data-theme="dark"] .auth-body {
    background: var(--gray-100);
}

.auth-footer {
    padding: var(--space-xl) var(--space-2xl);
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

[data-theme="dark"] .auth-footer {
    background: var(--gray-200);
    border-color: var(--gray-700);
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--duration-200) ease;
}

.auth-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.password-input-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--duration-200) ease;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.password-strength {
    margin-top: var(--space-sm);
}

.strength-meter {
    height: 4px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-xs);
}

.strength-bar {
    height: 100%;
    transition: all var(--duration-300) ease;
    border-radius: var(--radius-full);
}

.strength-bar.strength-weak {
    background: var(--gradient-danger);
    width: 25%;
}

.strength-bar.strength-medium {
    background: var(--gradient-warning);
    width: 60%;
}

.strength-bar.strength-strong {
    background: var(--gradient-success);
    width: 100%;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: var(--space-xl) 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-200);
}

.auth-divider span {
    background: white;
    color: var(--gray-500);
    padding: 0 var(--space-md);
    font-size: var(--text-sm);
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .auth-divider::before {
    background: var(--gray-700);
}

[data-theme="dark"] .auth-divider span {
    background: var(--gray-100);
    color: var(--gray-400);
}

.social-login .btn {
    font-weight: 600;
    border-width: 2px;
}

.social-login .btn:first-child {
    margin-bottom: var(--space-sm);
}

/* Form Enhancements */
.form-control-lg {
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-base);
    border-radius: var(--radius-lg);
    border-width: 2px;
}
.form-check-label{
    color: black;
}
.form-check-input {
    width: 1.2em;
    height: 1.2em;
    border-width: 2px;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Alert Enhancements */
.alert {
    border-radius: var(--radius-lg);
    border: none;
    font-weight: 500;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success-color);
}

/* Dashboard Styles */
.dashboard-header {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .dashboard-header {
    background: var(--gradient-card);
    border-color: var(--gray-700);
}

.user-avatar {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.modal-title{
    color: black;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--text-xl);
    overflow: hidden;
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-card {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    transition: all var(--duration-300) ease;
    height: 100%;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .dashboard-card {
    background: var(--gradient-card);
    border-color: var(--gray-700);
}

.dashboard-card .card-header {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

[data-theme="dark"] .dashboard-card .card-header {
    background: var(--gray-200);
    border-color: var(--gray-700);
}

.dashboard-card .card-body {
    padding: var(--space-xl);
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-md);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--gray-700);
    transition: all var(--duration-200) ease;
    border: 1px solid var(--gray-200);
}

.quick-action-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.quick-action-btn i {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
}

.quick-action-btn span {
    font-size: var(--text-xs);
    font-weight: 600;
    text-align: center;
}

[data-theme="dark"] .quick-action-btn {
    background: var(--gray-200);
    border-color: var(--gray-700);
    color: var(--gray-900);
}

.favorites-list {
    max-height: 200px;
    overflow-y: auto;
}

.favorite-item {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--gray-200);
}

.favorite-item:last-child {
    border-bottom: none;
}

.favorite-link {
    display: flex;
    justify-content: between;
    align-items: center;
    text-decoration: none;
    color: var(--gray-700);
    transition: color var(--duration-200) ease;
}

.favorite-link:hover {
    color: var(--primary-color);
}

.favorite-name {
    font-weight: 500;
    flex: 1;
}

.activity-list {
    max-height: 200px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--gray-200);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    color: var(--primary-color);
    font-size: var(--text-xs);
    margin-top: 4px;
}

.activity-content {
    flex: 1;
}

.activity-text {
    font-weight: 500;
    color: var(--gray-700);
}

.empty-state {
    text-align: center;
    padding: var(--space-xl) 0;
}

.account-action-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--gray-700);
    transition: all var(--duration-200) ease;
    border: 1px solid var(--gray-200);
    height: 100%;
}

.account-action-card:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .account-action-card {
    background: var(--gray-200);
    border-color: var(--gray-700);
    color: var(--gray-900);
}

.action-icon {
    font-size: var(--text-xl);
    width: 40px;
    text-align: center;
}

.action-content h6 {
    margin-bottom: var(--space-xs);
}

.action-content small {
    line-height: 1.3;
}

/* Search and Filter Styles */
.tools-search-bar {
    max-width: 900px;
    margin: 0 auto;
}

.search-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-wrapper i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    z-index: 2;
}

.search-wrapper input {
    width: 100%;
    padding: 1.25rem 1.25rem 1.25rem 4rem;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 16px;
    color: var(--header-text);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.search-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.category-pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pill {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    color: var(--body-text);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border-style: solid;
}

.pill:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.pill.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

[data-theme="dark"] .pill {
    background: var(--gray-100);
}

/* Tool Categories */
.tools-section {
    transition: all var(--duration-300) ease;
}

.tools-section.hidden {
    display: none;
}

.badge {
    font-size: var(--text-xs);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
}

/* Enhanced Tool Cards */
.tool-card {
    transition: all var(--duration-300) ease;
}

.tool-card.hidden {
    display: none;
}

.tool-card[data-name*="featured"] {
    position: relative;
}

.tool-card[data-name*="featured"]::before {
    content: "Popular";
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: var(--gradient-warning);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    z-index: 2;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .footer-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .social-links {
        justify-content: center;
        margin-top: var(--space-md);
    }

    .newsletter-form {
        max-width: 100%;
    }

    .stats-card {
        margin-bottom: var(--space-lg);
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: var(--space-3xl) 0 var(--space-2xl);
        min-height: 60vh;
    }

    .newsletter-section {
        padding: var(--space-xl);
    }

    .footer-content {
        padding: var(--space-2xl) 0 var(--space-xl);
    }

    .navbar-brand span {
        display: none;
    }
}

/* === HOME REDESIGN STYLES === */
.modern-hero {
    position: relative;
    padding: 100px 0 80px;
    background: var(--body-bg);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float-orb 20s infinite alternate;
}

[data-theme="dark"] .gradient-orb {
    opacity: 0.2;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(37, 99, 235, 0.4);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(124, 58, 237, 0.4);
    bottom: -50px;
    right: 10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: rgba(234, 88, 12, 0.3);
    top: 20%;
    right: -50px;
    animation-delay: -10s;
}

/* Quick Stats Enhancements */
.quick-stats {
    background: var(--card-bg);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    position: relative;
    z-index: 10;
}

[data-theme="dark"] .quick-stats {
    background: var(--gray-50);
}

.stat-item .stat-value{
    color: black;
}

.stat-box {
    padding: 2.5rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.stat-box::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: var(--card-border);
}

.row .col-6:last-child .stat-box::after,
.row .col-md-3:last-child .stat-box::after {
    display: none;
}

@media (max-width: 768px) {
    .col-6:nth-child(2n) .stat-box::after {
        display: none;
    }
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--body-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--body-text);
}

.hero-illustration {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    width: 200px;
    animation: float 6s infinite ease-in-out;
}

.floating-card:nth-child(1) {
    top: 10%;
    left: 0;
}

.floating-card:nth-child(2) {
    top: 40%;
    right: 0;
    animation-delay: -2s;
}

.floating-card:nth-child(3) {
    bottom: 0;
    left: 20%;
    animation-delay: -4s;
}

.floating-card:nth-child(4) {
    position: relative;
    top: -20%;
    left: 45%;
    animation-delay: -5s;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.category-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    flex-shrink: 0;
}

.category-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.category-icon.green {
    background: linear-gradient(135deg, orange  , rgb(221, 157, 38));
}

.category-icon.purple {
    background: linear-gradient(135deg, #4441e2, #3392ea);
}

.category-icon.orange {
    background: linear-gradient(135deg, #e93001, #ea580c);
}

.category-icon.red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.category-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--header-text);
    margin: 0;
}

.category-count {
    margin-left: auto;
    padding: 0.5rem 1.25rem;
    background: var(--gray-100);
    border-radius: 50px;
    font-weight: 700;
    color: var(--body-text);
    font-size: 0.9rem;
}

.pro-tool-card {
    display: block;
    padding: 2rem;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pro-tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 9px 9px 20px rgba(90, 90, 214, 0.521);
    border-color: var(--primary-color);
}

.tool-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.tool-icon-wrapper.blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.tool-icon-wrapper.green {
    background: linear-gradient(135deg,orange  , rgb(221, 157, 38));
}

.tool-icon-wrapper.purple {
    background: linear-gradient(135deg, #4441e2, #3392ea);
}

.tool-icon-wrapper.orange {
    background: linear-gradient(135deg, #e93001, #ea580c);
}

.tool-icon-wrapper.red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.tool-arrow {
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-box {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* === TOOL PAGE ENHANCEMENTS === */
.settings-panel,
.result-panel,
.info-section {
    background: var(--panel-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--panel-border);
    padding: 1.5rem;
    margin-bottom: var(--space-lg);
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.output-textarea,
.input-textarea {
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    color: var(--input-text);
    border-radius: var(--radius-md);
}

.output-textarea:focus,
.input-textarea:focus {
    background: var(--input-bg);
    color: var(--input-text);
    border-color: var(--primary-color);
}

.option-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.option-card.active {
    border-color: var(--primary-color);
    background: var(--gray-100);
}

.option-card.active {
    border-color: var(--primary-color);
    background: var(--gray-100);
}

.stats-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 1rem;
    border-radius: var(--radius-md);
}

/* Print Styles */
@media print {

    .navbar,
    .admin-sidebar,
    footer,
    .btn {
        display: none !important;
    }

    .tool-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Floating Actions */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-hero);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-left {
    right: auto;
    left: 30px;
    bottom: 100px;
    /* Position above WhatsApp button */
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: var(--primary-dark);
}

/* Tooltip for floating buttons */
.whatsapp-float::after,
.back-to-top::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    background: #334155;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    margin-bottom: 10px;
}

.whatsapp-float:hover::after,
.back-to-top:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}