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

:root {
    --black: #000000;
    --white: #ffffff;
    --body-bg: #000000;
    --body-bg-light: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --line-color: #222222;
    --card-bg: #0a0a0a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--body-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Body grain texture */
.body-grain {
    display: none; /* Hidden on light background */
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 3rem;
    background: transparent;
    backdrop-filter: blur(20px);
    transition: background 0.5s ease;
}

nav.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.nav-cta {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 3rem 4rem;
    position: relative;
    background: 
        radial-gradient(ellipse 80% 50% at 70% 50%, rgba(88, 86, 214, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 30% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a0a 0%, #0d0d12 50%, #0a0a0a 100%);
    overflow: hidden;
}

/* Static subtle grain texture for hero */
.hero-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
}

/* Keep keyframes for potential future use */
@keyframes grain-shift {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-2%, -2%); }
    20% { transform: translate(2%, 2%); }
    30% { transform: translate(-1%, 2%); }
    40% { transform: translate(2%, -1%); }
    50% { transform: translate(-2%, 1%); }
    60% { transform: translate(1%, -2%); }
    70% { transform: translate(-1%, -1%); }
    80% { transform: translate(2%, 1%); }
    90% { transform: translate(-2%, 2%); }
}

/* Hero shader animation */
.hero-shader {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 550px;
    aspect-ratio: 1;
    z-index: 2;
    -webkit-mask-image: radial-gradient(circle, black 25%, transparent 65%);
    mask-image: radial-gradient(circle, black 25%, transparent 65%);
}

.hero-shader .shader-canvas {
    width: 100%;
    height: 100%;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 2rem;
    max-width: 900px;
    color: var(--white);
}

.hero h1 span {
    color: rgba(255, 255, 255, 0.5);
}

.hero-location {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.7;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    color: var(--black);
    padding: 1rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    gap: 1rem;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.hero-cta svg {
    transition: transform 0.3s ease;
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

.hero-meta {
    position: absolute;
    bottom: 4rem;
    right: 3rem;
    text-align: right;
    z-index: 3;
}

.hero-meta p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.hero-meta span {
    display: block;
    font-size: 3rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -2px;
}

/* Journey Section */
.journey {
    position: relative;
    padding: 8rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 1;
}

/* Smooth gradient transition from hero to body */
.journey::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 150px;
    background: linear-gradient(180deg, 
        #0d0d12 0%, 
        #000000 100%
    );
    pointer-events: none;
    z-index: -1;
}

/* The vertical line */
.journey-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line-color);
    transform: translateX(-50%);
    z-index: 0;
}

.journey-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 50%;
}

.journey-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 50%;
}

.journey-intro {
    text-align: center;
    margin-bottom: 8rem;
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    background: var(--body-bg);
}

.journey-intro h2 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.journey-intro p {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

/* Journey Steps */
.journey-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-bottom: 10rem;
    position: relative;
    align-items: center;
}

.journey-step:last-child {
    margin-bottom: 0;
}

.journey-step::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--body-bg);
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    z-index: 2;
}

.step-content {
    padding-right: 4rem;
    position: relative;
    z-index: 2;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.journey-step:nth-child(even) .step-content {
    grid-column: 2;
    padding-right: 0;
    padding-left: 4rem;
}

.step-number {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.step-content h3 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.2;
    color: var(--text-primary);
}

.step-content p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4rem;
    position: relative;
    z-index: 2;
}

.journey-step:nth-child(even) .step-visual {
    grid-column: 1;
    grid-row: 1;
    padding-left: 0;
    padding-right: 4rem;
    justify-content: flex-end;
}

.visual-box {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    display: block;
    position: relative;
    -webkit-mask-image: radial-gradient(circle, black 30%, transparent 70%);
    mask-image: radial-gradient(circle, black 30%, transparent 70%);
}

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

/* Works & Testimonials */
.showcase {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.showcase-header {
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 3rem;
}

.showcase-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.showcase-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.showcase-scroll::-webkit-scrollbar {
    display: none;
}

.showcase-track {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 3rem 2rem;
    width: max-content;
}

.showcase-card {
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.showcase-card:hover {
    transform: translateY(-4px);
}

/* Work cards */
.work-card {
    width: 300px;
    background: var(--card-bg);
    border: 1px solid var(--line-color);
}

.work-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.work-card-wide {
    width: 420px;
}

.work-image-triple {
    display: flex;
    gap: 6px;
    padding: 12px 12px 0;
    background: #111;
    height: 200px;
}

.work-image-triple img {
    flex: 1;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
}

.work-info {
    padding: 1.25rem;
}

.work-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.work-info p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Testimonial cards */
.testimonial-card {
    width: 340px;
    background: linear-gradient(135deg, rgba(88, 86, 214, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 1.25rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.author-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.author-company {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 5rem 3rem;
    background: var(--body-bg);
    border-top: 1px solid var(--line-color);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -1.5px;
}

.footer-location {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-city {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.footer-type {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.footer-credit {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-credit a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-credit a:hover {
    color: var(--text-primary);
}

.footer-right {
    flex: 1;
    max-width: 500px;
}

.footer-pricing-card {
    background: var(--body-bg-light);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--line-color);
}

.footer-price-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -2px;
}

.footer-price-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-features li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-features li::before {
    content: '✓';
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.75rem;
}

.footer-pricing-card .hero-cta {
    width: 100%;
    justify-content: center;
}

/* Tablet */
@media (max-width: 1024px) {
    .journey-step {
        gap: 3rem;
    }

    .step-content {
        padding-right: 2rem;
    }

    .journey-step:nth-child(even) .step-content {
        padding-left: 2rem;
    }

    .step-visual {
        padding-left: 2rem;
    }

    .journey-step:nth-child(even) .step-visual {
        padding-right: 2rem;
    }

    .visual-box {
        max-width: 280px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-cta {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }

    /* Clean, spacious hero for mobile */
    .hero {
        padding: 7rem 1.5rem 4rem;
        min-height: 100vh;
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: 
            radial-gradient(ellipse 100% 60% at 50% 80%, rgba(88, 86, 214, 0.12) 0%, transparent 50%),
            radial-gradient(ellipse 80% 50% at 20% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
            linear-gradient(180deg, #0a0a0a 0%, #0d0d12 50%, #0a0a0a 100%);
    }

    .hero-shader {
        position: absolute;
        right: -20%;
        top: auto;
        bottom: -10%;
        transform: none;
        width: 80%;
        max-width: 400px;
        opacity: 0.6;
    }

    .hero-content {
        text-align: center;
        position: relative;
        z-index: 4;
    }

    .hero h1 {
        font-size: 2.25rem;
        letter-spacing: -1px;
        margin-bottom: 1.25rem;
        line-height: 1.15;
    }

    .hero h1 span {
        display: block;
    }

    .hero-location {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        max-width: 100%;
        line-height: 1.6;
    }

    .hero-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
        display: inline-flex;
        width: auto;
    }

    .hero-meta {
        position: static;
        text-align: center;
        margin-top: 4rem;
        padding-top: 0;
        border-top: none;
    }

    .hero-meta p {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }

    .hero-meta span {
        font-size: 2rem;
    }

    /* Journey section mobile */
    .journey {
        padding: 3rem 1.5rem;
    }

    .journey::before {
        top: -80px;
        height: 120px;
    }

    .journey-line {
        left: 16px;
    }

    .journey-line::before,
    .journey-line::after {
        width: 6px;
        height: 6px;
    }

    .journey-intro {
        text-align: left;
        padding: 0;
        padding-left: 2.5rem;
        margin-bottom: 3rem;
        background: transparent;
    }

    .journey-intro h2 {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .journey-intro p {
        font-size: 1.125rem;
        line-height: 1.5;
    }

    .journey-step {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-left: 2.5rem;
        margin-bottom: 3rem;
    }

    .journey-step::before {
        left: 16px;
        top: 0.25rem;
        transform: translateX(-50%);
        width: 10px;
        height: 10px;
    }

    .step-content,
    .journey-step:nth-child(even) .step-content {
        padding: 0;
        grid-column: 1;
        background: transparent;
    }

    .step-number {
        font-size: 0.625rem;
        margin-bottom: 0.5rem;
    }

    .step-content h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .step-content p {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .step-visual,
    .journey-step:nth-child(even) .step-visual {
        padding: 0;
        grid-column: 1;
        grid-row: auto;
        justify-content: center;
        background: transparent;
    }

    .visual-box {
        max-width: 200px;
        aspect-ratio: 1;
    }

    /* Showcase mobile */
    .showcase {
        padding: 4rem 0;
    }

    .showcase-header {
        padding: 0 1.5rem;
        margin-bottom: 2rem;
    }

    .showcase-header h2 {
        font-size: 1.5rem;
    }

    .showcase-track {
        padding: 1rem 1.5rem 1.5rem;
        gap: 1rem;
    }

    .showcase-card {
        width: 280px;
    }

    .work-image {
        height: 160px;
    }

    .testimonial-card {
        width: 300px;
        padding: 1.5rem;
    }

    .work-card {
        width: 260px;
    }

    .work-card-wide {
        width: 340px;
    }

    .work-image {
        height: 150px;
    }

    .work-image-triple {
        height: 160px;
        padding: 8px 8px 0;
        gap: 4px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    /* Footer mobile */
    footer {
        padding: 3rem 1.5rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
    }

    .footer-left {
        text-align: center;
        align-items: center;
        gap: 1rem;
    }

    .footer-logo {
        font-size: 2.25rem;
    }

    .footer-location {
        align-items: center;
    }

    .footer-city {
        font-size: 1.25rem;
    }

    .footer-type {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .footer-copyright,
    .footer-credit {
        margin-top: 0.25rem;
    }

    .footer-right {
        width: 100%;
        max-width: none;
    }

    .footer-pricing-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .footer-price-row {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .footer-price {
        font-size: 2.5rem;
    }

    .footer-price-note {
        text-align: center;
    }

    .footer-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        justify-items: center;
        text-align: left;
    }

    .footer-features li {
        width: fit-content;
    }

    .footer-pricing-card .hero-cta {
        width: 100%;
        justify-content: center;
        margin-top: 1.5rem;
    }
}

/* Small mobile */
@media (max-width: 400px) {
    .hero {
        padding: 6rem 1.25rem 3rem;
    }

    .hero h1 {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .hero-cta {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .journey {
        padding: 2.5rem 1.25rem;
    }

    .journey-intro p {
        font-size: 1rem;
    }

    .step-content h3 {
        font-size: 1.125rem;
    }

    .step-content p {
        font-size: 0.875rem;
    }

    .visual-box {
        max-width: 160px;
    }

    footer {
        padding: 2.5rem 1.25rem;
    }

    .footer-pricing-card {
        padding: 1.5rem 1.25rem;
    }

    .footer-price {
        font-size: 2.25rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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