@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --ink: #0F1B2D;
    --ink-2: #16273D;
    --panel: #F5F3EE;
    --panel-line: #E3DFD5;
    --amber: #E8963C;
    --amber-dim: #C97D2E;
    --slate: #6B7684;
    --white: #FFFFFF;
    --success: #4C8065;
}

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

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    background: var(--panel);
    color: var(--ink);
}

.split {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* SOL PANEL — marka / pipeline görselleştirme */
.brand-side {
    flex: 1.1;
    background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
    color: var(--white);
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.brand-side::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.brand-mark {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

.brand-mark .dot { color: var(--amber); }

.pipeline {
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 48px 0;
}

.pipeline-frame {
    width: 92px;
    height: 92px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.02em;
    text-align: center;
    flex-shrink: 0;
    position: relative;
}

.pipeline-frame.raw {
    border: 1.5px dashed rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.55);
}

.pipeline-frame.processed {
    background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dim) 100%);
    color: var(--ink);
    font-weight: 600;
    box-shadow: 0 8px 24px -8px rgba(232, 150, 60, 0.5);
}

.pipeline-arrow {
    color: var(--amber);
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(3px); }
}

.headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    z-index: 1;
    max-width: 420px;
}

.headline .accent { color: var(--amber); }

.sub {
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    margin-top: 16px;
    max-width: 380px;
    line-height: 1.6;
    z-index: 1;
}

.feature-strip {
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
    max-width: 400px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
}

.feature-icon {
    font-size: 18px;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(232,150,60,0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.feature-text strong {
    font-size: 13px;
    color: var(--white);
    font-weight: 600;
}

.feature-text span {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
}

.platform-row {
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.platform-row-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.platform-badges {
    display: flex;
    gap: 8px;
}

.platform-badge {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px -4px rgba(0,0,0,0.4);
}

.platform-badge.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.platform-badge.tiktok { background: #111; }
.platform-badge.facebook { background: #1877F2; }

.status-row {
    z-index: 1;
    display: flex;
    gap: 28px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.03em;
}

.status-row span.on { color: var(--amber); }

/* SAĞ PANEL — giriş formu, vizör çerçeveli */
.form-side {
    flex: 0.85;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.viewfinder {
    position: relative;
    width: 100%;
    max-width: 380px;
    padding: 48px 40px;
}

.corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: var(--ink);
    opacity: 0.7;
}
.corner.tl { top: 0; left: 0; border-top: 2px solid; border-left: 2px solid; }
.corner.tr { top: 0; right: 0; border-top: 2px solid; border-right: 2px solid; }
.corner.bl { bottom: 0; left: 0; border-bottom: 2px solid; border-left: 2px solid; }
.corner.br { bottom: 0; right: 0; border-bottom: 2px solid; border-right: 2px solid; }

.form-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--amber-dim);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.form-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-desc {
    color: var(--slate);
    font-size: 13.5px;
    margin-bottom: 32px;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 7px;
}

.field input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--panel-line);
    border-radius: 6px;
    font-size: 14.5px;
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--ink);
    transition: border-color 0.15s ease;
}

.field input:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(232, 150, 60, 0.15);
}

.submit-btn {
    width: 100%;
    padding: 13px;
    background: var(--ink);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 14.5px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.15s ease;
}

.submit-btn:hover { background: var(--ink-2); }
.submit-btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.error-msg {
    background: #FDEDE8;
    border: 1px solid #F0B7A5;
    color: #B3401F;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 18px;
    display: none;
}

.footer-note {
    margin-top: 24px;
    font-size: 12px;
    color: var(--slate);
    text-align: center;
}

@media (max-width: 860px) {
    .split { flex-direction: column; }
    .brand-side { padding: 40px 32px; }
    .pipeline { margin: 32px 0; }
    .headline { font-size: 26px; }
    .form-side { padding: 32px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .pipeline-arrow { animation: none; }
}
