:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --accent: #0d6efd;
    --accent-hover: #0b5ed7;
    --border: #dee2e6;
    --success: #198754;
    --danger: #dc3545;
    --warning: #ffc107;
}

[data-theme="dark"] {
    --bg-primary: #1a1d23;
    --bg-secondary: #242830;
    --bg-tertiary: #2f3542;
    --text-primary: #f8f9fa;
    --text-secondary: #adb5bd;
    --accent: #4dabf7;
    --accent-hover: #74c0fc;
    --border: #495057;
    --success: #51cf66;
    --danger: #ff6b6b;
    --warning: #ffd43b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    height: 65px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    margin: 0;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a i {
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
    background-color: var(--bg-tertiary);
    transform: translateY(-2px);
}

.nav-links a:hover i {
    transform: scale(1.2);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle.active i {
    transform: rotate(90deg);
}

.theme-toggle {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.theme-toggle:hover {
    background-color: var(--accent);
    color: white;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.tool-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.tool-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.tool-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.tool-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--accent-hover);
}

.btn-secondary {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-danger {
    background-color: var(--danger);
}

.section {
    padding: 1.2rem 0 3rem 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    display: block;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(77, 171, 247, 0.2);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    transition: color 0.3s;
}

.blog-card:hover h3 {
    color: var(--primary-color);
}

.blog-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Blog Post HTML Content Styling */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-content h1 { font-size: 2.2rem; }
.blog-content h2 { font-size: 1.8rem; }
.blog-content h3 { font-size: 1.5rem; }
.blog-content h4 { font-size: 1.3rem; }
.blog-content h5 { font-size: 1.1rem; }
.blog-content h6 { font-size: 1rem; }

.blog-content p {
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.blog-content ul,
.blog-content ol {
    margin-left: 2rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-content a:hover {
    color: var(--accent-hover);
    text-decoration: none;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: block;
}

.blog-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

.blog-content code {
    background-color: var(--bg-secondary);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.blog-content pre {
    background-color: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-content pre code {
    background-color: transparent;
    padding: 0;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.blog-content table th,
.blog-content table td {
    padding: 0.75rem;
    border: 1px solid var(--border);
    text-align: left;
}

.blog-content table th {
    background-color: var(--bg-secondary);
    font-weight: 600;
}

.blog-content hr {
    border: none;
    border-top: 2px solid var(--border);
    margin: 2rem 0;
}

/* Modern Footer Styles */
.modern-footer {
    background: #000000;
    color: #e2e8f0;
    margin-top: 4rem;
    padding: 4rem 0 0 0;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .modern-footer {
    background: #000000;
}

[data-theme="light"] .modern-footer {
    background: #000000;
    color: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-about {
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: bold;
    color: #ffffff;
}

.footer-logo i {
    font-size: 2rem;
    background: linear-gradient(135deg, #4dabf7, #339af0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.3);
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-title i {
    color: #4dabf7;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.footer-links a i {
    font-size: 0.7rem;
    color: #4dabf7;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 0.5rem;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    margin-top: 0;
}

.footer-bottom p {
    margin: 0.25rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom i.fa-heart {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .modern-footer {
        padding: 3rem 0 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-bottom: 2rem;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-title {
        justify-content: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .footer-logo i {
        font-size: 1.75rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: var(--success);
    color: white;
}

.alert-danger {
    background-color: var(--danger);
    color: white;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent);
}

.stat-label {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

table {
    width: 100%;
    background-color: var(--bg-secondary);
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background-color: var(--bg-tertiary);
    font-weight: 600;
}

tr:hover {
    background-color: var(--bg-tertiary);
}

.tool-layout-wrapper {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

.tool-page-with-sidebar {
    display: grid;
    grid-template-columns: 300px 800px 300px;
    gap: 2rem;
    align-items: start;
    justify-content: center;
    margin: 0 auto;
    width: fit-content;
}

.tool-page-with-sidebar.no-sidebar {
    grid-template-columns: 1fr;
    max-width: 800px;
    width: 100%;
}

.tool-page-with-sidebar.no-sidebar .tool-container {
    width: 100%;
    max-width: 800px;
}

.tool-sidebar {
    width: 300px;
    position: sticky;
    top: calc(65px + 0.9rem + 1.2rem);
    align-self: start;
    height: fit-content;
}

.tool-sidebar-sticky {
    text-align: center;
}

.tool-container {
    width: 800px;
    margin: 1.2rem 0 3rem 0;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
}

@media (max-width: 1500px) {
    .tool-sidebar {
        display: none;
    }
    
    .tool-page-with-sidebar {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .tool-container {
        width: 100%;
        max-width: 800px;
    }
    
    .tool-layout-wrapper {
        max-width: 1200px;
    }
}

.result-box {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.page-layout {
    display: flex;
    min-height: calc(100vh - 200px);
}

.sidebar {
    width: 300px;
    background-color: var(--bg-secondary);
    border-right: 1px solid var(--border);
    padding: 2rem 0;
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.5rem;
    margin-bottom: 2rem;
    color: var(--accent);
}

.sidebar-header i {
    font-size: 1.5rem;
}

.sidebar-header h3 {
    font-size: 1.25rem;
    margin: 0;
}

.sidebar-search {
    position: relative;
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-search i {
    position: absolute;
    left: 2.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.9rem;
    pointer-events: none;
}

.sidebar-search input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.sidebar-search input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.sidebar-search input::placeholder {
    color: var(--text-secondary);
}

.sidebar-category {
    margin-bottom: 2rem;
}

.sidebar-category h4 {
    padding: 0 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 600;
}

.sidebar-tools {
    list-style: none;
}

.sidebar-tools li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-tools li a:hover {
    background-color: var(--bg-tertiary);
    border-left-color: var(--accent);
    color: var(--accent);
}

.sidebar-tools li a i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: var(--accent);
}

.main-content {
    flex: 1;
    padding: 3rem;
    background-color: var(--bg-primary);
}

.modern-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 0 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item i {
    font-size: 2.5rem;
    color: transparent;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.stat-item:hover i {
    transform: scale(1.1);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-content h3 {
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-content p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-secondary);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--accent);
}

.floating-card span {
    font-weight: 600;
    color: var(--text-primary);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    right: 15%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    opacity: 0.1;
    animation: pulse 4s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 20%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 40%;
    animation-delay: 1.5s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

.features-section {
    padding: 5rem 3rem;
    background-color: var(--bg-secondary);
    margin: 3rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: var(--accent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--accent);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-section-modern {
    position: relative;
    padding: 6rem 2rem;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

[data-theme="light"] .about-section-modern {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.about-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: blob-float 20s ease-in-out infinite;
}

.gradient-blob.blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.gradient-blob.blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #14b8a6 0%, #0891b2 100%);
    bottom: -150px;
    right: -100px;
    animation-delay: 7s;
}

.gradient-blob.blob-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes blob-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 30px) scale(0.9);
    }
}

.about-content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    color: #a78bfa;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gradient-text-teal {
    background: linear-gradient(135deg, #14b8a6 0%, #0891b2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.glass-stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] .glass-stat-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.glass-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .glass-stat-card:hover {
    background: rgba(255, 255, 255, 0.9);
}

.stat-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
}

.stat-icon-wrapper.purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.stat-icon-wrapper.teal {
    background: linear-gradient(135deg, #14b8a6 0%, #0891b2 100%);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.3);
}

.stat-icon-wrapper.violet {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.stat-icon-wrapper i {
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.about-content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.glass-content-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

[data-theme="light"] .glass-content-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.glass-content-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
}

.content-card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.card-icon.purple-glow {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.card-icon.teal-glow {
    background: linear-gradient(135deg, #14b8a6 0%, #0891b2 100%);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.3);
}

.content-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.glass-content-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

.about-features-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

[data-theme="light"] .feature-pill {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-pill:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.feature-pill i {
    color: #10b981;
    font-size: 1.1rem;
}

.about-cta-modern {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.btn-glass.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-glass.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-glass.secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

[data-theme="light"] .btn-glass.secondary {
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.btn-glass.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-3px);
}

.blog-section {
    padding: 5rem 0;
}

.all-tools-section {
    padding: 5rem 3rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: -1rem auto 3rem;
    line-height: 1.7;
}

.all-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.tool-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    transition: height 0.3s ease;
}

.tool-box:hover::before {
    height: 100%;
}

.tool-box:hover {
    transform: translateX(10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.tool-box-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.tool-box:hover .tool-box-icon {
    transform: scale(1.1) rotate(5deg);
}

.tool-box-icon i {
    font-size: 2rem;
    color: white;
}

.tool-box-content {
    flex: 1;
}

.tool-box-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.tool-box-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.tool-category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    background-color: var(--bg-tertiary);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
}

.tool-category i {
    font-size: 0.75rem;
}

.tool-box-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tool-box:hover .tool-box-arrow {
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    transform: translateX(5px);
}

.tool-box-arrow i {
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.tool-box:hover .tool-box-arrow i {
    color: white;
}

@media (max-width: 1024px) {
    .page-layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    
    .main-content {
        padding: 2rem;
    }
    
    .modern-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem 0;
    }
    
    .stat-item {
        padding: 1.75rem 1.25rem;
    }
    
    .stat-item i {
        font-size: 2.25rem;
    }
    
    .stat-content h3 {
        font-size: 1.75rem;
    }
    
    .about-main-title {
        font-size: 2.5rem;
    }
    
    .about-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-cta-modern {
        flex-direction: row;
    }
}

@media (max-width: 1200px) {
    .tool-page-with-sidebar {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .tool-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    /* Blog pagination mobile */
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    /* Base64 and developer tools - radio buttons stack on mobile */
    .form-group div[style*="display: flex"] label {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    /* Base64 output - adjust copy button position */
    .result-box button[onclick*="copy"] {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Mobile responsive result boxes */
    .result-box {
        padding: 1rem;
        margin-top: 1.5rem;
        overflow-x: auto;
    }
    
    /* Make tables horizontally scrollable on mobile */
    .result-box table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-collapse: collapse;
    }
    
    .result-box table th,
    .result-box table td {
        white-space: nowrap;
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
    
    /* Make grid layouts stack on mobile */
    .result-box div[style*="display: grid"],
    .result-box div[style*="grid-template-columns"] {
        display: block !important;
    }
    
    .result-box div[style*="display: grid"] > div,
    .result-box div[style*="grid-template-columns"] > div {
        margin-bottom: 1rem;
    }
    
    /* Code blocks scrollable */
    .result-box pre,
    .result-box code,
    .result-box textarea {
        font-size: 0.8rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Buttons full width on mobile */
    .result-box button,
    .result-box .btn {
        width: 100%;
        margin: 0.5rem 0;
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    /* Tab buttons responsive */
    .result-box button[onclick*="Tab"],
    .plagiarism-tab {
        min-width: auto !important;
        width: 100% !important;
        margin: 0.25rem 0 !important;
        padding: 0.875rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    /* SVG score circles responsive */
    .result-box svg {
        max-width: 100px;
        height: auto;
    }
    
    .score-circle svg {
        width: 100px !important;
        height: 100px !important;
    }
    
    .score-text {
        font-size: 1.5rem !important;
    }
    
    /* Metric cards stack */
    .result-box div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Reduce padding on cards */
    .result-box > div {
        padding: 1rem !important;
    }
    
    .tool-container {
        margin: 0.5rem 0 2rem 0;
        padding: 1.5rem 1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    /* Tool header responsive on mobile */
    .tool-container h1 {
        font-size: 1.5rem !important;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .tool-container h2 {
        font-size: 1rem !important;
        line-height: 1.5;
        word-wrap: break-word;
        margin-top: 0.5rem;
    }
    
    .tool-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.75rem !important;
    }
    
    .tool-icon i {
        font-size: 1.75rem !important;
    }
    
    header {
        height: 60px;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 60px);
        background-color: var(--bg-secondary);
        border-left: 1px solid var(--border);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        border-radius: 0;
        transition: background-color 0.3s ease, padding-left 0.3s ease, transform 0.3s ease;
        transform: none;
    }
    
    .nav-links a:hover {
        background-color: var(--bg-tertiary);
        padding-left: 2rem;
        transform: none;
    }
    
    .nav-links a:hover i {
        transform: scale(1.15);
    }
    
    .theme-toggle {
        width: calc(100% - 3rem);
        margin: 0 1.5rem;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        text-align: left;
        justify-content: flex-start;
    }
    
    .hero h1, .hero-title {
        font-size: 2rem;
    }
    
    .tools-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 0;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-item i {
        font-size: 2rem;
    }
    
    .stat-content h3 {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .features-section {
        padding: 3rem 1rem;
        margin: 2rem 0;
    }
    
    .about-section-modern {
        padding: 4rem 1.5rem;
    }
    
    .about-main-title {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1.05rem;
    }
    
    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .glass-stat-card {
        padding: 2rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .glass-content-card {
        padding: 2rem;
    }
    
    .about-features-modern {
        gap: 0.75rem;
    }
    
    .feature-pill {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .about-cta-modern {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-glass {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .blog-section {
        padding: 3rem 0;
    }
    
    .all-tools-section {
        padding: 3rem 1rem;
    }
    
    .all-tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tool-box {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .tool-box:hover {
        transform: translateX(5px);
    }
    
    .tool-box-icon {
        width: 60px;
        height: 60px;
    }
    
    .tool-box-icon i {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    
    .tool-container {
        margin: 0.5rem 0 2rem 0;
        padding: 1.25rem 0.75rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    /* Extra small mobile optimizations for results */
    .result-box {
        padding: 0.75rem;
        border-radius: 0;
        margin-top: 1rem;
    }
    
    .result-box h3 {
        font-size: 1.1rem;
    }
    
    /* Tool header extra small screens */
    .tool-container h1 {
        font-size: 1.35rem !important;
    }
    
    .tool-container h2 {
        font-size: 0.9rem !important;
    }
    
    .tool-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
    }
    
    .tool-icon i {
        font-size: 1.5rem !important;
    }
    
    .result-box table th,
    .result-box table td {
        padding: 0.5rem 0.35rem;
        font-size: 0.8rem;
    }
    
    .result-box button,
    .result-box .btn {
        padding: 0.75rem 0.875rem;
        font-size: 0.875rem;
    }
    
    /* Score circles smaller on very small screens */
    .score-circle svg {
        width: 90px !important;
        height: 90px !important;
    }
    
    .score-text {
        font-size: 1.25rem !important;
    }
    
    /* Reduce heading sizes in results */
    .result-box div[style*="font-size: 2.5rem"] {
        font-size: 1.75rem !important;
    }
    
    .result-box div[style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
    }
    
    .result-box div[style*="font-size: 1.5rem"] {
        font-size: 1.25rem !important;
    }
    
    header {
        height: 55px;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo i {
        font-size: 1rem;
    }
    
    .mobile-menu-toggle {
        font-size: 1.35rem;
    }
    
    .nav-links {
        top: 55px;
        height: calc(100vh - 55px);
        width: 260px;
    }
    
    .nav-links a {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        gap: 0.65rem;
    }
    
    .nav-links a:hover {
        padding-left: 1.75rem;
    }
    
    .nav-links a:hover i {
        transform: scale(1.15);
    }
    
    .theme-toggle {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
}

/* How to Use Section */
.how-to-use-section {
    margin-top: 3rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.how-to-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.step-number {
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* About Tool Section Styling */
.about-tool-section {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.tool-about-content {
    line-height: 1.8;
    color: var(--text-primary);
    font-size: 1rem;
}

.tool-about-content p {
    margin-bottom: 1.25rem;
}

.tool-about-content ul {
    list-style-type: disc;
    list-style-position: inside;
    margin: 1rem 0;
    padding: 0;
}

.tool-about-content ul li {
    padding-left: 0.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.tool-about-content strong {
    color: var(--accent);
    font-weight: 600;
}

.tool-about-content a {
    color: var(--accent);
    text-decoration: underline;
}

.tool-about-content a:hover {
    text-decoration: none;
}

/* Related Tools Section */
.related-tools-section {
    margin-top: 4rem;
    padding: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.related-tool-card {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.related-tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.related-tool-card:hover::before {
    transform: scaleX(1);
}

.related-tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.related-tool-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}

.related-tool-card:hover .related-tool-icon {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
}

.related-tool-icon i {
    font-size: 2.25rem;
    color: white;
}

.related-tool-content {
    flex: 1;
}

.related-tool-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.3;
}

.related-tool-content p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.related-tool-category {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    border: 1.5px solid rgba(102, 126, 234, 0.2);
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
}

.related-tool-card:hover .related-tool-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.related-tool-arrow {
    margin-top: 1.5rem;
    width: 50px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    opacity: 0.7;
}

.related-tool-card:hover .related-tool-arrow {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scale(1.15);
    opacity: 1;
}

.related-tool-arrow i {
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.related-tool-card:hover .related-tool-arrow i {
    color: white;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .how-to-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .how-to-use-section {
        padding: 0;
        margin-top: 2rem;
    }
    
    .how-to-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .step-number {
        min-width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .related-tools-section {
        margin-top: 2.5rem;
    }
    
    .related-tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .related-tool-card {
        padding: 2rem 1.5rem;
    }
    
    .related-tool-card:hover {
        transform: translateY(-5px);
    }
    
    .related-tool-icon {
        width: 70px;
        height: 70px;
    }
    
    .related-tool-icon i {
        font-size: 2rem;
    }
    
    .related-tool-arrow {
        width: 45px;
        height: 45px;
    }
}

/* Legal Pages (Privacy, Terms, About) */
.legal-page, .about-page {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.legal-header, .about-hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    border-radius: 20px;
    color: white;
}

.legal-icon, .hero-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.legal-header h1, .about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-subtitle, .hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-intro, .hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 4rem;
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
}

.section-header i {
    font-size: 2rem;
    color: var(--accent);
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin: 0;
}

.section-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 1.5rem;
}

.section-content ul {
    list-style: none;
    padding: 0;
}

.section-content ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.section-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.25rem;
}

.info-card {
    display: flex;
    gap: 1.5rem;
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.card-icon {
    font-size: 3rem;
    color: var(--accent);
    flex-shrink: 0;
}

.card-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.usage-grid, .ip-grid, .tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.usage-item, .ip-item, .tech-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.usage-item:hover, .ip-item:hover, .tech-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.2);
}

.usage-item i, .ip-item i, .tech-item i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.usage-item h4, .ip-item h4, .tech-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.cookie-types, .cookie-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cookie-card {
    padding: 2rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cookie-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.cookie-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.security-features {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.security-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

.rights-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.right-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.right-item:hover {
    border-color: var(--accent);
    transform: translateX(5px);
}

.right-item i {
    font-size: 2.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.right-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.highlight-section {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border: 2px solid var(--accent);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 500;
}

.contact-item i {
    font-size: 1.5rem;
}

/* Terms Page Specific */
.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.term-card {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.term-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.term-icon i {
    font-size: 1.75rem;
    color: white;
}

.term-icon.prohibited {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.term-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.highlight-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(74, 144, 226, 0.1);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    margin-top: 1.5rem;
}

.highlight-box i {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.responsibility-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.responsibility-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.responsibility-item i {
    font-size: 2.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.responsibility-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.availability-info, .info-box {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-box {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.info-box i {
    font-size: 2.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.info-box h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.disclaimer-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.disclaimer-list li {
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #ef4444;
}

.liability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.liability-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.liability-item i {
    color: #ef4444;
    font-size: 1.5rem;
}

/* About Page Specific */
.mission-section {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.mission-content {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid var(--border);
    text-align: center;
}

.mission-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.story-section {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.story-content {
    display: grid;
    gap: 2rem;
}

.story-card {
    display: flex;
    gap: 2rem;
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.story-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.story-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.story-icon i {
    font-size: 2.5rem;
    color: white;
}

.story-text h3 {
    color: var(--text-primary);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.values-section {
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.2);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.offer-section, .stats-section, .tech-section {
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.offer-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.offer-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.offer-icon i {
    font-size: 2rem;
    color: var(--accent);
}

.offer-card h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-content {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.tech-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
}

.cta-section {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.cta-content {
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    padding: 4rem 3rem;
    border-radius: 20px;
    text-align: center;
    color: white;
}

.cta-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: var(--accent);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-section {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border);
    text-align: center;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    text-align: left;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.contact-method i {
    font-size: 2.5rem;
    color: var(--accent);
}

.contact-method h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-method p {
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive Design for Legal/About Pages */
@media (max-width: 768px) {
    .legal-header h1, .about-hero h1 {
        font-size: 2rem;
    }

    .legal-intro, .hero-subtitle {
        font-size: 1rem;
    }

    .legal-section {
        padding: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .info-card {
        flex-direction: column;
        text-align: center;
    }

    .terms-grid, .values-grid, .offer-grid {
        grid-template-columns: 1fr;
    }

    .story-card {
        flex-direction: column;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content {
        padding: 2.5rem 1.5rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Contact Page Styles */
.contact-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.contact-card .card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent), #667eea);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.contact-card .card-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #667eea;
    transform: translateX(5px);
}

.response-badge,
.hours-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(74, 171, 247, 0.1);
    color: var(--accent);
    padding: 0.75rem 1.25rem;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 1rem;
}

.response-badge i,
.hours-info i {
    font-size: 1.1rem;
}

/* Contact Form */
.contact-form {
    max-width: 800px;
    margin: 2rem auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.form-group label i {
    color: var(--accent);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(74, 171, 247, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--accent), #667eea);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(74, 171, 247, 0.3);
}

/* Alert Messages */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
}

.alert i {
    font-size: 1.5rem;
}

.alert-success {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-item {
    background: var(--bg-secondary);
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.faq-question i {
    color: var(--accent);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.faq-item:hover .faq-question i {
    transform: translateX(5px);
}

.faq-question h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin: 0;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive - Contact Page */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* 404 Error Page Styles */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.error-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.error-animation {
    position: relative;
    margin-bottom: 3rem;
}

.error-icon {
    font-size: 6rem;
    color: var(--accent);
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.floating-numbers {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 2rem 0;
}

.floating-numbers span {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.num-0 {
    animation-delay: 0.2s;
}

.num-4-2 {
    animation-delay: 0.4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.error-content h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.error-actions .btn-primary,
.error-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.error-actions .btn-primary {
    background: linear-gradient(135deg, var(--accent), #667eea);
    color: white;
}

.error-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 171, 247, 0.4);
}

.error-actions .btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.error-actions .btn-secondary:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.quick-links-section {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border);
}

.quick-links-section h2 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.quick-links-section h2 i {
    color: var(--accent);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quick-link-card i {
    font-size: 2.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.quick-link-card:hover i {
    transform: scale(1.2);
}

.quick-link-card span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.error-tips {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(74, 171, 247, 0.1);
    border-radius: 15px;
    border-left: 4px solid var(--accent);
}

.error-tips h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.error-tips h3 i {
    color: var(--accent);
}

.error-tips p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* Responsive - 404 Page */
@media (max-width: 768px) {
    .floating-numbers {
        font-size: 5rem;
        gap: 0.5rem;
    }

    .error-icon {
        font-size: 4rem;
    }

    .error-content h1 {
        font-size: 2rem;
    }

    .error-message {
        font-size: 1rem;
    }

    .error-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .error-actions .btn-primary,
    .error-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .quick-link-card {
        padding: 1.5rem 1rem;
    }

    .quick-link-card i {
        font-size: 2rem;
    }

    .quick-links-section {
        padding: 2rem 1rem;
    }
}

/* Tool Form Submit Button Loading States */
.btn-submit-tool {
    position: relative;
    transition: all 0.3s ease;
}

.btn-submit-tool .btn-text,
.btn-submit-tool .btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit-tool.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-submit-tool.loading .btn-text {
    display: none;
}

.btn-submit-tool.loading .btn-loader {
    display: inline-flex !important;
}

.btn-submit-tool .btn-loader i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.btn-submit-tool:not(.loading) .btn-loader {
    display: none;
}

.btn-submit-tool:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Related Posts Section */
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.related-post-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

/* Mobile Responsive for Related Posts */
@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
