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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.3);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--background) 0%, rgba(16, 20, 26, 0.4) 50%, var(--background) 100%);
}

@media (min-width: 1024px) {
    .hero-overlay {
        background: linear-gradient(90deg, var(--background) 0%, rgba(16, 20, 26, 0.4) 50%, transparent 100%);
    }
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 52px;
    margin: 24px 0 32px;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 80px;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 110px;
    }
}

.hero p {
    font-size: 16px;
    font-weight: 300;
    max-width: 500px;
    margin-bottom: 40px;
    color: var(--on-surface);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .hero p {
        font-size: 20px;
        max-width: 600px;
        margin-bottom: 48px;
    }
}

.primary-btn {
    background: var(--primary);
    color: var(--on-primary);
    padding: 16px 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: none;
    font-size: 12px;
    cursor: pointer;
    transition: filter 0.3s;
    text-decoration: none;
    display: inline-block;
}

@media (min-width: 768px) {
    .primary-btn {
        padding: 20px 48px;
        font-size: 14px;
    }
}

.primary-btn:hover {
    filter: brightness(1.1);
}



/* Expertise Section */
.expertise {
    padding: 80px 0;
    background: #0a0e14;
}

@media (min-width: 1024px) {
    .expertise {
        padding: 160px 0;
    }
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

@media (min-width: 1024px) {
    .section-header {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: flex-end;
        margin-bottom: 80px;
    }
}

.section-header h2 {
    font-size: 40px;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 64px;
    }
}

.section-header p {
    font-size: 16px;
    font-weight: 300;
    color: var(--on-surface-variant);
}

@media (min-width: 768px) {
    .section-header p {
        font-size: 18px;
    }
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: rgba(141, 144, 162, 0.2);
    border: 1px solid rgba(141, 144, 162, 0.2);
}

@media (min-width: 640px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.expertise-card {
    background: var(--background);
    padding: 40px;
    transition: background 0.3s;
    position: relative;
    min-height: 320px;
}

@media (min-width: 1024px) {
    .expertise-card {
        padding: 56px;
        min-height: auto;
    }
}

.expertise-card:hover {
    background: var(--surface);
}

.expertise-card .icon {
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 32px;
}

.expertise-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.expertise-card p {
    font-size: 14px;
    color: var(--on-surface-variant);
    line-height: 1.6;
}

/* Projects Section */
.projects {
    padding: 80px 0;
}

@media (min-width: 1024px) {
    .projects {
        padding: 160px 0;
    }
}

.projects-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .projects-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
        margin-bottom: 96px;
    }
}

.projects-header h2 {
    font-size: 40px;
}

@media (min-width: 768px) {
    .projects-header h2 {
        font-size: 72px;
    }
}

.ghost-btn {
    background: transparent;
    border: 1px solid var(--outline);
    color: var(--on-surface);
    padding: 12px 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
}

@media (min-width: 768px) {
    .ghost-btn {
        padding: 16px 40px;
        font-size: 12px;
    }
}

.ghost-btn:hover {
    background: var(--surface);
    border-color: #ffffff;
}

.project-item {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 48px 0;
    border-bottom: 1px solid rgba(141, 144, 162, 0.1);
}

@media (min-width: 1024px) {
    .project-item {
        display: grid;
        grid-template-columns: 5fr 6fr;
        gap: 80px;
        padding: 80px 0;
    }
}

.project-item:first-child {
    padding-top: 0;
}

.project-item:last-child {
    border-bottom: none;
}

.project-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface);
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.9);
    transition: all 0.7s;
}

.project-item:hover .project-img img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.05);
}

.project-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.project-tag {
    background: rgba(67, 70, 86, 0.4);
    padding: 4px 10px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-info h3 {
    font-size: 28px;
    margin-bottom: 24px;
    transition: color 0.3s;
}

@media (min-width: 768px) {
    .project-info h3 {
        font-size: 48px;
        margin-bottom: 32px;
    }
}

.project-item:hover h3 {
    color: var(--primary);
}

.project-info p {
    font-size: 16px;
    font-weight: 300;
    color: var(--on-surface);
    margin-bottom: 32px;
    line-height: 1.6;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    border: 1px solid rgba(141, 144, 162, 0.4);
    padding: 6px 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}


/* Tech Marquee */
.tech-stack {
    padding: 60px 0;
    background: #0a0e14;
    border-top: 1px solid rgba(67, 70, 86, 0.3);
    border-bottom: 1px solid rgba(67, 70, 86, 0.3);
    overflow: hidden;
}

.marquee-container {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 30px;
    filter: grayscale(1);
    opacity: 0.6;
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .marquee-item {
        gap: 16px;
        margin: 0 60px;
    }
}

.marquee-item:hover {
    filter: grayscale(0);
    opacity: 1;
}

.marquee-item .icon {
    font-size: 24px;
    color: var(--primary);
}

.marquee-item span {
    font-weight: 900;
    font-size: 18px;
    letter-spacing: -0.05em;
}

@media (min-width: 768px) {
    .marquee-item .icon {
        font-size: 32px;
    }

    .marquee-item span {
        font-size: 24px;
    }
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* Testimonials */
.testimonials {
    padding: 80px 0;
}

@media (min-width: 1024px) {
    .testimonials {
        padding: 160px 0;
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 80px;
    }
}

.testimonial-card {
    display: flex;
    flex-direction: column;
}

.quote-icon {
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 40px;
}

.author-line {
    width: 40px;
    height: 1px;
    background: var(--primary);
    margin-bottom: 24px;
}

.author-name {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.author-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--on-surface-variant);
    margin-top: 8px;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    text-align: center;
    background: #14181f;
    border-top: 1px solid rgba(67, 70, 86, 0.3);
    border-bottom: 1px solid rgba(67, 70, 86, 0.3);
}

@media (min-width: 1024px) {
    .cta {
        padding: 240px 0;
    }
}

.cta h2 {
    font-size: 48px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .cta h2 {
        font-size: 80px;
        margin-bottom: 40px;
    }
}

.cta p {
    font-size: 16px;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 48px;
    color: var(--on-surface);
}

@media (min-width: 768px) {
    .cta p {
        font-size: 20px;
        max-width: 800px;
        margin-bottom: 80px;
    }
}

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

@media (min-width: 768px) {
    .cta-actions {
        flex-direction: row;
        gap: 60px;
    }
}

.manifesto-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--on-surface);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s;
}

.manifesto-link:hover {
    color: #ffffff;
}


