/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light theme variables */
    --background-color: #f8f9fa;
    --text-color: #333;
    --card-bg: #fff;
    --card-border: #f0f0f0;
    --header-bg: #fff;
    --footer-bg: #2d3748;
    --footer-text: #e2e8f0;
    --feature-card-bg: #f8f9fa;
    --search-border: #e0e0e0;
    --tools-list-bg: #f0f7ff;
    --tools-list-color: #3f87f5;
    --submenu-text: #555;
    --hero-overlay: rgba(255, 255, 255, 0.15);
    --header-btn-hover: #f5f5f5;
    --header-btn-text: #555;
    
    /* Tool-specific variables */
    --tool-card-bg: #fff;
    --tool-text-color: #333;
    --tool-border-color: #f0f0f0;
    --tool-hover-border: #3f87f5;
    --tool-description-color: #555;
    --tool-icon-bg: #f0f7ff;
    --tool-icon-color: #3f87f5;
    
    /* Transition for theme switching */
    --transition-speed: 0.3s;
}

/* Apply transitions to all elements that use theme variables */
*, *::before, *::after {
    transition: background-color var(--transition-speed) ease,
                color var(--transition-speed) ease,
                border-color var(--transition-speed) ease,
                box-shadow var(--transition-speed) ease;
}

[data-theme="dark"] {
    /* Dark theme variables */
    --background-color: #121212;
    --text-color: #e0e0e0;
    --card-bg: #1e1e1e;
    --card-border: #333;
    --header-bg: #1a1a1a;
    --footer-bg: #1a1a1a;
    --footer-text: #b0b0b0;
    --feature-card-bg: #1e1e1e;
    --search-border: #444;
    --tools-list-bg: #2a2a2a;
    --tools-list-color: #7ab0ff;
    --submenu-text: #b0b0b0;
    --hero-overlay: rgba(0, 0, 0, 0.3);
    --header-btn-hover: #333;
    --header-btn-text: #b0b0b0;
    
    /* Tool-specific variables for dark mode */
    --tool-card-bg: #1e1e1e;
    --tool-text-color: #e0e0e0;
    --tool-border-color: #333;
    --tool-hover-border: #7ab0ff;
    --tool-description-color: #b0b0b0;
    --tool-icon-bg: #2a2a2a;
    --tool-icon-color: #7ab0ff;
}

html, body {
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.1;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding-top: 70px; /* Add padding equal to header height */
}

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0;
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1rem;
    margin-right: 10px;
    transition: background-color 0.2s, color 0.2s;
}

.theme-toggle:hover {
    background-color: var(--header-btn-hover);
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle::before {
    content: "\f185"; /* sun icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #FFD700;
}

/* Mobile theme toggle */
.mobile-theme-toggle {
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 0;
}

[data-theme="dark"] .mobile-theme-toggle {
    border-bottom: 1px solid #333;
}

.mobile-theme-btn {
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    width: 100%;
    padding: 10px 15px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-color);
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.mobile-theme-btn:hover {
    background-color: var(--header-btn-hover);
}

.mobile-theme-btn i {
    margin-right: 10px;
    width: 16px;
    font-size: 1.1rem;
}

[data-theme="dark"] .mobile-theme-btn .fa-moon {
    display: none;
}

[data-theme="dark"] .mobile-theme-btn::before {
    content: "\f185"; /* sun icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #FFD700;
    margin-right: 10px;
}

/* Header and Navigation */
.main-header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    transition: background-color 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.logo-icon {
    background: linear-gradient(135deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    color: white;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
}

.main-menu {
    display: flex;
    list-style: none;
}

.menu-item {
    position: relative;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 70px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.menu-link i {
    margin-right: 5px;
}

/* Dropdown arrows */
.menu-link .fa-chevron-down {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Create an invisible bridge between menu item and dropdown */
.menu-item::after {
    content: '';
    position: absolute;
    height: 15px;
    width: 100%;
    bottom: -10px;
    left: 0;
    z-index: 99;
}

.menu-item:hover .menu-link {
    color: #4158D0;
}

.menu-item:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.menu-item.active .menu-link {
    color: #4158D0;
}

.menu-item.active .fa-chevron-down {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background-color: var(--card-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 100;
    display: block;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 20%;
    margin-left: -10px;
    width: 10px;
    height: 10px;
    background-color: var(--card-bg);
    transform: rotate(45deg);
    box-shadow: -3px -3px 5px rgba(0, 0, 0, 0.04);
}

.menu-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mega Menu */
.mega-menu {
    width: 800px;
    left: -200px;
    padding: 20px;
}

.mega-menu::before {
    left: 30%;
}

.dropdown-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.menu-category h3 {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--card-border);
}

.submenu {
    list-style: none;
}

.submenu li {
    margin-bottom: 8px;
}

.submenu a {
    display: flex;
    align-items: center;
    color: var(--submenu-text);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 0;
    transition: color 0.2s;
}

.submenu a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.submenu a:hover {
    color: #4158D0;
}

.submenu a.active {
    color: #4158D0;
    font-weight: 600;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    align-items: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    position: relative;
    transition: background-color 0.3s;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: transform 0.3s;
}

.hamburger-icon::before {
    top: -6px;
}

.hamburger-icon::after {
    bottom: -6px;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--card-bg);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: 0;
    transition: max-height 0.5s ease;
    z-index: 999;
}

.mobile-menu-container {
    padding: 15px;
}

.mobile-menu {
    list-style: none;
}

.mobile-menu-item {
    border-bottom: 1px solid var(--card-border);
}

.mobile-menu-link {
    display: block;
    padding: 15px 0;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu-link.has-children {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-link.has-children i.fa-chevron-down {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    display: inline-block;
    will-change: transform;
    transform-origin: center;
}

.mobile-submenu {
    display: none;
    list-style: none;
    padding: 0 0 15px 15px;
    background-color: var(--card-bg);
}

.mobile-menu-item.active .mobile-menu-link.has-children i.fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-menu-item.active .mobile-submenu {
    display: block;
}

.mobile-submenu li {
    margin-bottom: 10px;
}

.mobile-submenu a {
    display: flex;
    align-items: center;
    color: var(--submenu-text);
    text-decoration: none;
    padding: 8px 0;
    font-size: 0.95rem;
}

.mobile-submenu a i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
    color: var(--tools-list-color);
}

.mobile-submenu a.active {
    color: var(--tools-list-color);
    font-weight: 600;
}

.view-all-link {
    color: var(--tools-list-color);
    font-weight: 500;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--card-border);
}

.mobile-menu-item.active .mobile-menu-link {
    color: var(--tools-list-color);
}

/* Responsive Header */
@media (max-width: 1024px) {
    .mega-menu {
        width: 700px;
        left: -150px;
    }
}

@media (max-width: 900px) {
    .desktop-nav, .header-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-nav.active {
        display: block;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .mobile-menu-toggle.active .hamburger-icon {
        background-color: transparent;
    }
    
    .mobile-menu-toggle.active .hamburger-icon::before {
        transform: rotate(45deg) translate(4px, 6px);
    }
    
    .mobile-menu-toggle.active .hamburger-icon::after {
        transform: rotate(-45deg) translate(4px, -6px);
    }
    
    .mobile-submenu {
        max-height: 40vh;
        overflow-y: auto;
        padding-right: 10px;
    }
    
    .mobile-submenu::-webkit-scrollbar {
        width: 4px;
    }
    
    .mobile-submenu::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    .mobile-submenu::-webkit-scrollbar-thumb {
        background: #4158D0;
        border-radius: 4px;
    }
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
    padding: 60px 20px;
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
    color: white;
    border-bottom: none;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="100" height="100" fill="none" stroke="white" stroke-opacity="0.1" stroke-width="2"/></svg>');
    background-size: 30px 30px;
    opacity: 0.3;
}

/* Floating icons */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.icon-item {
    position: absolute;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hero-overlay);
    border-radius: 50%;
    animation: float 8s infinite ease-in-out;
}

.icon-item:nth-child(odd) {
    animation-duration: 6s;
}

.icon-item:nth-child(3n) {
    animation-duration: 10s;
    animation-delay: 1s;
}

.icon-item:nth-child(3n+1) {
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(5px) rotate(-5deg);
    }
    75% {
        transform: translateY(-8px) rotate(3deg);
    }
}

.hero-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.hero-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Search container */
.search-container {
    max-width: 700px;
    margin: 10px auto 25px;
    position: relative;
    z-index: 5;
}

.search-form {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 1px solid var(--search-border);
    border-radius: 50px;
    outline: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: var(--card-bg);
    color: var(--text-color);
}

.search-input:focus {
    border-color: #3f87f5;
    box-shadow: 0 2px 15px rgba(63, 135, 245, 0.15);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: #3f87f5;
    border: none;
    color: white;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-button:hover {
    background-color: #2a6fd4;
}

.search-clear-btn {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
}

.search-clear-btn:hover {
    color: #333;
}

.search-highlight {
    background-color: rgba(63, 135, 245, 0.2);
    border-radius: 2px;
    padding: 0 2px;
    font-weight: bold;
}

.search-results-info {
    text-align: center;
    margin: 0 0 15px;
    color: #6b7280;
    font-size: 0.95rem;
    padding: 5px 10px;
    border-radius: 4px;
    display: none;
}

/* Tools section */
.tools-section {
    background-color: var(--background-color);
    padding: 20px 0 40px;
    width: 100%;
}

.section-title {
    font-size: 2rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 10px;
}

.title-underline {
    width: 100px;
    height: 4px;
    background-color: #3f87f5;
    margin: 0 auto 20px;
    border-radius: 2px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    padding: 0;
    width: 100%;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Tool cards */
.tool-card {
    background: var(--tool-card-bg);
    border-radius: 0px;
    padding: 10px 15px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 2px solid var(--tool-border-color);
    transition: border-color 0.2s ease;
    height: 100%;
}

.card-link:hover .tool-card {
    border-color: var(--tool-hover-border);
}

.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #10b981;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.tool-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 15px 0;
    background-color: var(--tool-icon-bg);
    border-radius: 50%;
    padding: 12px;
}

.tool-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--tool-icon-color);
}

.card-link:hover .tool-icon {
    background-color: var(--tool-hover-border);
}

.card-link:hover .tool-icon svg {
    stroke: white;
}

.tool-card h3 {
    color: var(--tool-text-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.tool-card p {
    color: var(--tool-description-color);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Why Choose Section */
.why-choose-section {
    padding: 40px 20px;
    background-color: var(--background-color);
}

.why-choose-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--submenu-text);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Feature cards */
.feature-card {
    padding: 20px 15px;
    border-radius: 8px;
    text-align: center;
    background-color: var(--feature-card-bg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 100%;
}

.feature-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

.blue-bg {
    background-color: #4158D0;
}

.green-bg {
    background-color: #10b981;
}

.purple-bg {
    background-color: #8b5cf6;
}

.red-bg {
    background-color: #ef4444;
}

.yellow-bg {
    background-color: #f59e0b;
}

.blue-light-bg {
    background-color: #3b82f6;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--submenu-text);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Trusted Users Section */
.trusted-users-section {
    padding: 60px 20px;
    background-color: var(--background-color);
    text-align: center;
}

.trusted-description {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--submenu-text);
}

/* Stats container */
.stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    padding: 20px 10px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1;
}

.blue-text {
    color: #4158D0;
}

.green-text {
    color: #10b981;
}

.purple-text {
    color: #8b5cf6;
}

.red-text {
    color: #f87171;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Trust features */
.trust-features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 auto 50px;
    max-width: 1200px;
    gap: 10px;
}

.trust-feature {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    text-align: center;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.feature-icon-large {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon-large i {
    font-size: 28px;
    color: white;
}

.trust-feature h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.trust-feature p {
    color: var(--submenu-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Trust badges */
.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.trust-badge i {
    font-size: 24px;
    color: var(--submenu-text);
}

.trust-badge span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--submenu-text);
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-column h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #4299e1;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #4299e1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #4299e1;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #a0aec0;
    font-size: 0.9rem;
}

/* PWA Installation Notification */
.app-install-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 15px;
    width: 90%;
    max-width: 400px;
    z-index: 1000;
    animation: slideUp 0.3s ease-out;
}

.notification-content p {
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: #333;
}

.notification-buttons {
    display: flex;
    gap: 10px;
}

.notification-buttons button {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
}

.install-btn {
    background-color: #4158D0;
    color: white;
}

.close-btn {
    background-color: #f1f5f9;
    color: #64748b;
}

.app-install-notification.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Tools List for Search Results */
.tools-list-container {
    max-width: 700px;
    margin: 0 auto 20px;
    padding: 15px 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tools-list-heading {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0 0 10px;
    font-weight: 600;
}

.tools-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tools-list li {
    margin: 0;
    padding: 0;
}

.tools-list-link {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--tools-list-bg);
    color: var(--tools-list-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid var(--card-border);
}

.tools-list-link:hover {
    background-color: #3f87f5;
    color: white;
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--tool-hover-border);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background-color: var(--tool-hover-border);
    opacity: 0.9;
    transform: translateY(-3px);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: absolute;
    bottom: 20px;
    right: 10px;
    background-color: #25D366;
    color: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 6px 15px 6px 6px;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.whatsapp-icon i {
    font-size: 16px;
    color: #25D366;
}

.whatsapp-text {
    display: flex;
    flex-direction: column;
}

.whatsapp-title {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.1;
}

.whatsapp-subtitle {
    font-size: 0.65rem;
    opacity: 0.9;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* History Page Styles */
.history-section {
    padding: 40px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-description {
    color: var(--submenu-text);
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.history-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.history-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    color: var(--text-color);
    font-weight: 500;
}

.filter-select {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid var(--card-border);
    background-color: var(--card-bg);
    color: var(--text-color);
    font-family: inherit;
    min-width: 150px;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--tool-hover-border);
}

.history-actions {
    display: flex;
    gap: 10px;
}

.secondary-btn {
    padding: 10px 15px;
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.secondary-btn:hover {
    background-color: var(--header-btn-hover);
    border-color: var(--submenu-text);
}

.secondary-btn i {
    font-size: 0.9rem;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.history-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--card-border);
}

.history-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.image-preview {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-info {
    padding: 15px;
}

.image-info h4 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.tool-used, .upload-date, .file-size {
    display: flex;
    align-items: center;
    color: var(--submenu-text);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.tool-used i, .upload-date i, .file-size i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.image-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 15px;
    border-top: 1px solid var(--card-border);
}

.action-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.action-btn.download {
    background-color: var(--tool-hover-border);
    color: white;
}

.action-btn.download:hover {
    background-color: #2c5aa0;
}

.action-btn.share {
    background-color: #10b981;
    color: white;
}

.action-btn.share:hover {
    background-color: #059669;
}

.action-btn.delete {
    background-color: #ef4444;
    color: white;
}

.action-btn.delete:hover {
    background-color: #dc2626;
}

/* Tool Section - Common Styles */
.tool-section {
    padding: 40px 0;
}

.tool-header {
    text-align: center;
    margin-bottom: 30px;
}

.tool-header h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.tool-header p {
    font-size: 1.1rem;
    color: var(--tool-description-color);
    max-width: 800px;
    margin: 0 auto;
}

.tool-container {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

/* Upload Components */
.upload-container {
    margin-bottom: 30px;
}


.upload-area.drag-over {
    background-color: rgba(63, 135, 245, 0.05);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.upload-icon {
    font-size: 48px;
    color: var(--tool-icon-color);
    margin-bottom: 15px;
}

.upload-content h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.upload-content p {
    color: var(--tool-description-color);
    margin-bottom: 20px;
}

.file-input {
    display: none;
}

.upload-button {
    background-color: var(--tool-hover-border);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.upload-button:hover {
    background-color: #2c5aa0;
}

.format-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 15px;
}

.format-tag {
    background-color: var(--tool-icon-bg);
    color: var(--tool-icon-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.upload-preview {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preview-container {
    max-width: 300px;
    max-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-info {
    text-align: center;
}

.file-details {
    margin-bottom: 15px;
}

.file-name {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.file-size {
    color: var(--tool-description-color);
    font-size: 0.9rem;
}

.preview-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* How It Works Section */
.how-it-works {
    padding: 60px 0;
    background-color: var(--feature-card-bg);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--tool-hover-border);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.step p {
    font-size: 0.95rem;
    color: var(--tool-description-color);
    line-height: 1.5;
}

/* Usage Guide */
.usage-guide {
    padding: 40px 0;
}

.usage-guide h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.instruction-list {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 20px;
}

.instruction-list li {
    margin-bottom: 15px;
    color: var(--tool-description-color);
    line-height: 1.6;
}

.instruction-list li strong {
    color: var(--text-color);
}

/* Tips Section */
.tips-section {
    padding: 40px 0;
    background-color: var(--feature-card-bg);
}

.tips-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.tips-list {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 20px;
}

.tips-list li {
    margin-bottom: 15px;
    color: var(--tool-description-color);
    line-height: 1.6;
}

.tips-list li strong {
    color: var(--text-color);
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--tool-border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background-color: var(--card-bg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-color);
}

.faq-toggle {
    color: var(--tool-description-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-answer p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--tool-description-color);
}

/* Notifications */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

.notification {
    background-color: var(--card-bg);
    border-left: 4px solid #3f87f5;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease forwards;
}

.notification.success {
    border-left-color: #4CAF50;
}

.notification.error {
    border-left-color: #F44336;
}

.notification.warning {
    border-left-color: #FF9800;
}

.notification-content {
    display: flex;
    align-items: center;
}

.notification-content i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.notification-content .fa-check-circle {
    color: #4CAF50;
}

.notification-content .fa-exclamation-circle {
    color: #F44336;
}

.notification-content .fa-exclamation-triangle {
    color: #FF9800;
}

.notification-content .fa-info-circle {
    color: #3f87f5;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.notification-close:hover {
    opacity: 1;
}

.notification.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Ad Components */
.page-layout {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.ad-sidebar {
    width: 320px;
    position: sticky;
    top: 80px;
    height: fit-content;
}

.ad-sidebar-left {
    margin-right: 20px;
}

.ad-sidebar-right {
    margin-left: 20px;
}

.sticky-ad {
    position: sticky;
    top: 80px;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.ad-container {
    text-align: center;
    margin: 20px 0;
}

.ad-top-banner {
    margin-bottom: 30px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .trusted-description {
        max-width: 800px;
        font-size: 1rem;
    }
    
    .trust-badges {
        gap: 40px;
    }
    
    .page-layout {
        flex-direction: column;
    }
    
    .ad-sidebar {
        width: 100%;
        position: static;
        margin: 20px 0;
    }
    
    .ad-sidebar-left,
    .ad-sidebar-right {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .search-input {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .search-button {
        width: 35px;
        height: 35px;
        padding: 8px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px;
    }

    .tool-card {
        padding: 15px 10px;
    }

    .tool-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .tool-card p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .tool-icon {
        width: 50px;
        height: 50px;
        padding: 10px;
        margin-bottom: 10px;
    }
    
    .icon-item {
        font-size: 18px;
        width: 40px;
        height: 40px;
    }
    
    .why-choose-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .feature-icon i {
        font-size: 24px;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .feature-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .trusted-users-section {
        padding: 40px 20px;
    }
    
    .trusted-description {
        font-size: 0.95rem;
        max-width: 600px;
        margin-bottom: 30px;
    }
    
    .trust-badges {
        gap: 30px;
    }
    
    .trust-badge span {
        font-size: 0.8rem;
    }

    .search-clear-btn {
        right: 45px;
        font-size: 18px;
    }
    
    .search-results-info {
        font-size: 0.9rem;
    }
    
    .stats-container {
        gap: 20px;
    }

    .stat-item {
        min-width: 120px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .trust-features {
        flex-direction: column;
        gap: 20px;
    }

    .trust-feature {
        min-width: 100%;
    }
    
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        flex-direction: column;
        margin-bottom: 30px;
    }
    
    .footer-column {
        width: 100%;
        margin-bottom: 30px;
        padding: 0 10px;
        text-align: center;
    }
    
    .footer-column h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .back-to-top-btn {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        padding: 8px 16px 8px 8px;
    }
    
    .whatsapp-icon {
        width: 36px;
        height: 36px;
    }
    
    .whatsapp-icon i {
        font-size: 20px;
    }
    
    .tools-list-container {
        padding: 12px 15px;
        margin-bottom: 15px;
    }
    
    .tools-list-heading {
        font-size: 1rem;
    }
    
    .tools-list {
        gap: 8px;
    }
    
    .tools-list-link {
        padding: 5px 10px;
        font-size: 0.85rem;
    }
    
    .tool-header h1 {
        font-size: 2rem;
    }
    
    .tool-container {
        padding: 20px;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        max-width: 100%;
    }
    
    .history-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .history-filters {
        width: 100%;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .history-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .history-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .search-input {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .search-button {
        width: 32px;
        height: 32px;
        padding: 6px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .icon-item {
        font-size: 16px;
        width: 36px;
        height: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .why-choose-section {
        padding: 40px 15px;
    }
    
    .why-choose-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
    }
    
    .feature-icon i {
        font-size: 22px;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .feature-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .trusted-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 25px;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 25px;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 15px;
    }

    .stat-number {
        font-size: 2.2rem;
    }
    
    .trust-badges {
        gap: 20px;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-column {
        margin-bottom: 25px;
    }
    
    .footer-column h3 {
        font-size: 1rem;
        padding-bottom: 8px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .back-to-top-btn {
        bottom: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .whatsapp-btn {
        bottom: 15px;
        right: 15px;
        padding: 8px;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-icon {
        margin-right: 0;
    }
    
    .tools-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .tools-list li {
        width: 100%;
    }
    
    .tools-list-link {
        display: block;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .tool-header h1 {
        font-size: 1.8rem;
    }
    
    .history-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .history-actions button {
        width: 100%;
        justify-content: center;
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 15px;
    }
}
