* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --gray-dark: #0a0a0a;
    --gray: #1a1a1a;
    --gray-light: #2d2d2d;
    --white: #ffffff;
    --text: #e5e5e5;
    --text-dim: #999999;
    --border: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--black);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 480px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    text-align: center;
}

.logo-name {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--text-dim);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--white);
    line-height: 1.2;
}

.logo-tagline::after {
    content: '®';
    font-size: 8px;
    vertical-align: super;
    margin-left: -1px;
}

.menu-btn {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    right: 20px;
}

.menu-btn span {
    width: 22px;
    height: 1px;
    background: var(--white);
    transition: all 0.3s ease;
}

.menu-btn.active span:first-child {
    transform: rotate(45deg) translate(4px, 4px);
}

.menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(4px, -4px);
}

.nav {
    position: fixed;
    top: 57px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav a {
    color: var(--text);
    text-decoration: none;
    padding: 14px 16px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    border-bottom: 1px solid var(--border);
}

.nav a:last-child {
    border-bottom: none;
}

.nav a:active {
    color: var(--white);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding-top: 80px;
    padding-bottom: 60px;
    position: relative;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.9) 95%, rgba(0, 0, 0, 1) 100%);
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero .container {
    padding-top: 40px;
    position: relative;
    z-index: 2;
}

.label {
    display: inline-block;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero h1 {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--white) 0%, var(--text-dim) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 11px;
    line-height: 1.7;
    color: var(--text-dim);
    margin-bottom: 40px;
}

.cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-primary, .btn-outline {
    display: block;
    padding: 16px 32px;
    text-align: center;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
}

.btn-primary:active {
    background: var(--text);
    transform: scale(0.98);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border);
}

.btn-outline:active {
    background: var(--gray);
    border-color: var(--white);
}

/* Work Section */
.work {
    padding: 80px 0;
    background: var(--gray-dark);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.number {
    font-size: 12px;
    color: var(--text-dim);
    font-weight: 500;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.5px;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.project {
    background: var(--gray);
    border: 1px solid var(--border);
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 240px;
    background: var(--gray-light);
}

.project-content {
    padding: 24px;
}

.project h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.project p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags span {
    font-size: 11px;
    padding: 6px 12px;
    background: var(--gray-light);
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Expertise Section */
.expertise {
    padding: 80px 0;
    background: var(--black);
}

.about-bio {
    margin-bottom: 40px;
}

.about-bio p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.about-bio strong {
    color: var(--text);
    font-weight: 600;
}

.expertise-grid {
    display: grid;
    gap: 24px;
}

.expertise-item {
    padding: 24px;
    border: 1px solid var(--border);
    background: var(--gray-dark);
}

.expertise-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expertise-item p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-dim);
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: var(--black);
}

.portfolio-carousel {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.carousel-item {
    width: 100%;
}

.carousel-title {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 600;
}

.carousel-subtitle {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--gray);
    border-radius: 8px;
    overflow: hidden;
}

.carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.carousel-images img.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.carousel-btn:active {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 4px;
}

/* Contact Section */
.contact {
    padding: 80px 0 60px;
    background: var(--gray-dark);
}

.contact-intro {
    font-size: 15px;
    color: var(--text-dim);
    margin-bottom: 32px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.form input,
.form textarea {
    background: var(--gray);
    border: 1px solid var(--border);
    padding: 16px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form input:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--white);
}

.form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    text-align: center;
}

.contact-info a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 24px;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.socials a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.socials a:active {
    color: var(--white);
}

/* Footer */
.footer {
    padding: 40px 0;
    background: var(--black);
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer p {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 1px;
}
