/* ==========================================================================
   Design System & Tokens (Simple Refined Gray Tone Theme)
   ========================================================================== */
:root {
    /* Minimal Gray Tone Palette */
    --bg-dark: #121214;
    --bg-surface: #18181b;
    --bg-card: rgba(28, 28, 32, 0.75);
    --bg-card-hover: rgba(38, 38, 44, 0.9);
    --bg-input: #1f1f23;

    /* Accent & Monochrome Tones */
    --accent-main: #f4f4f5;
    --accent-sub: #a1a1aa;
    --accent-highlight: #e4e4e7;
    --accent-border: #3f3f46;

    /* Text Colors */
    --text-main: #fafafa;
    --text-muted: #a1a1aa;
    --text-dim: #71717a;

    /* Borders & Shadows */
    --border-gray: rgba(255, 255, 255, 0.1);
    --border-gray-bright: rgba(255, 255, 255, 0.22);
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.5);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;

    --font-primary: 'Noto Sans KR', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-fast: 0.18s ease;
    --transition-normal: 0.25s ease-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Typography Helpers */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-main);
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, textarea {
    font-family: inherit;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5.5rem 0;
    position: relative;
}

.bg-glass-section {
    background: rgba(24, 24, 27, 0.5);
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
}

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

/* Minimal Gray Card Style */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-gray-bright);
    box-shadow: var(--shadow-hover);
}

/* Gradient Text replaced with Minimal Metallic Gray Highlight */
.gradient-text {
    color: var(--accent-main);
    background: linear-gradient(180deg, #ffffff 0%, #d4d4d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem auto;
}

.section-badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.1rem;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.section-description {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Button Styles - Minimal Gray */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
}

.btn-primary {
    background: #e4e4e7;
    color: #121214;
}

.btn-primary:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-gray);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--border-gray-bright);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-main);
    border: 1px solid var(--border-gray-bright);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
}

.btn-full {
    width: 100%;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-gray);
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-icon:hover {
    color: var(--text-main);
    border-color: var(--border-gray-bright);
    background: rgba(255, 255, 255, 0.1);
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 18, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-gray);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-logo {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.logo-accent {
    color: var(--text-muted);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link:hover {
    color: var(--text-main);
}

.btn-contact-nav {
    padding: 0.45rem 1.1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-sm);
    color: var(--text-main);
}

.btn-contact-nav:hover {
    background: #e4e4e7;
    color: #121214;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.4rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding-top: 9.5rem;
    padding-bottom: 5.5rem;
    min-height: 88vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3rem;
    align-items: center;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: var(--text-main);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.cursor {
    display: inline-block;
    background-color: var(--text-main);
    width: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-gray);
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--accent-main);
}

.metric-label {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.metric-divider {
    width: 1px;
    height: 32px;
    background: var(--border-gray);
}

/* Profile Card */
.profile-card {
    padding: 2.25rem 1.75rem;
    text-align: center;
}

.profile-avatar-container {
    position: relative;
    width: 95px;
    height: 95px;
    margin: 0 auto 1.25rem auto;
}

.avatar-glow {
    position: absolute;
    inset: -3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    filter: blur(8px);
}

.avatar-icon, .avatar-img {
    position: relative;
    width: 100%;
    height: 100%;
    background: #1f1f23;
    border: 1px solid var(--border-gray-bright);
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: var(--accent-main);
}

.profile-name {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.profile-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tag {
    font-size: 0.73rem;
    padding: 0.2rem 0.55rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}

.quick-contact-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(18, 18, 20, 0.6);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-gray);
}

.contact-quick-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 0.35rem 0.55rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.contact-quick-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
}

.copy-icon {
    font-size: 0.75rem;
    opacity: 0.5;
}

/* Feature Cards (About) */
.feature-card {
    padding: 1.75rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gray);
    color: var(--text-main);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* Cover Letter Interactive Viewer */
.coverletter-container {
    overflow: hidden;
}

.cl-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--border-gray);
    background: rgba(18, 18, 20, 0.6);
}

.cl-tab-btn {
    padding: 1.1rem 0.8rem;
    background: none;
    border: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 2px solid transparent;
}

.cl-tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
}

.cl-tab-btn.active {
    color: var(--text-main);
    border-bottom-color: var(--text-main);
    background: rgba(255, 255, 255, 0.06);
}

.tab-num {
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0.5;
}

.tab-text {
    font-size: 0.9rem;
    font-weight: 600;
}

.cl-content-wrapper {
    padding: 2.25rem;
}

.cl-tab-content {
    display: none;
}

.cl-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.cl-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-gray);
}

.cl-title {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cl-title i {
    color: var(--text-muted);
}

.cl-sub {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-dim);
    margin-left: 0.4rem;
}

.cl-text-box {
    background: #18181b;
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-sm);
    padding: 1.35rem;
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-main);
    min-height: 130px;
    outline: none;
    transition: var(--transition-fast);
}

.cl-text-box:focus {
    border-color: var(--border-gray-bright);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

.cl-tip-box {
    margin-top: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cl-tip-box i {
    font-size: 1rem;
    margin-top: 2px;
    color: var(--text-main);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.skill-card {
    padding: 1.35rem;
}

.skill-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-percentage {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 0.65rem;
}

.progress-fill {
    height: 100%;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, #a1a1aa, #f4f4f5);
    transition: width 0.8s ease-out;
}

.skill-desc {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Project Showcase & Filters */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.25rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.45rem 1.1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-gray);
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    color: #121214;
    border-color: #e4e4e7;
    background: #e4e4e7;
}

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

.project-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-image-container {
    height: 175px;
    position: relative;
    overflow: hidden;
    background: #1f1f23;
    border-bottom: 1px solid var(--border-gray);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-img {
    transform: scale(1.04);
}

.project-tag {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    padding: 0.25rem 0.6rem;
    background: rgba(18, 18, 20, 0.88);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    color: var(--text-main);
    z-index: 2;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}

.tech-badge {
    font-size: 0.72rem;
    padding: 0.15rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    color: var(--text-muted);
}

.project-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.project-summary {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
    flex-grow: 1;
}

.project-star-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--border-gray);
}

.star-badge {
    background: rgba(255, 255, 255, 0.06);
    padding: 0.2rem 0.45rem;
    border-radius: 3px;
}

/* Contact Section Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.25rem;
}

.contact-info-card, .contact-form-card {
    padding: 2.25rem;
}

.contact-info-card h3, .contact-form-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.contact-info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: rgba(18, 18, 20, 0.5);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.method-item:hover {
    border-color: var(--border-gray-bright);
    background: rgba(255, 255, 255, 0.05);
}

.method-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.method-detail {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.method-label {
    font-size: 0.72rem;
    color: var(--text-dim);
}

.method-value {
    font-size: 0.9rem;
    font-weight: 600;
}

.copy-hint {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Contact Form Elements */
.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    background: var(--bg-input);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--border-gray-bright);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.08);
}

/* Footer */
.footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-gray);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-sub {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 0.25rem;
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 90%;
    max-width: 620px;
    padding: 2.25rem;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    max-height: 88vh;
    overflow-y: auto;
}

.modal-overlay.active, .modal-content.active {
    opacity: 1;
    visibility: visible;
}

.modal-content.active {
    transform: translate(-50%, -50%);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-title {
    font-size: 1.4rem;
    margin-bottom: 1.35rem;
}

.star-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.star-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: #18181b;
    padding: 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-gray);
}

.star-letter {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e4e4e7;
    color: #121214;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.star-desc h4 {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.star-desc p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.toast {
    padding: 0.75rem 1.25rem;
    background: #1f1f23;
    border: 1px solid var(--border-gray-bright);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 0.88rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: toastIn 0.25s ease, toastOut 0.25s ease 2.7s forwards;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(15px); }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-metrics {
        justify-content: center;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(18, 18, 20, 0.95);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.25rem;
        border-bottom: 1px solid var(--border-gray);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .hamburger-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .cl-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
}
