/* ========================================
   swimmingIT - Clean IT Theme v5
   Dark/Light mode, professional, SEO-optimized
   No duplication, modular architecture
   ======================================== */

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-light: #eff6ff;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.03);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.1), 0 8px 32px rgba(0,0,0,0.05);
    --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-soft: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --header-bg: rgba(255,255,255,0.9);
}

[data-theme="dark"] {
    --bg-primary: #0b1120;
    --bg-secondary: #111827;
    --bg-card: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #60a5fa;
    --accent-hover: #93c5fd;
    --accent-light: #1e3a5f;
    --border: #1e293b;
    --shadow: 0 1px 3px rgba(0,0,0,0.3), 0 4px 12px rgba(0,0,0,0.2);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.4), 0 8px 32px rgba(0,0,0,0.3);
    --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-soft: linear-gradient(135deg, #1e293b 0%, #312e81 100%);
    --header-bg: rgba(11,17,32,0.9);
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    transition: var(--transition);
    overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== Header ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.navbar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo-text { font-size: 1.4rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.5px; }
.logo-accent { color: var(--accent); }
.nav-menu { display: flex; gap: 1.75rem; align-items: center; }
.nav-link {
    color: var(--text-secondary); font-weight: 500; font-size: 0.95rem;
    position: relative; padding: 0.5rem 0;
}
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-link.active::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; background: var(--accent); border-radius: 2px;
}

/* Theme Toggle */
.theme-toggle {
    background: none; border: none; cursor: pointer;
    padding: 0.5rem; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); transition: var(--transition);
}
.theme-toggle:hover { background: var(--bg-secondary); color: var(--accent); }
.theme-toggle svg { fill: currentColor; }
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
.sun-icon { display: none; }
.moon-icon { display: block; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; }
.hamburger span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; }

/* ===== Hero ===== */
.hero { padding: 130px 0 70px; background: var(--gradient-soft); position: relative; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
    border-radius: 50%; opacity: 0.5;
}
.hero-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; position: relative; }
.hero-greeting { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.hero-title { font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; letter-spacing: -1px; }
.hero-accent { color: var(--accent); }
.hero-subtitle { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 1.5rem; font-weight: 500; }
.hero-description {
    font-size: 1rem; color: var(--text-secondary);
    padding: 1rem 1.5rem; border-left: 3px solid var(--accent);
    background: var(--bg-card); border-radius: 0 var(--radius) var(--radius) 0;
    margin-bottom: 2rem; box-shadow: var(--shadow); line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Terminal Card */
.hero-visual { display: flex; justify-content: center; }
.hero-card { background: #1e293b; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); width: 100%; max-width: 400px; font-family: 'Courier New', monospace; }
.hero-card-header { background: #334155; padding: 0.75rem 1rem; display: flex; align-items: center; gap: 0.5rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }
.hero-card-title { margin: 0 auto; color: #94a3b8; font-size: 0.8rem; }
.hero-card-body { padding: 1.5rem; color: #e2e8f0; font-size: 0.9rem; line-height: 1.8; }
.prompt { color: #60a5fa; font-weight: bold; }
.indent { padding-left: 1rem; color: #cbd5e1; }
.cursor { display: inline-block; width: 8px; height: 1.2em; background: #60a5fa; vertical-align: middle; animation: blink 1s infinite; }
@keyframes blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.75rem 1.75rem; border-radius: var(--radius);
    font-weight: 600; font-size: 1rem; transition: var(--transition);
    cursor: pointer; border: 2px solid transparent; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,0.4); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,0.5); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-full { width: 100%; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.85rem; }

/* ===== Section Title ===== */
.section-title { font-size: 2rem; font-weight: 700; margin-bottom: 2rem; text-align: center; letter-spacing: -0.5px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.section-header .section-title { margin-bottom: 0; text-align: left; }
.section-link { font-weight: 600; white-space: nowrap; color: var(--accent); }

/* ===== Services ===== */
.services-section { padding: 80px 0; background: var(--bg-primary); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem 1.5rem;
    text-align: center; transition: var(--transition); box-shadow: var(--shadow);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; color: var(--text-primary); }
.service-card > p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1rem; }
.service-list { text-align: left; display: flex; flex-direction: column; gap: 0.4rem; }
.service-list li { font-size: 0.85rem; color: var(--text-secondary); padding-left: 1.2rem; position: relative; }
.service-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: bold; }

/* ===== Featured Projects (Home) ===== */
.featured-projects { padding: 80px 0; background: var(--bg-secondary); }
.featured-projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.featured-project-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.75rem;
    transition: var(--transition); box-shadow: var(--shadow);
    display: block; color: inherit;
}
.featured-project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); color: inherit; }
.fp-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.featured-project-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--text-primary); }
.featured-project-card > p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
.fp-tech { font-size: 0.8rem; color: var(--accent); font-weight: 500; }

/* ===== Latest Blog (Home) ===== */
.latest-blog { padding: 80px 0; background: var(--bg-primary); }
.blog-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: var(--transition); box-shadow: var(--shadow); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-tag { display: inline-block; background: var(--accent-light); color: var(--accent); font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 20px; margin-bottom: 1rem; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--text-primary); line-height: 1.4; }
.blog-card > p { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.6; }
.blog-read-more { font-weight: 600; font-size: 0.9rem; color: var(--accent); }

/* ===== CTA Section ===== */
.cta-section { padding: 70px 0; background: var(--gradient); text-align: center; }
.cta-section h2 { font-size: 1.8rem; color: #fff; margin-bottom: 0.75rem; }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; font-size: 1.05rem; }
.cta-section .btn-primary { background: #fff; color: var(--accent); box-shadow: 0 4px 14px rgba(0,0,0,0.15); }
.cta-section .btn-primary:hover { background: var(--accent-light); }

/* ===== Footer ===== */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand .logo-text { font-size: 1.3rem; }
.footer-brand p { color: var(--text-secondary); margin-top: 0.5rem; font-size: 0.9rem; }
.footer-links h4, .footer-social h4 { font-size: 1rem; margin-bottom: 1rem; color: var(--text-primary); }
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.social-links { display: flex; flex-direction: column; gap: 0.5rem; }
.social-links a { color: var(--text-secondary); font-size: 0.9rem; }
.social-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.85rem; }

/* ===== Page Content ===== */
.page-content { padding: 110px 1.5rem 60px; max-width: 900px; }
.page-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.5px; }
.page-subtitle { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 2.5rem; font-style: italic; }

/* ===== About Page ===== */
.about-intro { display: flex; gap: 2rem; align-items: flex-start; margin-bottom: 3rem; padding: 2rem; background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.avatar-placeholder { font-size: 4rem; width: 110px; height: 110px; display: flex; align-items: center; justify-content: center; background: var(--gradient-soft); border-radius: 50%; flex-shrink: 0; }
.about-text .lead { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1rem; }
.about-text p { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem; }

.about-section { margin-bottom: 2.5rem; }
.about-section h2 { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--text-primary); }

/* Skills (Gọn) */
.skills-summary {
    font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8;
    padding: 1rem 1.5rem; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius);
    margin-bottom: 1rem;
}
.skills-tags-inline { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-pill {
    background: var(--accent-light); color: var(--accent);
    font-size: 0.8rem; font-weight: 600;
    padding: 0.35rem 1rem; border-radius: 20px;
}

/* Philosophy Quotes */
.quotes-list { display: flex; flex-direction: column; gap: 1rem; }
.quote-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow); transition: var(--transition);
}
.quote-card:hover { border-color: var(--accent); transform: translateX(4px); }
.quote-card p { font-size: 0.95rem; color: var(--text-primary); line-height: 1.7; font-style: italic; }
.quote-highlight { border-left-color: #f59e0b; background: linear-gradient(90deg, rgba(245,158,11,0.05) 0%, var(--bg-card) 100%); }
.quote-highlight p { font-weight: 600; color: var(--accent); font-style: normal; }

/* Info Table */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.info-table th { background: var(--bg-secondary); font-weight: 600; color: var(--text-primary); width: 180px; }
.info-table td { color: var(--text-secondary); }

/* About CTA */
.about-cta { text-align: center; padding: 3rem 2rem; background: var(--gradient-soft); border-radius: var(--radius-lg); margin-top: 2rem; }
.about-cta h2 { font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--text-primary); }
.about-cta p { color: var(--text-secondary); margin-bottom: 1.5rem; }

/* ===== Projects Page ===== */
.project-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.filter-btn { padding: 0.5rem 1.25rem; border: 1px solid var(--border); border-radius: 20px; background: var(--bg-card); color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: var(--transition); }
.filter-btn:hover, .filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.project-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); transition: var(--transition); display: flex; flex-direction: column; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.project-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.project-icon { font-size: 2rem; }
.project-status { font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 20px; }
.status-completed { background: #d1fae5; color: #065f46; }
.status-progress { background: #fef3c7; color: #92400e; }
[data-theme="dark"] .status-completed { background: #064e3b; color: #6ee7b7; }
[data-theme="dark"] .status-progress { background: #78350f; color: #fcd34d; }

.project-card h2 { font-size: 1.2rem; margin-bottom: 0.75rem; color: var(--text-primary); }
.project-card > p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1rem; flex-grow: 1; }
.project-tech { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.tech-tag { background: var(--accent-light); color: var(--accent); font-size: 0.75rem; font-weight: 500; padding: 0.2rem 0.6rem; border-radius: 4px; }
.project-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.project-link { font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.project-link:hover { text-decoration: underline; }

.project-cta { text-align: center; padding: 3rem 2rem; background: var(--gradient-soft); border-radius: var(--radius-lg); margin-top: 2rem; }
.project-cta h2 { font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--text-primary); }
.project-cta p { color: var(--text-secondary); margin-bottom: 1.5rem; }

/* ===== Blog Page ===== */
.blogger-notice { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; background: var(--accent-light); border-radius: var(--radius); margin-bottom: 2rem; flex-wrap: wrap; }
.notice-icon { font-size: 1.5rem; }
.blogger-notice p { flex: 1; font-size: 0.9rem; color: var(--text-primary); margin: 0; }
.blogger-notice strong { color: var(--accent); }

.external-badge { display: inline-block; background: #fef3c7; color: #92400e; font-size: 0.7rem; font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 4px; margin-left: 0.5rem; }
[data-theme="dark"] .external-badge { background: #78350f; color: #fcd34d; }

.blog-categories { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.cat-btn { padding: 0.5rem 1.25rem; border: 1px solid var(--border); border-radius: 20px; background: var(--bg-card); color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: var(--transition); }
.cat-btn:hover, .cat-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.blog-list { display: flex; flex-direction: column; gap: 0; }
.blog-post { padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.blog-post:last-of-type { border-bottom: none; }
.blog-post-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.blog-tag { display: inline-block; background: var(--accent-light); color: var(--accent); font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.75rem; border-radius: 20px; }
.blog-post-meta time { font-size: 0.85rem; color: var(--text-muted); }
.blog-post h2 { font-size: 1.25rem; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-post h2 a { color: var(--text-primary); }
.blog-post h2 a:hover { color: var(--accent); }
.blog-post > p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 0.75rem; }
.read-more { font-weight: 600; font-size: 0.9rem; color: var(--accent); }
.read-more:hover { text-decoration: underline; }

.blog-cta { text-align: center; padding: 3rem 2rem; background: var(--gradient-soft); border-radius: var(--radius-lg); margin-top: 3rem; }
.blog-cta h2 { font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--text-primary); }
.blog-cta p { color: var(--text-secondary); margin-bottom: 1.5rem; }

/* ===== Contact Page ===== */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contact-info h2, .contact-form-section h2 { font-size: 1.4rem; margin-bottom: 1.5rem; color: var(--text-primary); }

.contact-items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item h3 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.contact-item p a { font-size: 1rem; font-weight: 500; }

.contact-note { padding: 1.25rem; background: var(--accent-light); border-radius: var(--radius); margin-bottom: 1.5rem; }
.contact-note h3 { font-size: 0.95rem; margin-bottom: 0.5rem; color: var(--accent); }
.contact-note p { font-size: 0.88rem; color: var(--text-secondary); }

.platforms-list { margin-top: 1.5rem; padding: 1.25rem; background: var(--bg-secondary); border-radius: var(--radius); border: 1px solid var(--border); }
.platforms-list h3 { font-size: 0.95rem; margin-bottom: 0.75rem; color: var(--accent); }
.platforms-list ul { display: flex; flex-direction: column; gap: 0.5rem; }
.platforms-list li { font-size: 0.9rem; color: var(--text-secondary); padding-left: 0.5rem; }

.availability { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--text-secondary); }
.status-dot { width: 10px; height: 10px; background: #10b981; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--text-primary); }
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--bg-card); color: var(--text-primary); font-size: 1rem;
    font-family: inherit; transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light);
}
.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; }
.form-note code { background: var(--bg-secondary); padding: 0.15rem 0.4rem; border-radius: 4px; font-family: 'Courier New', monospace; font-size: 0.8rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; gap: 2rem; }
    .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .about-intro { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; position: absolute; top: 68px; left: 0; right: 0;
        flex-direction: column; background: var(--bg-primary);
        padding: 1.5rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    }
    .nav-menu.active { display: flex; }
    .hamburger { display: flex; }
    .hero { padding: 110px 0 50px; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; }
    .info-table th { width: 120px; font-size: 0.85rem; }
    .blogger-notice { flex-direction: column; align-items: flex-start; }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.service-card, .blog-card, .project-card, .quote-card {
    animation: fadeInUp 0.5s ease forwards;
}

/* ===== Honeypot (anti-bot) ===== */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
.hp-field input { display: none; }

/* ===== Form Message ===== */
.form-message {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: fadeInUp 0.3s ease;
}
.form-message[hidden] { display: none; }
.form-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}
[data-theme="dark"] .form-success {
    background: #064e3b;
    color: #a7f3d0;
    border-color: #059669;
}
.form-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}
[data-theme="dark"] .form-error {
    background: #450a0a;
    color: #fecaca;
    border-color: #dc2626;
}
.form-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #93c5fd;
}
[data-theme="dark"] .form-info {
    background: #1e3a5f;
    color: #bfdbfe;
    border-color: #3b82f6;
}

/* ===== Button States ===== */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
