/* ============================================
   Found Your Job - Main Stylesheet
   https://foundyourjob.com
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f1419;
    color: #f0ece4;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

::selection { background: rgba(201,168,76,0.3); color: #f0ece4; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f1419; }
::-webkit-scrollbar-thumb { background: #2a3444; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3a4555; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 8px; font-weight: 600;
    font-size: 0.95rem; cursor: pointer; border: none;
    transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}
.btn-primary {
    background: #c9a84c; color: #0f1419;
}
.btn-primary:hover {
    background: #b8973d; box-shadow: 0 8px 24px rgba(201,168,76,0.2); transform: translateY(-1px);
}
.btn-outline {
    background: transparent; color: #f0ece4;
    border: 1px solid rgba(240,236,228,0.15);
}
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: rgba(240,236,228,0.3); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-danger { background: transparent; color: #f87171; border: 1px solid rgba(248,113,113,0.2); }
.btn-danger:hover { background: rgba(248,113,113,0.1); }

/* --- Header --- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 20px 0; transition: background 0.5s, padding 0.5s, box-shadow 0.5s;
}
.site-header.scrolled {
    background: rgba(15,20,25,0.95); backdrop-filter: blur(20px);
    padding: 12px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 8px; }
.logo-mark {
    width: 36px; height: 36px; border-radius: 8px;
    background: linear-gradient(135deg, #c9a84c, #a38534);
    display: flex; align-items: center; justify-content: center;
    color: #0f1419; font-weight: 700; font-size: 0.8rem; letter-spacing: -0.5px;
}
.logo-text {
    color: #f0ece4; font-weight: 600; font-size: 1.1rem; letter-spacing: -0.3px;
    transition: color 0.3s;
}
.logo:hover .logo-text { color: #c9a84c; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    padding: 8px 16px; font-size: 0.9rem; color: #a8b2c1; border-radius: 8px;
    font-weight: 500; transition: color 0.3s, background 0.3s;
}
.nav-link:hover { color: #f0ece4; background: rgba(255,255,255,0.05); }
.nav-cta {
    margin-left: 12px; padding: 10px 20px; background: #c9a84c; color: #0f1419;
    font-weight: 600; font-size: 0.9rem; border-radius: 8px;
    transition: background 0.3s, box-shadow 0.3s;
}
.nav-cta:hover { background: #b8973d; box-shadow: 0 4px 16px rgba(201,168,76,0.2); }

.mobile-toggle {
    display: none; background: none; border: none; cursor: pointer;
    padding: 8px; flex-direction: column; gap: 5px;
}
.mobile-toggle span {
    display: block; width: 24px; height: 2px; background: #f0ece4;
    border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}

/* --- Hero --- */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
}
.hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(15,20,25,0.8), rgba(15,20,25,0.7), #0f1419);
}
.hero-overlay-side {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(15,20,25,0.6), transparent);
}
.hero-grain {
    position: absolute; inset: 0; opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
}
.hero-content {
    position: relative; z-index: 2; max-width: 1200px; margin: 0 auto;
    padding: 0 24px; width: 100%;
}
.hero-inner { max-width: 680px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 50px;
    background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.2);
    margin-bottom: 32px; animation: fadeIn 0.8s ease-out;
}
.hero-badge svg { color: #c9a84c; }
.hero-badge span { color: #c9a84c; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.5px; }

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 700;
    line-height: 1.05; letter-spacing: -1.5px; color: #f0ece4; margin-bottom: 24px;
}
.hero h1 .gold { color: #c9a84c; }
.hero-subtitle {
    font-size: 1.15rem; color: #a8b2c1; max-width: 520px;
    line-height: 1.7; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    color: #a8b2c1; animation: bounce 2s infinite; cursor: pointer;
    background: none; border: none; z-index: 2;
    transition: color 0.3s;
}
.scroll-indicator:hover { color: #c9a84c; }

/* --- Section Shared --- */
.section { padding: 112px 0; position: relative; }
.section-dark { background: #0f1419; }
.section-darker { background: #131a22; }
.section-label {
    color: #c9a84c; font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 3px; margin-bottom: 16px;
    display: block;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700;
    color: #f0ece4; margin-bottom: 24px; letter-spacing: -0.5px;
}
.section-subtitle {
    font-size: 1.1rem; color: #a8b2c1; max-width: 600px; line-height: 1.7;
}
.section-center { text-align: center; }
.section-center .section-subtitle { margin: 0 auto; }

/* --- Decorative line --- */
.deco-line {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 1px; height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.3));
}

/* --- About --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text { font-size: 1.1rem; color: #a8b2c1; line-height: 1.8; margin-bottom: 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
    text-align: center; padding: 20px 16px; border-radius: 12px;
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.04);
    transition: border-color 0.3s, transform 0.3s;
}
.stat-card:hover { border-color: rgba(201,168,76,0.2); transform: translateY(-2px); }
.stat-value { font-size: 1.8rem; font-weight: 700; color: #c9a84c; margin-bottom: 4px; }
.stat-label { font-size: 0.7rem; color: #8b95a5; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; }

.about-image-wrap { position: relative; }
.about-image {
    border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.about-image img { width: 100%; height: 460px; object-fit: cover; transition: transform 0.7s; }
.about-image:hover img { transform: scale(1.05); }
.about-badge {
    position: absolute; bottom: -24px; left: -24px;
    background: #1a2332; border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 16px 24px; box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.about-badge .stat-value { font-size: 1.5rem; }
.about-badge .stat-label { font-size: 0.8rem; color: #a8b2c1; }

/* --- Process --- */
.process-accent {
    position: absolute; top: 0; right: 0; width: 33%; height: 100%;
    background: linear-gradient(to left, rgba(201,168,76,0.02), transparent);
    pointer-events: none;
}
.accordion { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.accordion-item {
    border-radius: 12px; border: 1px solid rgba(255,255,255,0.04);
    background: rgba(255,255,255,0.015); overflow: hidden;
    transition: border-color 0.5s, background 0.5s, box-shadow 0.5s;
}
.accordion-item.active {
    background: rgba(255,255,255,0.03); border-color: rgba(201,168,76,0.3);
    box-shadow: 0 8px 32px rgba(201,168,76,0.05);
}
.accordion-header {
    width: 100%; display: flex; align-items: center; gap: 20px;
    padding: 24px; background: none; border: none; cursor: pointer;
    text-align: left; color: inherit;
    transition: background 0.3s;
}
.accordion-header:hover { background: rgba(255,255,255,0.01); }
.accordion-icon {
    flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04); color: #c9a84c;
    transition: background 0.3s, color 0.3s;
}
.accordion-item.active .accordion-icon { background: #c9a84c; color: #0f1419; }
.accordion-meta { flex: 1; }
.accordion-step { color: rgba(201,168,76,0.5); font-size: 0.85rem; font-family: monospace; }
.accordion-title { color: #f0ece4; font-weight: 600; font-size: 1.1rem; }
.accordion-sub { color: #8b95a5; font-size: 0.85rem; margin-top: 2px; }
.accordion-chevron {
    color: #8b95a5; flex-shrink: 0; transition: transform 0.3s;
}
.accordion-item.active .accordion-chevron { transform: rotate(180deg); }
.accordion-body {
    max-height: 0; overflow: hidden; transition: max-height 0.5s ease, opacity 0.5s;
    opacity: 0;
}
.accordion-item.active .accordion-body { max-height: 300px; opacity: 1; }
.accordion-body-inner { padding: 0 24px 24px 92px; }
.accordion-body p { color: #a8b2c1; line-height: 1.7; }

/* --- Job Board --- */
.filter-bar { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.filter-icon { color: #8b95a5; }
.filter-btn {
    padding: 8px 18px; border-radius: 8px; font-size: 0.9rem; font-weight: 500;
    border: 1px solid rgba(255,255,255,0.04); background: rgba(255,255,255,0.03);
    color: #a8b2c1; cursor: pointer; transition: all 0.3s;
}
.filter-btn:hover { background: rgba(255,255,255,0.06); }
.filter-btn.active { background: #c9a84c; color: #0f1419; border-color: #c9a84c; }

.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.job-card {
    border-radius: 12px; border: 1px solid rgba(255,255,255,0.04);
    background: rgba(255,255,255,0.015); padding: 24px;
    cursor: pointer; transition: all 0.3s;
}
.job-card:hover { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.025); }
.job-card.expanded { border-color: rgba(201,168,76,0.3); background: rgba(255,255,255,0.04); box-shadow: 0 8px 32px rgba(201,168,76,0.05); }
.job-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.job-title { font-size: 1.15rem; font-weight: 600; color: #f0ece4; margin-bottom: 4px; transition: color 0.3s; }
.job-card:hover .job-title { color: #c9a84c; }
.job-company { color: #8b95a5; font-size: 0.9rem; }
.badge {
    display: inline-block; padding: 4px 10px; border-radius: 6px;
    font-size: 0.75rem; font-weight: 500; border: 1px solid rgba(201,168,76,0.3);
    color: #c9a84c; white-space: nowrap;
}
.job-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.85rem; color: #8b95a5; margin-bottom: 16px; }
.job-meta-item { display: flex; align-items: center; gap: 6px; }
.job-meta-item svg { color: rgba(201,168,76,0.6); }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.job-tag {
    padding: 4px 10px; background: rgba(255,255,255,0.04); color: #a8b2c1;
    font-size: 0.78rem; border-radius: 6px;
}
.job-desc {
    max-height: 0; overflow: hidden; opacity: 0; transition: all 0.4s;
}
.job-card.expanded .job-desc { max-height: 200px; opacity: 1; margin-top: 8px; }
.job-desc p { color: #a8b2c1; font-size: 0.9rem; line-height: 1.6; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.04); }
.job-more { display: flex; justify-content: flex-end; margin-top: 12px; }
.job-more span { color: #c9a84c; font-size: 0.85rem; font-weight: 500; display: flex; align-items: center; gap: 4px; transition: gap 0.3s; }
.job-card:hover .job-more span { gap: 8px; }

.jobs-empty { text-align: center; padding: 64px 0; color: #8b95a5; }
.jobs-empty svg { margin: 0 auto 16px; opacity: 0.3; }

/* --- Submit CV --- */
.cv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.cv-perks { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.cv-perk { display: flex; align-items: center; gap: 12px; color: #a8b2c1; }
.cv-perk-icon {
    width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
    background: rgba(201,168,76,0.1); display: flex; align-items: center; justify-content: center;
}
.cv-perk-icon svg { color: #c9a84c; }

/* --- Our Work --- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.work-card {
    border-radius: 16px; overflow: hidden;
    background: rgba(255,255,255,0.015); border: 1px solid rgba(255,255,255,0.04);
    transition: border-color 0.5s, transform 0.5s;
}
.work-card:hover { border-color: rgba(201,168,76,0.2); transform: translateY(-4px); }
.work-card-img { position: relative; overflow: hidden; height: 224px; }
.work-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.work-card:hover .work-card-img img { transform: scale(1.1); }
.work-card-img .overlay { position: absolute; inset: 0; background: linear-gradient(to top, #0f1419, transparent); }
.work-card-num {
    position: absolute; top: 16px; left: 16px; width: 32px; height: 32px;
    border-radius: 8px; background: rgba(201,168,76,0.9);
    display: flex; align-items: center; justify-content: center;
    color: #0f1419; font-weight: 700; font-size: 0.85rem;
}
.work-card-body { padding: 24px; }
.work-card-title {
    font-size: 1.2rem; font-weight: 600; color: #f0ece4; margin-bottom: 12px;
    transition: color 0.3s;
}
.work-card:hover .work-card-title { color: #c9a84c; }
.work-card-text { color: #a8b2c1; font-size: 0.9rem; line-height: 1.6; }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info-list { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.contact-info-item { display: flex; align-items: center; gap: 16px; }
.contact-info-icon {
    width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s, border-color 0.3s;
}
.contact-info-item:hover .contact-info-icon {
    background: rgba(201,168,76,0.1); border-color: rgba(201,168,76,0.2);
}
.contact-info-icon svg { color: #c9a84c; }
.contact-info-label { font-size: 0.85rem; color: #8b95a5; }
.contact-info-value { color: #f0ece4; transition: color 0.3s; }
a.contact-info-value:hover { color: #c9a84c; }

/* --- Forms --- */
.form-card {
    background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.04);
    border-radius: 16px; padding: 32px;
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-label { display: block; color: #a8b2c1; font-size: 0.85rem; margin-bottom: 8px; font-weight: 500; }
.form-input, .form-textarea, .form-select {
    width: 100%; padding: 12px 16px; border-radius: 8px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    color: #f0ece4; font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-input::placeholder, .form-textarea::placeholder { color: #5a6577; }
.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none; border-color: rgba(201,168,76,0.5);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form-textarea { resize: none; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: #1a2332; color: #f0ece4; }

.form-check { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.form-check input[type="checkbox"] {
    margin-top: 4px; width: 16px; height: 16px; border-radius: 4px;
    accent-color: #c9a84c; flex-shrink: 0;
}
.form-check label { color: #8b95a5; font-size: 0.85rem; line-height: 1.6; }
.form-check label a { color: #c9a84c; }
.form-check label a:hover { text-decoration: underline; }

/* File upload area */
.upload-area {
    border: 2px dashed rgba(255,255,255,0.06); border-radius: 12px;
    padding: 32px; text-align: center; cursor: pointer; position: relative;
    transition: border-color 0.3s, background 0.3s;
}
.upload-area:hover { border-color: rgba(201,168,76,0.4); }
.upload-area.has-file { border-color: rgba(201,168,76,0.3); background: rgba(201,168,76,0.03); }
.upload-area input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-icon { color: #8b95a5; margin: 0 auto 12px; }
.upload-text { color: #a8b2c1; font-size: 0.9rem; }
.upload-text .gold { color: #c9a84c; }
.upload-hint { color: #5a6577; font-size: 0.8rem; margin-top: 4px; }
.upload-file-info { display: flex; align-items: center; justify-content: center; gap: 12px; }
.upload-file-info svg { color: #c9a84c; }
.upload-file-name { color: #f0ece4; font-weight: 500; }
.upload-file-size { color: #8b95a5; font-size: 0.85rem; }
.upload-remove {
    background: none; border: none; color: #8b95a5; cursor: pointer;
    transition: color 0.3s; padding: 4px; position: relative; z-index: 2;
}
.upload-remove:hover { color: #f87171; }

.form-submit { width: 100%; }
.btn-spinner {
    display: inline-block; width: 16px; height: 16px;
    border: 2px solid rgba(15,20,25,0.3); border-top-color: #0f1419;
    border-radius: 50%; animation: spin 0.6s linear infinite;
}

/* Success state */
.success-state { text-align: center; padding: 48px 0; }
.success-icon {
    width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 24px;
    background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.2);
    display: flex; align-items: center; justify-content: center;
}
.success-icon svg { color: #c9a84c; }

/* --- Footer --- */
.site-footer { background: #0a0e13; border-top: 1px solid rgba(255,255,255,0.04); padding-top: 64px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-desc { color: #8b95a5; font-size: 0.9rem; line-height: 1.6; margin: 16px 0; }
.visitor-counter {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 8px;
    background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.04);
}
.counter-dot { width: 8px; height: 8px; border-radius: 50%; background: #c9a84c; animation: pulse 2s infinite; }
.counter-text { color: #8b95a5; font-size: 0.8rem; }
.footer-col h4 { color: #f0ece4; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: #8b95a5; font-size: 0.9rem; transition: color 0.3s; }
.footer-col a:hover { color: #c9a84c; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: #8b95a5; font-size: 0.9rem; }
.contact-list svg { flex-shrink: 0; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.04); padding-top: 32px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { color: #5a6577; font-size: 0.85rem; }
.footer-bottom-right { display: flex; align-items: center; gap: 24px; }
.footer-bottom-right span { color: #5a6577; font-size: 0.78rem; }
.staff-link { color: #2a3444; font-size: 0.78rem; transition: color 0.3s; }
.staff-link:hover { color: #5a6577; }

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; padding: 16px 24px;
    animation: slideUp 0.5s ease-out;
}
.cookie-inner {
    max-width: 860px; margin: 0 auto;
    background: rgba(26,35,50,0.95); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 16px;
    padding: 24px; display: flex; align-items: flex-start; gap: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.cookie-icon {
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
    background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.2);
    display: flex; align-items: center; justify-content: center;
}
.cookie-icon svg { color: #c9a84c; }
.cookie-content { flex: 1; }
.cookie-content h3 { color: #f0ece4; font-weight: 600; margin-bottom: 8px; }
.cookie-content p { color: #8b95a5; font-size: 0.85rem; line-height: 1.6; margin-bottom: 16px; }
.cookie-content a { color: #c9a84c; }
.cookie-content a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; }
.cookie-close {
    background: none; border: none; color: #5a6577; font-size: 1.4rem;
    cursor: pointer; padding: 4px; line-height: 1;
    transition: color 0.3s;
}
.cookie-close:hover { color: #a8b2c1; }

/* --- Legal Pages --- */
.legal-page { padding: 80px 0; }
.legal-page .container { max-width: 860px; }
.back-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: #c9a84c; margin-bottom: 40px; transition: color 0.3s;
}
.back-link:hover { color: #b8973d; }
.legal-header { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.legal-header svg { color: #c9a84c; }
.legal-header h1 { font-size: 2.4rem; font-weight: 700; color: #f0ece4; }
.legal-date { color: #8b95a5; margin-bottom: 48px; }
.legal-section { margin-bottom: 40px; }
.legal-section h2 { font-size: 1.5rem; font-weight: 600; color: #f0ece4; margin-bottom: 16px; }
.legal-section p, .legal-section li { color: #a8b2c1; line-height: 1.8; }
.legal-section ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; list-style: disc; }
.legal-section ul li::marker { color: #c9a84c; }
.legal-section strong { color: #f0ece4; }
.legal-section a { color: #c9a84c; }
.legal-section a:hover { text-decoration: underline; }
.legal-card {
    background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px; padding: 20px; margin-bottom: 16px;
}
.legal-card h3 { color: #f0ece4; font-weight: 600; margin-bottom: 8px; }
.legal-card p { color: #a8b2c1; font-size: 0.9rem; }

/* --- Admin --- */
.admin-login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.admin-login-card { width: 100%; max-width: 420px; }
.admin-login-card .back-link { font-size: 0.85rem; }
.admin-login-inner {
    background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.04);
    border-radius: 16px; padding: 32px;
}
.admin-login-header { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.admin-login-icon {
    width: 40px; height: 40px; border-radius: 12px;
    background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.2);
    display: flex; align-items: center; justify-content: center;
}
.admin-login-icon svg { color: #c9a84c; }
.admin-login-title { font-size: 1.2rem; font-weight: 700; color: #f0ece4; }
.admin-login-sub { font-size: 0.78rem; color: #8b95a5; }
.admin-footer-text { text-align: center; color: #3a4555; font-size: 0.78rem; margin-top: 24px; }

.input-icon-wrap { position: relative; }
.input-icon-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #5a6577; }
.input-icon-wrap .form-input { padding-left: 40px; }
.toggle-password {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: #5a6577; cursor: pointer;
    transition: color 0.3s;
}
.toggle-password:hover { color: #a8b2c1; }

/* Admin Dashboard */
.admin-header {
    background: #0a0e13; border-bottom: 1px solid rgba(255,255,255,0.04);
    padding: 16px 0;
}
.admin-header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.admin-header-left { display: flex; align-items: center; gap: 16px; }
.admin-back { color: #8b95a5; background: none; border: none; cursor: pointer; transition: color 0.3s; }
.admin-back:hover { color: #c9a84c; }
.admin-header-right { display: flex; align-items: center; gap: 16px; }
.admin-email { color: #8b95a5; font-size: 0.9rem; }

.admin-body { max-width: 1200px; margin: 0 auto; padding: 32px 24px; }

.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.admin-stat-card {
    background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px; padding: 20px;
}
.admin-stat-label { color: #8b95a5; font-size: 0.9rem; margin-bottom: 4px; }
.admin-stat-value { font-size: 1.8rem; font-weight: 700; }

.admin-tabs { display: flex; gap: 4px; border-bottom: 1px solid rgba(255,255,255,0.04); margin-bottom: 24px; }
.admin-tab {
    display: flex; align-items: center; gap: 8px; padding: 12px 16px;
    font-size: 0.9rem; font-weight: 500; color: #8b95a5;
    background: none; border: none; cursor: pointer;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
    transition: color 0.3s, border-color 0.3s;
}
.admin-tab:hover { color: #f0ece4; }
.admin-tab.active { color: #c9a84c; border-bottom-color: #c9a84c; }
.admin-tab .badge { margin-left: 4px; }

.admin-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.admin-search { position: relative; width: 280px; }
.admin-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #5a6577; }
.admin-search .form-input { padding-left: 36px; height: 40px; }

.admin-list { display: flex; flex-direction: column; gap: 8px; }
.admin-list-item {
    background: rgba(255,255,255,0.015); border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px; padding: 20px; display: flex; align-items: center;
    justify-content: space-between; transition: border-color 0.3s;
}
.admin-list-item:hover { border-color: rgba(255,255,255,0.08); }
.admin-list-item-main { flex: 1; min-width: 0; }
.admin-list-item-header { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.admin-list-item-title { font-weight: 600; color: #f0ece4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-list-item-sub { color: #8b95a5; font-size: 0.9rem; }
.admin-list-item-actions { display: flex; gap: 8px; margin-left: 16px; flex-shrink: 0; }

.admin-empty { text-align: center; padding: 64px 0; color: #8b95a5; }
.admin-empty svg { margin: 0 auto 16px; opacity: 0.3; }

/* Modal overlay */
.modal-overlay {
    position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px); display: flex; align-items: center;
    justify-content: center; padding: 24px; animation: fadeIn 0.2s ease-out;
}
.modal-overlay[hidden] { display: none; }
.modal {
    background: #1a2332; border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; width: 100%; max-width: 520px; max-height: 90vh;
    overflow-y: auto; padding: 32px; animation: slideUp 0.3s ease-out;
}
.modal-title { font-size: 1.2rem; font-weight: 700; color: #f0ece4; margin-bottom: 24px; }
.modal-actions { display: flex; gap: 12px; margin-top: 8px; }
.modal-actions .btn { flex: 1; justify-content: center; }

/* Click list items */
.clickable { cursor: pointer; }
.admin-detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.admin-detail-label { color: #8b95a5; font-size: 0.78rem; margin-bottom: 4px; }
.admin-detail-value { color: #f0ece4; }
.admin-detail-value a { color: #c9a84c; }
.admin-detail-value a:hover { text-decoration: underline; }
.admin-detail-full { margin-bottom: 16px; }
.admin-detail-message { color: #a8b2c1; line-height: 1.7; white-space: pre-wrap; }
.admin-detail-date { color: #8b95a5; font-size: 0.78rem; margin-top: 16px; }
.badge-sub { background: rgba(201,168,76,0.1); color: #c9a84c; border-color: rgba(201,168,76,0.2); font-size: 0.75rem; padding: 2px 8px; }
.download-link {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
    border-radius: 8px; background: rgba(201,168,76,0.1); color: #c9a84c;
    font-size: 0.9rem; transition: background 0.3s;
}
.download-link:hover { background: rgba(201,168,76,0.2); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid, .cv-grid, .contact-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .work-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .main-nav.open {
        display: flex; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(15,20,25,0.98); backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255,255,255,0.04); padding: 16px 24px;
    }
    .main-nav.open .nav-link { padding: 12px 16px; }
    .main-nav.open .nav-cta { margin-left: 0; margin-top: 12px; text-align: center; }
    .mobile-toggle { display: flex; }
    .hero h1 { font-size: 2.4rem; }
    .work-grid { grid-template-columns: 1fr; }
    .jobs-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-right { flex-direction: column; gap: 8px; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
    .admin-detail-row { grid-template-columns: 1fr; }
    .cookie-inner { flex-direction: column; }
}

/* --- Animations --- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* --- Toast (simple) --- */
.toast-container { position: fixed; top: 24px; right: 24px; z-index: 500; display: flex; flex-direction: column; gap: 8px; }
.toast {
    padding: 14px 20px; border-radius: 10px; font-size: 0.9rem; font-weight: 500;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3); animation: slideUp 0.3s ease-out;
    min-width: 280px; max-width: 400px;
}
.toast-success { background: #1a3a2a; border: 1px solid rgba(34,197,94,0.3); color: #4ade80; }
.toast-error { background: #3a1a1a; border: 1px solid rgba(248,113,113,0.3); color: #f87171; }
