:root {
    --bg-color: #ffffff;
    --text-color: #0a0a0a;
    --accent-color: #2563eb;
    --light-gray: #f4f4f5;
    --dark-gray: #18181b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

/* Custom Cursor */
* {
    cursor: none;
}
.custom-cursor {
    width: 20px;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out, background 0.3s ease;
    mix-blend-mode: difference;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 16px 5%;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-primary {
    background: var(--text-color);
    color: white;
    padding: 12px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-primary.large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Hero Scroll Reveal */
.hero-scroll-reveal {
    height: 200vh; /* Extremely tall to allow for scrolling interaction */
    position: relative;
}

.hero-text-sticky {
    position: sticky;
    top: 25vh;
    text-align: center;
    padding: 0 5%;
    z-index: 2;
    pointer-events: none;
}

.hero-text-sticky h1 {
    font-size: clamp(4rem, 8vw, 7rem);
    margin-bottom: 24px;
    background: linear-gradient(135deg, #000, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text-sticky p {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: #52525b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.reveal-container {
    position: sticky;
    top: 15vh;
    width: 90vw;
    height: 75vh;
    margin: 40vh auto 0;
    border-radius: 40px;
    overflow: hidden;
    transform-origin: center bottom;
    transform: scale(0.5);
    opacity: 0.5;
    will-change: transform, opacity, border-radius;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    z-index: 10;
}

.reveal-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reveal-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 60px;
}

/* Marquee */
.marquee-wrapper {
    background: var(--accent-color);
    color: white;
    padding: 20px 0;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
}

.marquee {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Logos */
.logos-section {
    padding: 80px 5%;
    text-align: center;
    background: var(--light-gray);
}

.logos-section p {
    font-weight: 600;
    color: #71717a;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    color: #a1a1aa;
}

.logos-grid h2 {
    font-size: 1.8rem;
    letter-spacing: -1px;
}

/* Solutions (Sticky Layout) */
.solutions {
    padding: 150px 5%;
}

.sticky-container {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.sticky-text {
    flex: 1;
    position: sticky;
    top: 150px;
}

.sticky-text h2 {
    font-size: 4rem;
    margin-bottom: 24px;
}

.sticky-text p {
    font-size: 1.2rem;
    color: #52525b;
    line-height: 1.6;
}

.scrolling-cards {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.card {
    background: var(--light-gray);
    border-radius: 24px;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.card-content {
    padding: 40px;
}

.card-content h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.card-content p {
    font-size: 1.1rem;
    color: #52525b;
    line-height: 1.6;
}

/* Impact Numbers */
.impact-numbers {
    padding: 100px 5%;
    background: var(--dark-gray);
    color: white;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.number-block h3 {
    font-size: clamp(3rem, 5vw, 5rem);
    color: var(--accent-color);
    margin-bottom: 10px;
}

.number-block p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #a1a1aa;
}

/* Industries */
.industries {
    padding: 150px 5%;
    background: var(--bg-color);
}

.section-heading h2 {
    font-size: 4rem;
    margin-bottom: 80px;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.industry-block {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 600px;
}

.industry-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-block:hover img {
    transform: scale(1.05);
}

.industry-block .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.industry-block h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.industry-block p {
    font-size: 1.05rem;
    color: #d4d4d8;
    line-height: 1.5;
}

/* Methodology */
.methodology {
    padding: 150px 5%;
    background: var(--light-gray);
}

.method-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.method-header h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.method-header p {
    font-size: 1.2rem;
    color: #52525b;
    line-height: 1.6;
}

.method-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    background: white;
    padding: 50px 40px;
    border-radius: 24px;
    position: relative;
}

.step-num {
    font-size: 4rem;
    font-weight: 900;
    color: var(--light-gray);
    position: absolute;
    top: 20px;
    right: 30px;
}

.step h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.step p {
    font-size: 1.1rem;
    color: #52525b;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Testimonials */
.testimonials {
    padding: 160px 5%;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonials h2 {
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 40px;
}

.author p {
    font-size: 1.1rem;
    color: #52525b;
}

/* Insights */
.insights {
    padding: 150px 5%;
    background: var(--bg-color);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.insight-card {
    text-decoration: none;
    color: var(--text-color);
    border-radius: 24px;
    overflow: hidden;
    display: block;
}

.insight-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.insight-card:hover img {
    transform: scale(1.05);
}

.insight-text {
    padding: 30px 0;
}

.insight-text .category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 12px;
    display: inline-block;
}

.insight-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.insight-text .date {
    font-size: 0.9rem;
    color: #71717a;
}


/* Footer */
.footer {
    background: var(--light-gray);
    padding: 120px 5% 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 120px;
}

.footer-top h2 {
    font-size: 4rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #d4d4d8;
    padding-top: 40px;
}

.footer-bottom .brand {
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: -1px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #52525b;
    text-decoration: none;
    font-weight: 500;
}

.copyright {
    color: #a1a1aa;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .sticky-container {
        flex-direction: column;
    }
    .sticky-text {
        position: relative;
        top: 0;
    }
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .industry-grid, .method-steps, .insights-grid {
        grid-template-columns: 1fr;
    }
    .industry-block {
        height: 400px;
    }
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 3rem; }
    .sticky-text h2, .section-heading h2, .method-header h2, .footer-top h2 { font-size: 2.5rem; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .numbers-grid { grid-template-columns: 1fr; }
}
