/* ============================================
   WORDSPACK - Main Stylesheet
   ============================================ */

:root {
    --primary-color: #3d7a7a;
    --secondary-color: #2d5a5a;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASIC STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.nav-brand:hover {
    opacity: 0.8;
}

.logo-img {
    height: 35px;
    width: 35px;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-brand h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
}

.nav-brand .tagline {
    font-size: 10px;
    color: var(--text-light);
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.account-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.account-button {
    background: white;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    padding: 7px 10px;
}

.account-button-primary {
    background: var(--primary-color);
    color: white;
}

.account-name {
    color: var(--text-light);
    font-size: 13px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        gap: 15px;
        font-size: 12px;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: #3d7a7a;
    color: white;
    padding: 24px 20px;
    text-align: center;
    border-radius: 20px;
    margin: 20px 20px;
}

.hero-logo {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.hero-logo-img {
    height: 70px;
    width: 70px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 800;
}

.hero p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.cta-button-outline {
    display: inline-block;
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 8px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.cta-button-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
}

/* ============================================
   ACTIVITY SECTION
   ============================================ */

.activity-section {
    padding: 40px 20px;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
}

.activity-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.activity-heading p {
    color: var(--text-light);
    font-size: 14px;
}

.activity-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.activity-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.activity-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.activity-item-tool {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.activity-item-data {
    font-size: 13px;
    color: var(--text-light);
    word-break: break-all;
}

.activity-item-time {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* ============================================
   TOOLS SECTION
   ============================================ */

.tools-section {
    padding: 60px 20px;
}

.tools-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-dark);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 15px;
    margin-bottom: 60px;
}

.tool-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.tool-icon {
    font-size: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
}

.tool-card-content {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tool-card h3 {
    font-size: 17px;
    margin-bottom: 0;
    color: var(--text-dark);
    font-weight: 600;
}

.tool-card p {
    color: var(--text-light);
    font-size: 12px;
    margin-bottom: 0;
}

.tool-link {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.tool-link:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .tool-card {
        padding: 12px;
        gap: 10px;
    }
    
    .tool-card h3 {
        font-size: 16px;
    }
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow);
}

.auth-modal-content {
    max-width: 460px;
}

.auth-form {
    padding: 30px;
}

.auth-message {
    color: var(--danger-color);
    font-size: 14px;
    margin-top: 12px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
    sticky: top;
    background: white;
}

.modal-header h2 {
    color: var(--text-dark);
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--text-dark);
}

.tool-container {
    padding: 30px;
}

/* ============================================
   TOOL INTERFACES
   ============================================ */

.tool-input-group {
    margin-bottom: 20px;
}

.tool-input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.tool-input-group input,
.tool-input-group textarea,
.tool-input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.tool-input-group input:focus,
.tool-input-group textarea:focus,
.tool-input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.tool-input-group textarea {
    resize: vertical;
    min-height: 150px;
}

.tool-button {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.tool-button:hover {
    background: var(--secondary-color);
}

.tool-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.tool-button.loading::after {
    content: ' ...';
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0%, 100% { content: ' ...'; }
    33% { content: ' .'; }
    66% { content: ' ..'; }
}

.tool-results {
    margin-top: 30px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.tool-results h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.tool-result-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.tool-result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.result-value {
    font-size: 18px;
    color: var(--text-dark);
    word-break: break-all;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.stat-box {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.error-message {
    background: #fee;
    color: var(--danger-color);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--danger-color);
    margin-bottom: 20px;
}

.success-message {
    background: #efe;
    color: var(--success-color);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--success-color);
    margin-bottom: 20px;
}

.wotd-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.wotd-intro {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
    background: #f4f9f9;
    border-left: 4px solid var(--primary-color);
    padding: 14px 16px;
    border-radius: 10px;
}

.wotd-control-row {
    display: flex;
    justify-content: flex-start;
}

.wotd-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 8px;
}

.wotd-date-label {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
}

.wotd-card {
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfb 100%);
    border: 1px solid #dfeaea;
    border-radius: 18px;
    padding: 24px 22px 20px;
    box-shadow: 0 12px 28px rgba(61, 122, 122, 0.08);
}

.wotd-word-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.wotd-word-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    text-transform: uppercase;
}

.wotd-word {
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    line-height: 1.05;
    font-weight: 800;
    color: var(--text-dark);
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.wotd-meta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.wotd-pronunciation,
.wotd-part {
    background: #ecf6f6;
    border: 1px solid #d5e9e9;
    border-radius: 999px;
    padding: 7px 12px;
    color: var(--secondary-color);
    font-size: 13px;
    font-weight: 600;
}

.wotd-detail-stack {
    display: grid;
    gap: 18px;
    margin-bottom: 18px;
}

.wotd-detail-item {
    border: 1px solid #edf2f2;
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
}

.wotd-detail-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 8px;
}

.wotd-definition {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.wotd-example {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    font-style: italic;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.wotd-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.wotd-listen,
.wotd-summary-listen,
.wotd-copy-btn,
.wotd-share-btn,
.wotd-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
}

.wotd-listen,
.wotd-summary-listen,
.wotd-mini-listen,
.wotd-copy-btn,
.wotd-share-btn,
.wotd-download-btn,
.wotd-style-choice,
.wotd-texture-choice {
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.wotd-listen,
.wotd-mini-listen,
.wotd-copy-btn,
.wotd-download-btn {
    background: var(--primary-color);
    color: #fff;
}

.wotd-summary-listen,
.wotd-share-btn,
.wotd-style-choice,
.wotd-texture-choice {
    background: #eaf5f5;
    color: var(--secondary-color);
    border: 1px solid #cce3e3;
}

.wotd-listen:hover,
.wotd-summary-listen:hover,
.wotd-mini-listen:hover,
.wotd-copy-btn:hover,
.wotd-share-btn:hover,
.wotd-download-btn:hover,
.wotd-style-choice:hover,
.wotd-texture-choice:hover {
    transform: translateY(-1px);
    filter: brightness(0.98);
}

.wotd-social-panel {
    margin-top: 18px;
    background: #f7fafb;
    border: 1px solid #e2ecec;
    border-radius: 14px;
    padding: 16px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 20px;
}

.wotd-social-panel.hidden {
    display: none;
}

.wotd-social-preview {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wotd-social-card {
    width: 100%;
    max-width: 100%;
    min-height: 320px;
    border-radius: 22px;
    padding: 26px 26px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
    color: white;
    position: relative;
    overflow: hidden;
    min-width: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.20) 1px, transparent 1.5px);
    background-size: 18px 18px;
    background-position: center;
    text-align: center;
}

.wotd-social-card::before {
    content: '';
    position: absolute;
    inset: 14px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 18px;
    pointer-events: none;
}

.wotd-social-card-word,
.wotd-social-card-def {
    position: relative;
    z-index: 1;
}

.wotd-social-card-word {
    margin-top: 20px;
    margin-bottom: 18px;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.06em;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
    text-align: center;
}

.wotd-social-card-def {
    font-size: 1.2rem;
    line-height: 1.45;
    opacity: 0.97;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
    letter-spacing: -0.02em;
    text-align: center;
}

.wotd-social-settings {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wotd-option-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wotd-option-group label {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-light);
}

.wotd-choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wotd-style-choice.active,
.wotd-texture-choice.active,
.wotd-palette-choice.active {
    box-shadow: 0 0 0 2px rgba(61, 122, 122, 0.2);
}

.wotd-palette-choice {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

.wotd-history {
    background: #fff;
    border: 1px solid #e7eeee;
    border-radius: 12px;
    padding: 18px;
}

.wotd-history h3 {
    margin: 0 0 14px;
    font-size: 18px;
    color: var(--text-dark);
}

.wotd-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wotd-history-item {
    padding: 12px 10px;
    border-bottom: 1px solid #edf2f2;
}

.wotd-history-item:last-child {
    border-bottom: none;
}

.wotd-history-date {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 6px;
    font-weight: 700;
}

.wotd-history-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.wotd-history-word {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
}

.wotd-mini-listen {
    padding: 6px 10px;
    font-size: 12px;
}

.wotd-history-definition {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-light);
}

.wotd-empty-history {
    color: var(--text-light);
    font-size: 14px;
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(61, 122, 122, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    padding: 30px 20px;
    background: var(--light-bg);
}

.faq-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-dark);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item h4 {
    margin-bottom: 6px;
    color: var(--text-dark);
    font-size: 15px;
}

.faq-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 13px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: 60px 20px;
}

.about-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-dark);
}

.about-section p {
    max-width: 800px;
    margin: 0 auto 20px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

.about-section p:last-child {
    margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 40px 20px 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 6px;
}

.footer-link {
    color: #999;
    font-size: 13px;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-credit {
    color: #999;
    transition: var(--transition);
}

.footer-credit:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
    font-size: 12px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.hidden {
    display: none !important;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-light);
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 576px) {
    .navbar .container {
        flex-direction: column;
        gap: 10px;
        padding: 10px 15px;
    }
    
    .nav-brand h1 {
        font-size: 20px;
    }
    
    .nav-menu {
        gap: 10px;
        font-size: 11px;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .tool-container {
        padding: 20px;
    }
}
