:root {
    --bg-color: #050505;
    --text-main: #ffffff;
    --text-muted: #888888;
    --accent: #d4ff39; /* Neon lime for awwwards accent */
    --border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Custom cursor */
}

html {
    font-size: 16px;
    background-color: var(--bg-color);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Syncopate', 'Inter', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

/* Lenis Smooth Scroll Fixes */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-scroll-container] { scroll-behavior: auto; }

/* Custom Magnetic Cursor */
.cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
}
.cursor-dot {
    width: 6px; height: 6px;
    background-color: var(--accent);
}
.cursor-ring {
    width: 40px; height: 40px;
    border: 1px solid var(--accent);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
}
.cursor-ring.active {
    width: 60px; height: 60px;
    background-color: rgba(212, 255, 57, 0.1);
    border-color: transparent;
}

/* Nav */
.nav-awwwards {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}
.logo-magnetic {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}
.btn-primary-awwwards {
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
}
.btn-primary-awwwards:hover {
    background: white;
    color: black;
}

/* Hero Section */
.hero-awwwards {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4rem;
    position: relative;
}
.hero-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hero-title {
    font-size: clamp(3rem, 10vw, 9rem);
    line-height: 0.85;
    letter-spacing: -0.02em;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-title.indent {
    padding-left: 15vw;
}
.hero-title.highlight {
    color: transparent;
    -webkit-text-stroke: 1px var(--text-main);
    padding-left: 5vw;
}
.hero-subtext {
    margin-top: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    max-width: 600px;
}
.hero-subtext p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: absolute;
    bottom: 2rem;
    right: 4rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 50%;
    background: var(--text-main);
    animation: scrollLineAnim 2s infinite cubic-bezier(0.645, 0.045, 0.355, 1);
}
@keyframes scrollLineAnim {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* Kinetic Section */
.kinetic-section {
    padding: 10rem 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.kinetic-text {
    font-size: clamp(4rem, 12vw, 15rem);
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.1);
    line-height: 0.9;
}
.kinetic-left { transform: translateX(10%); }
.kinetic-right { transform: translateX(-20%); }

/* Horizontal Scroll Portfolio */
.portfolio-horizontal {
    padding: 10rem 0;
    background-color: var(--bg-color);
}
.portfolio-header {
    padding: 0 4rem;
    margin-bottom: 5rem;
}
.section-title-large {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 2rem;
}
.portfolio-header p {
    font-size: 1.5rem;
    color: var(--text-muted);
}
.horizontal-scroll-wrapper {
    /* Height will be handled by GSAP Pinning */
    position: relative;
    width: 100%;
    overflow: hidden;
}
.horizontal-scroll-container {
    display: flex;
    gap: 4rem;
    padding: 0 4rem;
    width: max-content;
}
.portfolio-panel {
    width: 80vw;
    max-width: 1000px;
    height: 70vh;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}
.portfolio-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* For parallax inside */
}
.panel-info {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}
.panel-info h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.panel-tags span {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 50px;
    margin-right: 0.5rem;
    backdrop-filter: blur(10px);
}

/* Services */
.services-awwwards {
    padding: 15rem 4rem;
}
.services-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.service-item {
    margin-bottom: 5rem;
}
.service-number {
    font-family: 'Syncopate', sans-serif;
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.service-item h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.service-item p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.service-line {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin-top: 3rem;
    transform-origin: left;
}

/* Contact */
.contact-awwwards {
    padding: 15rem 4rem 4rem 4rem;
    text-align: center;
}
.contact-huge h2 {
    font-size: clamp(4rem, 12vw, 10rem);
    line-height: 0.85;
    margin-bottom: 2rem;
}
.email-link {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: var(--accent);
    text-decoration: none;
    position: relative;
    display: inline-block;
}
.email-link::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 0; width: 100%; height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.email-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.footer-awwwards {
    margin-top: 15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-socials { display: flex; gap: 2rem; }
.footer-socials a { color: var(--text-main); text-decoration: none; }

@media (max-width: 768px) {
    nav.nav-awwwards { padding: 1.5rem; }
    .hero-awwwards { padding: 0 1.5rem; }
    .hero-title.indent { padding-left: 0; }
    .hero-subtext { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .scroll-indicator { position: relative; bottom: 0; right: 0; flex-direction: row; }
    .scroll-line { width: 60px; height: 1px; }
    .scroll-line::after { width: 50%; height: 100%; animation: scrollLineAnimX 2s infinite; }
    @keyframes scrollLineAnimX { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }
    
    .portfolio-header { padding: 0 1.5rem; }
    .portfolio-panel { width: 90vw; height: 50vh; }
    .services-container { grid-template-columns: 1fr; }
    .services-awwwards, .contact-awwwards { padding: 8rem 1.5rem 2rem 1.5rem; }
    .footer-awwwards { flex-direction: column; gap: 2rem; text-align: center; }
}
