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

:root {
    --color-bg: #0a0a0a;
    --color-surface: #141414;
    --color-border: #2a2a2a;
    --color-text: #e8e8e8;
    --color-text-muted: #888888;
    --color-accent: #f5f5f5;
    --color-accent-hover: #ffffff;
    --spacing-unit: 8px;
    --nav-height: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 80% 20%, rgba(255, 20, 147, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 40% 70%, rgba(0, 191, 255, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(255, 105, 180, 0.13) 0%, transparent 28%),
        radial-gradient(circle at 10% 90%, rgba(138, 43, 226, 0.11) 0%, transparent 22%),
        radial-gradient(circle at 60% 40%, rgba(0, 206, 209, 0.09) 0%, transparent 20%);
    pointer-events: none;
    z-index: 0;
    animation: floatBokeh 30s ease-in-out infinite;
}

@keyframes floatBokeh {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(3%, -3%) rotate(2deg); }
    66% { transform: translate(-2%, 2%) rotate(-2deg); }
}

.nav,
.main,
.footer {
    position: relative;
    z-index: 1;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    height: 100%;
    padding: 0 calc(var(--spacing-unit) * 6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: calc(var(--spacing-unit) * 6);
}

.nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-accent);
}

/* Main */
.main {
    padding-top: var(--nav-height);
}

/* Hero Section */
.hero {
    padding: calc(var(--spacing-unit) * 8) calc(var(--spacing-unit) * 6);
    max-width: 1600px;
    margin: 0 auto;
}

.video-container {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 1920 / 1080;
    background-color: var(--color-surface);
}

.video-placeholder svg {
    width: 100%;
    height: 100%;
    display: block;
}

.video-placeholder video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Bio Section */
.bio {
    padding: calc(var(--spacing-unit) * 12) calc(var(--spacing-unit) * 6);
    max-width: 1600px;
    margin: 0 auto;
}

.bio-container {
    max-width: 800px;
}

.bio-label {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
}

.label-line {
    width: 32px;
    height: 1px;
    background: var(--color-border);
}

.label-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    font-weight: 600;
}

.bio-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
    margin-top: calc(var(--spacing-unit) * 4);
    margin-bottom: calc(var(--spacing-unit) * 6);
    letter-spacing: -0.02em;
    color: var(--color-accent);
}

.bio-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.bio-text p {
    margin-bottom: calc(var(--spacing-unit) * 4);
}

/* Portfolio Videos Section */
.portfolio-videos {
    padding: calc(var(--spacing-unit) * 8) calc(var(--spacing-unit) * 6) calc(var(--spacing-unit) * 12);
    max-width: 1600px;
    margin: 0 auto;
}

.portfolio-container {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 12);
}

.video-item {
    width: 100%;
}

.video-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: calc(var(--spacing-unit) * 3);
    letter-spacing: -0.01em;
}

/* Contact Page */
.contact-main {
    min-height: calc(100vh - var(--nav-height));
}

.contact-section {
    padding: calc(var(--spacing-unit) * 12) calc(var(--spacing-unit) * 6);
    max-width: 1600px;
    margin: 0 auto;
}

.contact-container {
    max-width: 1400px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 16);
    align-items: start;
}

.contact-intro {
    position: sticky;
    top: calc(var(--nav-height) + calc(var(--spacing-unit) * 4));
}

.contact-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
    margin-top: calc(var(--spacing-unit) * 4);
    margin-bottom: calc(var(--spacing-unit) * 4);
    letter-spacing: -0.02em;
    color: var(--color-accent);
}

.contact-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: calc(var(--spacing-unit) * 8);
}

.contact-intro-bottom {
    display: flex;
    gap: calc(var(--spacing-unit) * 8);
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 5);
    flex: 1;
}

.portrait-container {
    flex-shrink: 0;
}

.portrait-placeholder {
    width: 180px;
    height: 270px;
    border: 1px solid var(--color-border);
    border-radius: 2px;
    overflow: hidden;
    background-color: var(--color-surface);
}

.portrait-placeholder svg {
    width: 100%;
    height: 100%;
    display: block;
}

.portrait-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit));
}

.info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    font-weight: 600;
}

.info-value {
    font-size: 16px;
    color: var(--color-text);
    text-decoration: none;
}

.info-value:hover {
    color: var(--color-accent-hover);
}

/* Form */
.contact-form-wrapper {
    position: relative;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 4);
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 1.5);
}

.field-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.field-input,
.field-select,
.field-textarea {
    width: 100%;
    padding: calc(var(--spacing-unit) * 2);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    color: var(--color-text);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.02);
}

.field-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    margin-top: calc(var(--spacing-unit) * 2);
    padding: calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 6);
    background-color: var(--color-accent);
    color: var(--color-bg);
    border: none;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
    transition: background-color 0.2s ease, transform 0.1s ease;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.submit-btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-arrow {
    font-size: 20px;
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: calc(var(--spacing-unit) * 8) calc(var(--spacing-unit) * 4);
    animation: fadeIn 0.3s ease;
}

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

.success-icon {
    color: var(--color-accent);
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.success-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--color-accent);
}

.success-text {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.reset-btn {
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
    background-color: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reset-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Footer */
.footer {
    border-top: 1px solid var(--color-border);
    padding: calc(var(--spacing-unit) * 6);
    margin-top: calc(var(--spacing-unit) * 12);
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 6);
    }
    
    .contact-intro {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 calc(var(--spacing-unit) * 3);
    }
    
    .bio,
    .portfolio-videos,
    .contact-section {
        padding-left: calc(var(--spacing-unit) * 3);
        padding-right: calc(var(--spacing-unit) * 3);
    }
    
    .bio-title,
    .contact-title {
        font-size: 36px;
    }
    
    .bio-text {
        font-size: 16px;
    }
    
    .video-title {
        font-size: 20px;
    }
    
    .contact-intro-bottom {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 6);
    }
    
    .portrait-placeholder {
        width: 150px;
        height: 225px;
    }
}
