:root {
    --gold-light: #f0dcab;
    --gold-main: #d99a00;
    --gold-dark: #976f00;
    --dark: #111111;
    --dark-2: #1a1a1a;
    --dark-3: #222222;
    --light-bg: #f7f7f5;
    --white: #ffffff;
    --gray-light: #f0f0f0;
    --gray-medium: #e0e0e0;
    --text-secondary: #666666;
    --text-on-dark: #999999;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark);
    line-height: 1.6;
}

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

/* ─── Header ─────────────────────────────────────────────── */
header {
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--gold-main);
}

.lang-switch {
    display: flex;
    gap: 8px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
    transition: all 0.2s;
}

.lang-btn:hover {
    border-color: var(--gold-main);
    color: var(--gold-main);
}

.lang-btn.active {
    background: var(--gold-main);
    border-color: var(--gold-main);
    color: var(--dark);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
}

/* ─── Section Headers ─────────────────────────────────────── */
.section-header {
    margin-bottom: 56px;
}

.section-num {
    display: block;
    font-size: 7rem;
    font-weight: 800;
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 1px rgba(217, 154, 0, 0.2);
    letter-spacing: -0.04em;
    margin-bottom: -12px;
    user-select: none;
    pointer-events: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--dark);
    line-height: 1.1;
    padding-left: 4px;
    margin-bottom: 0;
    text-align: left;
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
    padding: 80px 0 100px;
    background: var(--dark);
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-main);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: var(--white);
    margin-bottom: 32px;
}

.hero-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.hero-keyword {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--gold-main);
    padding: 6px 14px;
    border-radius: 4px;
    background: rgba(217, 154, 0, 0.08);
    border: 1px solid rgba(217, 154, 0, 0.25);
    text-decoration: none;
}

.cta-button {
    display: inline-block;
    background: var(--gold-main);
    color: var(--dark);
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.2s;
}

.cta-button:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

/* Hero code box */
.hero-right {
    position: relative;
}

.hero-code-box {
    background: #0a0a0a;
    border-radius: 8px;
    border: 1px solid rgba(217, 154, 0, 0.12);
    overflow: hidden;
    height: 440px;
    display: flex;
    flex-direction: column;
}

.hero-code-header {
    flex-shrink: 0;
    background: #161616;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-code-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2e2e2e;
}

.hero-code-filename {
    margin-left: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.03em;
}

.hero-code-bg {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(217, 154, 0, 0.55);
    white-space: pre-wrap;
    word-break: break-all;
    overflow: hidden;
    padding: 20px;
    text-align: left;
}

.hero-code-bg::after {
    content: '|';
    animation: blink 0.8s infinite;
    color: rgba(217, 154, 0, 0.4);
}

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

/* ─── Services (01 — dark) ────────────────────────────────── */
.services-overview {
    padding: 80px 0;
    background: var(--dark-2);
}

.services-overview .section-num {
    -webkit-text-stroke: 1px rgba(217, 154, 0, 0.25);
    text-align: center;
}

.services-overview .section-title {
    color: var(--white);
    text-align: center;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.services-list::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 70px;
    bottom: 70px;
    width: 1px;
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(-50%);
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 72px 1fr;
    grid-template-rows: 140px;
    align-items: center;
    position: relative;
    gap: 24px;
}

.service-item-icon {
    grid-column: 2;
    justify-self: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(217, 154, 0, 0.15), rgba(217, 154, 0, 0.3));
    border: 1px solid rgba(217, 154, 0, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    transition: background 0.3s, border-color 0.3s;
}

.service-item:hover .service-item-icon {
    background: linear-gradient(135deg, rgba(217, 154, 0, 0.25), rgba(217, 154, 0, 0.45));
    border-color: var(--gold-main);
}

.service-item-icon svg {
    width: 28px;
    height: 28px;
    color: var(--gold-main);
}

.service-item-content {
    padding: 12px 20px;
    border-radius: 8px;
    transition: background 0.2s;
}

.service-item-content:hover {
    background: rgba(255, 255, 255, 0.03);
}

.service-item:nth-child(odd) .service-item-content {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}

.service-item:nth-child(odd) .service-item-icon {
    grid-row: 1;
}

.service-item:nth-child(even) .service-item-content {
    grid-column: 3;
    grid-row: 1;
    text-align: left;
}

.service-item:nth-child(even) .service-item-icon {
    grid-row: 1;
}

.service-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.service-item p {
    font-size: 0.9rem;
    color: var(--text-on-dark);
    line-height: 1.6;
}

/* ─── About (02 — light) ──────────────────────────────────── */
.about {
    padding: 80px 0;
    background: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 56px;
    align-items: start;
}

.about-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 1;
    border: 2px solid var(--gold-main);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-text p:last-of-type {
    margin-bottom: 0;
}

.about-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark) !important;
    margin-bottom: 4px !important;
}

.about-title {
    color: var(--gold-dark) !important;
    font-weight: 600;
    margin-bottom: 20px !important;
}

/* ─── Experience (04 — light) ──────────────────────────────── */
.experience {
    padding: 80px 0;
    background: var(--light-bg);
}

.experience .section-num,
.experience .section-title {
    text-align: center;
}

.experience-category {
    margin-bottom: 48px;
}

.experience-category:last-child {
    margin-bottom: 0;
}

.experience-category h3 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: center;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(6, 86px);
    gap: 12px;
    justify-content: center;
}

.experience-item {
    width: 86px;
    height: 86px;
    background: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    transition: all 0.2s;
    position: relative;
    cursor: default;
}

.experience-item:hover {
    transform: translateY(-4px);
    border-color: var(--gold-main);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.experience-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.experience-item::after {
    content: attr(data-name);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--dark);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 10;
}

.experience-item::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 10;
}

.experience-item:hover::after,
.experience-item:hover::before {
    opacity: 1;
    visibility: visible;
}

.experience-linkedin {
    text-align: center;
    margin-top: 40px;
}

.experience-linkedin a {
    color: var(--gold-main);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.experience-linkedin a:hover {
    color: var(--gold-light);
}

/* ─── Values (03 — dark) ─────────────────────────────────── */
.values {
    padding: 80px 0;
    background: var(--dark-2);
}

.values .section-num {
    -webkit-text-stroke: 1px rgba(217, 154, 0, 0.25);
}

.values .section-title {
    color: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.value-card {
    background: var(--dark-3);
    padding: 32px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    border-color: rgba(217, 154, 0, 0.4);
}

.value-icon {
    width: 44px;
    height: 44px;
    background: rgba(217, 154, 0, 0.1);
    border: 1px solid rgba(217, 154, 0, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-icon svg {
    width: 22px;
    height: 22px;
    color: var(--gold-main);
}

.value-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
    letter-spacing: -0.01em;
}

.value-card p {
    color: var(--text-on-dark);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ─── Contact (05 — dark) ─────────────────────────────────── */
.contact {
    padding: 80px 0;
    background: var(--dark-2);
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact .section-num {
    -webkit-text-stroke: 1px rgba(217, 154, 0, 0.25);
    text-align: center;
}

.contact .section-title {
    color: var(--white);
    text-align: center;
}

.contact-content > p {
    color: var(--text-on-dark);
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.7;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    background: var(--dark-3);
    padding: 14px 24px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.contact-link:hover {
    border-color: var(--gold-main);
    color: var(--white);
    background: rgba(217, 154, 0, 0.06);
}

.contact-link svg {
    width: 18px;
    height: 18px;
    color: var(--gold-main);
    flex-shrink: 0;
}

.qr-codes {
    margin-top: 48px;
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.qr-item img {
    width: 160px;
    height: 160px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    background: var(--white);
}

.qr-item p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-on-dark);
    letter-spacing: 0.02em;
}

.contact-address {
    margin-top: 40px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    justify-content: center;
    color: var(--text-on-dark);
    font-size: 0.9rem;
}

.contact-address svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--gold-main);
    margin-top: 2px;
}

.contact-address p {
    margin: 0;
    line-height: 1.5;
}

.contact-address span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-on-dark);
    opacity: 0.6;
}

/* ─── Footer ──────────────────────────────────────────────── */
footer {
    padding: 28px 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

footer p {
    color: #444444;
    font-size: 0.85rem;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .section-num {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    /* Mobile menu */
    .mobile-menu-btn {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 16px 24px;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }

    nav.open {
        display: flex;
    }

    nav a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    nav a:last-of-type {
        border-bottom: none;
    }

    .lang-switch {
        margin-left: 0;
        padding-left: 0;
        padding-top: 16px;
        margin-top: 8px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        justify-content: center;
    }

    /* Hero */
    .hero {
        padding: 60px 0 72px;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 3rem;
        margin-bottom: 24px;
    }

    .hero-code-box {
        height: 280px;
    }

    /* Services */
    .services-list {
        gap: 12px;
    }

    .services-list::before {
        display: none;
    }

    .service-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 20px;
        background: var(--dark-3);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        grid-template-rows: unset;
    }

    .service-item:nth-child(odd) {
        flex-direction: row;
    }

    .service-item:nth-child(odd) .service-item-content {
        text-align: left;
        grid-column: auto;
        grid-row: auto;
    }

    .service-item:nth-child(even) {
        flex-direction: row-reverse;
    }

    .service-item:nth-child(even) .service-item-content {
        text-align: right;
        grid-column: auto;
        grid-row: auto;
    }

    .service-item-icon {
        flex-shrink: 0;
        width: 52px;
        height: 52px;
    }

    .service-item-content {
        flex: 1;
        padding: 0;
    }

    .service-item-content:hover {
        background: none;
    }

    .service-item h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .service-item p {
        font-size: 0.83rem;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .about-photo {
        max-width: 200px;
        margin: 0 auto;
    }

    /* Experience */
    .experience-grid {
        grid-template-columns: repeat(3, 72px);
    }

    .experience-item {
        width: 72px;
        height: 72px;
        padding: 14px;
    }

    /* Values */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

