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

:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --text-light: #999999;
    --border-color: #333333;
    --link-color: #ffffff;
    --link-hover: #cccccc;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    border-bottom-color: var(--border-color);
    padding: 1.5rem 0;
}

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

.logo a {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.6;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    opacity: 0.6;
}

.nav-link:hover::after {
    width: 100%;
}

/* Main Content */
main {
    margin-top: 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-illustration {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    color: var(--text-color);
    opacity: 0.9;
}

.hero-illustration canvas {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) translateX(-10px) rotate(2deg);
    }
}


.hero-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0;
    color: var(--text-color);
    transform: none;
    text-align: center;
}

.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.hero-title .line-1 {
    animation-delay: 0.1s;
}

.hero-title .line-2 {
    animation-delay: 0.2s;
}

.hero-title .line-3 {
    animation-delay: 0.3s;
}

.hero-title .line-4 {
    animation-delay: 0.4s;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 600px;
    letter-spacing: -0.01em;
}


.hero-subtitle p {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle p:nth-child(1) {
    animation-delay: 0.6s;
}

.hero-subtitle p:nth-child(2) {
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 4rem;
}

.content-wrapper {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.text-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.text-block .hero-title {
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    color: var(--text-light);
    text-align: center;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.text-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    transition-delay: 0.2s;
}

.text-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.large-text {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.medium-text {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-light);
    letter-spacing: -0.005em;
}

/* About Section */
.about {
    background: var(--bg-color);
}

/* Contact Section */
.contact {
    background: var(--bg-color);
}

.link {
    color: var(--link-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    font-weight: 400;
}

.link:hover {
    border-bottom-color: var(--link-color);
    opacity: 0.7;
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content p {
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--text-light);
    letter-spacing: 0.05em;
    margin: 0;
}

/* Utility Classes */
.fade-in-delay {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

/* Responsive Design */

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
    .hero-content {
        gap: 5rem;
    }
    
    .hero-illustration {
        max-width: 600px;
        height: 600px;
    }
}

/* Desktop (1024px - 1439px) */
@media (max-width: 1439px) and (min-width: 1025px) {
    .hero-content {
        gap: 4rem;
    }
    
    .hero-illustration {
        max-width: 500px;
        height: 500px;
    }
}

/* Tablet Landscape (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    section {
        padding: 5rem 3rem;
    }

    .hero {
        padding: 5rem 3rem;
        min-height: 100vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-illustration {
        max-width: 450px;
        height: 450px;
        margin: 0 auto;
        opacity: 0.8;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4.5rem);
        text-align: center;
    }

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

    .text-block {
        max-width: 800px;
    }

    .large-text {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }

    .medium-text {
        font-size: clamp(1rem, 2vw, 1.25rem);
    }
}

/* Tablet Portrait (600px - 768px) */
@media (max-width: 768px) and (min-width: 601px) {
    section {
        padding: 4rem 2rem;
        min-height: auto;
    }

    .hero {
        padding: 4rem 2rem;
        min-height: 90vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-illustration {
        max-width: 400px;
        height: 400px;
        margin: 0 auto;
        opacity: 0.7;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
        text-align: center;
        margin-bottom: 1.5rem;
    }

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

    .text-block {
        max-width: 700px;
    }

    .section-title {
        font-size: clamp(0.875rem, 3vw, 1.25rem);
        margin-bottom: 2rem;
    }

    .large-text {
        font-size: clamp(1.25rem, 5vw, 2rem);
        margin-bottom: 1.5rem;
    }

    .medium-text {
        font-size: clamp(0.875rem, 2.5vw, 1.125rem);
        line-height: 1.7;
    }

    .footer {
        padding: 2rem;
    }
}

/* Mobile Landscape (481px - 600px) */
@media (max-width: 600px) and (min-width: 481px) {
    section {
        padding: 3rem 1.5rem;
        min-height: auto;
    }

    .hero {
        padding: 3rem 1.5rem;
        min-height: 85vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-illustration {
        max-width: 350px;
        height: 350px;
        margin: 0 auto;
        opacity: 0.6;
    }

    .hero-title {
        font-size: clamp(1.75rem, 12vw, 3rem);
        text-align: center;
        margin-bottom: 1.5rem;
        line-height: 1.15;
    }

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

    .text-block {
        max-width: 100%;
    }

    .section-title {
        font-size: clamp(0.75rem, 4vw, 1rem);
        margin-bottom: 1.5rem;
    }

    .large-text {
        font-size: clamp(1.125rem, 6vw, 1.75rem);
        margin-bottom: 1.25rem;
        line-height: 1.4;
    }

    .medium-text {
        font-size: clamp(0.8125rem, 3vw, 1rem);
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    .footer {
        padding: 1.5rem 1rem;
    }

    .footer-content p {
        font-size: 0.6875rem;
    }
}

/* Mobile Portrait (up to 480px) */
@media (max-width: 480px) {
    section {
        padding: 2.5rem 1rem;
        min-height: auto;
    }

    .hero {
        padding: 2.5rem 1rem;
        min-height: 80vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-illustration {
        max-width: 280px;
        height: 280px;
        margin: 0 auto;
        opacity: 0.5;
    }

    .hero-title {
        font-size: clamp(1.5rem, 15vw, 2.5rem);
        text-align: center;
        margin-bottom: 1rem;
        line-height: 1.2;
        letter-spacing: -0.03em;
    }

    .hero-title .line {
        display: block;
    }

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

    .text-block {
        max-width: 100%;
    }

    .section-title {
        font-size: clamp(0.6875rem, 4vw, 0.9375rem);
        margin-bottom: 1.25rem;
        letter-spacing: 0.1em;
    }

    .large-text {
        font-size: clamp(1rem, 7vw, 1.5rem);
        margin-bottom: 1rem;
        line-height: 1.35;
    }

    .medium-text {
        font-size: clamp(0.75rem, 3.5vw, 0.9375rem);
        line-height: 1.6;
        margin-bottom: 0.875rem;
    }

    .footer {
        padding: 1.25rem 0.75rem;
    }

    .footer-content p {
        font-size: 0.625rem;
    }
}

/* Very Small Mobile (up to 360px) */
@media (max-width: 360px) {
    section {
        padding: 2rem 0.75rem;
    }

    .hero {
        padding: 2rem 0.75rem;
        min-height: 75vh;
    }

    .hero-illustration {
        max-width: 240px;
        height: 240px;
    }

    .hero-title {
        font-size: clamp(1.25rem, 18vw, 2rem);
    }

    .large-text {
        font-size: clamp(0.9375rem, 8vw, 1.25rem);
    }

    .medium-text {
        font-size: clamp(0.6875rem, 4vw, 0.875rem);
    }
}

/* Smooth scroll behavior */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

