:root {
    --fb-bg-deep: #07080C;
    --fb-bg-surface: #0E1017;
    --fb-bg-card: #121520;
    --fb-bg-card-hover: #171B2A;
    --fb-bg-dark-canvas: #040508;
    
    --fb-text-main: #FFFFFF;
    --fb-text-muted: #94A3B8;
    --fb-text-dim: #64748B;
    
    --fb-accent-cyan: #00F2FE;
    --fb-accent-blue: #4FACFE;
    --fb-accent-amber: #FF9F43;
    
    --fb-border-subtle: rgba(255, 255, 255, 0.08);
    --fb-border-cyan: rgba(0, 242, 254, 0.28);
    --fb-border-amber: rgba(255, 159, 67, 0.28);
    
    --fb-font-serif: 'Instrument Serif', Georgia, serif;
    --fb-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --fb-font-mono: 'JetBrains Mono', monospace;

    --fb-radius-card: 20px;
    --fb-radius-pill: 9999px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    background-color: var(--fb-bg-deep);
    color: var(--fb-text-main);
    font-family: var(--fb-font-sans);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.fb-editorial-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Underline Accents */
.fb-u-cyan {
    text-decoration: underline;
    text-decoration-color: var(--fb-accent-cyan);
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
}

.fb-u-amber {
    text-decoration: underline;
    text-decoration-color: var(--fb-accent-amber);
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
}

/* Top Navigation Bar */
.fb-nav-editorial {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.85rem 0;
    background: rgba(7, 8, 12, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--fb-border-subtle);
}

.fb-nav-editorial-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Unified Tight Logo Unit */
.fb-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    flex-shrink: 0;
}

.fb-brand-logo-img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    margin-right: -4px;
    filter: drop-shadow(0 2px 8px rgba(0, 242, 254, 0.2));
}

.fb-brand-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fb-brand-name {
    font-family: var(--fb-font-sans);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    line-height: 1.05;
}

.fb-brand-sub {
    font-family: var(--fb-font-sans);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--fb-text-muted);
    text-transform: uppercase;
    line-height: 1;
    margin-top: 1px;
}

.fb-company-legal-title {
    font-family: var(--fb-font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--fb-accent-cyan);
    letter-spacing: 0.02em;
    margin-top: 0.4rem;
    margin-bottom: 0.5rem;
}

.fb-nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.fb-nav-menu a {
    color: var(--fb-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

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

/* Language Switcher Pill (TR | EN) */
.fb-lang-switcher {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--fb-border-subtle);
    border-radius: var(--fb-radius-pill);
    padding: 3px;
}

.fb-lang-btn {
    background: transparent;
    border: none;
    color: var(--fb-text-muted);
    font-family: var(--fb-font-mono);
    font-size: 0.725rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: var(--fb-radius-pill);
    cursor: pointer;
    transition: all 0.25s ease;
}

.fb-lang-btn.active {
    background: var(--fb-accent-cyan);
    color: #07080C;
    font-weight: 700;
}

.fb-btn-editorial {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.35rem;
    border-radius: var(--fb-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    white-space: nowrap;
}

.fb-btn-editorial-primary {
    background: #FFFFFF;
    color: #07080C;
}

.fb-btn-editorial-primary:hover {
    background: var(--fb-accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.35);
}

/* Hero Editorial Section */
.fb-hero-editorial {
    padding: 10.5rem 0 5.5rem;
    min-height: 80vh;
}

.fb-hero-statement-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 4rem;
    align-items: center;
}

.fb-hero-headline {
    font-family: var(--fb-font-sans);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.03em;
    color: #FFFFFF;
}

.fb-hero-subtext-box {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.fb-hero-subtext {
    font-size: 1.15rem;
    line-height: 1.68;
    color: var(--fb-text-muted);
    font-weight: 400;
}

/* Anthropic Dark Canvas Section */
.fb-canvas-section {
    padding: 5.5rem 0;
}

.fb-canvas-card {
    background: linear-gradient(180deg, rgba(4, 5, 8, 0.65) 0%, rgba(4, 5, 8, 0.82) 100%), url('../images/canvas_bg.jpg') center/cover no-repeat;
    border: 1px solid var(--fb-border-cyan);
    border-radius: 28px;
    padding: 8.5rem 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 30px 100px rgba(0,0,0,0.92), inset 0 0 100px rgba(0, 242, 254, 0.08);
    transition: transform 0.4s ease-out;
}

.fb-canvas-title {
    font-family: var(--fb-font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.18;
    color: #FFFFFF;
    max-width: 780px;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 10;
    pointer-events: none;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.fb-canvas-subtitle {
    font-size: 1.125rem;
    color: #CBD5E1;
    max-width: 640px;
    margin: 0 auto 3rem;
    font-weight: 400;
    position: relative;
    z-index: 10;
    pointer-events: none;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Floating Interactive Tiles */
.fb-floating-tile {
    position: absolute;
    background: rgba(14, 18, 28, 0.95);
    border: 1px solid var(--fb-border-subtle);
    border-radius: 12px;
    padding: 0.75rem 1.15rem;
    backdrop-filter: blur(24px);
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--fb-text-main);
    box-shadow: 0 12px 30px rgba(0,0,0,0.7);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    user-select: none;
}

.fb-nano-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(0, 242, 254, 0.15);
    border: 1px solid var(--fb-border-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fb-accent-cyan);
    flex-shrink: 0;
}

.amber-tile .fb-nano-icon {
    background: rgba(255, 159, 67, 0.15);
    border-color: var(--fb-border-amber);
    color: var(--fb-accent-amber);
}

.fb-floating-tile:hover {
    border-color: var(--fb-accent-cyan);
    background: rgba(26, 32, 50, 0.98);
    transform: scale(1.05) translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.3);
}

.fb-floating-tile.amber-tile:hover {
    border-color: var(--fb-accent-amber);
    box-shadow: 0 15px 35px rgba(255, 159, 67, 0.3);
}

/* Modal Drawer */
.fb-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 5, 8, 0.88);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.fb-drawer-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.fb-drawer-card {
    background: #0E1017;
    border: 1px solid var(--fb-border-cyan);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    width: 90%;
    max-width: 680px;
    position: relative;
    box-shadow: 0 30px 100px rgba(0, 242, 254, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fb-drawer-overlay.is-open .fb-drawer-card {
    transform: translateY(0);
}

.fb-drawer-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--fb-border-subtle);
    color: var(--fb-text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.fb-drawer-close:hover {
    color: #FFF;
    border-color: var(--fb-accent-cyan);
    background: rgba(0, 242, 254, 0.1);
}

.fb-drawer-tag {
    font-family: var(--fb-font-mono);
    font-size: 0.75rem;
    color: var(--fb-accent-cyan);
    margin-bottom: 0.75rem;
    display: block;
    letter-spacing: 0.05em;
}

.fb-drawer-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.fb-drawer-text {
    font-size: 0.95rem;
    color: var(--fb-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 400;
}

.fb-trace-box {
    background: rgba(7, 8, 12, 0.9);
    border: 1px solid var(--fb-border-subtle);
    border-radius: 12px;
    padding: 1.25rem;
    font-family: var(--fb-font-mono);
    font-size: 0.78rem;
    color: var(--fb-text-main);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fb-trace-row {
    display: flex;
    justify-content: space-between;
}

.fb-trace-label { color: var(--fb-text-dim); }
.fb-trace-val { color: var(--fb-accent-cyan); font-weight: 600; }

/* 3-Column Production Systems Section */
.fb-releases-section {
    padding: 5.5rem 0 7.5rem;
}

.fb-section-header-editorial {
    font-size: 2.25rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.fb-section-subtitle-editorial {
    font-size: 1.05rem;
    color: var(--fb-text-muted);
    margin-bottom: 3.5rem;
    max-width: 720px;
    line-height: 1.6;
}

.fb-release-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.fb-release-card {
    background: var(--fb-bg-surface);
    border: 1px solid var(--fb-border-subtle);
    border-radius: var(--fb-radius-card);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.fb-release-card:hover {
    border-color: var(--fb-border-cyan);
    background: var(--fb-bg-card-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.fb-release-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--fb-border-subtle);
}

.fb-release-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.fb-release-desc {
    font-size: 0.9rem;
    color: var(--fb-text-muted);
    line-height: 1.68;
    margin-bottom: 2rem;
    font-weight: 400;
}

.fb-release-footer-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--fb-border-subtle);
}

/* Meta Category Badge Single-Line */
.fb-release-meta {
    display: block;
    width: 100%;
    font-family: var(--fb-font-mono);
    font-size: 0.72rem;
    color: var(--fb-text-dim);
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.fb-release-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--fb-radius-pill);
    background: #FFFFFF;
    color: #07080C;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
}

.fb-release-link:hover {
    background: var(--fb-accent-cyan);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

/* Specific Deep-Tech Services Section */
.fb-services-section {
    padding: 6rem 0;
    background: #090B10;
    border-top: 1px solid var(--fb-border-subtle);
    border-bottom: 1px solid var(--fb-border-subtle);
}

.fb-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.fb-service-card {
    background: var(--fb-bg-surface);
    border: 1px solid var(--fb-border-subtle);
    border-radius: 18px;
    padding: 2.25rem 1.75rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fb-service-card:hover {
    border-color: var(--fb-border-cyan);
    transform: translateY(-4px);
    background: #131722;
}

.fb-service-num {
    font-family: var(--fb-font-mono);
    font-size: 0.85rem;
    color: var(--fb-accent-cyan);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.fb-service-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.fb-service-desc {
    font-size: 0.875rem;
    color: var(--fb-text-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.fb-service-tag {
    font-family: var(--fb-font-mono);
    font-size: 0.725rem;
    color: var(--fb-text-dim);
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border: 1px solid var(--fb-border-subtle);
    margin-top: auto;
}

/* Technical Architecture Breakdown Section */
.fb-arch-section {
    padding: 6.5rem 0;
}

.fb-arch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.fb-arch-headline {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.fb-arch-desc {
    font-size: 1.05rem;
    color: var(--fb-text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 400;
}

.fb-telemetry-box {
    background: var(--fb-bg-surface);
    border: 1px solid var(--fb-border-subtle);
    border-radius: 20px;
    padding: 2rem;
    font-family: var(--fb-font-mono);
}

.fb-telemetry-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--fb-border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fb-telemetry-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fb-telemetry-label {
    font-size: 0.85rem;
    color: var(--fb-text-muted);
}

.fb-telemetry-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--fb-accent-cyan);
}

/* Manifesto Section */
.fb-manifesto-section {
    padding: 6rem 0;
    border-top: 1px solid var(--fb-border-subtle);
}

.fb-manifesto-banner {
    background: linear-gradient(135deg, rgba(14, 16, 23, 0.95), rgba(7, 8, 12, 0.98));
    border: 1px solid var(--fb-border-cyan);
    border-radius: 28px;
    padding: 4.5rem 4rem;
    position: relative;
    overflow: hidden;
}

.fb-manifesto-headline {
    font-family: var(--fb-font-serif);
    font-size: 3.25rem;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.fb-manifesto-body {
    font-size: 1.125rem;
    color: var(--fb-text-muted);
    line-height: 1.7;
    max-width: 840px;
    font-weight: 400;
}

/* Contact Action Hub */
.fb-contact-hub-section {
    padding: 5rem 0 3rem;
    text-align: center;
    background: #05070A;
    border-top: 1px solid var(--fb-border-subtle);
}

.fb-contact-actions-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.fb-contact-btn-email {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: #FF9F43;
    color: #07080C;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(255, 159, 67, 0.3);
}

.fb-contact-btn-email:hover {
    background: #FFAF60;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 159, 67, 0.45);
}

.fb-contact-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.fb-contact-btn-whatsapp:hover {
    border-color: #25D366;
    color: #25D366;
    background: rgba(37, 211, 102, 0.1);
    transform: translateY(-2px);
}

.fb-contact-locations-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    color: var(--fb-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.fb-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.fb-contact-callout {
    font-size: 1rem;
    color: var(--fb-text-muted);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.65;
}

.fb-contact-callout-link {
    color: #FF9F43;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.fb-contact-callout-link:hover {
    color: #FFBF80;
}

/* Editorial Footer */
.fb-footer-editorial {
    background: #040507;
    border-top: 1px solid var(--fb-border-subtle);
    padding: 5rem 0 3rem;
}

.fb-footer-grid-editorial {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.fb-footer-brand-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fb-footer-col-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
    letter-spacing: 0.04em;
}

.fb-footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fb-footer-list a {
    color: var(--fb-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.fb-footer-list a:hover { color: #FFFFFF; }

@media (max-width: 1024px) {
    .fb-hero-statement-grid { grid-template-columns: 1fr; gap: 2rem; }
    .fb-hero-headline { font-size: 2.75rem; }
    .fb-canvas-title { font-size: 2.5rem; }
    .fb-release-grid { grid-template-columns: 1fr; }
    .fb-services-grid { grid-template-columns: 1fr 1fr; }
    .fb-arch-grid { grid-template-columns: 1fr; }
    .fb-footer-grid-editorial { grid-template-columns: 1fr 1fr; }
    .fb-floating-tile { position: relative !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; margin-bottom: 1rem; display: inline-flex; }
    .fb-nav-menu { display: none; }
}

@media (max-width: 640px) {
    .fb-services-grid { grid-template-columns: 1fr; }
    .fb-contact-locations-row { flex-direction: column; gap: 1rem; }
}
