/*
 * Tanıtım sayfası (resources/views/landing.blade.php): Poze şablonunun
 * (land-assets/css/style.css) üzerine Yondra rengi ve HTML maketler.
 * Vurgu rengi panelin ana rengidir (#5553ce, assets/css/app.min.css).
 */
:root {
    --accent-color: #5553ce;
    --accent-color_2: #3f3cb5;
    --yd-ink: #14123a;
    --yd-muted: #8a89a3;
    --yd-soft: #f6f6fc;
    --yd-line: #ebebf5;
    --yd-green: #16927a;
}

/* Marka */
.yd-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.yd-brand:hover {
    color: #fff;
}

.yd-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8b89ea, var(--accent-color));
    box-shadow: 0 6px 16px rgba(85, 83, 206, .45);
    font-size: 17px;
    color: #fff;
}

.yd-brand-name {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.02em;
}

/* Üst çubuk */
.cs_site_header.cs_style_1.cs_fixed_active {
    background-color: var(--yd-ink);
}

.yd-lang {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 8px;
    overflow: hidden;
}

.cs_site_header .yd-lang a {
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: rgba(255, 255, 255, .7);
}

.cs_site_header .yd-lang a:hover,
.cs_site_header .yd-lang a.active {
    background-color: rgba(255, 255, 255, .14);
    color: #fff;
}

@media (max-width: 575px) {
    .cs_site_header.cs_style_1 .cs_header_btns {
        gap: 0 14px;
    }

    .yd-brand-name {
        font-size: 21px;
    }
}

/* Hero */
.cs_hero.yd-hero {
    background: linear-gradient(180deg, #0f0e26 0%, #1b1852 100%);
    padding-bottom: 0;
}

.cs_hero.yd-hero .cs_hero_shape1 {
    background-color: #8b89ea;
}

.yd-hero-glow {
    position: absolute;
    top: 140px;
    right: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background-color: var(--accent-color);
    filter: blur(150px);
    opacity: .35;
    pointer-events: none;
}

.cs_hero.yd-hero .cs_hero_title {
    max-width: 980px;
    margin-inline: auto;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.2em;
}

.cs_hero.yd-hero .cs_hero_subtitle {
    max-width: 760px;
    margin-inline: auto;
    font-size: 18px;
}

.yd-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, .07);
    color: #d8d7ff;
    font-size: 14px;
    font-weight: 600;
}

/* Kasa maketi hero'nun altından sonraki bölüme taşar. */
.cs_hero.yd-hero .cs_hero_img {
    position: relative;
    z-index: 3;
    margin-bottom: -170px;
}

#features {
    padding-top: 170px;
}

@media (max-width: 991px) {
    .cs_hero.yd-hero .cs_hero_img {
        margin-bottom: -90px;
    }

    #features {
        padding-top: 90px;
    }
}

/* Tarayıcı penceresi ve kasa ekranı */
.yd-window {
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 30px 80px rgba(8, 7, 40, .45);
    color: var(--yd-ink);
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
}

.yd-window-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--yd-line);
    background-color: #f2f2f8;
}

.yd-window-bar > span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: #ff5f57;
}

.yd-window-bar > span:nth-child(2) {
    background-color: #febc2e;
}

.yd-window-bar > span:nth-child(3) {
    background-color: #28c840;
}

.yd-window-url {
    flex: 0 1 360px;
    margin-left: 12px;
    padding: 4px 12px;
    border-radius: 8px;
    background-color: #fff;
    color: var(--yd-muted);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yd-window-url i {
    margin-right: 4px;
    color: var(--yd-green);
}

.yd-pos {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
}

.yd-pos-catalog {
    padding: 20px;
    background-color: var(--yd-soft);
}

.yd-pos-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #e1e1ee;
    border-radius: 10px;
    background-color: #fff;
    color: var(--yd-muted);
}

.yd-pos-search i {
    color: var(--accent-color);
}

.yd-pos-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.yd-pos-tabs span {
    padding: 6px 12px;
    border: 1px solid #e1e1ee;
    border-radius: 999px;
    background-color: #fff;
    color: #55546f;
    font-size: 12px;
    font-weight: 600;
}

.yd-pos-tabs span.active {
    border-color: transparent;
    background-color: var(--accent-color);
    color: #fff;
}

.yd-pos-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.yd-pos-tile {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--yd-line);
    border-radius: 12px;
    background-color: #fff;
}

.yd-pos-tile i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 4px;
    border-radius: 10px;
    background-color: rgba(85, 83, 206, .1);
    color: var(--accent-color);
    font-size: 18px;
}

.yd-pos-tile span {
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.yd-pos-tile b {
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.yd-pos-cart {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 20px;
    border-left: 1px solid var(--yd-line);
}

.yd-pos-cart-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 16px;
}

.yd-pos-cart-head small,
.yd-pos-line small,
.yd-pos-sum {
    color: var(--yd-muted);
}

.yd-pos-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--yd-line);
    font-variant-numeric: tabular-nums;
}

.yd-pos-line span {
    font-weight: 600;
}

.yd-pos-line small {
    display: block;
    font-size: 12px;
    font-weight: 400;
}

.yd-pos-sum {
    display: flex;
    justify-content: space-between;
    padding: 10px 0 14px;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.yd-pos-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: 14px 16px;
    border-radius: 12px;
    background-color: var(--yd-ink);
    color: #fff;
}

.yd-pos-total b {
    font-size: 22px;
    font-variant-numeric: tabular-nums;
}

.yd-pos-pay {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.yd-pos-pay span {
    padding: 12px;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.yd-pay-cash {
    background-color: var(--yd-green);
}

.yd-pay-card {
    background-color: var(--accent-color);
}

@media (max-width: 991px) {
    .yd-pos {
        grid-template-columns: minmax(0, 1fr);
    }

    .yd-pos-cart {
        border-top: 1px solid var(--yd-line);
        border-left: 0;
    }
}

@media (max-width: 575px) {
    .yd-pos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yd-pos-tile:nth-child(n + 5) {
        display: none;
    }
}

/* Öne çıkanlar */
.yd-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background-color: rgba(85, 83, 206, .1);
    color: var(--accent-color);
    font-size: 24px;
}

.yd-icon-sm {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 20px;
}

.yd-audience {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.yd-audience-label {
    margin-right: 6px;
    color: var(--heading-color);
    font-weight: 600;
}

.yd-pill {
    padding: 7px 16px;
    border: 1px solid #e6e6f4;
    border-radius: 999px;
    background-color: var(--yd-soft);
    color: #3b3a55;
    font-size: 15px;
    font-weight: 500;
}

/* Fiş maketi */
.yd-receipt-wrap {
    position: relative;
    max-width: 470px;
    margin: 0 auto;
    padding: 30px 50px 40px;
}

.yd-receipt-wrap::before {
    content: "";
    position: absolute;
    inset: 50px 0 10px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(85, 83, 206, .18), rgba(85, 83, 206, .04));
}

.yd-receipt {
    position: relative;
    z-index: 1;
    padding: 28px 26px 30px;
    background-color: #fff;
    box-shadow: 0 24px 50px rgba(20, 18, 58, .16);
    color: #232232;
    font-family: "Courier New", ui-monospace, monospace;
    font-size: 14px;
    line-height: 1.5;
    transform: rotate(-2deg);
}

/* Yırtık kağıt kenarı */
.yd-receipt::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -12px;
    left: 0;
    height: 12px;
    background:
        linear-gradient(135deg, #fff 6px, transparent 0) 0 0 / 12px 12px repeat-x,
        linear-gradient(-135deg, #fff 6px, transparent 0) 0 0 / 12px 12px repeat-x;
}

.yd-receipt-head {
    margin-bottom: 12px;
    text-align: center;
}

.yd-receipt-head b {
    display: block;
    font-size: 17px;
    letter-spacing: .08em;
}

.yd-receipt-head small,
.yd-receipt-line small,
.yd-receipt-muted {
    color: #77768a;
}

.yd-receipt-meta {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-top: 1px dashed #b9b8c8;
    border-bottom: 1px dashed #b9b8c8;
    margin-bottom: 8px;
    font-size: 12px;
}

.yd-receipt-line {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 3px 0;
}

.yd-receipt-line small {
    display: block;
    font-size: 12px;
}

.yd-receipt-total {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    padding: 8px 0;
    border-top: 2px dashed #232232;
    border-bottom: 2px dashed #232232;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.yd-receipt-barcode {
    height: 44px;
    margin: 18px 12px 8px;
    background: repeating-linear-gradient(90deg, #232232 0 2px, transparent 2px 4px, #232232 4px 5px, transparent 5px 8px, #232232 8px 11px, transparent 11px 12px);
}

.yd-receipt-foot {
    font-size: 12px;
    text-align: center;
}

.yd-float {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 12px 30px rgba(20, 18, 58, .16);
    color: var(--yd-ink);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    animation: yd-float 6s ease-in-out infinite;
}

.yd-float i {
    color: var(--accent-color);
}

.yd-float-1 {
    top: 80px;
    left: 0;
}

.yd-float-2 {
    top: 46%;
    right: -10px;
    animation-delay: 2s;
}

.yd-float-3 {
    bottom: 70px;
    left: 10px;
    animation-delay: 4s;
}

@keyframes yd-float {
    50% { transform: translateY(-8px); }
}

@media (max-width: 575px) {
    .yd-receipt-wrap {
        padding: 20px 8px 30px;
    }

    .yd-float {
        display: none;
    }
}

/* Panel maketi */
.yd-panel {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid #eeeef6;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 30px 70px rgba(20, 18, 58, .14);
    color: var(--yd-ink);
}

.yd-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.yd-panel-head i {
    margin-right: 6px;
    color: var(--accent-color);
}

.yd-chip {
    padding: 6px 12px;
    border-radius: 8px;
    background-color: var(--yd-soft);
    color: #55546f;
    font-size: 12px;
    font-weight: 600;
}

.yd-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.yd-kpi {
    padding: 14px;
    border-radius: 14px;
    background-color: var(--yd-soft);
}

.yd-kpi small {
    display: block;
    overflow: hidden;
    color: var(--yd-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.yd-kpi b {
    display: block;
    margin: 4px 0;
    font-size: 18px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.yd-kpi span {
    color: var(--yd-green);
    font-size: 12px;
    font-weight: 600;
}

.yd-panel-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 16px;
}

.yd-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 180px;
    padding: 14px;
    border-radius: 14px;
    background-color: var(--yd-soft);
}

.yd-bar {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    height: 100%;
}

.yd-bar span {
    width: 100%;
    max-height: calc(100% - 22px);
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, #8b89ea, var(--accent-color));
}

.yd-bar:last-child span {
    background: linear-gradient(180deg, #3cc39d, var(--yd-green));
}

.yd-bar small {
    color: var(--yd-muted);
    font-size: 11px;
}

.yd-heat {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    align-content: center;
    gap: 4px;
    padding: 14px;
    border-radius: 14px;
    background-color: var(--yd-soft);
}

.yd-heat span {
    aspect-ratio: 1;
    border-radius: 4px;
    background-color: rgba(85, 83, 206, .08);
}

.yd-heat .yd-heat-1 { background-color: rgba(85, 83, 206, .25); }
.yd-heat .yd-heat-2 { background-color: rgba(85, 83, 206, .45); }
.yd-heat .yd-heat-3 { background-color: rgba(85, 83, 206, .7); }
.yd-heat .yd-heat-4 { background-color: var(--accent-color); }

@media (max-width: 575px) {
    .yd-panel {
        padding: 16px;
    }

    .yd-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yd-kpi:last-child {
        display: none;
    }

    .yd-panel-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Yönetim listesi */
.cs_list.yd-checklist li {
    padding-left: 34px;
}

.cs_list.yd-checklist .cs_list_icon {
    top: 1px;
    color: var(--accent-color);
    font-size: 20px;
}

.cs_list.yd-checklist .cs_list_text {
    font-size: 17px;
}

@media (max-width: 575px) {
    .cs_list.yd-checklist {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Adımlar ve yol haritası */
.yd-step,
.yd-roadmap-card {
    position: relative;
    padding: 32px 30px;
    border: 1px solid var(--yd-line);
    border-radius: 18px;
    background-color: #fff;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.yd-step:hover,
.yd-roadmap-card:hover {
    border-color: rgba(85, 83, 206, .35);
    box-shadow: 0 18px 40px rgba(20, 18, 58, .08);
    transform: translateY(-3px);
}

.yd-step-number {
    position: absolute;
    top: 16px;
    right: 24px;
    color: rgba(85, 83, 206, .12);
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}

.yd-step .yd-icon {
    margin-bottom: 22px;
}

.yd-step .cs_iconbox_title,
.yd-roadmap-card .cs_iconbox_title {
    margin: 0 0 10px;
    font-size: 21px;
    font-weight: 600;
}

.yd-roadmap-card .cs_iconbox_title {
    margin-top: 20px;
}

.yd-badge {
    padding: 4px 10px;
    border-radius: 999px;
    background-color: #fff4e5;
    color: #a35400;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.yd-lead {
    max-width: 640px;
    margin: 16px auto 0;
    font-size: 18px;
}

/* Çağrı */
.cs_cta.yd-cta {
    background:
        radial-gradient(600px 300px at 15% 0%, rgba(85, 83, 206, .55), transparent 70%),
        radial-gradient(500px 300px at 90% 100%, rgba(60, 195, 157, .25), transparent 70%),
        var(--yd-ink);
}

.cs_cta.yd-cta .cs_section_subtitle {
    color: rgba(255, 255, 255, .7);
}

/* Alt bilgi */
.yd-footer-text {
    max-width: 420px;
    margin-top: 18px;
    opacity: .75;
}

@media (prefers-reduced-motion: reduce) {
    .yd-float,
    .yd-step,
    .yd-roadmap-card {
        animation: none;
        transition: none;
    }
}
