@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

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

:root {
    --color-bg: #000000;
    --color-text: #ffffff;
    --color-text-secondary: #999999;
    --color-accent: #ff6b9d;
    --color-gradient-start: #c33764;
    --color-gradient-end: #1d2671;
    --gradient-zune: linear-gradient(135deg, #c33764 0%, #1d2671 100%);
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }
}

/* Custom Cursor */
.custom-cursor,
.cursor-follower {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

@media (min-width: 769px) {
    .custom-cursor,
    .cursor-follower {
        display: block;
    }
}

.custom-cursor {
    background: var(--gradient-zune);
    transform: translate(-50%, -50%);
}

.cursor-follower {
    border: 2px solid var(--color-accent);
    background: transparent;
    transform: translate(-50%, -50%) scale(3);
    transition: transform 0.3s var(--transition-smooth);
}

body.cursor-hover .cursor-follower {
    transform: translate(-50%, -50%) scale(5);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Header */
.header {
    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);
    transition: background 0.3s var(--transition-smooth);
}

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

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: var(--gradient-zune);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-list a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s var(--transition-smooth);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-zune);
    transition: width 0.3s var(--transition-smooth);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s var(--transition-smooth);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        padding: 6rem 2rem;
        gap: 2rem;
        transition: right 0.4s var(--transition-smooth);
    }

    .nav-list.active {
        right: 0;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(100px);
    animation: slideUp 1s var(--transition-smooth) forwards;
}

.hero-title .line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title .line:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-title .line:nth-child(3) {
    animation-delay: 0.6s;
}

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

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--color-text-secondary);
    opacity: 0;
    animation: fadeIn 1s var(--transition-smooth) 0.8s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Section Title */
.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 4rem;
}

/* Work Section */
.work-section {
    padding: 8rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem 3rem;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.project-card {
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s var(--transition-smooth);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.6s var(--transition-smooth);
}

.project-card:hover .image-placeholder {
    transform: scale(1.05);
}

.project-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.project-category {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: var(--gradient-zune);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* Services Section */
.services-section {
    padding: 8rem 0;
}

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

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.4s var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(195, 55, 100, 0.3);
}

.service-number {
    font-size: 0.9rem;
    font-weight: 700;
    background: var(--gradient-zune);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.service-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0) 100%);
}

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

.contact-intro {
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
}

.contact-email {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    display: inline-block;
    letter-spacing: -0.02em;
    position: relative;
    transition: opacity 0.3s var(--transition-smooth);
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-zune);
    transform: scaleX(0);
    transition: transform 0.4s var(--transition-smooth);
}

.contact-email:hover::after {
    transform: scaleX(1);
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 6rem;
    margin-top: 6rem;
}

@media (max-width: 768px) {
    .contact-details {
        flex-direction: column;
        gap: 3rem;
    }
}

.contact-info h3 {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.3s var(--transition-smooth);
}

.social-links a:hover {
    opacity: 0.6;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition-smooth);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
