/* ============================================================
   ABOUT PAGE — Duck Atelyesi tanıtım sayfası
   B83: tüm "ui-dd vs Bootstrap vs Tailwind" karşılaştırması
   kaldırıldı; artık Duck'ın AI atölyesi kimliği anlatılıyor.
   GSAP ScrollTrigger ile pipeline path + bölüm bölüm fade-up.
   ============================================================ */

/* ---------- HERO ---------- */
.ab-hero {
    text-align: center;
    padding: 64px 24px 48px;
    max-width: 920px;
    margin: 0 auto;
}
/* B88a follow-up #2: Mascot-integrated wordmark logo (SVG-based).
   D harfi şapka + gaga ile mascot'a dönüşür, "uck" açık gri-mor,
   sağ swash kıvrım. Inter Black 900 self-hosted (lib/fonts/inter/). */
.ab-hero-mark {
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
    line-height: 0;
}
.ab-hero-logo {
    width: clamp(340px, 55vw, 640px);
    height: auto;
    filter:
        drop-shadow(2px 3px 0 rgba(0, 0, 0, 0.10))
        drop-shadow(4px 6px 8px rgba(124, 92, 255, 0.25));
}
/* Dot-matrix variant — fill=currentColor, brand mor */
.ab-hero-mark--dots {
    color: var(--c-ink, #1a0844);
}
.ab-hero-mark--dots .ab-hero-logo {
    width: clamp(280px, 42vw, 480px);
    filter: drop-shadow(2px 3px 0 rgba(124, 92, 255, 0.20));
}

/* Her dot kendi merkezinden zoom yapsın (default transform-origin top-left'tir). */
.ab-hero-mark--dots .ab-hero-logo circle {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 220ms cubic-bezier(.34, 1.56, .64, 1),
                fill 180ms ease-out,
                filter 220ms ease-out;
    cursor: pointer;
}
/* Hover: zoom-in + royal purple + soft glow halo */
.ab-hero-mark--dots .ab-hero-logo circle:hover {
    transform: scale(1.85);
    fill: #7c5cff;
    filter: drop-shadow(0 0 6px rgba(124, 92, 255, 0.55));
}
/* Klavye odağı için aynı efekt (a11y) */
.ab-hero-mark--dots .ab-hero-logo circle:focus-visible {
    transform: scale(1.85);
    fill: #fcd34d;
    outline: none;
    filter: drop-shadow(0 0 6px rgba(252, 211, 77, 0.6));
}
/* Reduced-motion: zoom kapalı, sadece renk değişsin */
@media (prefers-reduced-motion: reduce) {
    .ab-hero-mark--dots .ab-hero-logo circle {
        transition: fill 180ms ease-out;
    }
    .ab-hero-mark--dots .ab-hero-logo circle:hover {
        transform: none;
        filter: none;
    }
}

/* Geriye uyumlu: eski class adları */
.ab-hero-script,
.ab-hero-flourish,
.ab-hero-mascot { display: none; }
.ab-hero-title {
    font-family: var(--ui-f-display, 'Fraunces', serif);
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.15;
    color: var(--c-ink, #1a0844);
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}
.ab-hero-title .accent {
    color: var(--c-accent, #7c5cff);
    font-style: normal;
}
.ab-hero-title strong {
    background: linear-gradient(180deg, transparent 60%, rgba(252, 211, 77, 0.55) 60%);
    padding: 0 4px;
}
.ab-hero-sub {
    font-size: 17px;
    line-height: 1.6;
    color: var(--c-ink-muted, #5a5375);
    max-width: 680px;
    margin: 0 auto 28px;
}
.ab-hero-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.ab-hero-tags span {
    font-family: var(--ui-f-mono, monospace);
    font-size: 11px;
    color: var(--c-ink-muted);
    background: var(--ui-bg-card, #fff);
    border: 2px solid var(--c-ink, #1a0844);
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---------- SECTION GENERIC ---------- */
.ab-section {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 24px;
}
.ab-section-title {
    font-family: var(--ui-f-display, 'Fraunces', serif);
    font-size: clamp(26px, 4vw, 38px);
    text-align: center;
    color: var(--c-ink);
    margin: 0 0 8px;
}
.ab-section-sub {
    font-size: 15px;
    text-align: center;
    color: var(--c-ink-muted);
    max-width: 600px;
    margin: 0 auto 36px;
}

/* ---------- 3 CAPABILITIES ---------- */
.ab-cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.ab-cap-card {
    position: relative;
    background: var(--ui-bg-card, #fff);
    border: 3px solid var(--c-ink, #1a0844);
    padding: 28px 22px 24px;
    text-decoration: none;
    color: var(--c-ink);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex;
    flex-direction: column;
}
.ab-cap-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0 var(--cap-color, var(--c-accent));
}
.ab-cap-card.is-featured {
    border-color: var(--c-accent, #7c5cff);
    box-shadow: 4px 4px 0 var(--c-accent, #7c5cff);
}
.ab-cap-card.is-featured:hover {
    box-shadow: 8px 8px 0 var(--c-accent, #7c5cff);
}
.ab-cap-badge {
    position: absolute;
    top: -10px;
    right: 14px;
    background: var(--c-accent, #7c5cff);
    color: #fff;
    font-family: var(--ui-f-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 8px;
    border: 2px solid var(--c-ink);
}
.ab-cap-icon {
    margin-bottom: 12px;
}
.ab-cap-icon svg {
    filter: drop-shadow(3px 3px 0 var(--c-ink, #1a0844));
}
.ab-cap-card h3 {
    font-family: var(--ui-f-display);
    font-size: 22px;
    margin: 0 0 8px;
    color: var(--c-ink);
}
.ab-cap-card p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--c-ink-muted);
    margin: 0 0 16px;
    flex: 1;
}
.ab-cap-card p em {
    font-style: normal;
    font-weight: 700;
    color: var(--c-ink);
    background: rgba(252, 211, 77, 0.35);
    padding: 0 3px;
}
.ab-cap-meta {
    font-family: var(--ui-f-mono);
    font-size: 10px;
    color: var(--c-ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-top: 1px dashed var(--c-line);
    padding-top: 10px;
    margin-top: auto;
}

/* ---------- PIPELINE / HISTORY MAP ---------- */
.ab-pipeline {
    background: linear-gradient(180deg, transparent 0%, rgba(124, 92, 255, 0.05) 50%, transparent 100%);
    padding: 60px 24px;
    max-width: 100%;
}
.ab-pipeline-wrap {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}
.ab-pipeline-path {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    width: 100%;
    height: 200px;
    pointer-events: none;
    z-index: 0;
}
.ab-pipeline-stops {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    position: relative;
    z-index: 1;
    padding-top: 60px;
}
.ab-pipeline-stop {
    text-align: center;
    background: var(--ui-bg-card, #fff);
    border: 3px solid var(--c-ink, #1a0844);
    padding: 18px 14px 16px;
    box-shadow: 4px 4px 0 var(--c-ink);
    position: relative;
    transition: transform .25s ease;
}
.ab-pipeline-stop:hover {
    transform: translateY(-4px);
}
.ab-pipeline-icon {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ui-bg-card, #fff);
    border: 3px solid var(--c-ink);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 3px 3px 0 var(--stop-color, var(--c-accent));
}
.ab-pipeline-num {
    font-family: var(--ui-f-mono);
    font-size: 11px;
    color: var(--c-accent);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-top: 30px;
}
.ab-pipeline-stop h3 {
    font-family: var(--ui-f-display);
    font-size: 18px;
    margin: 4px 0 10px;
    color: var(--c-ink);
}
.ab-pipeline-stop p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--c-ink-muted);
    margin: 0;
}
.ab-pipeline-stop p em {
    font-style: normal;
    font-weight: 700;
    color: var(--c-ink);
}

/* ---------- DOMAIN GRID ---------- */
.ab-domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}
.ab-domain-cell {
    background: var(--ui-bg-card);
    border: 2px solid var(--c-ink);
    padding: 16px 12px;
    text-align: center;
    box-shadow: 3px 3px 0 var(--c-ink);
    transition: transform .15s ease, box-shadow .15s ease;
}
.ab-domain-cell:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--c-accent);
}
.ab-domain-cell.is-new {
    background: rgba(252, 211, 77, 0.18);
    border-color: var(--c-accent);
}
.ab-domain-cell.is-new::after {
    content: 'YENİ';
    display: block;
    font-family: var(--ui-f-mono);
    font-size: 8px;
    color: var(--c-accent);
    margin-top: 4px;
    letter-spacing: 0.12em;
    font-weight: 700;
}
.ab-domain-cell .ico {
    display: block;
    font-size: 28px;
    margin-bottom: 6px;
}
.ab-domain-cell .lbl {
    display: block;
    font-family: var(--ui-f-display);
    font-size: 12px;
    color: var(--c-ink);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.ab-domain-foot {
    text-align: center;
    font-size: 14px;
    color: var(--c-ink-muted);
    line-height: 1.6;
    max-width: 720px;
    margin: 24px auto 0;
}
.ab-domain-foot strong { color: var(--c-ink); }

/* ---------- 3 WIZARD ---------- */
.ab-wizard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.ab-wizard-card {
    background: var(--ui-bg-card);
    border: 3px solid var(--c-ink);
    padding: 24px 20px 20px;
    box-shadow: 5px 5px 0 var(--wiz-color, var(--c-accent));
    position: relative;
}
.ab-wizard-num {
    font-family: var(--ui-f-display);
    font-size: 56px;
    line-height: 1;
    color: var(--wiz-color, var(--c-accent));
    -webkit-text-stroke: 2px var(--c-ink);
    text-stroke: 2px var(--c-ink);
}
.ab-wizard-label {
    font-family: var(--ui-f-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-ink-muted);
    margin-top: -4px;
    margin-bottom: 8px;
}
.ab-wizard-card h3 {
    font-family: var(--ui-f-display);
    font-size: 20px;
    margin: 4px 0 10px;
    color: var(--c-ink);
}
.ab-wizard-card p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--c-ink-muted);
    margin: 0 0 14px;
}
.ab-wizard-card p strong { color: var(--c-ink); }
.ab-wizard-card p em {
    font-style: normal;
    background: rgba(252, 211, 77, 0.4);
    padding: 0 3px;
    color: var(--c-ink);
    font-weight: 600;
}
.ab-wizard-meta {
    font-family: var(--ui-f-mono);
    font-size: 10px;
    color: var(--c-ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-top: 1px dashed var(--c-line);
    padding-top: 10px;
}

/* ---------- TIPS ---------- */
.ab-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}
.ab-tip {
    background: var(--ui-bg-card);
    border: 2px solid var(--c-ink);
    padding: 22px 20px;
    box-shadow: 4px 4px 0 var(--c-ink);
    position: relative;
}
.ab-tip-num {
    font-family: var(--ui-f-display);
    font-size: 28px;
    color: var(--c-accent);
    line-height: 1;
    margin-bottom: 6px;
}
.ab-tip h3 {
    font-family: var(--ui-f-display);
    font-size: 17px;
    margin: 4px 0 8px;
    color: var(--c-ink);
}
.ab-tip p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--c-ink-muted);
    margin: 0;
}
.ab-tip p strong { color: var(--c-ink); }

/* ---------- CTA ---------- */
.ab-cta {
    text-align: center;
    background: var(--c-ink, #1a0844);
    color: #fff;
    padding: 60px 24px;
    margin-bottom: 0;
    max-width: 100%;
}
.ab-cta h2 {
    font-family: var(--ui-f-display);
    font-size: clamp(28px, 4vw, 42px);
    color: #fff;
    margin: 0 0 12px;
}
.ab-cta p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 28px;
}
.ab-cta-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.ab-cta-foot {
    margin-top: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}
.ab-cta-foot a {
    color: var(--c-gold, #fcd34d);
    border-bottom: 1px dashed currentColor;
    text-decoration: none;
}
.ab-cta-foot a:hover { color: #fff; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .ab-cap-grid,
    .ab-wizard-grid {
        grid-template-columns: 1fr;
    }
    .ab-pipeline-stops {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-top: 24px;
    }
    .ab-pipeline-path {
        display: none; /* mobilde yatay yol anlamsız */
    }
    .ab-pipeline-icon {
        position: relative;
        top: -28px;
        margin: 0 auto;
    }
    .ab-pipeline-num {
        margin-top: 0;
    }
}
@media (max-width: 560px) {
    .ab-hero { padding: 32px 16px; }
    .ab-section { margin: 48px auto; }
    .ab-domain-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
