/* ---------- RESET & VARIABLES ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

body {
    background-color: #0A0A0A;
    color: #E0E0E0;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

/* ---------- CUSTOM CURSOR (shiny grey) - always on top ---------- */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 10001; /* above modal (10000) */
    transition: opacity 0.2s ease;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #FFFFFF;
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
    transform: translate(-50%, -50%);
}
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.6);
    transform: translate(-50%, -50%);
    transition: all 0.1s ease-out;
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
}
.cursor-outline.hover-link {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(255,255,255,0.1);
    border-color: #FFFFFF;
    box-shadow: 0 0 25px #FFFFFF;
    transition: transform 0.2s ease;
}
.cursor-outline.click-effect {
    transform: translate(-50%, -50%) scale(0.8);
    background-color: rgba(255,255,255,0.3);
    border-color: #FFFFFF;
    box-shadow: 0 0 30px #FFFFFF;
    transition: transform 0.1s ease;
}

/* ---------- FULL-SCREEN INK INTRO (new "ink bloom" animation) ---------- */
.ink-intro {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #0A0A0A;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none; /* allows scrolling through it */
}
.ink-title-large {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 15vw, 8rem);
    color: #FFFFFF;
    opacity: 0;
    transform: scale(0.2);
    filter: blur(10px);
    animation: inkBloom 1.5s cubic-bezier(0.2, 0.9, 0.3, 1.2) forwards;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}
@keyframes inkBloom {
    0% {
        opacity: 0;
        transform: scale(0.2);
        filter: blur(10px);
        text-shadow: 0 0 0 white;
    }
    50% {
        opacity: 0.9;
        transform: scale(1.1);
        filter: blur(2px);
        text-shadow: 0 0 40px white;
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
        text-shadow: 0 0 20px rgba(255,255,255,0.5);
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.5s forwards;
    pointer-events: none;
}
.scroll-text {
    color: #B3B3B3;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}
.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid #B3B3B3;
    border-bottom: 2px solid #B3B3B3;
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(-45deg) translate(0, 0);
    }
    40% {
        transform: rotate(-45deg) translate(5px, 5px);
    }
    60% {
        transform: rotate(-45deg) translate(3px, 3px);
    }
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    text-shadow: 0 2px 5px rgba(255,255,255,0.1);
}
h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
}
h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}
h3 {
    font-size: 1.5rem;
}
p {
    color: #B3B3B3;
    font-size: 1.1rem;
    max-width: 600px;
}

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
}
.section-sub {
    text-align: center;
    margin-bottom: 3rem;
    color: #CCCCCC;
    font-weight: 500;
}
.modal-sub {
    color: #CCCCCC;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
    box-shadow: 0 2px 20px rgba(255,255,255,0.05);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    text-shadow: 0 0 15px rgba(255,255,255,0.5);
}
.nav-links a {
    color: #CCCCCC;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    transition: color 0.2s, text-shadow 0.2s;
}
.nav-links a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 10px #FFFFFF;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
}
.btn.primary {
    background: linear-gradient(145deg, #FFFFFF, #CCCCCC);
    color: #0A0A0A;
    box-shadow: 0 4px 15px rgba(255,255,255,0.3), 0 0 0 1px #FFFFFF inset;
}
.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.5), 0 0 0 2px #FFFFFF inset;
}
.btn.secondary {
    background: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(255,255,255,0.1);
}
.btn.secondary:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}
.btn.large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 6rem 2rem;
}
.parallax-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background: radial-gradient(circle at 30% 40%, #2A2A2A 0%, #0A0A0A 80%);
    z-index: 0;
    will-change: transform;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 2rem;
}
.hero-content p {
    margin: 2rem auto 2.5rem;
    font-size: 1.3rem;
}
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- SECTIONS ---------- */
.difference, .portfolio, .process, .cta-work, .cta-partner {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.portfolio, .cta-partner {
    background-color: #0F0F0F;
}

/* CARDS GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}
.card {
    background: linear-gradient(145deg, #1E1E1E, #151515);
    padding: 2.5rem 1.8rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #333;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
}
.card:hover {
    transform: translateY(-8px);
    border-color: #FFFFFF;
    box-shadow: 0 15px 30px rgba(255,255,255,0.1), 0 0 0 1px #FFFFFF inset;
}
.card h3 {
    margin-bottom: 1rem;
}
.card p {
    font-size: 1rem;
}

/* PORTFOLIO CARDS */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.portfolio-card {
    background: linear-gradient(145deg, #1E1E1E, #151515);
    padding: 2rem 1.5rem 1.8rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #333;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.portfolio-card:hover {
    border-color: #FFFFFF;
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 15px 30px rgba(255,255,255,0.1);
}
.card-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.portfolio-card h3 {
    margin-bottom: 0.5rem;
}
.card-tag {
    color: #CCCCCC;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 600;
}

/* PROCESS TIMELINE */
.process-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
}
.process-step {
    flex: 1 1 250px;
    text-align: center;
    position: relative;
}
.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: #2A2A2A;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 20px #FFFFFF;
}
.process-step h3 {
    margin-bottom: 0.8rem;
}
.process-step p {
    font-size: 1rem;
    margin: 0 auto;
}

/* CTA SECTIONS */
.cta-work, .cta-partner {
    text-align: center;
    background: linear-gradient(145deg, #0A0A0A, #1A1A1A);
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    box-shadow: 0 0 50px rgba(255,255,255,0.05) inset;
}
.cta-partner {
    background: linear-gradient(145deg, #1A1A1A, #0A0A0A);
}
.cta-content {
    max-width: 800px;
    margin: 0 auto;
}
.cta-content p {
    margin: 2rem auto 2.5rem;
}

/* FOOTER */
footer {
    background-color: #0A0A0A;
    border-top: 1px solid #1E1E1E;
    padding: 3rem 2rem;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: #FFFFFF;
    text-shadow: 0 0 15px rgba(255,255,255,0.5);
    font-family: 'Montserrat', sans-serif;
}
.footer-links a {
    color: #B3B3B3;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.2s, text-shadow 0.2s;
}
.footer-links a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 8px #FFFFFF;
}
.footer-copy {
    color: #666;
    font-size: 0.9rem;
}

/* REVEAL ANIMATIONS (for scroll) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-200 {
    transition-delay: 0.2s;
}
.delay-400 {
    transition-delay: 0.4s;
}

/* MODALS */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: linear-gradient(145deg, #1E1E1E, #151515);
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    border: 1px solid #FFFFFF;
    position: relative;
    box-shadow: 0 0 50px rgba(255,255,255,0.2);
}
.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #B3B3B3;
    transition: color 0.2s;
}
.close:hover {
    color: #FFFFFF;
}
.modal h3 {
    margin-bottom: 0.5rem;
}
.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.2rem;
    background-color: #0A0A0A;
    border: 1px solid #333;
    border-radius: 10px;
    color: white;
    font-family: 'Inter', sans-serif;
}
.modal-content button {
    width: 100%;
    border: none;
    cursor: pointer;
    border-radius: 30px;
}

/* Responsive */
@media (max-width: 700px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .nav-links a {
        margin-left: 1rem;
        font-size: 0.9rem;
    }
}
