/* =================================================================
   INDEX LANDING — Darkwing-noir mood
   Fraunces italic vurgu + neo-brutalist kart + comic accent
   ================================================================= */

/* ---------- Hero ---------- */
.duck-hero {
    position: relative;
    padding: 90px 24px 70px;
    text-align: center;
    overflow: hidden;
}
.duck-hero-content {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}

.duck-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    margin-bottom: 32px;
    font-family: var(--ui-f-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ui-fg-muted);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--ui-line);
    border-radius: 999px;
}
.duck-hero-eyebrow .ribbon-edge {
    color: var(--ui-accent);
    font-size: 14px;
    line-height: 1;
}
.duck-hero-eyebrow .dot { opacity: 0.45; }

.duck-hero-title {
    font-family: 'Fraunces', var(--ui-f-display), serif;
    font-size: clamp(40px, 7.2vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    color: var(--ui-fg, #1a0844);
    margin: 0 0 28px;
    font-weight: 700;
    font-variation-settings: "opsz" 144;
}
.duck-hero-title em.accent {
    font-style: italic;
    color: var(--ui-accent, #7c5cff);
    font-weight: 600;
}
.duck-hero-title em.yellow {
    font-style: italic;
    color: var(--ui-warning, #fcd34d);
    font-weight: 600;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.04);
}
.duck-hero-title strong {
    font-weight: 700;
    color: var(--ui-fg);
    font-style: normal;
}

.duck-hero-lead {
    font-size: 17px;
    line-height: 1.65;
    color: var(--ui-fg-muted);
    max-width: 560px;
    margin: 0 auto 40px;
}
.duck-hero-lead strong {
    color: var(--ui-fg);
    font-weight: 600;
}

.duck-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.duck-cta-primary {
    padding: 16px 36px !important;
    font-size: 13px !important;
    letter-spacing: 0.20em !important;
}
.duck-cta-primary i { font-size: 11px; margin-left: 4px; }

.duck-cta-ghost {
    color: var(--ui-fg-muted);
    text-decoration: none;
    font-family: var(--ui-f-mono, 'JetBrains Mono', monospace);
    font-size: 12px;
    text-transform: lowercase;
    letter-spacing: 0.04em;
    padding: 4px 2px;
    transition: color .15s;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.duck-cta-ghost .cta-ghost-text {
    border-bottom: 1px dashed var(--ui-line);
    padding-bottom: 3px;
    transition: border-color .15s;
}
.duck-cta-ghost:hover {
    color: var(--ui-accent);
}
.duck-cta-ghost:hover .cta-ghost-text {
    border-bottom-color: var(--ui-accent);
}
.duck-cta-ghost .cta-arrow-down {
    display: inline-flex;
    width: 28px; height: 28px;
    align-items: center; justify-content: center;
    font-size: 14px;
    color: var(--ui-fg-muted);
    animation: cta-arrow-bounce 1.8s ease-in-out infinite;
}
.duck-cta-ghost:hover .cta-arrow-down { color: var(--ui-accent); }
@keyframes cta-arrow-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.45; }
    50%      { transform: translateY(8px); opacity: 1; }
}

@media (max-width: 768px) {
    .duck-hero { padding: 60px 18px 50px; }
    .duck-hero-eyebrow { font-size: 10px; gap: 6px; padding: 6px 14px; }
    .duck-hero-title { font-size: clamp(34px, 9vw, 52px); margin-bottom: 22px; }
    .duck-hero-lead { font-size: 15px; margin-bottom: 30px; }
    .duck-cta-primary { padding: 14px 28px !important; }
}

/* ---------- 2 KART ---------- */
.duck-cards-pair {
    max-width: 1100px;
    margin: 30px auto 60px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 768px) {
    .duck-cards-pair {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 18px;
    }
}

.duck-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--ui-bg-card, #fff);
    border: 2px solid var(--ui-fg, #1a0844);
    box-shadow: 8px 8px 0 var(--ui-fg, #1a0844);
    padding: 38px 30px 30px;
    transition: transform .2s cubic-bezier(.2, .8, .2, 1),
                box-shadow .2s cubic-bezier(.2, .8, .2, 1);
    overflow: hidden;
    min-width: 0;
}
.duck-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--ui-accent, #7c5cff) 0%,
        var(--ui-accent, #7c5cff) 60%,
        var(--ui-warning, #fcd34d) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.duck-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 var(--ui-accent, #7c5cff);
    color: inherit;
}
.duck-card:hover::before { transform: scaleX(1); }

.duck-card .card-tag {
    position: absolute;
    top: 18px; right: 22px;
    font-family: var(--ui-f-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    color: var(--ui-fg-faint);
    letter-spacing: 0.18em;
}
.duck-card h2 {
    font-family: 'Oswald', var(--ui-f-display), sans-serif;
    font-size: 44px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    color: var(--ui-fg);
    font-weight: 600;
    line-height: 1;
}
.duck-card .card-sub {
    font-family: 'Fraunces', var(--ui-f-display), serif;
    font-style: italic;
    font-size: 16px;
    color: var(--ui-accent, #7c5cff);
    margin: 0 0 20px;
    font-weight: 500;
}
.duck-card .card-body {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ui-fg-soft);
    margin: 0 0 24px;
}
.duck-card .card-body em {
    font-style: italic;
    color: var(--ui-fg);
    font-weight: 500;
}
.duck-card .card-body strong {
    color: var(--ui-accent, #7c5cff);
    font-weight: 600;
}
.duck-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ui-f-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ui-accent, #7c5cff);
    transition: gap .2s;
    font-weight: 600;
}
.duck-card:hover .card-link { gap: 14px; }

@media (max-width: 768px) {
    .duck-card { padding: 28px 22px 24px; box-shadow: 6px 6px 0 var(--ui-fg, #1a0844); }
    .duck-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ui-accent, #7c5cff); }
    .duck-card h2 { font-size: 34px; }
    .duck-card .card-sub { font-size: 14px; margin-bottom: 14px; }
}

/* ---------- STAT STRIP ---------- */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    background: var(--ui-fg, #1a0844);
    border: 3px solid var(--ui-fg, #1a0844);
    box-shadow: 6px 6px 0 var(--ui-accent, #7c5cff);
    margin: 80px auto 0;
    width: min(1100px, calc(100% - 48px));
    box-sizing: border-box;
}
@media (max-width: 760px) {
    .stat-strip {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 40px;
        width: calc(100% - 36px);
    }
}
.stat-strip .stat-cell {
    background: var(--ui-bg-card, #fff);
    padding: 28px 14px;
    text-align: center;
}
.stat-strip .stat-cell + .stat-cell { border-left: 2px solid var(--ui-fg); }
@media (max-width: 760px) {
    .stat-strip .stat-cell + .stat-cell { border-left: none; border-top: 2px solid var(--ui-fg); }
    .stat-strip .stat-cell:nth-child(odd) + .stat-cell { border-left: 2px solid var(--ui-fg); }
}
.stat-strip .v {
    font-family: 'Fraunces', var(--ui-f-display), serif;
    font-size: 44px;
    font-style: italic;
    font-weight: 700;
    color: var(--ui-accent, #7c5cff);
    line-height: 1;
}
.stat-strip .l {
    font-family: var(--ui-f-mono, 'JetBrains Mono', monospace);
    font-size: 10px;
    color: var(--ui-fg-faint);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-top: 8px;
}
@media (max-width: 760px) {
    .stat-strip .v { font-size: 34px; }
    .stat-strip .stat-cell { padding: 20px 10px; }
}

/* ---------- SÜREÇ BLOĞU ---------- */
.process-block {
    max-width: 820px;
    margin: 80px auto 100px;
    padding: 0 24px;
}
.process-heading {
    font-family: 'Fraunces', var(--ui-f-display), serif;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ui-fg);
    margin: 0 0 36px;
    text-align: center;
    font-weight: 700;
}
.process-heading em {
    font-style: italic;
    color: var(--ui-accent, #7c5cff);
    font-weight: 600;
}

.num-row {
    display: flex;
    gap: 28px;
    padding: 24px 0;
    border-bottom: 1px solid var(--ui-line);
    align-items: flex-start;
}
.num-row:last-of-type { border-bottom: 0; }
.num-row .num {
    flex: 0 0 70px;
    font-family: 'Fraunces', var(--ui-f-display), serif;
    font-size: 38px;
    font-style: italic;
    font-weight: 700;
    color: var(--ui-fg-muted);
    line-height: 1;
}
.num-row.is-accent .num { color: var(--ui-accent, #7c5cff); }
.num-row h3 {
    font-family: 'Oswald', var(--ui-f-display), sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0 0 8px;
    color: var(--ui-fg);
    font-weight: 600;
}
.num-row p {
    color: var(--ui-fg-muted);
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    max-width: 64ch;
}
.num-row p em {
    font-style: italic;
    color: var(--ui-accent, #7c5cff);
    font-weight: 500;
}

@media (max-width: 600px) {
    .process-block { margin: 50px auto 60px; }
    .num-row { gap: 18px; padding: 18px 0; }
    .num-row .num { flex: 0 0 50px; font-size: 28px; }
    .num-row h3 { font-size: 18px; }
    .num-row p { font-size: 14px; }
}

/* ---------- FLOW INFOGRAPHIC (sonsuza dönen elektrik akımı) ---------- */
.duck-flow {
    max-width: 920px;
    margin: 40px auto 100px;
    padding: 24px;
    text-align: center;
}
.flow-circuit {
    width: 100%;
    height: auto;
    max-width: 800px;
    overflow: visible;
}
/* Main horizontal flow line — purple, fast */
.flow-stream {
    animation: flow-stream-anim 1.6s linear infinite;
}
/* Top arc — gold, slower, reverse direction */
.flow-stream-back {
    animation: flow-stream-anim 3s linear infinite reverse;
    opacity: 0.75;
}
@keyframes flow-stream-anim {
    to { stroke-dashoffset: -28; }
}
/* Pulsing nodes — staggered phases for organic feel */
.flow-dot {
    animation: flow-dot-pulse 2.4s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}
.flow-step-1 .flow-dot { animation-delay: 0s; }
.flow-step-2 .flow-dot { animation-delay: 0.6s; }
.flow-step-3 .flow-dot { animation-delay: 1.2s; }
.flow-step-4 .flow-dot { animation-delay: 1.8s; }
@keyframes flow-dot-pulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50%      { opacity: 1;    transform: scale(1.35); }
}

.flow-label {
    font-family: var(--ui-f-mono, 'JetBrains Mono', monospace);
    font-size: 9px;
    fill: var(--ui-fg-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.flow-caption {
    margin: 22px 0 0;
    font-family: var(--ui-f-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    color: var(--ui-fg-muted);
    letter-spacing: 0.06em;
}
.flow-caption em {
    font-family: 'Fraunces', var(--ui-f-display), serif;
    font-style: italic;
    font-size: 14px;
    color: var(--ui-accent, #7c5cff);
    margin-right: 6px;
}

@media (max-width: 600px) {
    .duck-flow { margin: 20px auto 60px; padding: 12px; }
    .flow-label { font-size: 8px; letter-spacing: 0.12em; }
}

@media (prefers-reduced-motion: reduce) {
    .flow-stream, .flow-stream-back, .flow-dot,
    .duck-cta-ghost .cta-arrow-down {
        animation: none !important;
    }
}

/* =================================================================
   AI ASİSTANI ATELYESİ — yeni hero + 3 pillar (positioning refactor)
   ================================================================= */

/* ---------- Hero mark + subtitle ---------- */
.duck-hero-mark {
    display: block;
    width: 96px;
    height: 96px;
    margin: 0 auto 24px;
    image-rendering: -webkit-optimize-contrast;
}

.duck-hero-sub {
    font-size: 18px;
    line-height: 1.6;
    color: var(--ui-fg-muted);
    max-width: 620px;
    margin: 18px auto 32px;
    text-align: center;
}

/* ---------- Hero CTA group ---------- */
.duck-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 8px;
}

/* Large variant for hero buttons */
.theme-duck .btn-duck.is-lg,
.btn-duck.is-lg {
    padding: 16px 28px;
    font-size: 14px;
    letter-spacing: 0.16em;
}
.btn-duck.is-lg i { margin-right: 4px; }

/* Hero secondary "compare 3 paths" link — small, subtle, sits below the CTAs */
.duck-hero-secondary {
    flex-basis: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--ui-fg-muted);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px dashed currentColor;
    padding: 4px 0;
    margin-top: 4px;
    transition: color var(--tr, .2s);
}
.duck-hero-secondary:hover {
    color: var(--c-accent, #7c5cff);
}

/* ---------- Hero tag chips ---------- */
.duck-hero-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 26px;
    font-family: var(--ui-f-mono, 'JetBrains Mono', monospace);
    font-size: 12px;
}
.duck-hero-tags span {
    color: var(--ui-fg-muted);
    background: var(--ui-bg-card, #fff);
    border: 2px solid var(--ui-fg, #1a0844);
    padding: 4px 10px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .duck-hero-mark { width: 72px; height: 72px; margin-bottom: 18px; }
    .duck-hero-sub { font-size: 15px; margin: 14px auto 26px; }
    .duck-hero-cta { gap: 10px; }
    .btn-duck.is-lg { padding: 14px 22px; font-size: 12px; }
    .duck-hero-tags { gap: 8px; font-size: 11px; }
}

/* ---------- 3 PILLAR ---------- */
.duck-pillars {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 24px;
}
.duck-pillars-head {
    font-family: 'Fraunces', var(--ui-f-display), serif;
    font-size: 32px;
    font-style: italic;
    text-align: center;
    margin: 0 0 6px;
    color: var(--ui-fg);
}
.duck-pillars-sub {
    text-align: center;
    color: var(--ui-fg-muted);
    margin: 0 0 32px;
    font-size: 15px;
}
.duck-pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 880px) {
    .duck-pillar-grid { grid-template-columns: 1fr; }
}
.duck-pillar {
    display: block;
    text-decoration: none;
    background: var(--ui-bg-card, #fff);
    border: 3px solid var(--ui-fg, #1a0844);
    box-shadow: 6px 6px 0 var(--ui-fg, #1a0844);
    padding: 24px;
    color: var(--ui-fg);
    transition: transform .2s cubic-bezier(.2, .8, .2, 1),
                box-shadow .2s cubic-bezier(.2, .8, .2, 1);
}
.duck-pillar:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--ui-accent, #7c5cff);
    color: var(--ui-fg);
}
.duck-pillar-icon {
    width: 56px;
    height: 56px;
    background: var(--icon-bg, var(--ui-accent, #7c5cff));
    border: 3px solid var(--ui-fg, #1a0844);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 14px;
}
.duck-pillar h3 {
    font-family: 'Fraunces', var(--ui-f-display), serif;
    font-size: 22px;
    margin: 0 0 8px;
    color: var(--ui-fg);
    font-weight: 700;
}
.duck-pillar p {
    color: var(--ui-fg-soft);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 12px;
}
.duck-pillar-meta {
    font-family: var(--ui-f-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    color: var(--ui-fg-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
