/* ===== HEADER STYLES ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 20, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 247, 255, 0.1);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #f0f6fc;
    font-size: 1.8rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #00f7ff;
}

.logo-icon {
    margin-right: 12px;
    color: #00f7ff;
    font-size: 1.5rem;
}

.logo-text .highlight {
    background: linear-gradient(90deg, #00f7ff, #00ff95);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    margin: 0 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    color: #a3b8cc;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.nav-link:hover {
    color: #00f7ff;
    background: rgba(0, 247, 255, 0.1);
}

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

.dropdown-arrow {
    margin-left: 6px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 500px;
    background: #0f172a;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(0, 247, 255, 0.1);
    overflow: hidden;
}

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

.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
}

.dropdown-column {
    padding: 10px;
}

.dropdown-title {
    color: #f0f6fc;
    font-size: 1rem;
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 247, 255, 0.2);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: #a3b8cc;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-bottom: 5px;
}

.dropdown-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: #00f7ff;
}

.dropdown-item:hover {
    background: rgba(0, 247, 255, 0.1);
    color: #f0f6fc;
    transform: translateX(3px);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    background: none;
    border: none;
    color: #a3b8cc;
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle i {
    position: absolute;
    transition: all 0.3s ease;
}

.theme-toggle .fa-sun {
    opacity: 0;
    transform: rotate(90deg);
}

.theme-toggle.active .fa-moon {
    opacity: 0;
    transform: rotate(-90deg);
}

.theme-toggle.active .fa-sun {
    opacity: 1;
    transform: rotate(0);
    color: #ffd700;
}

.theme-toggle:hover {
    background: rgba(0, 247, 255, 0.1);
    color: #00f7ff;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: #a3b8cc;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger:hover .hamburger-line {
    background: #00f7ff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: #0f172a;
        padding: 1rem 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        margin: 0.5rem 0;
        width: 100%;
    }

    .nav-link {
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
        margin-top: 0.5rem;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        transform: none;
        display: block;
    }

    .dropdown-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .hamburger {
        display: flex;
    }

    .header-actions {
        margin-left: auto;
        margin-right: 15px;
    }
}

/* ===== FOOTER STYLES ===== */
.main-footer {
    position: relative;
    background: #0a0e14;
    color: #a3b8cc;
    padding: 80px 0 0;
    margin-top: 100px;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

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

.footer-brand {
    padding-right: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: #f0f6fc;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo i {
    margin-right: 12px;
    color: #00f7ff;
}

.footer-logo .highlight {
    background: linear-gradient(90deg, #00f7ff, #00ff95);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.footer-description {
    margin: 0 0 25px;
    line-height: 1.7;
    font-size: 0.95rem;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(163, 184, 204, 0.1);
    color: #a3b8cc;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #00f7ff;
    color: #0a0e14;
    transform: translateY(-3px);
}

.footer-links {
    margin-bottom: 20px;
}

.footer-title {
    color: #f0f6fc;
    font-size: 1.2rem;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00f7ff, #00ff95);
    border-radius: 2px;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-link {
    color: #a3b8cc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #00f7ff;
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #00f7ff;
    transform: translateX(5px);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(163, 184, 204, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    margin: 0;
    font-size: 0.9rem;
    color: #7a8ea8;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.legal-link {
    color: #a3b8cc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #00f7ff;
}

.divider {
    color: #4a5a6e;
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-legal {
        margin-top: 10px;
    }
}

/* ===== TOOLS SECTION STYLES ===== */
.tools {
    background: #0f172a;
    padding: 120px 0 80px;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-subtitle {
    color: #7a8ea8;
    font-size: 1.1rem;
    margin-top: 15px;
    line-height: 1.6;
}

.tools-categories {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.category {
    background: rgba(16, 24, 39, 0.6);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(0, 247, 255, 0.1);
    transition: all 0.3s ease;
}

.category:hover {
    border-color: rgba(0, 247, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 247, 255, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 247, 255, 0.1);
    text-decoration: none;
    color: inherit;
}

.category-header:hover {
    text-decoration: none;
    color: inherit;
}

.category-header:hover h3 {
    color: #00f7ff;
}

.category-header i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #00f7ff;
}

.category-header h3 {
    margin: 0;
    color: #f0f6fc;
    font-size: 1.5rem;
    font-weight: 600;
}

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

.tool-card {
    background: rgba(10, 14, 20, 0.6);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 247, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #00f7ff, #00ff95);
    transition: height 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 247, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tool-card:hover::before {
    height: 100%;
}

.tool-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 247, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #00f7ff;
    transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
    background: linear-gradient(135deg, #00f7ff, #00ff95);
    color: #0a0e14;
    transform: rotate(10deg) scale(1.1);
}

.tool-card h4 {
    color: #f0f6fc;
    margin: 0 0 12px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.tool-card p {
    color: #a3b8cc;
    margin: 0 0 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    color: #00f7ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.tool-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.tool-link:hover {
    color: #00ff95;
}

.tool-link:hover i {
    transform: translateX(5px);
}

/* Responsive Tools Section */
@media (max-width: 1024px) {
    .tools {
        padding: 100px 0 60px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
    }
    
    .category {
        padding: 20px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
}


/* Animation for tool cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.tool-card:nth-child(1) { animation-delay: 0.1s; }
.tool-card:nth-child(2) { animation-delay: 0.2s; }
.tool-card:nth-child(3) { animation-delay: 0.3s; }
.tool-card:nth-child(4) { animation-delay: 0.4s; }
.tool-card:nth-child(5) { animation-delay: 0.5s; }
.tool-card:nth-child(6) { animation-delay: 0.6s; }
