/* ===== CSS Variables ===== */
:root {
    --primary-color: #2563eb;
    --primary-color-rgb: 37, 99, 235;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --accent-color-rgb: 245, 158, 11;
    --accent-dark: #d97706;
    --success-color: #10b981;
    --success-color-rgb: 16, 185, 129;
    --success-dark: #059669;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;

    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;

    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;

    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --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);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 头部广告位 */

.de_iv_adv {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
    background-color: #F8F8F8;
    margin: 10px 0 0px;
}


/* 底部广告位 */

.postionFixed {
    width: 100%;
    min-height: 60px;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F8F8F8;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 9999;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.6s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.container {
    max-width: 1200px;
}

/* ===== Header Styles ===== */
.header {
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    font-size: 1.75rem;
}

.navbar-nav .nav-link {
    font-weight: 500 !important;
    font-size: 1rem !important;
    color: var(--text-secondary) !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* ===== Mobile Navigation ===== */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    position: relative;
    z-index: 1002;
    background: transparent;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 24px;
    height: 24px;
    opacity: 1;
}

.navbar-toggler-close {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    font-size: 1.5rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-toggler {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-toggler[aria-expanded="true"] {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-close {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}

.navbar-toggler[aria-expanded="true"]:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.navbar-toggler[aria-expanded="true"]:hover .navbar-toggler-close {
    color: #ff6b6b;
}

footer .row {
    justify-content: space-between;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg, rgba(31, 41, 55, 0.98) 0%, rgba(17, 24, 39, 0.98) 100%);
        backdrop-filter: blur(20px);
        z-index: 1001;
        display: flex !important;
        align-items: flex-start;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.9);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 2rem 2rem 4rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        max-width: 400px;
        margin-top: 2rem;
        text-align: center;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .navbar-nav .nav-item {
        transform: translateY(30px);
        opacity: 0;
        transition: all 0.4s ease;
    }

    .navbar-collapse.show .navbar-nav .nav-item {
        transform: translateY(0);
        opacity: 1;
    }

    .navbar-collapse.show .navbar-nav .nav-item:nth-child(1) {
        transition-delay: 0.1s;
    }

    .navbar-collapse.show .navbar-nav .nav-item:nth-child(2) {
        transition-delay: 0.2s;
    }

    .navbar-collapse.show .navbar-nav .nav-item:nth-child(3) {
        transition-delay: 0.3s;
    }

    .navbar-collapse.show .navbar-nav .nav-item:nth-child(4) {
        transition-delay: 0.4s;
    }

    .navbar-collapse.show .navbar-nav .nav-item:nth-child(5) {
        transition-delay: 0.5s;
    }

    .navbar-collapse.show .navbar-nav .nav-item:nth-child(6) {
        transition-delay: 0.6s;
    }

    /* Mobile Dropdown Always Open */
    .navbar-nav .dropdown-menu {
        display: block !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0 !important;
        background-color: rgba(var(--primary-color-rgb), 0.05) !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .navbar-nav .dropdown-toggle::after {
        display: none !important;
    }

    .navbar-nav .dropdown-item {
        padding: 0.75rem 2rem !important;
        background: transparent !important;
        border-left: 3px solid transparent !important;
        transition: all 0.3s ease !important;
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 0.9rem !important;
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }

    .navbar-nav .dropdown-item:hover {
        background-color: rgba(var(--primary-color-rgb), 0.1) !important;
        border-left-color: var(--primary-color) !important;
        transform: translateX(5px) !important;
        color: white !important;
    }

    .navbar-nav .dropdown-item i {
        color: rgba(255, 255, 255, 0.7) !important;
        width: 20px !important;
    }

    .navbar-nav .dropdown-item:hover i {
        color: var(--primary-color) !important;
    }

    .navbar-nav .nav-item {
        width: 100%;
        max-width: 300px;
    }

    .navbar-nav .nav-link {
        color: white !important;
        font-size: 1.5rem !important;
        font-weight: 600 !important;
        padding: 1.25rem 2rem !important;
        border-radius: var(--radius-lg);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        display: block;
        text-align: center;
        width: 100%;
    }

    .navbar-nav .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.5s ease;
    }

    .navbar-nav .nav-link:hover::before {
        left: 100%;
    }

    .navbar-nav .nav-link:hover {
        color: var(--primary-color) !important;
        background: rgba(59, 130, 246, 0.1);
        transform: translateX(10px);
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    /* 确保移动端菜单文字可见 */
    .navbar-nav .nav-link i {
        color: rgba(255, 255, 255, 0.8) !important;
        margin-right: 0.5rem !important;
    }

    .navbar-nav .nav-link:hover i {
        color: var(--primary-color) !important;
    }

    /* 移动端dropdown标题样式 */
    .navbar-nav .dropdown>.nav-link {
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        margin-bottom: 0 !important;
    }

    .navbar-nav .dropdown>.nav-link:hover {
        background: rgba(var(--primary-color-rgb), 0.2) !important;
        border-color: var(--primary-color) !important;
    }
}

/* ===== Hero Banner ===== */
.hero-banner {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.banner-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.banner-header {
    margin-bottom: 3rem;
}

.banner-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.5;
}

.tools-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tool-category {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: left;
}

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

.tool-category[data-category="time"]:hover {
    border-color: var(--primary-color);
    background: rgba(var(--primary-color-rgb), 0.05);
}

.tool-category[data-category="converters"]:hover {
    border-color: var(--success-color);
    background: rgba(var(--success-color-rgb), 0.05);
}

.tool-category[data-category="dev"]:hover {
    border-color: var(--accent-color);
    background: rgba(var(--accent-color-rgb), 0.05);
}

.category-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-lg);
    color: white !important;
    font-size: 2rem;
    flex-shrink: 0;
}

.category-icon i {
    color: white !important;
    font-size: 2rem;
}

.tool-category[data-category="converters"] .category-icon {
    background: linear-gradient(135deg, var(--success-color), var(--success-dark)) !important;
}

.tool-category[data-category="dev"] .category-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark)) !important;
}

.category-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.category-info p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tool-count {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
}

.tool-category[data-category="converters"] .tool-count {
    background: var(--success-color);
}

.tool-category[data-category="dev"] .tool-count {
    background: var(--accent-color);
}

.banner-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.banner-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.banner-stats .stat {
    font-size: 1rem;
    color: var(--text-secondary);
}

.banner-stats .stat strong {
    color: var(--primary-color);
    font-weight: 700;
}

.btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

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

.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);
}







@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ===== Features Section ===== */
.features-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

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

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

.feature-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.about-summary {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-summary h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-summary p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--primary-color-rgb), 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(var(--primary-color-rgb), 0.2);
}

.trust-badge i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.trust-badge span {
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== Resources Page Styles ===== */
.resources-hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 6rem 0 4rem;
    text-align: center;
}

.resources-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.resources-hero .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tool Category Styling */
.tip-card.time-category {
    border-left: 4px solid var(--primary-color);
}

.tip-card.time-category .tip-icon {
    background: var(--primary-color);
}

.tip-card.converter-category {
    border-left: 4px solid var(--success-color);
}

.tip-card.converter-category .tip-icon {
    background: var(--success-color);
}

.tip-card.dev-category {
    border-left: 4px solid var(--accent-color);
}

.tip-card.dev-category .tip-icon {
    background: var(--accent-color);
}

.guide-card.time-category {
    border-left: 4px solid var(--primary-color);
}

.guide-card.converter-category {
    border-left: 4px solid var(--success-color);
}

.guide-card.dev-category {
    border-left: 4px solid var(--accent-color);
}

/* ===== Use Cases Section ===== */
.use-cases-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.use-case-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

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

.use-case-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    color: white;
    font-size: 2rem;
}

.use-case-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.use-case-list {
    text-align: left;
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.use-case-list li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.use-case-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.use-case-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tool-tag {
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
}

.use-cases-cta {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.use-cases-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.use-cases-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ===== Tools Section ===== */
.tools-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    position: relative;
    border-top: 5px solid var(--primary-color);
    border-bottom: 5px solid var(--primary-color);
    box-shadow: 0 -10px 30px rgba(59, 130, 246, 0.2), 0 10px 30px rgba(59, 130, 246, 0.2);
}

.tools-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.tools-section::after {
    /* content: '🛠️ CORE TOOLS AREA 🛠️'; */
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.05);
    }
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Enhanced Tools Section Header ===== */
.tools-section .section-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 5rem;
    text-align: center;
    position: relative;
    z-index: 5;
}

.tools-section .section-header h2 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tools-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* ===== Tool Tabs ===== */
.tool-tabs {
    margin-bottom: 3rem;
    position: relative;
    z-index: 5;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tool-tabs .nav-pills {
    background: var(--bg-secondary);
    padding: 0.5rem;
    border-radius: var(--radius-xl);
    gap: 0.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.tool-tabs .nav-link {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.tool-tabs .nav-link::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 0.5s ease;
}

.tool-tabs .nav-link:hover::before {
    left: 100%;
}

.tool-tabs .nav-link:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.tool-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.tool-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
}

.tool-tabs .nav-link.active i {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.tool-tabs .nav-link i {
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.tool-tabs .nav-link:hover i {
    transform: scale(1.1);
}

/* ===== Tool Container ===== */
.tool-container {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.tool-header {
    background: var(--bg-secondary);
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.tool-header h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.tool-header p {
    color: var(--text-secondary);
    margin: 0;
}

.tool-content {
    padding: 2.5rem;
    min-height: 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 5;
}

.tool-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.1;
}

/* ===== Tools Overview Section ===== */
.tools-overview-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.tool-overview-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.tool-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.tool-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.tool-overview-wide {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border: 2px solid var(--primary-color);
}

.tool-overview-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.tool-overview-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.3);
}

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

.tool-icon i {
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.tool-overview-card:hover .tool-icon i {
    transform: scale(1.1);
}

.tool-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.tool-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.tool-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.tool-features h5,
.tool-use-cases h5,
.tool-instructions h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.tool-features h5:before,
.tool-use-cases h5:before,
.tool-instructions h5:before {
    content: '';
    width: 3px;
    height: 20px;
    background: var(--primary-color);
    margin-right: 0.5rem;
    border-radius: 2px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    color: var(--text-primary);
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    width: 16px;
    flex-shrink: 0;
}

.use-case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.use-case-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.use-case-tag:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.3);
}

.instruction-list {
    padding-left: 1.25rem;
    margin: 0;
}

.instruction-list li {
    padding: 0.25rem 0;
    color: var(--text-primary);
    line-height: 1.5;
}

.instruction-list li::marker {
    color: var(--primary-color);
    font-weight: 600;
}

.tools-overview-cta {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.tools-overview-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.tools-overview-cta p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.tools-overview-cta .btn {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tools-overview-cta .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 0.6s ease;
}

.tools-overview-cta .btn:hover::before {
    left: 100%;
}

.tools-overview-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.3);
}

/* Responsive Design for Tools Overview */
@media (max-width: 768px) {
    .tools-overview-section {
        padding: 60px 0;
    }

    .tool-overview-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .tool-overview-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .tool-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .use-case-tags {
        justify-content: center;
    }

    .tools-overview-cta {
        margin-top: 2rem;
        padding: 2rem 1rem;
    }

    .tools-overview-cta h3 {
        font-size: 1.5rem;
    }
}

/* ===== About Section ===== */
.about-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.about-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.features-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-item i {
    color: var(--success-color);
    font-size: 1.125rem;
}

.feature-item span {
    color: var(--text-primary);
    font-weight: 500;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-brand a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.footer-brand a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-brand a i {
    font-size: 2rem;
    color: var(--primary-color);
}

.footer-brand p {
    color: #9ca3af;
    line-height: 1.7;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

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

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
    position: relative;
}

.footer-links ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links ul li a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-links ul li a:hover::before {
    width: 10px;
}

.footer-social h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-social h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom p:first-child {
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-bottom a {
    color: #9ca3af;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* ===== Tool Specific Styles ===== */

/* Timer Display Styles */
.timer-display,
.pomodoro-display {
    text-align: center;
}


footer .col-md-6 {
    width: 100% !important;
}

.timer-circle,
.pomodoro-circle {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-radius: 50%;
    width: 250px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.timer-time,
.pomodoro-time {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.timer-label,
.pomodoro-phase {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.pomodoro-session {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.timer-progress,
.pomodoro-progress {
    margin-bottom: 2rem;
}

.progress {
    height: 8px;
    border-radius: var(--radius-lg);
    background: var(--bg-tertiary);
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: var(--radius-lg);
    transition: width 0.3s ease;
}

/* Timer Controls */
.timer-controls,
.pomodoro-controls {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.timer-controls .btn,
.pomodoro-controls .btn {
    min-width: 120px;
}

/* Result Display Styles */
.result-display {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    width: 100%;
}

.result-card h5 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.result-item {
    display: inline-block;
    margin: 0.5rem 1rem;
    text-align: center;
}

.result-item.primary .result-value {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.result-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.result-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Date Display Styles */
.date-display {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.date-iso {
    font-size: 1rem;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    background: var(--bg-tertiary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.calculation-summary {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: left;
}

.calculation-summary p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Age Calculator Styles */
.age-primary {
    margin-bottom: 2rem;
}

.age-number {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.age-label {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.age-breakdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.age-item {
    text-align: center;
}

.age-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.age-unit {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.age-statistics {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.age-statistics h6 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-row span:first-child {
    color: var(--text-secondary);
}

.stat-row span:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

/* Pomodoro Stats */
.pomodoro-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

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

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Form Enhancements */
.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.btn-group .btn {
    border: 2px solid var(--border-color);
}

.btn-group .btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .hero-visual {
        height: 450px;
        padding: 1.5rem;
    }


}

@media (max-width: 992px) {
    .hero-section {
        padding: 4rem 0;
    }

    .hero-visual {
        height: 400px;
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .clock-face {
        width: 160px;
        height: 160px;
    }

    .digital-time {
        font-size: 1.5rem;
    }



    /* Show simplified feature grid instead */
    .hero-visual::after {
        content: '';
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin-top: 2rem;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0 3rem;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1.125rem;
        text-align: center;
        margin-bottom: 2rem;
        max-width: none;
        padding: 0 1rem;
    }

    .hero-stats {
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .hero-visual {
        height: 300px;
        padding: 1rem;
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

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

    .clock-face {
        width: 140px;
        height: 140px;
        margin-bottom: 1rem;
    }

    .digital-time {
        font-size: 1.1rem;
    }

    .current-date {
        font-size: 0.85rem;
    }



    .tool-tabs .nav-pills {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
        background: var(--bg-primary);
        border: 1px solid rgba(59, 130, 246, 0.15);
    }

    .tool-tabs .nav-link {
        justify-content: center;
        padding: 1rem;
        font-size: 0.9rem;
        border-radius: var(--radius-md);
        margin-bottom: 0.25rem;
    }

    .tool-tabs .nav-link:hover {
        transform: translateX(5px);
        background: rgba(59, 130, 246, 0.05);
    }

    .tool-tabs .nav-link.active {
        transform: translateX(8px);
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
    }

    .tool-tabs .nav-link i {
        font-size: 1.1rem;
        margin-right: 0.5rem;
    }

    .timer-circle,
    .pomodoro-circle {
        width: 200px;
        height: 200px;
    }

    .timer-time,
    .pomodoro-time {
        font-size: 2.5rem;
    }

    .age-breakdown {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .pomodoro-stats {
        gap: 1rem;
        flex-direction: column;
    }

    .timer-controls,
    .pomodoro-controls {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .timer-controls .btn,
    .pomodoro-controls .btn {
        min-width: 200px;
        width: 100%;
        max-width: 250px;
    }

    .tool-content {
        padding: 1.5rem 1rem;
    }

    .result-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
    }

    .legal-document {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 3rem 0 2rem;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .hero-buttons .btn {
        max-width: 250px;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .stat-item {
        padding: 0.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .hero-visual {
        height: 300px;
        padding: 0.5rem;
    }

    .clock-face {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }

    .clock-numbers span {
        font-size: 1rem;
    }

    .number-12 {
        top: 8px;
    }

    .number-3 {
        right: 12px;
    }

    .number-6 {
        bottom: 8px;
    }

    .number-9 {
        left: 12px;
    }

    .hour-hand {
        height: 35px;
        top: -35px;
    }

    .minute-hand {
        height: 50px;
        top: -50px;
    }

    .second-hand {
        height: 55px;
        top: -55px;
    }

    .digital-time {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }

    .current-date {
        font-size: 0.8rem;
    }



    .tools-section,
    .about-section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .tool-tabs .nav-pills {
        padding: 0.5rem;
        gap: 0.75rem;
    }

    .tool-tabs .nav-link {
        width: 100%;
        padding: 1rem 0.8rem;
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        min-height: 80px;
        justify-content: center;
    }

    .tool-tabs .nav-link:hover {
        transform: translateY(-2px);
        background: rgba(59, 130, 246, 0.08);
    }

    .tool-tabs .nav-link.active {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    }

    .tool-tabs .nav-link i {
        font-size: 1.25rem;
        margin-right: 0;
        margin-bottom: 0.25rem;
    }

    .tool-tabs .nav-link span {
        display: block;
        font-weight: 600;
        line-height: 1.2;
    }

    .tool-content {
        padding: 1rem 0.75rem;
    }

    .tool-header {
        padding: 1.5rem 1rem;
    }

    .tool-header h3 {
        font-size: 1.5rem;
    }

    .timer-circle,
    .pomodoro-circle {
        width: 160px;
        height: 160px;
    }

    .timer-time,
    .pomodoro-time {
        font-size: 1.75rem;
    }

    .timer-label,
    .pomodoro-phase {
        font-size: 0.9rem;
    }

    .age-number {
        font-size: 2.5rem;
    }

    .age-breakdown {
        gap: 0.75rem;
    }

    .result-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .result-value {
        font-size: 1.5rem;
    }

    .contact-form-container {
        padding: 1.5rem 1rem;
    }

    .contact-form-container h2 {
        font-size: 1.5rem;
    }

    .legal-document {
        padding: 1.5rem 1rem;
    }

    .legal-document h1 {
        font-size: 2rem;
    }

    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-brand,
    .footer-links,
    .footer-social {
        margin-bottom: 2.5rem;
        text-align: center;
    }

    .footer-brand a {
        justify-content: center;
        font-size: 1.5rem;
    }

    .footer-brand p {
        max-width: none;
        text-align: center;
    }

    .footer-links h5::after,
    .footer-social h5::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links ul li a::before {
        display: none;
    }

    .footer-links ul li a:hover {
        transform: none;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
        margin-top: 2.5rem;
    }

    .footer-bottom .row>div {
        margin-bottom: 1rem;
    }

    .footer-bottom a {
        display: block;
        margin: 0.5rem 0;
    }

    /* .navbar-toggler{
        background: #ffffff;
    } */

    .col-lg-6-mobeil {
        display: none;
    }

}

/* ===== Legal Pages Styles ===== */
.main-content {
    padding: 6rem 0 4rem;
    min-height: 60vh;
}

.legal-document {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    margin-bottom: 2rem;
}

.legal-document h1 {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.last-updated {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.legal-section h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
}

/* ===== About Page Styles ===== */
.about-hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 6rem 0;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-hero .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.about-hero-image {
    text-align: center;
    padding: 2rem;
}

.about-hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(37, 99, 235, 0.1));
    transition: transform 0.3s ease;
}

.about-hero-image img:hover {
    transform: scale(1.05);
}

.mission-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.mission-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.mission-section .lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.features-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.features-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.stats-section {
    padding: 6rem 0;
    background: var(--text-primary);
    color: white;
}

.stats-section h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-card .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 1.125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.team-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.team-section .lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.team-section p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.cta-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.cta-section .lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Contact Page Styles ===== */
.contact-hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 6rem 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.contact-hero .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.contact-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.contact-form-container {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.contact-form-container h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.contact-info {
    padding: 2rem 0;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: white;
}

.contact-details h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.social-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.social-contact h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.faq-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.faq-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-weight: 500;
    border: none;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    background: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 1.5rem;
}

/* ===== Features Section ===== */
.features-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.feature-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

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

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

.feature-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Statistics Section ===== */
.stats-section {
    padding: 60px 0;
    background: var(--primary-color);
    color: white;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Tool Description Styles ===== */
.tool-description {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.tool-description h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.tool-description p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-highlights {
    margin-bottom: 1rem;
}

.feature-highlights .badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
}

.use-cases {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.use-cases h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.use-cases ul li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
}

.use-cases ul li i {
    margin-right: 0.5rem;
}

/* ===== How to Use Section ===== */
.how-to-use-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.step-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    height: 100%;
    position: relative;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.step-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.step-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.step-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* ===== About Page Styles ===== */
.about-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.hero-stats {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

.hero-stat .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.hero-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.values-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.value-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

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

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.value-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.team-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.team-content .lead {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.team-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-stats {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.team-stat {
    text-align: center;
    padding: 1rem;
}

.team-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.technology-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.tech-feature {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    height: 100%;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.tech-feature:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.tech-feature h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tech-feature h4 i {
    margin-right: 0.5rem;
}

.tech-feature p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== Resources Page Styles ===== */
.resources-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.resources-hero h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.resources-hero .lead {
    color: rgba(255, 255, 255, 0.9);
}

.quick-tips-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.tip-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

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

.tip-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.tip-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tip-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tip-example {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent-color);
    font-size: 0.9rem;
}

.tip-example strong {
    color: var(--accent-color);
}

.guides-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.guide-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

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

.guide-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
}

.guide-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.guide-header i {
    margin-right: 0.5rem;
}

.guide-content {
    padding: 2rem;
}

.guide-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.guide-topics {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.guide-topics li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.guide-topics li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.guide-tools {
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
}

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

.best-practices-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.practices-content {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.practice-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.practice-item:last-child {
    border-bottom: none;
}

.practice-item h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.practice-item h4 i {
    color: var(--success-color);
    margin-right: 0.75rem;
}

.practice-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== Privacy Policy Enhancements ===== */
.privacy-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    text-align: center;
}

.privacy-highlight h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.privacy-highlight h4 i {
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

.privacy-highlight p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

/* ===== Contact Page Enhancements ===== */
.contact-stats {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-stat {
    text-align: center;
    padding: 1rem;
}

.contact-stat i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.contact-stat span {
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== Breadcrumb Navigation ===== */
.breadcrumb-nav {
    background: var(--bg-secondary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-secondary);
}

/* ===== New Navigation Styles ===== */
/* Desktop Dropdown Styles */
@media (min-width: 992px) {
    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: var(--shadow-lg);
        border-radius: var(--radius-lg);
        padding: 0.5rem 0;
        margin-top: 0.5rem;
        display: none;
        /* Hidden by default on desktop */
    }

    .navbar-nav .dropdown:hover .dropdown-menu,
    .navbar-nav .dropdown-menu.show {
        display: block;
    }
}

.navbar-nav .dropdown-item {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: var(--bg-secondary);
    color: var(--primary-color);
}

.navbar-nav .dropdown-item i {
    width: 20px;
    color: var(--text-secondary);
}

.navbar-nav .dropdown-item:hover i {
    color: var(--primary-color);
}

/* ===== Hero Features Badges ===== */
.hero-features-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
    justify-content: center;
}

.hero-features-badges .feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-lg);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-features-badges .feature-badge:hover {
    background: rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.hero-features-badges .feature-badge i {
    font-size: 1rem;
}

/* ===== Enhanced Section Header ===== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.section-badge i {
    font-size: 1rem;
}

.toolkit-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    min-width: 120px;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== Enhanced Tool Category Tabs ===== */
.enhanced-tool-category-tabs {
    margin: 4rem 0 3rem;
}

.category-tabs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-tab {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.category-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.category-tab:hover::before {
    left: 100%;
}

.category-tab:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.category-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
    border-color: var(--primary-light);
}

.category-tab-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.category-tab.active .category-tab-icon {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.category-tab-icon i {
    font-size: 2rem;
    color: white;
}

.category-tab-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.category-tab.active .category-tab-content h3 {
    color: white;
}

.category-tab-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.category-tab.active .category-tab-content p {
    color: rgba(255, 255, 255, 0.9);
}

.category-tab .tool-count {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.category-tab.active .tool-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* ===== Compact Tool Category Tabs ===== */
.compact-tool-category-tabs {
    margin: 3rem 0 2rem;
}

.compact-category-tab {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.compact-category-tab:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.compact-category-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    border-color: var(--primary-light);
}

.compact-tab-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.compact-category-tab.active .compact-tab-icon {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.compact-tab-icon i {
    font-size: 1.25rem;
    color: white;
}

.compact-tab-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.compact-tab-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

.compact-category-tab.active .compact-tab-content h4 {
    color: white;
}

.compact-tool-count {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.compact-category-tab.active .compact-tool-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}



/* ===== Mobile Feature Cards ===== */
.mobile-features {
    max-width: 300px;
    margin: 0 auto;
}

.mobile-feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.mobile-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.mobile-feature-card i {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    display: block;
}

.mobile-feature-card span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ===== Tool Interface Styles ===== */
.converter-interface,
.code-processor-interface {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.conversion-panel,
.code-panel {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    height: 100%;
}

.conversion-panel h5,
.code-panel h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.code-textarea {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.code-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25);
}

.code-stats {
    padding: 0.5rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
}

.compression-options {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.compression-options h6 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* ===== Tab Pane Fix for Dev Tools ===== */
.tab-content .tab-pane {
    min-height: 600px !important;
}

.tab-content .tab-pane.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 600px !important;
    height: auto !important;
}

.tab-content .tab-pane.active .tool-container {
    display: block !important;
    min-height: 600px !important;
    height: auto !important;
}

.tab-content .tab-pane.active .code-processor-interface {
    display: block !important;
    visibility: visible !important;
    min-height: 500px !important;
    height: auto !important;
}

.tab-content .tab-pane.active .code-panel {
    display: block !important;
    min-height: 250px !important;
    height: auto !important;
}

.tab-content .tab-pane.active .row {
    display: flex !important;
    min-height: 300px !important;
}

.tab-content .tab-pane.active .col-md-6 {
    display: block !important;
    flex: 1 !important;
    min-height: 250px !important;
}

/* Force visibility for Dev Tools specifically */
#jscompressor.active,
#jsbeautifier.active,
#jsencryptor.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 600px !important;
    height: auto !important;
}

/* ===== Tool Tab Visibility Control ===== */
.time-tool-tab {
    display: list-item;
}

.converter-tool-tab,
.dev-tool-tab {
    display: none;
}

.converter-tool-tab.show,
.dev-tool-tab.show {
    display: list-item;
}

/* ===== Quick Access Tools Section ===== */
.quick-access-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.tool-category-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    height: 100%;
}

.tool-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.category-header {
    text-align: center;
    margin-bottom: 2rem;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-md);
}

.category-icon i {
    font-size: 2rem;
    color: white;
}

.category-header h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.category-tools {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tool-quick-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.tool-quick-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.tool-quick-link i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.tool-quick-link:hover i {
    color: white;
}

.tool-quick-link span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* ===== Enhanced Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

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

.slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

.pulse-hover:hover {
    animation: pulse 0.6s ease-in-out;
}

/* ===== Loading States ===== */
.loading {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

/* ===== Enhanced Hover Effects ===== */
.feature-card:hover,
.tool-overview-card:hover,
.tool-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
}

/* ===== Improved Focus States ===== */
.btn:focus,
.nav-link:focus,
.tool-quick-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== Enhanced Mobile Experience ===== */
@media (max-width: 768px) {
    .quick-access-section {
        padding: 3rem 0;
    }

    .tool-category-card {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }

    .category-icon {
        width: 60px;
        height: 60px;
    }

    .category-icon i {
        font-size: 1.5rem;
    }

    .tool-quick-link {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .hero-features-badges {
        gap: 0.5rem;
    }

    .hero-features-badges .feature-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    /* Enhanced Category Tabs Mobile */
    .toolkit-stats {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .stat-item {
        min-width: 100px;
        padding: 0.75rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .category-tabs-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-tab {
        padding: 1.5rem;
    }

    .category-tab-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .category-tab-icon i {
        font-size: 1.5rem;
    }

    .category-tab-content h3 {
        font-size: 1.25rem;
    }

    .category-tab-content p {
        font-size: 0.9rem;
    }
}

/* ===== Enhanced Tools Overview Section ===== */
.tools-overview-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.overview-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.tutorial-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tutorial-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.stat-icon {
    color: #10b981;
    font-size: 1.25rem;
}

.stat-text {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* ===== Tools Grid Layout ===== */
.tools-grid {
    margin-top: 4rem;
}

.tool-category-section {
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.category-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
}

.category-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.category-icon-large i {
    font-size: 2rem;
    color: white;
}

.category-title h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.category-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.tools-count {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.tools-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

/* ===== Modern Tool Cards ===== */
.modern-tool-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

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

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

.tool-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.tool-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.tool-card-icon i {
    font-size: 1.25rem;
    color: white;
}

.tool-card-info {
    flex: 1;
}

.tool-card-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.tool-card-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.tool-card-action {
    margin-left: 1rem;
}

.try-tool-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.try-tool-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    color: white;
    text-decoration: none;
}

.tool-card-content {
    margin-top: 1rem;
}

.tool-features-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.feature-tag i {
    font-size: 0.75rem;
}

.use-cases-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.use-case {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ===== Legacy Tool Overview Cards (for remaining tools) ===== */
.tool-overview-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.tool-overview-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.tool-icon i {
    font-size: 1.5rem;
    color: white;
}

.tool-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.tool-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.tool-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.tool-features h5,
.tool-use-cases h5,
.tool-instructions h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    width: 16px;
}

.use-case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.use-case-tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.instruction-list {
    padding-left: 1.25rem;
    color: var(--text-secondary);
}

.instruction-list li {
    padding: 0.25rem 0;
    line-height: 1.5;
}

/* ===== Simple Tool Cards ===== */
.simple-tool-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.simple-tool-card .tool-card-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.simple-tool-card .tool-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
}

.simple-tool-card .tool-card-icon i {
    font-size: 1.25rem;
    color: white;
}

.simple-tool-card .tool-card-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.simple-tool-card .tool-card-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.tool-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.simple-tool-card .tool-card-action {
    margin-top: auto;
}

.simple-tool-card .try-tool-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    width: 100%;
}

.simple-tool-card .try-tool-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    color: white;
    text-decoration: none;
}

/* ===== Tools Introduction Section ===== */
.tools-introduction-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.tools-intro-list {
    margin-top: 4rem;
}

.tool-category-intro {
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(139, 92, 246, 0.1);
    backdrop-filter: blur(10px);
}

.category-intro-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.1);
}

.category-intro-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    flex-shrink: 0;
}

.category-intro-icon i {
    font-size: 2rem;
    color: white;
}

.category-intro-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.category-intro-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.5;
}

.tools-intro-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tool-intro-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.tool-intro-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    border-color: #8b5cf6;
}

.tool-intro-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.tool-intro-icon i {
    font-size: 1.5rem;
    color: white;
}

.tool-intro-content {
    flex: 1;
}

.tool-intro-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.tool-intro-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tool-intro-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tool-intro-features span {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.tools-intro-cta {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: var(--radius-xl);
    color: white;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cta-content .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-content .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    color: white;
}

/* ===== Responsive Design for Tools Introduction ===== */
@media (max-width: 768px) {
    .tools-introduction-section {
        padding: 3rem 0;
    }

    .tool-category-intro {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .category-intro-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .category-intro-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .category-intro-content h3 {
        font-size: 1.5rem;
    }

    .tool-intro-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }

    .tool-intro-content h4 {
        font-size: 1.25rem;
    }

    .tool-intro-features {
        justify-content: center;
    }

    .tools-intro-cta {
        padding: 2rem 1rem;
    }

    .cta-content h3 {
        font-size: 1.5rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .tool-category-card {
        padding: 1rem;
    }

    .category-header h3 {
        font-size: 1.25rem;
    }

    .tool-quick-link {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    .tool-quick-link i {
        width: 16px;
        font-size: 0.9rem;
    }
}

/* ===== Blog Article Enhancements ===== */
.article-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.article-featured-image:hover img {
    transform: scale(1.02);
}

.article-header {
    margin-bottom: 3rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-meta .category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 500;
}

.article-meta .date,
.article-meta .read-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-excerpt {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.author-avatar i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-excerpt {
        font-size: 1.1rem;
    }

    .article-featured-image {
        margin-bottom: 1.5rem;
    }
}

/* ===== Mobile Tool Interface Optimization ===== */
@media (max-width: 768px) {

    /* Tool Interface Mobile Optimization */
    .converter-interface,
    .code-processor-interface {
        padding: 1rem;
        margin: 0 -0.5rem;
        border-radius: var(--radius-md);
    }

    .conversion-panel,
    .code-panel {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .conversion-panel h5,
    .code-panel h5 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    /* Form Controls Mobile Optimization */
    .form-control,
    .form-select {
        font-size: 16px;
        /* Prevents zoom on iOS */
        padding: 0.75rem;
        min-height: 48px;
        /* Touch-friendly minimum */
    }

    .form-control:focus,
    .form-select:focus {
        box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25);
    }

    /* Textarea Mobile Optimization */
    textarea.form-control {
        min-height: 120px;
        resize: vertical;
    }

    /* Button Mobile Optimization */
    .btn {
        min-height: 48px;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .btn-lg {
        min-height: 56px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    /* Input Group Mobile Optimization */
    .input-group {
        flex-wrap: nowrap;
    }

    .input-group .form-control {
        min-width: 0;
        flex: 1;
    }

    /* Color Picker Mobile Optimization */
    .form-control-color {
        width: 100%;
        height: 48px;
        border-radius: var(--radius-sm);
    }

    /* Tool Content Mobile Spacing */
    .tool-content .row {
        margin: 0 -0.5rem;
    }

    .tool-content .col-md-6 {
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }

    /* Alert Mobile Optimization */
    .alert {
        margin: 1rem 0;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    /* Result Display Mobile Optimization */
    .result-display {
        word-break: break-all;
        overflow-wrap: break-word;
    }

    /* Color Preview Mobile Optimization */
    .color-preview {
        height: 80px !important;
        margin-top: 0.5rem !important;
    }
}

@media (max-width: 576px) {

    /* Extra Small Screens Optimization */
    .converter-interface,
    .code-processor-interface {
        padding: 0.75rem;
        margin: 0 -0.25rem;
    }

    .conversion-panel,
    .code-panel {
        padding: 0.75rem;
    }

    .tool-content {
        padding: 0.75rem 0.5rem;
    }

    /* Button Stack on Extra Small Screens */
    .text-center .btn {
        display: block;
        width: 100%;
        margin: 0.25rem 0;
    }

    .text-center .btn+.btn {
        margin-left: 0;
    }

    /* Form Labels Mobile */
    .form-label {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    /* Select Dropdown Mobile */
    .form-select {
        background-size: 16px 12px;
        padding-right: 2.5rem;
    }

    /* Tool Header Mobile */
    .tool-header {
        padding: 1rem;
        text-align: center;
    }

    .tool-header h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .tool-header p {
        font-size: 0.9rem;
    }
}

/* ===== Prevent Horizontal Scroll ===== */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
    }

    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .col,
    .col-md-6,
    .col-lg-4,
    .col-lg-6,
    .col-lg-8,
    .col-lg-12 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    /* Ensure no element exceeds viewport width */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Input and textarea width control */
    .form-control,
    .form-select,
    textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Pre and code blocks mobile handling */
    pre,
    code {
        white-space: pre-wrap;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
}

/* ===== Specific Tool Mobile Optimizations ===== */
@media (max-width: 768px) {

    /* Unit Converter Mobile */
    .converter-interface select option {
        padding: 0.5rem;
    }

    /* Currency Converter Mobile */
    #exchangeRate,
    #lastUpdated {
        font-size: 0.85rem;
    }

    /* Color Converter Mobile */
    .color-preview {
        border-radius: var(--radius-sm);
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    /* Encoding Converter Mobile */
    #encodingInput,
    #encodingOutput {
        font-family: 'Courier New', monospace;
        font-size: 14px;
        line-height: 1.4;
    }

    /* JavaScript Tools Mobile */
    .code-processor-interface textarea {
        font-family: 'Courier New', monospace;
        font-size: 13px;
        line-height: 1.3;
    }

    /* Countdown Timer Mobile */
    .timer-display {
        font-size: 2rem;
        padding: 1rem;
    }

    .timer-controls {
        flex-direction: column;
        gap: 0.5rem;
    }

    .timer-controls .btn {
        width: 100%;
    }

    /* Date Calculator Mobile */
    .date-result {
        font-size: 1.1rem;
        padding: 1rem;
        text-align: center;
    }

    /* Working Days Calculator Mobile */
    .working-days-result {
        padding: 1rem;
        border-radius: var(--radius-md);
    }

    /* Age Calculator Mobile */
    .age-result-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .age-result-item {
        text-align: center;
        padding: 1rem;
    }

    /* Pomodoro Timer Mobile */
    .pomodoro-display {
        font-size: 3rem;
        margin: 1rem 0;
    }

    .pomodoro-controls {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .pomodoro-controls .btn {
        min-width: 120px;
    }
}

/* ===== Touch-Friendly Interactions ===== */
@media (max-width: 768px) {

    /* Increase touch targets */
    .btn,
    .form-control,
    .form-select {
        min-height: 44px;
    }

    /* Improve button spacing */
    .btn-group-vertical .btn {
        margin-bottom: 0.5rem;
    }

    /* Better checkbox and radio sizing */
    .form-check-input {
        width: 1.25rem;
        height: 1.25rem;
    }

    .form-check-label {
        padding-left: 0.5rem;
        font-size: 1rem;
    }

    /* Improve tab navigation */
    .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    /* Better accordion styling */
    .accordion-button {
        padding: 1rem;
        font-size: 1rem;
    }

    .accordion-body {
        padding: 1rem;
    }
}

/* ===== Mobile Performance Optimizations ===== */
@media (max-width: 768px) {

    /* Reduce animations on mobile for better performance */
    .btn,
    .form-control,
    .card {
        transition: all 0.2s ease;
    }

    /* Optimize shadows for mobile */
    .card,
    .converter-interface,
    .code-processor-interface {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    /* Reduce border radius for better mobile appearance */
    .btn,
    .form-control,
    .form-select,
    .card {
        border-radius: 0.375rem;
    }
}