/* =============================================================
   ANALIZUS — MODERN KATMAN: hero.css
   Bootstrap ile uyumlu, .ax-hero prefix'li hero section.
   ============================================================= */

/* -------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------- */
.ax-hero {
    padding: 32px 0 24px;
    position: relative;
    overflow: hidden;
}

/* Navbar → Hero geçiş gradienti — kopukluğu giderir */
.ax-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(
        180deg,
        rgba(11, 15, 25, 0.60) 0%,
        rgba(99, 102, 241, 0.04) 60%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Dekoratif mesh gradient — 3 asimetrik blob */
.ax-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 15% 45%, rgba(99, 102, 241, 0.18) 0%, transparent 65%),
        radial-gradient(ellipse 60% 50% at 85% 55%, rgba(139, 92, 246, 0.14) 0%, transparent 60%),
        radial-gradient(ellipse 55% 45% at 50% 5%,  rgba(99, 102, 241, 0.10) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.ax-hero > * { position: relative; z-index: 1; }

@media (max-width: 767px) {
    .ax-hero { padding: 40px 0 32px; }
}

/* -------------------------------------------------------------
   BAŞLIK
   ------------------------------------------------------------- */
.ax-hero__title {
    font-size: var(--ax-text-4xl);
    font-weight: var(--ax-font-bold);
    color: var(--ax-text-primary);
    line-height: var(--ax-leading-tight);
    margin-bottom: var(--ax-space-6);
    letter-spacing: -0.02em;
}

@media (max-width: 767px) {
    .ax-hero__title { font-size: var(--ax-text-2xl); }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .ax-hero__title { font-size: var(--ax-text-3xl); }
}

/* Başlıktaki vurgulu kelimeler — gradient text */
.ax-hero__title mark {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0;
}

/* -------------------------------------------------------------
   ALTYAZI
   ------------------------------------------------------------- */
.ax-hero__subtitle {
    font-size: var(--ax-text-lg);
    color: var(--ax-text-secondary);
    line-height: var(--ax-leading-relaxed);
    margin-top: var(--ax-space-2);
    margin-bottom: var(--ax-space-8);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    .ax-hero__subtitle {
        font-size: var(--ax-text-base);
        margin-bottom: var(--ax-space-6);
    }
}

/* -------------------------------------------------------------
   HERO DROPZONE — sürükle-bırak veri alanı
   ------------------------------------------------------------- */
.ax-hero-dropzone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ax-space-3);
    flex-wrap: wrap;
    max-width: 560px;
    margin: 0 auto var(--ax-space-3);
    padding: var(--ax-space-5) var(--ax-space-6);
    border: 1.5px dashed var(--ax-border-hover);
    border-radius: var(--ax-radius-xl);
    background: rgba(99, 102, 241, 0.04);
    transition: border-color var(--ax-transition-fast), background-color var(--ax-transition-fast);
}

.ax-hero-dropzone--drag {
    border-color: var(--ax-accent-primary);
    background: rgba(99, 102, 241, 0.10);
}

.ax-hero-dropzone__icon {
    color: var(--ax-accent-primary);
    flex-shrink: 0;
}

.ax-hero-dropzone__text {
    color: var(--ax-text-secondary);
    font-size: var(--ax-text-sm);
}

.ax-hero-dropzone__btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-size: var(--ax-text-sm);
    font-weight: var(--ax-font-semibold);
    font-family: var(--ax-font-family);
    color: #ffffff;
    background-color: var(--ax-accent-primary);
    border: none;
    border-radius: var(--ax-radius-full);
    cursor: pointer;
    transition: background-color var(--ax-transition-fast), transform var(--ax-transition-fast);
}

.ax-hero-dropzone__btn:hover {
    background-color: var(--ax-accent-primary-hover);
    transform: translateY(-1px);
}

.ax-hero-dropzone__btn:disabled {
    opacity: 0.6;
    cursor: default;
    transform: none;
}

.ax-hero-dropzone__error {
    max-width: 560px;
    margin: 0 auto var(--ax-space-3);
    text-align: center;
    color: var(--ax-accent-danger, #ef4444);
    font-size: var(--ax-text-sm);
}

.ax-hero-dropzone__trust {
    margin: 0 0 var(--ax-space-1);
    text-align: center;
    color: var(--ax-text-secondary);
    font-size: var(--ax-text-sm);
}

.ax-hero-dropzone__examples {
    margin: 0 0 var(--ax-space-3);
    text-align: center;
    color: var(--ax-text-secondary);
    font-size: var(--ax-text-xs);
}

.ax-hero-dropzone__examples a {
    color: var(--ax-accent-primary-light);
    text-decoration: none;
}

.ax-hero-dropzone__examples a:hover {
    text-decoration: underline;
}

@media (max-width: 479px) {
    .ax-hero-dropzone {
        flex-direction: column;
        padding: var(--ax-space-4);
    }
    .ax-hero-dropzone__btn {
        width: 100%;
        justify-content: center;
    }
}

/* İkincil CTA — hero dropzone altı */
.ax-hero__secondary-cta {
    text-align: center;
    margin: 0 0 var(--ax-space-6);
}

.ax-hero__secondary-cta a {
    color: var(--ax-text-secondary);
    font-size: var(--ax-text-sm);
    text-decoration: none;
    transition: color var(--ax-transition-fast);
}

.ax-hero__secondary-cta a:hover {
    color: var(--ax-accent-primary-light);
}

/* -------------------------------------------------------------
   BUTONLAR
   ------------------------------------------------------------- */
.ax-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ax-space-3);
    flex-wrap: wrap;
    margin-bottom: var(--ax-space-8);
}

.ax-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ax-space-2);
    padding: 14px 32px;
    font-size: var(--ax-text-base);
    font-weight: var(--ax-font-semibold);
    font-family: var(--ax-font-family);
    border-radius: var(--ax-radius-lg);
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color var(--ax-transition-fast),
                border-color var(--ax-transition-fast),
                transform var(--ax-transition-fast),
                box-shadow var(--ax-transition-fast);
    white-space: nowrap;
    line-height: 1;
}

.ax-hero__btn:focus-visible {
    outline: 2px solid var(--ax-accent-primary);
    outline-offset: 3px;
}

/* Primary buton */
.ax-hero__btn--primary {
    background-color: var(--ax-accent-primary);
    color: #ffffff;
    border-color: var(--ax-accent-primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.30),
                0 4px 16px rgba(99, 102, 241, 0.20);
}
.ax-hero__btn--primary:hover {
    background-color: var(--ax-accent-primary-hover);
    border-color: var(--ax-accent-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 0 32px rgba(99, 102, 241, 0.50),
                0 8px 24px rgba(99, 102, 241, 0.30);
    color: #ffffff;
}

/* Secondary buton */
.ax-hero__btn--secondary {
    background-color: transparent;
    color: var(--ax-text-primary);
    border-color: var(--ax-border-hover);
}
.ax-hero__btn--secondary:hover {
    background-color: var(--ax-bg-tertiary);
    border-color: var(--ax-accent-primary);
    color: var(--ax-text-primary);
    transform: translateY(-2px);
}

/* Ghost buton — üçüncü eylem */
.ax-hero__btn--ghost {
    background-color: transparent;
    color: var(--ax-text-muted);
    border-color: transparent;
    padding: 10px 20px;
    font-size: var(--ax-text-sm);
}
.ax-hero__btn--ghost:hover {
    background-color: var(--ax-bg-tertiary);
    color: var(--ax-text-primary);
    border-color: var(--ax-border);
    transform: translateY(-2px);
}

@media (max-width: 479px) {
    .ax-hero__btn {
        width: 100%;
        padding: 14px 20px;
    }
    .ax-hero__btn--ghost {
        padding: 12px 20px;
    }
}

/* -------------------------------------------------------------
   METRİKLER
   ------------------------------------------------------------- */
.ax-hero__metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ax-space-6);
    flex-wrap: wrap;
}

.ax-hero__metric {
    display: flex;
    align-items: center;
    gap: var(--ax-space-2);
    font-size: var(--ax-text-sm);
    color: var(--ax-text-muted);
}

.ax-hero__metric-value {
    font-size: var(--ax-text-base);
    font-weight: var(--ax-font-semibold);
    color: var(--ax-text-secondary);
}

/* Metrikler arası ayraç */
.ax-hero__metric:not(:last-child)::after {
    content: '·';
    margin-left: var(--ax-space-6);
    color: var(--ax-border-hover);
}

@media (max-width: 479px) {
    .ax-hero__metrics { gap: var(--ax-space-4); }
    .ax-hero__metric:not(:last-child)::after { display: none; }
}

/* Veri kazıma atıf satırı */
.ax-hero__kazima-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 var(--ax-space-3);
    font-size: var(--ax-text-sm);
    color: var(--ax-text-secondary);
}
.ax-hero__kazima-bar span:first-child {
    opacity: .8;
    font-size: var(--ax-text-sm);
}
.ax-hero__kazima-bar a {
    color: var(--ax-color-primary);
    text-decoration: none;
    font-weight: var(--ax-font-medium);
    transition: color var(--ax-transition-fast);
}
.ax-hero__kazima-bar a:hover {
    color: var(--ax-text-primary);
}
.ax-hero__kazima-sep { display: none; }

/* Kişiselleştirilmiş segment bandı */
.ax-hero__personal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--ax-space-2);
    justify-content: center;
    padding: var(--ax-space-3) var(--ax-space-6);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--ax-radius-full);
    font-size: var(--ax-text-sm);
}
.ax-hero__personal-badge {
    font-weight: var(--ax-font-semibold);
    color: var(--ax-accent-primary-light);
}
.ax-hero__personal-text {
    color: var(--ax-text-muted);
}
.ax-hero__personal-link {
    color: var(--ax-text-secondary);
    text-decoration: none;
    font-weight: var(--ax-font-medium);
    transition: color var(--ax-transition-fast);
}
.ax-hero__personal-link:hover {
    color: var(--ax-accent-primary-light);
}
.ax-hero__personal-sep {
    color: var(--ax-border-hover);
}

/* -------------------------------------------------------------
   KAPI KARTLARI ALTI — veri kazıma + kurumsal yönlendirme şeridi
   ------------------------------------------------------------- */
.ax-below-doors {
    padding: var(--ax-space-5) 0 var(--ax-space-6);
    border-top: 1px solid var(--ax-border);
}

.ax-below-doors__corporate {
    margin: 0;
    font-size: var(--ax-text-sm);
}

.ax-below-doors__corporate a {
    color: var(--ax-text-secondary);
    text-decoration: none;
    font-weight: var(--ax-font-medium);
    transition: color var(--ax-transition-fast);
}

.ax-below-doors__corporate a:hover {
    color: var(--ax-color-primary);
}

/* EN/DE birincil çağrı: proje talebi (27 Eylül 2026) */
.ax-hero__primary-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ax-space-2);
    margin-bottom: var(--ax-space-5);
}
/* Genişlik metne göre (DE metni uzun: 360px'e sığmıyordu); dar ekranda satır kırabilir */
.ax-hero__primary-cta .ax-btn {
    width: auto;
    min-width: min(100%, 320px);
    max-width: 100%;
    white-space: normal;
    text-align: center;
}
.ax-hero__primary-cta-note {
    margin: 0;
    font-size: var(--ax-text-sm);
    color: var(--ax-text-secondary);
}
.ax-hero__or {
    margin: 0 0 var(--ax-space-3);
    font-size: var(--ax-text-sm);
    color: var(--ax-text-secondary);
}
