/* Temel Sıfırlama ve Değişkenler */
:root {
    --bg-dark: #0a0a0c;
    --surface: #121216;
    --surface-light: #1c1c21;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --neon-blue: #3b82f6;
    --neon-purple: #8b5cf6;
    --accent: #3b82f6;
    --success: #10b981;
    --danger: #ef4444;

    /* Neons/Glows */
    --glow-primary: 0 0 15px rgba(59, 130, 246, 0.15);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);

    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 2rem 1rem;
}

/* Arka Plan Ambient Orb Efektleri */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.3;
    animation: float 10s infinite ease-in-out alternate;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--neon-purple) 0%, transparent 70%);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--neon-blue) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, 60px) scale(1.1);
    }
}

/* Ana Konteyner */
.container {
    width: 100%;
    max-width: 640px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Başlık */
.header-section {
    text-align: center;
    margin-bottom: 1rem;
}

.glow-icon {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.4));
}

h1 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
    color: #fff;
}

.highlight {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-section p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* Glass Panel Genel Stili */
.glass-panel {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Arama Kutusu */
.search-box h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
}

.input-group {
    display: flex;
    position: relative;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
    pointer-events: none;
}

input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 0.75rem 0.75rem 3rem;
    color: #fff;
    font-size: 1.1rem;
    font-family: inherit;
    outline: none;
}

input::placeholder {
    color: #475569;
}

/* Buton */
.primary-btn {
    background: var(--neon-blue);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.primary-btn:hover {
    background: #2563eb;
    transform: scale(1.02);
}

.primary-btn:active {
    transform: scale(0.98);
}

/* Pipeline / Status Steps */
.pipeline-container {
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: none;
}

.pipeline-container::-webkit-scrollbar {
    display: none;
}

.pipeline-track {
    display: flex;
    gap: 0.5rem;
    min-width: max-content;
}

.pipe-step {
    padding: 0.5rem 1rem;
    background: var(--surface-light);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.pipe-step.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.pipe-step.completed {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border-color: rgba(59, 130, 246, 0.2);
}

/* Sonuç Kartı */
.hidden {
    display: none !important;
}

.result-card {
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.card-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
}

/* Rozet (Durum) */
.status-badge {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-badge.hazir {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.2);
}

.status-badge.islemde {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border-color: rgba(59, 130, 246, 0.2);
}

.status-badge.teslim {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
    border-color: rgba(148, 163, 184, 0.2);
}

.pulse {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(59, 130, 246, 0);
    }
}

/* Grid Detaylar */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.full-width {
    grid-column: span 2;
}

.info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    font-weight: 800;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #f1f5f9;
}

.note-area {
    background: rgba(59, 130, 246, 0.05);
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

/* Aksiyon Butonları */
.action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

.wa-btn {
    background: var(--success);
    color: #fff;
}

.wa-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

.call-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: #fff;
}

.call-btn:hover {
    background: var(--surface-light);
    transform: translateY(-2px);
}

.security-note {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Hata vs. */
.status-msg {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 20px;
    font-weight: 500;
}

.status-msg.error {
    color: var(--danger);
}

.status-msg.loading {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 540px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

    .action-row {
        grid-template-columns: 1fr;
    }

    .header-section h1 {
        font-size: 1.8rem;
    }

    .glass-panel {
        padding: 1.5rem;
    }
}