:root {
    /* New Color Scheme - Modern Emerald & Slate Theme */
    --primary-color: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --primary-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
   
    /* Secondary Colors */
    --secondary-color: #8b5cf6;
    --secondary-dark: #7c3aed;
    --secondary-light: #a78bfa;
   
    /* Accent Colors */
    --accent-color: #f59e0b;
    --accent-dark: #d97706;
    --accent-light: #fbbf24;
   
    /* Background Colors */
    --bg-color: #111827;
    --card-bg: #1f2937;
    --section-bg: #1f2937;
    --header-bg: #1f2937;
   
    /* Text Colors */
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #6b7280;
   
    /* Border & Shadows */
    --border-color: #374151;
    --border-light: #4b5563;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 12px 40px rgba(16, 185, 129, 0.15);
   
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-dark: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    --gradient-card: linear-gradient(145deg, #1f2937 0%, #374151 100%);
   
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
   
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
}

[data-theme="light"] {
    --bg-color: #ffffff;
    --card-bg: #f8fafc;
    --section-bg: #f1f5f9;
    --header-bg: #ffffff;
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --border-light: #d1d5db;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.12);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

/* All other CSS remains exactly the same - only color variables have been updated */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
.header {
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .logo-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo .logo-link:hover {
    transform: scale(1.05);
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    list-style: none;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.nav-link.active {
    background: var(--primary-color);
    color: white;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-sm);
    background: none;
    border: none;
}

.bar {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.theme-toggle {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: var(--space-sm);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-hover);
}

/* Main Content */
.main-content {
    min-height: 100vh;
    padding-top: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-xl) 0;
    min-height: 80vh;
}

.hero-content {
    padding-right: var(--space-lg);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-graphics {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.graphic-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 50px;
    right: 0;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 100px;
    left: 0;
    animation-delay: 4s;
}

.hero-icon {
    font-size: 8rem;
    color: var(--primary-color);
    z-index: 2;
    animation: bounce 2s ease-in-out infinite;
    opacity: 0.8;
}

/* Tools Section */
.tools-section {
    padding: var(--space-xl) 0;
    background: var(--section-bg);
    border-radius: var(--radius-xl);
    margin: var(--space-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    max-width: 1100px;
    margin: 0 auto;
}

.tool-card {
    background: var(--gradient-card);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.tool-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
}

.tool-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.tool-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--primary-gradient);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    box-shadow: var(--shadow);
}

.tool-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow);
}

.tool-icon i {
    font-size: 1.8rem;
    color: white;
}

.tool-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.tool-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
    font-size: 0.95rem;
}

.tool-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.feature-tag i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-card {
    width: 100%;
    justify-content: center;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: var(--space-md);
}

.btn-card:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: var(--space-lg) var(--space-xl);
    font-size: 1.1rem;
}

/* Stats Section */
.stats-section {
    padding: var(--space-xl) 0;
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    margin: var(--space-xl) 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    padding: var(--space-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: var(--space-xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    box-shadow: var(--shadow);
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Article Section */
.article-section {
    padding: var(--space-xl) 0;
    background: var(--section-bg);
    border-radius: var(--radius-xl);
    margin: var(--space-xl) 0;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.seo-article {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.seo-article h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    line-height: 1.3;
    text-align: center;
}

.seo-article h3 {
    color: var(--text-primary);
    margin: 2.5rem 0 1rem 0;
    font-size: 1.4rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.seo-article p {
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.article-download {
    text-align: center;
    padding: 3rem;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
}

.article-download h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.article-download p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* CTA Section */
.cta-section {
    padding: var(--space-xl) 0;
    text-align: center;
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    margin: var(--space-xl) 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--bg-color);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Results Section */
.results {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.thumbnail-card {
    background: var(--bg-color);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease;
}

.thumbnail-card:hover {
    transform: translateY(-5px);
}

.thumbnail-card img {
    max-width: 100%;
    height: auto;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.tags-container {
    background: var(--bg-color);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    margin: 0.25rem;
    font-size: 0.875rem;
}

/* Footer Styles - Updated Colors */
.footer {
    background: var(--gradient-dark);
    color: var(--text-primary);
    margin-top: var(--space-xl);
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer-main {
    padding: var(--space-xl) 0 var(--space-lg);
    background: var(--section-bg);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-xl);
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--card-bg);
    color: var(--primary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links li a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: var(--space-xs) 0;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
}

.footer-links li a i {
    color: var(--primary-color);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-links li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    background: rgba(16, 185, 129, 0.1);
    padding-left: var(--space-sm);
}

.footer-links li a:hover i {
    transform: translateX(3px);
    color: var(--primary-light);
}

.footer-newsletter-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.newsletter-form {
    margin-bottom: var(--space-lg);
}

.input-group {
    display: flex;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.newsletter-input {
    flex: 1;
    padding: var(--space-md);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input::placeholder {
    color: var(--text-muted);
}

.newsletter-btn {
    padding: var(--space-md) var(--space-lg);
    background: var(--primary-gradient);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: var(--space-xs) var(--space-sm);
    background: var(--card-bg);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-color);
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* Footer Bottom */
.footer-bottom {
    background: var(--gradient-primary);
    padding: var(--space-lg) 0;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.footer-bottom-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    border: 2px solid white;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-hover);
}

/* Footer Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: slideUp 0.6s ease-out;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

/* Footer Responsive Design */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
   
    .footer-section:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: var(--space-lg) 0;
    }
   
    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding: 0 var(--space-md);
    }
   
    .footer-section:last-child {
        grid-column: 1;
    }
   
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
   
    .footer-social {
        justify-content: center;
    }
   
    .footer-logo {
        justify-content: center;
    }
   
    .scroll-to-top {
        bottom: var(--space-md);
        right: var(--space-md);
        width: 45px;
        height: 45px;
    }
    .footer-links li a:hover {
        transform: translateX(3px);
        padding-left: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 var(--space-sm);
    }
   
    .footer-main {
        padding: var(--space-lg) 0 var(--space-md);
    }
   
    .footer-logo {
        font-size: 1.3rem;
    }
   
    .footer-logo i {
        font-size: 1.8rem;
    }
   
    .footer-heading {
        font-size: 1.1rem;
    }
   
    .input-group {
        flex-direction: column;
    }
   
    .newsletter-input {
        padding: var(--space-md);
    }
   
    .newsletter-btn {
        padding: var(--space-sm);
    }
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Enhanced Footer Effects */
.footer-section {
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 2px;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-section:hover::before {
    opacity: 1;
}

/* Newsletter Success States */
.newsletter-form.success .input-group {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.newsletter-form.success .newsletter-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Social Media Specific Colors */
.social-link:nth-child(1):hover { background: #1877f2; border-color: #1877f2; } /* Facebook */
.social-link:nth-child(2):hover { background: #1da1f2; border-color: #1da1f2; } /* Twitter */
.social-link:nth-child(3):hover { background: #e4405f; border-color: #e4405f; } /* Instagram */
.social-link:nth-child(4):hover { background: #ff0000; border-color: #ff0000; } /* YouTube */

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(-50%); }
    50% { transform: translateY(-20px) translateX(-50%); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Animations */
.footer-section {
    animation: slideUp 0.6s ease-out;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
   
    .footer-section:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--header-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: var(--space-lg) 0;
        gap: 0;
        border-top: 1px solid var(--border-color);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-toggle {
        display: flex;
    }
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
        padding: var(--space-lg) 0;
    }
    .hero-content {
        padding-right: 0;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .tools-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    .tool-card.featured {
        transform: none;
    }
    .tool-card.featured:hover {
        transform: translateY(-8px);
    }
    .container {
        padding: 0 var(--space-md);
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    .footer-main {
        padding: var(--space-lg) 0;
    }
   
    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding: 0 var(--space-md);
    }
   
    .footer-section:last-child {
        grid-column: 1;
    }
   
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
   
    .footer-social {
        justify-content: center;
    }
   
    .footer-logo {
        justify-content: center;
    }
   
    .scroll-to-top {
        bottom: var(--space-md);
        right: var(--space-md);
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 var(--space-sm);
    }
   
    .footer-main {
        padding: var(--space-lg) 0 var(--space-md);
    }
   
    .footer-logo {
        font-size: 1.3rem;
    }
   
    .footer-logo i {
        font-size: 1.8rem;
    }
   
    .footer-heading {
        font-size: 1.1rem;
    }
   
    .input-group {
        flex-direction: column;
    }
   
    .newsletter-input {
        padding: var(--space-md);
    }
   
    .newsletter-btn {
        padding: var(--space-sm);
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .stats-container {
        grid-template-columns: 1fr;
    }
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.hidden {
    display: none;
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: var(--space-lg);
}

.mb-2 {
    margin-bottom: var(--space-lg);
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

.notification {
    animation: slideInRight 0.3s ease;
}