/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover {
    opacity: 0.8;
    background: rgba(255,255,255,0.1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.mobile-menu-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-menu-toggle i {
    transition: transform 0.3s;
}

.mobile-menu-toggle.active i {
    transform: rotate(90deg);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.brand {
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Search Container */
.search-container {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

#searchInput {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #333;
}

#searchBtn {
    background: #667eea;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

#searchBtn:hover {
    background: #5a6fd8;
}

/* Categories Section */
.categories {
    padding: 4rem 0;
}

.categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

/* Filter Container */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.tool-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.tool-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.tool-category {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    /* Mobile Menu Styles */
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        gap: 0;
        padding: 80px 0 2rem 0;
        box-shadow: 2px 0 15px rgba(0,0,0,0.2);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        padding: 0;
        margin: 0;
    }
    
    .nav-menu a {
        display: flex;
        align-items: center;
        padding: 1.2rem 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: left;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .nav-menu a:hover {
        background: rgba(255,255,255,0.1);
        padding-left: 2.5rem;
    }
    
    .nav-menu a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: #ffd700;
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }
    
    .nav-menu a:hover::before {
        transform: scaleY(1);
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    /* Add menu header */
    .nav-menu::before {
        content: 'Menu';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        padding: 1.5rem 2rem;
        background: rgba(0,0,0,0.2);
        color: white;
        font-size: 1.2rem;
        font-weight: bold;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .header-content {
        flex-direction: row;
        gap: 0;
    }
    
    .filter-container {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hidden {
    display: none;
}

/* Calculator Page Styles */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: #6c757d;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
    color: #6c757d;
}

/* Calculator Section */
.calculator-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 200px);
}

.calculator-header {
    text-align: center;
    margin-bottom: 3rem;
}

.calculator-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.calculator-header h1 i {
    color: #667eea;
}

.calculator-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Calculator Container */
.calculator-container {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.calculator {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-width: 350px;
    width: 100%;
}

/* Display */
.display {
    margin-bottom: 1.5rem;
}

#display {
    width: 100%;
    height: 80px;
    font-size: 2rem;
    text-align: right;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: #f8f9fa;
    color: #333;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

/* Calculator Buttons */
.buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.btn {
    height: 60px;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Number buttons */
.btn.number {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e9ecef;
}

.btn.number:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

/* Operator buttons */
.btn.operator {
    background: #667eea;
    color: white;
}

.btn.operator:hover {
    background: #5a6fd8;
}

/* Clear buttons */
.btn.clear {
    background: #dc3545;
    color: white;
}

.btn.clear:hover {
    background: #c82333;
}

/* Equals button */
.btn.equals {
    background: #28a745;
    color: white;
}

.btn.equals:hover {
    background: #218838;
}

/* Zero button spans 2 columns */
.btn.zero {
    grid-column: span 2;
}

/* Calculator Features */
.calculator-features {
    margin-bottom: 4rem;
}

.calculator-features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature p {
    color: #666;
}

/* How to Use Section */
.how-to-use {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 4rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.how-to-use h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.how-to-use ol {
    max-width: 800px;
    margin: 0 auto;
}

.how-to-use li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.how-to-use strong {
    color: #667eea;
}

/* FAQ Section */
.faq-section {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .calculator-header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .calculator {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    #display {
        height: 70px;
        font-size: 1.5rem;
    }
    
    .btn {
        height: 50px;
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .how-to-use,
    .faq-section {
        padding: 2rem 1.5rem;
        margin: 0 1rem 2rem;
    }
    
    .breadcrumb {
        padding: 0.5rem 0;
    }
    
    .breadcrumb ol {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .calculator-section {
        padding: 2rem 0;
    }
    
    .calculator {
        padding: 1rem;
    }
    
    .buttons {
        gap: 0.5rem;
    }
    
    .btn {
        height: 45px;
        font-size: 0.9rem;
    }
    
    #display {
        height: 60px;
        font-size: 1.3rem;
        padding: 0.8rem;
    }
}

/* Accessibility improvements */
.btn:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

#display:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn.number {
        background: #ffffff;
        border: 3px solid #000000;
        color: #000000;
    }
    
    .btn.operator {
        background: #000000;
        color: #ffffff;
        border: 3px solid #000000;
    }
    
    .btn.clear {
        background: #cc0000;
        color: #ffffff;
        border: 3px solid #000000;
    }
    
    .btn.equals {
        background: #006600;
        color: #ffffff;
        border: 3px solid #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .btn,
    .feature,
    .tool-card {
        transition: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .feature:hover {
        transform: none;
    }
}
/* Scientific Calculator Styles */
.calculator.scientific {
    max-width: 450px;
}

.scientific-buttons {
    grid-template-columns: repeat(5, 1fr);
}

.btn.function {
    background: #17a2b8;
    color: white;
    font-size: 0.9rem;
}

.btn.function:hover {
    background: #138496;
}

/* Responsive adjustments for scientific calculator */
@media (max-width: 480px) {
    .calculator.scientific {
        padding: 1rem 0.5rem;
    }
    
    .scientific-buttons {
        gap: 0.3rem;
    }
    
    .btn.function {
        font-size: 0.7rem;
        padding: 0.3rem;
    }
    
    .btn {
        height: 40px;
        font-size: 0.8rem;
    }
}
/* Percentage Calculator Styles */
.percentage-calculators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.calc-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.calc-card:hover {
    transform: translateY(-5px);
}

.calc-card h3 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calc-inputs label {
    font-size: 1.1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.calc-inputs input {
    padding: 0.5rem;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    width: 80px;
    text-align: center;
}

.calc-inputs input:focus {
    outline: none;
    border-color: #667eea;
}

.result {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    min-height: 20px;
}

.result .highlight {
    color: #667eea;
    font-weight: bold;
    font-size: 1.1rem;
}

.result .error {
    color: #dc3545;
    font-weight: bold;
}

.result .positive {
    color: #28a745;
    font-weight: bold;
}

.result .negative {
    color: #dc3545;
    font-weight: bold;
}

.result small {
    color: #666;
    font-size: 0.9rem;
}

/* Mobile responsive for percentage calculator */
@media (max-width: 768px) {
    .percentage-calculators {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .calc-card {
        padding: 1.5rem;
    }
    
    .calc-inputs label {
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .calc-inputs input {
        width: 100px;
        margin: 0.2rem;
    }
}
/* AP Score Calculator Styles */
.exam-info {
    text-align: left;
}

.exam-info h4 {
    color: #667eea;
    margin: 1rem 0 0.5rem 0;
    font-size: 1.1rem;
}

.exam-info ul {
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.exam-info li {
    margin-bottom: 0.3rem;
    color: #666;
}

.ap-score-result {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.ap-score-result.score-5 {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
}

.ap-score-result.score-4 {
    background: linear-gradient(135deg, #cce5ff 0%, #b3d9ff 100%);
    border: 2px solid #007bff;
}

.ap-score-result.score-3 {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
}

.ap-score-result.score-2 {
    background: linear-gradient(135deg, #f8d7da 0%, #f1b0b7 100%);
    border: 2px solid #dc3545;
}

.ap-score-result.score-1 {
    background: linear-gradient(135deg, #e2e3e5 0%, #d1d3d4 100%);
    border: 2px solid #6c757d;
}

.main-score h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.main-score .highlight {
    font-size: 2.5rem;
    font-weight: bold;
}

.score-breakdown {
    margin: 1rem 0;
    text-align: left;
}

.score-breakdown h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.score-breakdown p {
    margin: 0.3rem 0;
    color: #555;
}

.score-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* Score interpretation features */
.feature.score-5 {
    border-left: 4px solid #28a745;
}

.feature.score-4 {
    border-left: 4px solid #007bff;
}

.feature.score-3 {
    border-left: 4px solid #ffc107;
}

.feature.score-2 {
    border-left: 4px solid #dc3545;
}
/* SEO Tools Styles */
.seo-tool-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-card h3 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.tool-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tool-inputs label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.tool-inputs textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 200px;
}

.tool-inputs textarea:focus,
.tool-inputs input:focus {
    outline: none;
    border-color: #667eea;
}

.tool-inputs input {
    padding: 0.8rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
}

.placeholder-text {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 2rem;
}

/* Analysis Results Styles */
.analysis-summary {
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.target-keyword-analysis {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.target-keyword-analysis h4 {
    color: #333;
    margin-bottom: 1rem;
}

.keyword-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.keyword-table th,
.keyword-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.keyword-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.keyword-table tr:hover {
    background: #f8f9fa;
}

/* Density Status Colors */
.low-density {
    color: #dc3545;
    font-weight: 600;
}

.good-density {
    color: #28a745;
    font-weight: 600;
}

.high-density {
    color: #ffc107;
    font-weight: 600;
}

.too-high-density {
    color: #dc3545;
    font-weight: 600;
}

.recommendations {
    background: #e7f3ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.recommendations h4 {
    color: #0066cc;
    margin-bottom: 1rem;
}

.recommendations ul {
    margin-left: 1.5rem;
}

.recommendations li {
    margin-bottom: 0.5rem;
    color: #333;
}

/* Mobile Responsive for SEO Tools */
@media (max-width: 768px) {
    .seo-tool-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tool-card {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .keyword-table {
        font-size: 0.9rem;
    }
    
    .keyword-table th,
    .keyword-table td {
        padding: 0.5rem;
    }
}