/* Reset & Base */
:root {
    --bg-color: #0b0b0b;
    --text-color: #e6e6e6;
    --text-muted: #B0B0B0;
    --accent-color: #ffffff;
    --accent-warm: #E0C097;
    --line-color: #333333;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Manrope', sans-serif;
    
    --container-width: 1280px;
    --container-padding: 24px;
    
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
    scroll-behavior: auto; /* Let Lenis handle it */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Reveal Animation Classes */
.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s var(--ease-out-expo);
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--ease-out-expo);
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 100;
    mix-blend-mode: difference;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    color: #fff;
}

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

.nav-links a:not(.btn-nav) {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-warm);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.btn-nav:hover {
    background: var(--accent-warm);
    color: #000;
    border-color: var(--accent-warm);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-label {
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.hero-title {
    font-size: clamp(48px, 8vw, 100px);
    font-weight: 500;
    line-height: 1;
    display: flex;
    flex-direction: column;
}

.hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 40px;
}

.hero-desc {
    max-width: 400px;
    font-size: 18px;
    color: var(--text-muted);
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Page Header */
.page-header {
    padding: 180px 0 80px;
}

.page-title {
    font-size: clamp(48px, 8vw, 80px);
    margin-top: 16px;
}

/* About Section */
.about {
    padding: 120px 0;
}

.section-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.section-title {
    font-size: clamp(32px, 5vw, 64px);
    margin-bottom: 64px;
}

.about-text .lead {
    font-size: clamp(20px, 3vw, 32px);
    line-height: 1.4;
    max-width: 900px;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 64px;
}

.detail-item {
    padding: 32px;
    border: 1px solid var(--line-color);
    border-radius: 8px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.detail-item:hover {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.1);
}

.detail-item h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--accent-warm);
}

.detail-item p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-details {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Process Section */
.process {
    padding: 120px 0;
    border-top: 1px solid var(--line-color);
}

.process-list {
    display: flex;
    flex-direction: column;
    margin-top: 80px;
}

.process-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    padding: 40px 0;
    border-bottom: 1px solid var(--line-color);
    transition: background 0.3s ease;
}

.process-item:hover {
    background: rgba(255,255,255,0.02);
}

.process-number {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-muted);
}

.process-content h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.process-content p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
}

/* Clients */
.clients {
    padding: 120px 0;
}

.client-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 80px;
    margin-top: 40px;
}

.client-item {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.client-item:hover {
    color: var(--accent-warm);
}

/* CTA */
.cta {
    padding: 160px 0;
    text-align: center;
    background: #0f0f0f;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.cta-title {
    font-size: clamp(40px, 6vw, 80px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-warm);
    color: #000;
    padding: 20px 40px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(224, 192, 151, 0.1);
}

/* Posts Section */
.posts {
    padding: 80px 0 120px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.post-card {
    padding: 40px;
    border: 1px solid var(--line-color);
    border-radius: 8px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.post-card:hover {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.post-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.post-date,
.post-read-time {
    font-size: 14px;
    color: var(--text-muted);
}

.post-title {
    font-size: 24px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.post-excerpt {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.post-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-warm);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.post-link:hover {
    text-decoration-thickness: 2px;
}

/* Blog Post */
.blog-post {
    padding: 180px 0 120px;
}

.blog-header {
    margin-bottom: 64px;
}

.blog-back {
    display: inline-block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
    transition: color 0.3s ease;
}

.blog-back:hover {
    color: var(--accent-warm);
}

.blog-title {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 24px;
    line-height: 1.2;
}

.blog-meta {
    display: flex;
    gap: 12px;
    font-size: 16px;
    color: var(--text-muted);
}

.blog-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 80px;
}

.blog-toc {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.blog-toc h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.blog-toc nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-toc nav a {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    transition: color 0.3s ease;
}

.blog-toc nav a:hover {
    color: var(--accent-warm);
}

.blog-content {
    max-width: 720px;
}

.blog-content h2 {
    font-size: 28px;
    margin-top: 48px;
    margin-bottom: 24px;
}

.blog-content h2:first-child {
    margin-top: 0;
}

.blog-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.blog-content ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.blog-content ul li {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 12px;
    list-style: disc;
}

.blog-cta {
    margin-top: 64px;
    padding: 48px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--line-color);
    border-radius: 8px;
    text-align: center;
}

.blog-cta h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.blog-cta p {
    max-width: 500px;
    margin: 0 auto 32px;
}

.back-to-top {
    display: inline-block;
    margin-top: 48px;
    font-size: 14px;
    color: var(--text-muted);
}

.back-to-top:hover {
    color: var(--accent-warm);
}

/* FAQ Section */
.faq {
    padding: 120px 0;
    border-top: 1px solid var(--line-color);
}

.faq-list {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}

.faq-item {
    padding: 40px 0;
    border-bottom: 1px solid var(--line-color);
}

.faq-question {
    font-size: 24px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.faq-answer {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 800px;
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .blog-toc {
        position: static;
        padding: 24px;
        background: rgba(255,255,255,0.02);
        border-radius: 8px;
    }
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--line-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.brand-lg {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 16px;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        align-items: flex-start;
        padding-top: 120px;
    }
    
    .hero-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }
    
    .process-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    
}
