* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #343a40;
    background-color: #fafafa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    flex: 1;
}

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

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #495057;
    max-width: 600px;
    margin: 0 auto;
}

.tools-section {
    margin-bottom: 3rem;
}

.tools-heading {
    text-align: center;
    font-size: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: absolute;
    left: -9999px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    justify-content: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.tool-card {
    width: 190px;
    height: 120px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1rem;
    text-align: center;
    box-shadow: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.tool-card:hover {
    background: rgba(248, 248, 255, 0.9);
    box-shadow: 0 12px 35px rgba(51, 105, 211, 0.15), 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-radius: 12px;
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.tool-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
}



.site-header {
    background: #f8f8ff;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.site-logo:hover {
    color: #3498db;
}

.header-nav {
    display: flex;
    gap: 2rem;
}

.header-nav a {
    color: #424242;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: #2c3e50;
    text-shadow: 0 1px 2px rgba(44, 62, 80, 0.1);
}

.login-btn {
    background: #3369d3;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(51, 105, 211, 0.2);
}

.login-btn:hover {
    background: #2980b9 !important;
    color: white !important;
}

.theme-toggle {
    background: none;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin-left: 1rem;
}

.theme-toggle:hover {
    border-color: #3498db;
    transform: scale(1.1);
}

.theme-icon {
    font-size: 1.2rem;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 0.3rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

[data-theme="dark"] .mobile-menu-toggle span {
    background: #e9ecef;
}

/* Search Styles */
.search-container {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.search-input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 2px solid #ced4da;
    border-radius: 25px;
    font-size: 0.9rem;
    background: white;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #3369d3;
    box-shadow: 0 0 0 3px rgba(51, 105, 211, 0.15);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-result-item {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #f8f9fa;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    background: #f8f9fa;
}

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

.search-result-icon {
    font-size: 1.2rem;
}

.search-result-text {
    font-size: 0.9rem;
    color: #2c3e50;
}

[data-theme="dark"] .search-input {
    background: #34495e;
    border-color: #95a5a6;
    color: #e9ecef;
}

[data-theme="dark"] .search-input:focus {
    border-color: #3369d3;
}

[data-theme="dark"] .search-results {
    background: #34495e;
    border-color: #2c3e50;
}

[data-theme="dark"] .search-result-item {
    border-bottom-color: #2c3e50;
    color: #e9ecef;
}

[data-theme="dark"] .search-result-item:hover {
    background: #2c3e50;
}

[data-theme="dark"] .search-result-text {
    color: #e9ecef;
}

/* Dark theme styles */
body.dark-mode {
    background-color: #1a1a1a !important;
    color: #e9ecef !important;
}

[data-theme="dark"] {
    background-color: #1a1a1a;
    color: #e9ecef;
}

[data-theme="dark"] .site-header {
    background: #2c3e50;
    border-bottom-color: #34495e;
}

[data-theme="dark"] .site-logo {
    color: #e9ecef;
}

[data-theme="dark"] .site-logo:hover {
    color: #3369d3;
}

[data-theme="dark"] .header-nav a {
    color: #bdc3c7;
}

[data-theme="dark"] .header-nav a:hover {
    color: #e9ecef;
}

[data-theme="dark"] .login-btn {
    background: #3369d3;
    color: white !important;
}

[data-theme="dark"] .login-btn:hover {
    background: #2854b8 !important;
    color: white !important;
}

[data-theme="dark"] .theme-toggle {
    border-color: #34495e;
}

[data-theme="dark"] .theme-toggle:hover {
    border-color: #3369d3;
}

[data-theme="dark"] .tool-card {
    background: transparent;
    color: #e9ecef;
}

[data-theme="dark"] .tool-card:hover {
    background: rgba(52, 73, 94, 0.8);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .tool-card h3 {
    color: #e9ecef;
}

[data-theme="dark"] .hero h1 {
    color: #e9ecef;
}

[data-theme="dark"] .hero p {
    color: #bdc3c7;
}

[data-theme="dark"] .page-header h1 {
    color: #e9ecef;
}

[data-theme="dark"] .about-content h2 {
    color: #e9ecef;
}

[data-theme="dark"] .about-content p,
[data-theme="dark"] .about-content li {
    color: #bdc3c7;
}

[data-theme="dark"] .principle-card {
    background: #34495e;
    border-color: #2c3e50;
}

[data-theme="dark"] .principle-card h3 {
    color: #e9ecef;
}

[data-theme="dark"] .principle-card p {
    color: #bdc3c7;
}

[data-theme="dark"] .category-section h2 {
    color: #e9ecef;
    border-bottom-color: #34495e;
}

[data-theme="dark"] .tool-header h1 {
    color: #e9ecef;
}

[data-theme="dark"] .back-link {
    color: #bdc3c7;
}

[data-theme="dark"] .back-link:hover {
    color: #e9ecef;
}

[data-theme="dark"] .input-group label {
    color: #e9ecef;
}

[data-theme="dark"] .input-group input,
[data-theme="dark"] textarea {
    background: #34495e;
    border-color: #2c3e50;
    color: #e9ecef;
}

[data-theme="dark"] .input-group input:focus,
[data-theme="dark"] textarea:focus {
    background: #2c3e50;
}

[data-theme="dark"] .result-display,
[data-theme="dark"] .stat-card {
    background: #34495e;
    border-color: #2c3e50;
}

[data-theme="dark"] .stat-label {
    color: #bdc3c7;
}

[data-theme="dark"] .input-label {
    color: #e9ecef;
}

[data-theme="dark"] .bmi-info {
    background: #34495e;
}

[data-theme="dark"] .bmi-info h3,
[data-theme="dark"] .bmi-info li {
    color: #e9ecef;
}

[data-theme="dark"] .result-display h3 {
    color: #e9ecef;
}

[data-theme="dark"] .result-display li {
    color: #bdc3c7;
}

/* FAQ Styles */
.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section-title {
    text-align: center;
    font-size: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: absolute;
    left: -9999px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #f8f9fa;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq-answer {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

[data-theme="dark"] .faq-item {
    background: #34495e;
    border-color: #2c3e50;
}

[data-theme="dark"] .faq-question {
    color: #e9ecef;
}

[data-theme="dark"] .faq-answer {
    color: #bdc3c7;
}

.quick-faq {
    background: #f5f5fa;
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 800px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(51, 105, 211, 0.06);
}

.quick-faq h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.quick-faq-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: all 0.3s ease;
}

.quick-faq-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.quick-faq-item h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.quick-faq-item p {
    color: #333;
    margin: 0;
    line-height: 1.5;
}

.view-all-faq {
    background: #2854b8;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(40, 84, 184, 0.3);
}

.view-all-faq:hover {
    background: #1e4a9f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 84, 184, 0.4);
}

.view-all-faq:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .quick-faq {
    background: #2c3e50;
}

[data-theme="dark"] .quick-faq h2 {
    color: #e9ecef;
}

[data-theme="dark"] .quick-faq-item {
    background: #34495e;
}

[data-theme="dark"] .quick-faq-item h3 {
    color: #e9ecef;
}

[data-theme="dark"] .quick-faq-item p {
    color: #bdc3c7;
}

/* Blog Styles */
.blog-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-card {
    background: #f8f8ff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(51, 105, 211, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 2px solid #f0f0f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(51, 105, 211, 0.15), 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-title {
    margin-bottom: 1rem;
}

.blog-link {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    transition: color 0.3s;
}

.blog-link:hover {
    color: #3498db;
}

.blog-summary {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #2854b8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover {
    color: #1e4a9f;
}

[data-theme="dark"] .blog-post-card {
    background: #34495e;
    border-color: #2c3e50;
}

[data-theme="dark"] .blog-link {
    color: #e9ecef;
}

[data-theme="dark"] .blog-link:hover {
    color: #3498db;
}

[data-theme="dark"] .blog-summary {
    color: #bdc3c7;
}

.blog-preview {
    background: #f5f5fa;
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(51, 105, 211, 0.06);
}

.blog-preview h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.blog-preview-card {
    background: #f8f8ff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(51, 105, 211, 0.08), 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.blog-preview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(51, 105, 211, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.blog-preview-card h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.blog-preview-card p {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.blog-preview-card a {
    color: #2854b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-preview-card a:hover {
    color: #1e4a9f;
}

.view-all-blog {
    background: #1e8449;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    margin-top: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(30, 132, 73, 0.3);
}

.view-all-blog:hover {
    background: #196f3d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 132, 73, 0.4);
}

.view-all-blog:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .blog-preview {
    background: #2c3e50;
}

[data-theme="dark"] .blog-preview h2 {
    color: #e9ecef;
}

[data-theme="dark"] .blog-preview-card {
    background: #34495e;
}

[data-theme="dark"] .blog-preview-card h3 {
    color: #e9ecef;
}

[data-theme="dark"] .blog-preview-card p {
    color: #bdc3c7;
}

/* Additional dark mode fixes */
.page-subtitle {
    font-size: 1.2rem;
    color: #424242;
    margin-bottom: 1.5rem;
}

.back-link {
    color: #424242;
    text-decoration: none;
    font-size: 1rem;
}

.back-link:hover {
    color: #2c3e50;
}

.about-content p {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-content ul {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.about-content li {
    margin-bottom: 0.8rem;
}

.principle-card p {
    color: #424242;
    font-size: 1rem;
    margin-bottom: 0;
}

.stat-label {
    font-size: 1rem;
    color: #424242;
    font-weight: 500;
}

[data-theme="dark"] .page-subtitle {
    color: #bdc3c7;
}

[data-theme="dark"] .back-link {
    color: #bdc3c7;
}

[data-theme="dark"] .back-link:hover {
    color: #e9ecef;
}

[data-theme="dark"] .result-card {
    background: #34495e;
    border-color: #2c3e50;
    color: #e9ecef;
}

[data-theme="dark"] .result-number {
    color: #e9ecef;
}

[data-theme="dark"] .result-number.generating {
    color: #3498db;
}

[data-theme="dark"] .bmi-result {
    background: #34495e;
    border-color: #2c3e50;
}

[data-theme="dark"] .bmi-value {
    color: #e9ecef;
}

[data-theme="dark"] .picked-item {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

[data-theme="dark"] .reset-btn {
    background: #e74c3c;
    color: white;
}

[data-theme="dark"] .reset-btn:hover {
    background: #c0392b;
}

/* Contact Page Styles */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-intro p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
}

.google-form {
    width: 100%;
    height: 1200px;
    border: none;
    max-width: 100%;
    margin-bottom: 2rem;
    background: transparent;
}

[data-theme="dark"] .google-form {
    filter: invert(0.9) hue-rotate(180deg) brightness(0.8) contrast(1.2);
}

.contact-info {
    text-align: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
}

.contact-info p {
    color: #333;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

[data-theme="dark"] .contact-intro p {
    color: #bdc3c7;
}



[data-theme="dark"] .contact-info {
    background: #2c3e50;
}

[data-theme="dark"] .contact-info p {
    color: #bdc3c7;
}

/* Word Counter dark mode fixes */
[data-theme="dark"] .stat-number {
    color: #3498db;
}

[data-theme="dark"] .stat-label {
    color: #bdc3c7;
}

[data-theme="dark"] .stat-card {
    background: #34495e;
    border-color: #2c3e50;
}

[data-theme="dark"] #textInput {
    background: #34495e;
    border-color: #2c3e50;
    color: #e9ecef;
}

[data-theme="dark"] #textInput:focus {
    background: #2c3e50;
    border-color: #3498db;
}

[data-theme="dark"] .input-label {
    color: #e9ecef;
}

.site-footer {
    background-color: #2c3e50;
    color: white;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    text-align: center;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #3498db;
}

.site-footer p {
    font-size: 0.9rem;
    margin: 0;
}

/* Mobile First Responsive Design */
@media (max-width: 768px) {
    /* Base mobile styles */
    * {
        box-sizing: border-box;
    }
    
    body {
        font-size: 16px;
        line-height: 1.6;
        -webkit-text-size-adjust: 100%;
        padding-top: 60px;
    }
    
    .container {
        padding: 1rem;
        max-width: 100%;
    }
    
    /* Mobile header fixes */
    .site-header {
        position: fixed;
        top: 0;
        z-index: 1000;
    }
    
    .header-content {
        padding: 0 1rem;
        height: 60px;
        gap: 1rem;
    }
    
    .search-container {
        display: none;
    }
    
    .site-logo {
        font-size: 1.2rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
        z-index: 1001;
    }
    
    .header-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        gap: 1rem;
        order: 4;
        width: 100%;
    }
    
    .header-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .header-nav a {
        display: block;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid #f1f3f4;
        font-size: 1.1rem;
        min-height: 44px;
        width: 100%;
    }
    
    .header-nav a:last-child {
        border-bottom: none;
    }
    
    .login-btn {
        display: block;
        width: 100%;
        padding: 1rem;
        text-align: center;
        margin: 1rem 0;
        font-size: 1.1rem;
        min-height: 44px;
    }
    
    .theme-toggle {
        width: 35px;
        height: 35px;
        margin: 0.5rem auto 0;
    }
    
    .theme-icon {
        font-size: 1rem;
    }
    
    [data-theme="dark"] .header-nav {
        background: #2c3e50;
    }
    
    [data-theme="dark"] .header-nav a {
        border-bottom-color: #34495e;
    }
    
    /* Mobile hero */
    .hero {
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .hero-benefit {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    /* Mobile tools grid */
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 2rem 0;
        padding: 0;
    }
    
    .tool-card {
        width: 100%;
        height: auto;
        min-height: 120px;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        min-width: 44px;
        -webkit-tap-highlight-color: transparent;
    }
    
    .tool-card:active {
        transform: scale(0.95);
        background: rgba(255, 255, 255, 0.9);
    }
    
    .tool-icon {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .tool-card h3 {
        font-size: 0.9rem;
        line-height: 1.2;
        margin: 0;
    }
    
    .page-header {
        padding-top: 1rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .about-content {
        padding: 0 1rem;
    }
    
    .about-content h2 {
        font-size: 1.5rem;
    }
    
    .about-content p,
    .about-content li {
        font-size: 1rem;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .principle-card {
        padding: 1.2rem;
    }
    
    .category-section h2 {
        font-size: 1.4rem;
    }
    
    .tool-header {
        padding-top: 1rem;
    }
    
    .tool-header h1 {
        font-size: 1.6rem;
    }
    
    .tool-content {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .input-section {
        gap: 1rem;
    }
    
    .input-group {
        width: 100%;
    }
    
    .input-group input {
        width: 100%;
        max-width: 200px;
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .input-group label {
        font-size: 1rem;
    }
    
    .generate-btn,
    .calculate-btn,
    .shuffle-btn,
    .pick-btn,
    .cosmic-btn,
    .draw-button,
    .ask-btn,
    .flip-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .result-card,
    .result-display,
    .bmi-result {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .result-number {
        font-size: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .stat-card {
        padding: 1.2rem 0.8rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    #textInput,
    #listInput {
        height: 200px;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .input-label {
        font-size: 1rem;
    }
    
    .reset-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .shuffle-btn,
    .pick-btn {
        width: 200px;
    }
    
    .footer-content {
        padding: 1rem 0.5rem;
    }
    
    .footer-links {
        margin-bottom: 0.8rem;
    }
    
    .footer-links {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
        margin-bottom: 1rem;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-links a {
        font-size: 0.8rem;
        padding: 0.3rem;
        text-align: center;
        margin: 0;
    }
    
    .faq-content {
        padding: 0 1rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-question {
        font-size: 1.1rem;
    }
    
    .faq-answer {
        font-size: 1rem;
    }
    
    .quick-faq {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
    
    .quick-faq h2 {
        font-size: 1.5rem;
    }
    
    .quick-faq-item {
        padding: 1.2rem;
    }
    
    .blog-content {
        padding: 0 1rem;
    }
    
    .blog-post-card {
        padding: 1.5rem;
    }
    
    .blog-link {
        font-size: 1.2rem;
    }
    
    .blog-summary {
        font-size: 1rem;
    }
    
    .blog-preview {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
    
    .blog-preview h2 {
        font-size: 1.5rem;
    }
    
    .blog-preview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .blog-preview-card {
        padding: 1.2rem;
    }
    
    .contact-content {
        padding: 0 1rem;
    }
    
    .form-container {
        padding: 1rem;
    }
    

    
    .form-container {
        overflow-x: auto;
    }
    
    .contact-intro p {
        font-size: 1rem;
    }
}

    /* Mobile tool pages */
    .tool-header {
        text-align: center;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .tool-header h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .tool-content {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* Mobile forms */
    .input-section {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .input-group {
        width: 100%;
    }
    
    .input-group label {
        display: block;
        font-size: 1rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }
    
    .input-group input,
    .input-group select,
    .input-group textarea {
        width: 100%;
        padding: 1rem;
        font-size: 16px;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        box-sizing: border-box;
        -webkit-appearance: none;
    }
    
    /* Mobile buttons */
    button,
    .btn,
    .generate-btn,
    .calculate-btn,
    .shuffle-btn,
    .pick-btn,
    .cosmic-btn,
    .draw-button,
    .ask-btn,
    .flip-btn,
    .convert-btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        margin: 1rem 0;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        min-height: 44px;
        -webkit-appearance: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    button:active,
    .btn:active {
        transform: scale(0.95);
    }
    
    /* Mobile results */
    .result-card,
    .result-display,
    .bmi-result {
        width: 100%;
        margin: 1rem 0;
        padding: 1.5rem;
        border-radius: 12px;
        text-align: center;
    }
    
    .result-number {
        font-size: 3rem;
        margin: 1rem 0;
    }
    
    /* Mobile stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin: 1rem 0;
    }
    
    .stat-card {
        padding: 1rem;
        text-align: center;
        border-radius: 8px;
    }
    
    .stat-number {
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Mobile text areas */
    #textInput,
    #listInput {
        width: 100%;
        min-height: 200px;
        padding: 1rem;
        font-size: 16px;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        resize: vertical;
        box-sizing: border-box;
    }
    
    /* Mobile FAQ */
    .quick-faq,
    .faq-content {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .faq-question {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .faq-answer {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Mobile blog */
    .blog-content {
        padding: 0 1rem;
    }
    
    .blog-post-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .blog-link {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .blog-summary {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* Mobile contact */
    .contact-content {
        padding: 0 1rem;
    }
    
    .google-form {
        width: 100%;
        height: 800px;
        border: none;
    }
    
    /* Mobile footer */
    .new-footer {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .footer-links a {
        font-size: 1rem;
        padding: 0.5rem;
    }
    
    .footer-meta {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .security-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Security badges mobile */
    .security-badges {
        gap: 0.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
    
    .trust-badge {
        min-width: auto;
        padding: 0.8rem;
    }
    
    /* Blog post mobile */
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .post-content {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.2rem;
    }
    
    /* Dark mode mobile */
    body.dark-mode .nav-menu {
        background: #2c3e50;
    }
    
    body.dark-mode .nav-link {
        border-bottom-color: #34495e;
    }
    
    body.dark-mode .mobile-toggle span {
        background: #e9ecef;
    }
}

@media (max-width: 480px) {
    .container { padding: 0.5rem; }
    .hero h1 { font-size: 1.6rem; }
    .tools-grid { gap: 0.8rem; }
    .tool-card { min-height: 100px; padding: 0.8rem; }
    .tool-icon { font-size: 2rem; }
    .tool-card h3 { font-size: 0.8rem; }
    .stats-grid { grid-template-columns: 1fr; }
    
    .site-logo {
        font-size: 1rem;
    }
    
    .header-nav {
        top: 65px;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }
    
    .theme-toggle {
        width: 30px;
        height: 30px;
    }
    
    .tool-header h1 {
        font-size: 1.4rem;
    }
    
    .input-section {
        flex-direction: column;
        align-items: center;
    }
    
    .input-group input {
        max-width: 150px;
    }
    
    .generate-btn,
    .calculate-btn {
        max-width: 250px;
    }
    
    .result-card {
        max-width: 250px;
        height: 200px;
    }
    
    .result-number {
        font-size: 2.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    #textInput,
    #listInput {
        height: 150px;
        padding: 0.8rem;
    }
}

@media (min-width: 1024px) {
    .mobile-toggle { display: none; }
    .nav-menu { position: static; transform: none; opacity: 1; visibility: visible; flex-direction: row; padding: 0; box-shadow: none; background: transparent; max-height: none; overflow: visible; gap: 2rem; }
    .nav-link { display: inline-block; padding: 0.5rem 1rem; border-bottom: none; margin: 0; width: auto; min-height: auto; text-align: left; }
    .auth-btn { display: inline-block; width: auto; margin: 0; padding: 0.75rem 1.5rem; min-height: auto; }
    .tools-grid { grid-template-columns: repeat(6, 1fr); }
    .tool-card { width: 190px; height: 120px; }
    .tool-card:hover { background: rgba(255, 255, 255, 0.8); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); transform: translateY(-2px); }
    .input-section { flex-direction: row; align-items: end; gap: 2rem; }
    .input-group { flex: 1; }
    button, .btn { width: auto; min-width: 200px; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-links { flex-direction: row; justify-content: center; flex-wrap: wrap; }
    .footer-meta { flex-direction: row; justify-content: space-between; }
    .legal-links { flex-direction: row; }
    .security-info { flex-direction: row; }
}

/* Security Badges */
.security-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 15px;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    color: #212529;
    transition: all 0.3s;
}

.badge:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: translateY(-1px);
}

.badge-icon {
    font-size: 0.8rem;
}

.badge-text {
    font-weight: 600;
}

[data-theme="dark"] .badge {
    background: #e9ecef;
    border-color: #ced4da;
    color: #212529;
}

[data-theme="dark"] .badge:hover {
    background: rgba(52, 152, 219, 0.25);
}

.trust-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.trust-section h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 120px;
}

.trust-badge-icon {
    font-size: 2rem;
}

.trust-badge-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.trust-badge-desc {
    font-size: 0.75rem;
    color: #424242;
    text-align: center;
}

[data-theme="dark"] .trust-section {
    background: #2c3e50;
}

[data-theme="dark"] .trust-section h3 {
    color: #e9ecef;
}

[data-theme="dark"] .trust-badge {
    background: #34495e;
}

[data-theme="dark"] .trust-badge-title {
    color: #e9ecef;
}

[data-theme="dark"] .trust-badge-desc {
    color: #bdc3c7;
}

/* Blog Post Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 2rem;
}

.post-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.post-date {
    color: #424242;
    font-size: 0.9rem;
}

.post-content {
    font-size: 1.1rem;
    color: #333;
}

.post-content h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.post-content h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
}

.post-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.post-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.post-content a:hover {
    color: #2980b9;
    text-decoration: underline;
}

[data-theme="dark"] .post-header {
    border-bottom-color: #34495e;
}

[data-theme="dark"] .post-header h1 {
    color: #e9ecef;
}

[data-theme="dark"] .post-date {
    color: #bdc3c7;
}

[data-theme="dark"] .post-content {
    color: #e9ecef;
}

[data-theme="dark"] .post-content h2,
[data-theme="dark"] .post-content h3 {
    color: #e9ecef;
    border-bottom-color: #34495e;
}

/* Additional dark mode fixes for all content */
body.dark-mode * {
    border-color: #404040 !important;
}

body.dark-mode .container {
    background: transparent;
}

body.dark-mode .page-header h1,
body.dark-mode .hero h1,
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
    color: #e9ecef !important;
}

body.dark-mode p, body.dark-mode span, body.dark-mode div, body.dark-mode li {
    color: #bdc3c7 !important;
}

body.dark-mode a {
    color: #4a9eff !important;
}

body.dark-mode a:hover {
    color: #66b3ff !important;
}

body.dark-mode input, body.dark-mode textarea, body.dark-mode select {
    background: #2d2d2d !important;
    border-color: #404040 !important;
    color: #e9ecef !important;
}

body.dark-mode button {
    background: #3369d3 !important;
    color: white !important;
    border-color: #3369d3 !important;
}

body.dark-mode .tool-card {
    background: rgba(45, 45, 45, 0.3) !important;
    color: #e9ecef !important;
}

body.dark-mode .tool-card:hover {
    background: rgba(45, 45, 45, 0.8) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5) !important;
}

body.dark-mode .principle-card,
body.dark-mode .faq-item,
body.dark-mode .blog-post-card,
body.dark-mode .blog-preview-card,
body.dark-mode .quick-faq-item,
body.dark-mode .contact-info,
body.dark-mode .trust-badge {
    background: #2d2d2d !important;
    border-color: #404040 !important;
}

body.dark-mode .quick-faq,
body.dark-mode .blog-preview,
body.dark-mode .trust-section {
    background: #2d2d2d !important;
}

body.dark-mode .site-footer {
    background: #1a1a1a !important;
    border-top: 1px solid #404040 !important;
}

body.dark-mode .badge {
    background: #404040 !important;
    color: #e9ecef !important;
    border-color: #555 !important;
}

/* Mobile First Responsive Design */
@media (max-width: 768px) {
    /* Base mobile styles */
    * {
        box-sizing: border-box;
    }
    
    body {
        font-size: 16px;
        line-height: 1.6;
        -webkit-text-size-adjust: 100%;
        padding-top: 60px;
    }
    
    .container {
        padding: 1rem;
        max-width: 100%;
    }
    
    /* Mobile header fixes */
    .site-header {
        position: fixed;
        top: 0;
        z-index: 1000;
    }
    
    .header-container {
        padding: 0 1rem;
        height: 60px;
    }
    
    .logo {
        height: 35px;
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid #f1f3f4;
        font-size: 1.1rem;
        min-height: 44px;
        width: 100%;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .auth-btn {
        display: block;
        width: 100%;
        padding: 1rem;
        text-align: center;
        margin: 1rem 0;
        font-size: 1.1rem;
        min-height: 44px;
    }
    
    /* Mobile hero */
    .hero {
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .hero-benefit {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    /* Mobile tools grid */
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .tool-card {
        width: 100%;
        height: auto;
        min-height: 120px;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        min-width: 44px;
        -webkit-tap-highlight-color: transparent;
    }
    
    .tool-card:active {
        transform: scale(0.95);
        background: rgba(255, 255, 255, 0.9);
    }
    
    .tool-icon {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .tool-card h3 {
        font-size: 0.9rem;
        line-height: 1.2;
        margin: 0;
    }
    
    /* Mobile tool pages */
    .tool-header {
        text-align: center;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .tool-header h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .tool-content {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* Mobile forms */
    .input-section {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .input-group {
        width: 100%;
    }
    
    .input-group label {
        display: block;
        font-size: 1rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }
    
    .input-group input,
    .input-group select,
    .input-group textarea {
        width: 100%;
        padding: 1rem;
        font-size: 16px;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        box-sizing: border-box;
        -webkit-appearance: none;
    }
    
    /* Mobile buttons */
    button,
    .btn,
    .generate-btn,
    .calculate-btn,
    .shuffle-btn,
    .pick-btn,
    .cosmic-btn,
    .draw-button,
    .ask-btn,
    .flip-btn,
    .convert-btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        margin: 1rem 0;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        min-height: 44px;
        -webkit-appearance: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    button:active,
    .btn:active {
        transform: scale(0.95);
    }
    
    /* Mobile results */
    .result-card,
    .result-display,
    .bmi-result {
        width: 100%;
        margin: 1rem 0;
        padding: 1.5rem;
        border-radius: 12px;
        text-align: center;
    }
    
    .result-number {
        font-size: 3rem;
        margin: 1rem 0;
    }
    
    /* Mobile stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin: 1rem 0;
    }
    
    .stat-card {
        padding: 1rem;
        text-align: center;
        border-radius: 8px;
    }
    
    .stat-number {
        font-size: 1.8rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Mobile text areas */
    #textInput,
    #listInput {
        width: 100%;
        min-height: 200px;
        padding: 1rem;
        font-size: 16px;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        resize: vertical;
        box-sizing: border-box;
    }
    
    /* Mobile FAQ */
    .quick-faq,
    .faq-content {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
    
    .faq-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .faq-question {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .faq-answer {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Mobile blog */
    .blog-content {
        padding: 0 1rem;
    }
    
    .blog-post-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .blog-link {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .blog-summary {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* Mobile contact */
    .contact-content {
        padding: 0 1rem;
    }
    
    .google-form {
        width: 100%;
        height: 800px;
        border: none;
    }
    
    /* Mobile footer */
    .new-footer {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .footer-links a {
        font-size: 1rem;
        padding: 0.5rem;
    }
    
    .footer-meta {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .security-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Security badges mobile */
    .security-badges {
        gap: 0.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
    
    .trust-badge {
        min-width: auto;
        padding: 0.8rem;
    }
    
    /* Blog post mobile */
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .post-content {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.2rem;
    }
    
    /* Dark mode mobile */
    body.dark-mode .nav-menu {
        background: #2c3e50;
    }
    
    body.dark-mode .nav-link {
        border-bottom-color: #34495e;
    }
    
    body.dark-mode .mobile-toggle span {
        background: #e9ecef;
    }
}

@media (max-width: 480px) {
    .container { padding: 0.5rem; }
    .hero h1 { font-size: 1.6rem; }
    .tools-grid { gap: 0.8rem; }
    .tool-card { min-height: 100px; padding: 0.8rem; }
    .tool-icon { font-size: 2rem; }
    .tool-card h3 { font-size: 0.8rem; }
    .stats-grid { grid-template-columns: 1fr; }
}

@media (min-width: 1024px) {
    .mobile-toggle { display: none; }
    .nav-menu { position: static; transform: none; opacity: 1; visibility: visible; flex-direction: row; padding: 0; box-shadow: none; background: transparent; max-height: none; overflow: visible; gap: 2rem; }
    .nav-link { display: inline-block; padding: 0.5rem 1rem; border-bottom: none; margin: 0; width: auto; min-height: auto; text-align: left; }
    .auth-btn { display: inline-block; width: auto; margin: 0; padding: 0.75rem 1.5rem; min-height: auto; }
    .tools-grid { grid-template-columns: repeat(6, 1fr); }
    .tool-card { width: 190px; height: 120px; }
    .tool-card:hover { background: rgba(255, 255, 255, 0.8); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); transform: translateY(-2px); }
    .input-section { flex-direction: row; align-items: end; gap: 2rem; }
    .input-group { flex: 1; }
    button, .btn { width: auto; min-width: 200px; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-links { flex-direction: row; justify-content: center; flex-wrap: wrap; }
    .footer-meta { flex-direction: row; justify-content: space-between; }
    .legal-links { flex-direction: row; }
    .security-info { flex-direction: row; }
}