/**
 * FAST AI LABS - Stripe-Inspired Monochrome Design
 * Pure black & white, massive typography, clean layouts
 */

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 20px;
    line-height: 1.6;
    color: #FFFFFF;
    background: #000000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 20px 0;
}

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

.nav-logo {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 48px;
    list-style: none;
}

.nav-links a {
    font-size: 16px;
    color: #999999;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #FFFFFF;
}

/* ============================================
   HERO
   ============================================ */

.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 240px 60px 160px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(64px, 8vw, 96px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #FFFFFF;
    margin-bottom: 32px;
}

.hero p {
    font-size: 24px;
    line-height: 1.5;
    color: #999999;
    max-width: 720px;
    margin: 0 auto 48px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: #FFFFFF;
    color: #000000;
    border: none;
}

.btn-primary:hover {
    transform: scale(1.02);
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.02);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 160px 0;
}

.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 100px;
}

.section-intro h2 {
    font-size: clamp(48px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin-bottom: 24px;
    line-height: 1.1;
}

.section-intro p {
    font-size: 22px;
    color: #999999;
    line-height: 1.6;
}

/* ============================================
   SERVICES
   ============================================ */

.services {
    background: #0A0A0A;
    padding: 160px 0;
}

.services .section-intro {
    margin-bottom: 80px;
}

.service-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.service-item {
    background: #000000;
    padding: 60px;
    transition: all 0.2s ease;
}

.service-item:hover {
    background: #111111;
}

.service-number {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #999999;
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}

.service-item h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.service-item > p {
    color: #999999;
    margin-bottom: 32px;
    line-height: 1.7;
    font-size: 18px;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list li {
    font-size: 16px;
    color: #999999;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.service-list li:before {
    content: "—";
    position: absolute;
    left: 0;
    color: #FFFFFF;
}

/* ============================================
   OUR WORK
   ============================================ */

.work {
    background: #000000;
    padding: 160px 0;
}

.work-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.project-grid {
    margin-top: 80px;
}

.project-item {
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px;
    max-width: 1000px;
    transition: all 0.2s ease;
}

.project-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.project-content h3 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.project-lead {
    font-size: 24px;
    color: #FFFFFF;
    margin-bottom: 24px !important;
    font-weight: 500;
}

.project-content > p {
    font-size: 18px;
    line-height: 1.7;
    color: #999999;
    margin-bottom: 40px;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.feature-tag {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.project-link:hover {
    gap: 12px;
}

/* ============================================
   WHY US
   ============================================ */

.why-us {
    background: #0A0A0A;
    padding: 160px 0;
}

.why-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.why-content h2 {
    font-size: clamp(48px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin-bottom: 80px;
    text-align: center;
    line-height: 1.1;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.why-item {
    background: #000000;
    padding: 60px;
    transition: all 0.2s ease;
}

.why-item:hover {
    background: #111111;
}

.why-item h3 {
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.why-item p {
    font-size: 18px;
    line-height: 1.7;
    color: #999999;
}

/* ============================================
   ABOUT
   ============================================ */

.about {
    background: #000000;
    padding: 160px 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
    text-align: center;
}

.about h2 {
    font-size: clamp(48px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin-bottom: 32px;
    line-height: 1.1;
}

.about-lead {
    font-size: 24px;
    color: #FFFFFF;
    margin-bottom: 32px !important;
    font-weight: 500;
}

.about p {
    font-size: 18px;
    line-height: 1.7;
    color: #999999;
    margin-bottom: 32px;
}

.about-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 60px;
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    margin-top: 80px;
}

.info-item {
    text-align: center;
}

.info-label {
    font-size: 14px;
    color: #999999;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.info-value {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
}

/* ============================================
   CONTACT
   ============================================ */

.contact {
    background: #0A0A0A;
    padding: 160px 0;
}

.contact-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: start;
}

.contact-intro h2 {
    font-size: clamp(48px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin-bottom: 24px;
    line-height: 1.1;
}

.contact-intro > p {
    font-size: 22px;
    color: #999999;
    margin-bottom: 60px;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-row {
    padding: 32px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.info-row:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.info-row .label {
    font-size: 14px;
    color: #999999;
    margin-bottom: 12px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.info-row .value {
    font-size: 18px;
    color: #FFFFFF;
    font-weight: 500;
    line-height: 1.6;
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 20px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    font-size: 18px;
    font-family: inherit;
    color: #FFFFFF;
    background: #000000;
    transition: all 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: #0A0A0A;
}

.form-row textarea {
    resize: vertical;
    font-family: inherit;
    min-height: 160px;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: #666666;
}

.contact-form button {
    align-self: flex-start;
}

/* ============================================
   LOCATION MAP
   ============================================ */

.location-map {
    background: #000000;
    padding: 160px 0;
}

.map-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    height: 600px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-wrapper iframe {
    display: block;
    filter: grayscale(100%) invert(100%) contrast(90%);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #000000;
    padding: 100px 0 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 120px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.footer-brand p {
    font-size: 16px;
    color: #999999;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-address {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.link-group h4 {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.link-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-group a {
    font-size: 16px;
    color: #999999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.link-group a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    padding-top: 60px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #666666;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .nav-content,
    .hero,
    .service-grid,
    .work-content,
    .why-content,
    .about-content,
    .contact-content,
    .map-wrapper,
    .footer-content {
        padding-left: 40px;
        padding-right: 40px;
    }

    section {
        padding: 120px 0;
    }

    .hero {
        padding: 200px 40px 140px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-content,
    .hero,
    .service-grid,
    .work-content,
    .why-content,
    .about-content,
    .contact-content,
    .map-wrapper,
    .footer-content {
        padding-left: 24px;
        padding-right: 24px;
    }

    .map-wrapper {
        height: 400px;
        border-radius: 16px;
    }

    .hero {
        padding: 160px 24px 100px;
    }

    section {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 20px;
    }

    .section-intro h2,
    .why-content h2,
    .about h2,
    .contact-intro h2 {
        font-size: 40px;
    }

    .about-info {
        flex-direction: column;
        gap: 40px;
        padding: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-item {
        padding: 48px 32px;
    }

    .service-item,
    .why-item {
        padding: 40px;
    }
}


/* Partners Text Section - Scrolling Animation */
.partners-text {
    background: #000;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    width: 100%;
}

.partners-line {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.partners-line:hover {
    animation-play-state: paused;
}

.partners-line span {
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.partners-line span:not(:last-child)::after {
    content: "•";
    position: absolute;
    right: -12px;
    color: rgba(255, 255, 255, 0.15);
}

.partners-line span:hover {
    color: rgba(255, 255, 255, 0.6);
}

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

@media (max-width: 768px) {
    .partners-text {
        padding: 30px 0;
    }
    
    .partners-line {
        gap: 16px;
        animation: scroll 30s linear infinite;
    }
    
    .partners-line span {
        font-size: 12px;
    }
    
    .partners-line span:not(:last-child)::after {
        right: -10px;
    }
}
