@property --sdt-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

body.sdt-page {
    --sdt-bg: #050b14;
    --sdt-panel: rgba(12, 23, 39, 0.72);
    --sdt-line: rgba(120, 190, 255, 0.14);
    --sdt-line-strong: rgba(120, 190, 255, 0.28);
    --sdt-tx: #e6f1ff;
    --sdt-tx2: #b4c6da;
    --sdt-mut: #8aa0b8;
    --sdt-g: #3ddc84;
    --sdt-c: #22d3ee;
    --sdt-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
    background: var(--sdt-bg);
    color: var(--sdt-tx);
}

body.sdt-page #page {
    overflow-x: clip;
}

body.sdt-page #content {
    position: relative;
    background:
        radial-gradient(900px 520px at 88% 6%, rgba(34, 211, 238, 0.09), transparent 60%),
        radial-gradient(820px 620px at 8% 42%, rgba(61, 220, 132, 0.07), transparent 60%),
        linear-gradient(var(--sdt-line) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(90deg, var(--sdt-line) 1px, transparent 1px) 0 0 / 44px 44px,
        var(--sdt-bg);
    background-attachment: fixed, fixed, fixed, fixed, fixed;
}

body.sdt-page #content .ast-container,
body.sdt-page #primary,
body.sdt-page #primary > article,
body.sdt-page .entry-content {
    background: transparent;
}

body.sdt-page .entry-content {
    color: var(--sdt-tx2);
}

/* Header */

body.sdt-page:not(.ast-theme-transparent-header) .ast-primary-header-bar {
    background: rgba(3, 7, 14, 0.94);
    border-bottom: 1px solid var(--sdt-line);
}

/* Typography */

body.sdt-page .entry-content :is(h2, h3, h4):not(.has-text-color) {
    color: #fff;
}

body.sdt-page .entry-content :is(p, li):not(.has-text-color) {
    color: var(--sdt-tx2);
}

body.sdt-page .entry-content strong {
    color: var(--sdt-tx);
}

body.sdt-page .entry-content > .wp-block-group h2.wp-block-heading {
    letter-spacing: -0.01em;
}

body.sdt-page .entry-content > .wp-block-group h2.wp-block-heading::before {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    margin-bottom: 0.9rem;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--sdt-g), var(--sdt-c));
    box-shadow: 0 0 14px rgba(61, 220, 132, 0.55);
}

body.sdt-page .entry-content > .wp-block-group h2.wp-block-heading.has-text-align-center::before {
    margin-inline: auto;
}

body.sdt-page .entry-content a:not(.wp-block-button__link):not(:where(.sz, .oz) a) {
    color: var(--sdt-g);
    text-decoration-color: rgba(61, 220, 132, 0.4);
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

body.sdt-page .entry-content a:not(.wp-block-button__link):not(:where(.sz, .oz) a):hover,
body.sdt-page .entry-content a:not(.wp-block-button__link):not(:where(.sz, .oz) a):focus-visible {
    color: var(--sdt-c);
    text-decoration-color: var(--sdt-c);
}

/* Cover / hero */

body.sdt-page .entry-content > .wp-block-cover.alignfull {
    position: relative;
    overflow: hidden;
}

body.sdt-page .entry-content > .wp-block-cover.alignfull::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(rgba(120, 190, 255, 0.08) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(90deg, rgba(120, 190, 255, 0.08) 1px, transparent 1px) 0 0 / 44px 44px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 100%);
}

body.sdt-page .entry-content > .wp-block-cover.alignfull::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 140px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(transparent, var(--sdt-bg));
}

body.sdt-page .entry-content > .wp-block-cover .wp-block-cover__inner-container {
    position: relative;
    z-index: 2;
}

body.sdt-page .entry-content > .wp-block-cover .wp-block-cover__inner-container > .wp-block-group > p:first-child {
    display: table;
    margin: 0 auto 1.1rem;
    padding: 0.4rem 0.95rem 0.4rem 1.7rem;
    position: relative;
    font-family: var(--sdt-mono);
    color: var(--sdt-tx2);
    border: 1px solid var(--sdt-line-strong);
    border-radius: 999px;
    background: rgba(5, 11, 20, 0.6);
    backdrop-filter: blur(6px);
}

body.sdt-page .entry-content > .wp-block-cover .wp-block-cover__inner-container > .wp-block-group > p:first-child::before {
    content: "";
    position: absolute;
    left: 0.75rem;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -3.5px;
    border-radius: 50%;
    background: var(--sdt-g);
    box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.18), 0 0 12px var(--sdt-g);
    animation: sdt-blink 2.4s ease-in-out infinite;
}

body.sdt-page .entry-content > .wp-block-cover h1 {
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.55);
}

/* Panels */

body.sdt-page .entry-content > .wp-block-group.alignwide.has-background {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--sdt-line);
    border-radius: 22px;
    background:
        radial-gradient(600px 260px at 50% 0%, rgba(61, 220, 132, 0.07), transparent 70%),
        linear-gradient(180deg, rgba(14, 27, 45, 0.82), rgba(7, 15, 26, 0.86)) !important;
    box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
}

body.sdt-page .entry-content > .wp-block-group.alignwide.has-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sdt-g), var(--sdt-c), transparent);
    animation: sdt-sweep 6s linear infinite;
}

body.sdt-page .entry-content > .wp-block-group.alignwide.has-background[style*="#070f1a"] {
    background:
        radial-gradient(520px 240px at 15% 0%, rgba(198, 40, 40, 0.16), transparent 70%),
        radial-gradient(520px 240px at 85% 100%, rgba(61, 220, 132, 0.12), transparent 70%),
        linear-gradient(180deg, rgba(10, 20, 34, 0.9), rgba(5, 11, 20, 0.92)) !important;
}

/* Cards */

body.sdt-page .entry-content .wp-block-column > .wp-block-group.has-border-color,
body.sdt-page .entry-content .wp-block-group.has-background .wp-block-column:has(> h3:first-child) {
    position: relative;
    height: 100%;
    border: 1px solid var(--sdt-line) !important;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(16, 31, 52, 0.7), rgba(9, 18, 31, 0.7)) !important;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.35s, box-shadow 0.35s;
}

body.sdt-page .entry-content .wp-block-group.has-background .wp-block-column:has(> h3:first-child) {
    padding: 1.35rem 1.35rem 0.6rem;
}

body.sdt-page .entry-content .wp-block-column > .wp-block-group.has-border-color:hover,
body.sdt-page .entry-content .wp-block-group.has-background .wp-block-column:has(> h3:first-child):hover {
    transform: translateY(-4px);
    border-color: rgba(61, 220, 132, 0.45) !important;
    box-shadow: 0 22px 50px -28px rgba(61, 220, 132, 0.45);
}

body.sdt-page .entry-content .wp-block-column h3::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 0.6rem;
    vertical-align: 0.12em;
    border-radius: 2px;
    background: var(--sdt-g);
    box-shadow: 0 0 10px var(--sdt-g);
    transform: rotate(45deg);
}

/* Lists */

body.sdt-page .entry-content > .wp-block-group :is(ul, ol).wp-block-list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

body.sdt-page .entry-content > .wp-block-group ul.wp-block-list > li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.55rem;
}

body.sdt-page .entry-content > .wp-block-group ul.wp-block-list > li::before {
    content: "";
    position: absolute;
    left: 0.15rem;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 1px;
    background: var(--sdt-g);
    box-shadow: 0 0 8px rgba(61, 220, 132, 0.7);
    transform: rotate(45deg);
}

body.sdt-page .entry-content > .wp-block-group ol.wp-block-list {
    counter-reset: sdt-step;
    display: grid;
    gap: 0.6rem;
}

body.sdt-page .entry-content > .wp-block-group ol.wp-block-list > li {
    counter-increment: sdt-step;
    position: relative;
    margin: 0;
    padding: 0.8rem 1rem 0.8rem 3.4rem;
    border: 1px solid var(--sdt-line);
    border-radius: 12px;
    background: var(--sdt-panel);
    transition: border-color 0.25s, transform 0.25s;
}

body.sdt-page .entry-content > .wp-block-group ol.wp-block-list > li:hover {
    border-color: var(--sdt-line-strong);
    transform: translateX(4px);
}

body.sdt-page .entry-content > .wp-block-group ol.wp-block-list > li::before {
    content: counter(sdt-step, decimal-leading-zero);
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.9rem;
    height: 1.9rem;
    display: grid;
    place-items: center;
    font: 700 0.72rem/1 var(--sdt-mono);
    color: var(--sdt-g);
    border: 1px solid rgba(61, 220, 132, 0.4);
    border-radius: 8px;
    background: rgba(61, 220, 132, 0.08);
}

/* Images */

body.sdt-page .entry-content .wp-block-image img {
    border: 1px solid var(--sdt-line-strong);
    border-radius: 14px;
    box-shadow: 0 30px 70px -35px rgba(0, 0, 0, 0.95), 0 0 0 6px rgba(120, 190, 255, 0.03);
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s, border-color 0.45s;
}

body.sdt-page .entry-content .wp-block-image img:hover {
    transform: translateY(-4px);
    border-color: rgba(61, 220, 132, 0.4);
    box-shadow: 0 40px 80px -35px rgba(0, 0, 0, 0.95), 0 0 40px -12px rgba(61, 220, 132, 0.35);
}

/* Buttons */

body.sdt-page .entry-content .wp-block-button .wp-block-button__link {
    border-radius: 12px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
}

body.sdt-page .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) {
    color: #04110a;
    border: 0;
    background: linear-gradient(135deg, var(--sdt-g), var(--sdt-c));
    box-shadow: 0 12px 30px -12px rgba(61, 220, 132, 0.7);
}

body.sdt-page .entry-content .wp-block-button.is-style-outline .wp-block-button__link {
    color: var(--sdt-g) !important;
    border: 1px solid rgba(61, 220, 132, 0.5) !important;
    background: rgba(61, 220, 132, 0.06) !important;
}

body.sdt-page .entry-content .wp-block-button .wp-block-button__link.has-background {
    box-shadow: 0 12px 32px -12px rgba(198, 40, 40, 0.75);
}

body.sdt-page .entry-content .wp-block-button .wp-block-button__link:hover,
body.sdt-page .entry-content .wp-block-button .wp-block-button__link:focus-visible {
    transform: translateY(-2px);
}

body.sdt-page .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background):hover,
body.sdt-page .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background):focus-visible {
    color: #04110a;
    box-shadow: 0 16px 38px -12px rgba(34, 211, 238, 0.75);
}

body.sdt-page .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover,
body.sdt-page .entry-content .wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
    color: var(--sdt-c) !important;
    border-color: var(--sdt-c) !important;
    background: rgba(34, 211, 238, 0.08) !important;
}

/* Footer */

body.sdt-page .site-footer .site-primary-footer-wrap,
body.sdt-page .site-footer .site-below-footer-wrap {
    background: #03070e;
    border-top: 1px solid var(--sdt-line);
}

body.sdt-page .site-footer .site-primary-footer-wrap {
    background:
        radial-gradient(600px 220px at 50% 0%, rgba(61, 220, 132, 0.08), transparent 70%),
        #03070e;
}

body.sdt-page .site-footer h2 {
    color: #fff;
}

body.sdt-page .site-footer p,
body.sdt-page .site-footer .ast-footer-copyright.site-footer-focus-item {
    color: var(--sdt-mut);
}

body.sdt-page .site-footer a {
    color: var(--sdt-g);
}

body.sdt-page .site-footer a:hover,
body.sdt-page .site-footer a:focus-visible {
    color: var(--sdt-c);
}

/* Reveal */

body.sdt-js .sdt-rv {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--sdt-i, 0) * 80ms);
}

body.sdt-js .sdt-rv.is-in {
    opacity: 1;
    transform: none;
}

@keyframes sdt-sweep {
    to { left: 100%; }
}

@keyframes sdt-blink {
    50% { opacity: 0.35; }
}

body.sdt-page .entry-content > .wp-block-group.has-background .wp-block-columns {
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

body.sdt-page .entry-content > .wp-block-group.has-background .wp-block-column {
    margin: 0;
}

@media (max-width: 768px) {
    body.sdt-page .entry-content > .wp-block-group.alignwide.has-background {
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 16px;
    }

    body.sdt-page .entry-content > .wp-block-group ol.wp-block-list > li {
        padding-left: 3.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.sdt-page *,
    body.sdt-page *::before,
    body.sdt-page *::after {
        animation: none !important;
        transition: none !important;
    }

    body.sdt-js .sdt-rv {
        opacity: 1;
        transform: none;
    }
}

/* Otomasyon hero animation */

body.sdt-page .wp-block-cover.sdt-hero-live .wp-block-cover__image-background {
    animation: sdt-ha-breathe 14s ease-in-out infinite;
}

body.sdt-page .sdt-ha {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
    mix-blend-mode: screen;
    animation: sdt-ha-breathe 14s ease-in-out infinite;
}

.sdt-ha * {
    transform-box: fill-box;
    transform-origin: center;
}

.sdt-ha-sun {
    animation: sdt-ha-fade 7s ease-in-out infinite;
}

.sdt-ha-glow {
    fill: #22d3ee;
    opacity: 0.05;
    animation: sdt-ha-flicker 4.2s steps(1, end) infinite;
}

.sdt-ha-scanline {
    animation: sdt-ha-scan 4.5s linear infinite;
}

.sdt-ha-chart {
    fill: none;
    stroke: #5eead4;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    filter: drop-shadow(0 0 3px #22d3ee);
    animation: sdt-ha-draw 5s ease-in-out infinite;
}

.sdt-ha-chart-2 {
    stroke: #fbbf24;
    filter: drop-shadow(0 0 3px #f59e0b);
    animation-delay: -2.5s;
}

.sdt-ha-link {
    fill: none;
    stroke: #a5f3fc;
    stroke-width: 1;
    stroke-dasharray: 14 86;
    animation: sdt-ha-flow 2.6s linear infinite;
}

.sdt-ha-node {
    fill: #a5f3fc;
    filter: drop-shadow(0 0 3px #22d3ee);
    animation: sdt-ha-blinkfx 2.7s ease-in-out infinite;
}

.sdt-ha-desk {
    fill: #7dd3fc;
    opacity: 0.04;
    animation: sdt-ha-desk 3.5s ease-in-out infinite;
}

.sdt-ha-wire {
    fill: none;
    stroke-width: 1.2;
    opacity: 0.22;
}

.sdt-ha-pulse {
    fill: none;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-dasharray: 9 91;
    animation: sdt-ha-flow 3.2s linear infinite;
}

.sdt-ha-g { stroke: #3ddc84; filter: drop-shadow(0 0 4px #3ddc84); }
.sdt-ha-c { stroke: #22d3ee; filter: drop-shadow(0 0 4px #22d3ee); }
.sdt-ha-o { stroke: #fbbf24; filter: drop-shadow(0 0 4px #f59e0b); }

.sdt-ha-beam {
    transform-origin: 50% 100%;
    animation: sdt-ha-beam 3s ease-in-out infinite;
}

.sdt-ha-ring {
    fill: none;
    stroke: #67e8f9;
    stroke-width: 1.4;
    animation: sdt-ha-ring 3s ease-out infinite;
}

.sdt-ha-spin {
    fill: none;
    stroke: #a5f3fc;
    stroke-width: 1.8;
    stroke-dasharray: 18 7 4 7 30 34;
    filter: drop-shadow(0 0 4px #22d3ee);
    animation: sdt-ha-dash 6s linear infinite;
}

.sdt-ha-core {
    animation: sdt-ha-core 2.2s ease-in-out infinite;
}

.sdt-ha-blink {
    animation: sdt-ha-blinkfx 1.6s steps(1, end) infinite;
}

.sdt-ha-red { fill: #ff4d6d; filter: drop-shadow(0 0 4px #ff4d6d); }
.sdt-ha-grn { fill: #4ade80; filter: drop-shadow(0 0 4px #4ade80); }

.sdt-ha-cone {
    transform-origin: 50% 0;
    animation: sdt-ha-cone 2.8s ease-in-out infinite;
}

.sdt-ha-wave {
    fill: none;
    stroke: #67e8f9;
    stroke-width: 1.2;
    animation: sdt-ha-wave 2.4s ease-out infinite;
}

.sdt-ha-sweepbar {
    animation: sdt-ha-sweepx 9s ease-in-out infinite;
}

.sdt-ha [style*="--d"] {
    animation-delay: var(--d);
}

@keyframes sdt-ha-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.035); }
}

@keyframes sdt-ha-fade {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.75; }
}

@keyframes sdt-ha-flicker {
    0% { opacity: 0.05; }
    12% { opacity: 0.12; }
    14% { opacity: 0.04; }
    46% { opacity: 0.09; }
    48% { opacity: 0.16; }
    50% { opacity: 0.06; }
    80% { opacity: 0.1; }
}

@keyframes sdt-ha-scan {
    from { transform: translateY(0); }
    to { transform: translateY(190px); }
}

@keyframes sdt-ha-draw {
    0% { stroke-dashoffset: 100; opacity: 1; }
    45%, 80% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes sdt-ha-flow {
    from { stroke-dashoffset: 100; }
    to { stroke-dashoffset: 0; }
}

@keyframes sdt-ha-dash {
    to { stroke-dashoffset: -100; }
}

@keyframes sdt-ha-desk {
    0%, 100% { opacity: 0.03; }
    50% { opacity: 0.16; }
}

@keyframes sdt-ha-beam {
    0%, 100% { opacity: 0.35; transform: scaleY(0.92); }
    50% { opacity: 0.75; transform: scaleY(1.05); }
}

@keyframes sdt-ha-ring {
    0% { transform: scale(0.5); opacity: 0.9; }
    100% { transform: scale(2.6); opacity: 0; }
}

@keyframes sdt-ha-core {
    0%, 100% { transform: scale(0.85); opacity: 0.75; }
    50% { transform: scale(1.15); opacity: 1; }
}

@keyframes sdt-ha-blinkfx {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.15; }
}

@keyframes sdt-ha-cone {
    0%, 100% { opacity: 0.25; transform: scaleX(0.85); }
    50% { opacity: 0.7; transform: scaleX(1.1); }
}

@keyframes sdt-ha-wave {
    0% { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(4.2); opacity: 0; }
}

@keyframes sdt-ha-sweepx {
    0%, 15% { transform: translateX(0); }
    85%, 100% { transform: translateX(1544px); }
}
