:root {
    --bg: #070b19;
    --text: #f4f7ff;
    --muted: #9ba9c9;
    --blue: #3988ff;
    --cyan: #39e0ef;
    --line: rgba(130, 166, 235, 0.17);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(
            ellipse at 74% 38%,
            #102653 0%,
            transparent 38%
        ),
        var(--bg);
    font-family: "DM Sans", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

#particles {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Arka plan ışıkları */

.ambient {
    position: fixed;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    animation: drift 15s ease-in-out infinite alternate;
}

.ambient-one {
    background: #1769ff;
    top: -16rem;
    left: -12rem;
}

.ambient-two {
    background: #793dff;
    bottom: -22rem;
    right: -12rem;
    animation-delay: -5s;
}

/* Ana kapsayıcı */

.page-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

/* Üst bölüm */

.site-header {
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 13px;
    color: #06101f;
    font: 700 27px "Space Grotesk", sans-serif;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 0 28px #1685ff35;
    transform: skew(-5deg);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy strong {
    font: 700 22px "Space Grotesk", sans-serif;
    letter-spacing: 2px;
}

.brand-copy small {
    margin-top: 5px;
    color: #a9bbdc;
    font-size: 9px;
    letter-spacing: 3.6px;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #b3c0dc;
    font-size: 12px;
    letter-spacing: 0.3px;
}

.status-dot,
.footer-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4de6bd;
    box-shadow: 0 0 12px #4de6bd;
    animation: pulse 2s infinite;
}

/* Ana içerik */

.hero {
    min-height: 545px;
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    align-items: center;
    gap: 36px;
    padding: 60px 0 45px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3.5px;
}

.eyebrow-line {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
}

h1 {
    margin: 22px 0 20px;
    font: 600 clamp(42px, 5.1vw, 68px)/1.08
        "Space Grotesk", sans-serif;
    letter-spacing: -3.3px;
}

h1 span:not(.accent-dot) {
    color: transparent;
    background: linear-gradient(
        95deg,
        #40dff0 5%,
        #5a9aff 62%,
        #9a83ff
    );
    background-clip: text;
    -webkit-background-clip: text;
}

.accent-dot {
    color: var(--cyan);
}

.intro {
    max-width: 490px;
    color: #aab8d6;
    font-size: 15px;
    line-height: 1.9;
}

/* İlerleme çubuğu */

.progress-wrap {
    max-width: 410px;
    margin-top: 34px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 11px;
    color: #9caccb;
    font-size: 11px;
}

.progress-label span:last-child {
    color: #d6e2ff;
}

.progress-track {
    height: 4px;
    overflow: hidden;
    border-radius: 8px;
    background: #1a2947;
}

.progress-bar {
    display: block;
    width: 73%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    box-shadow: 0 0 15px #38b9ff;
    transform-origin: left;
    animation: progressGlow 3s ease-in-out infinite alternate;
}

/* İletişim bağlantısı */

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 32px;
    padding: 13px 17px;
    border: 1px solid rgba(68, 150, 255, 0.6);
    border-radius: 10px;
    background: linear-gradient(
        110deg,
        rgba(38, 111, 231, 0.17),
        rgba(47, 210, 231, 0.06)
    );
    font-size: 12px;
    font-weight: 600;
    transition:
        transform 0.25s,
        border-color 0.25s,
        box-shadow 0.25s;
}

.contact-link:hover {
    transform: translateY(-3px);
    border-color: var(--cyan);
    box-shadow: 0 9px 30px #0d79ff25;
}

.arrow {
    color: var(--cyan);
    font-size: 18px;
}

.contact-note {
    color: #697b9e;
    font-size: 10px;
    margin-top: 12px;
}

/* Animasyonlu kod alanı */

.hero-art {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.glow-core {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: #126bff25;
    filter: blur(55px);
    animation: corePulse 5s ease-in-out infinite;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(80, 157, 255, 0.2);
    border-radius: 50%;
    transform: rotate(-28deg);
}

.orbit-large {
    width: 410px;
    height: 270px;
}

.orbit-small {
    width: 320px;
    height: 205px;
    transform: rotate(42deg);
    border-color: rgba(57, 224, 239, 0.2);
}

.code-window {
    position: relative;
    width: min(100%, 380px);
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(101, 157, 255, 0.33);
    border-radius: 15px;
    background: linear-gradient(
        145deg,
        rgba(16, 30, 63, 0.96),
        rgba(7, 14, 33, 0.95)
    );
    box-shadow: 0 25px 80px #0007, 0 0 55px #126bff17;
    transform: perspective(900px) rotateY(-7deg) rotateX(2deg);
    animation: float 6s ease-in-out infinite;
}

.window-top {
    height: 43px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 15px;
    border-bottom: 1px solid rgba(125, 158, 220, 0.14);
    background: rgba(255, 255, 255, 0.025);
}

.window-top i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff6f7c;
}

.window-top i:nth-child(2) {
    background: #ffc96b;
}

.window-top i:nth-child(3) {
    background: #45dfb0;
}

.window-top span {
    margin-left: auto;
    color: #8498bd;
    font-size: 11px;
}

.code-lines {
    padding: 23px 18px 25px;
    font: 12px/2.25 ui-monospace, Consolas, monospace;
    color: #d8e5ff;
}

.code-lines p {
    margin: 0;
    white-space: nowrap;
}

.code-lines b {
    display: inline-block;
    width: 28px;
    color: #526687;
    font-weight: 400;
    user-select: none;
}

.code-purple { color: #c79bff; }
.code-blue { color: #6bb8ff; }
.code-green { color: #83e8c2; }
.code-orange { color: #ffbd79; }

.cursor {
    display: inline-block;
    width: 6px;
    height: 14px;
    margin-left: 4px;
    vertical-align: -2px;
    background: var(--cyan);
    animation: blink 1s steps(2) infinite;
}

/* Kod alanının çevresindeki efektler */

.floating-chip {
    position: absolute;
    z-index: 3;
    top: 50px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(78, 156, 255, 0.25);
    border-radius: 7px;
    background: #0b1630d9;
    color: #9eb6db;
    font-size: 8px;
    letter-spacing: 1.4px;
    box-shadow: 0 8px 30px #0003;
    animation: float 5s ease-in-out infinite reverse;
}

.chip-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 9px var(--cyan);
}

.orb {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    background: linear-gradient(135deg, #55e8ff, #3273ff);
    box-shadow: 0 0 22px #278aff8c;
}

.orb-one {
    width: 11px;
    height: 11px;
    top: 95px;
    left: 16%;
    animation: bob 4s ease-in-out infinite;
}

.orb-two {
    width: 7px;
    height: 7px;
    bottom: 92px;
    right: 15%;
    animation: bob 5s ease-in-out infinite -2s;
}

.orb-three {
    width: 5px;
    height: 5px;
    top: 125px;
    right: 16%;
    animation: bob 3s ease-in-out infinite -1s;
}

.art-caption {
    position: absolute;
    z-index: 4;
    bottom: 32px;
    left: 4px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 15px;
    border: 1px solid rgba(105, 151, 226, 0.18);
    border-radius: 10px;
    background: rgba(9, 17, 38, 0.84);
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px #0003;
}

.caption-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: var(--cyan);
    background: #2b8bff1c;
    font-size: 20px;
}

.art-caption strong,
.art-caption small {
    display: block;
}

.art-caption strong {
    font-size: 10px;
}

.art-caption small {
    margin-top: 4px;
    color: #8092b5;
    font-size: 9px;
}

/* Alt özellikler */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding: 25px 0 37px;
    border-top: 1px solid var(--line);
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 13px 12px;
}

.feature-icon {
    display: grid;
    flex: 0 0 39px;
    place-items: center;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(56, 162, 255, 0.35);
    border-radius: 11px;
    color: var(--cyan);
    background: rgba(29, 111, 232, 0.1);
    font: 600 14px "Space Grotesk", sans-serif;
}

.feature h2 {
    margin: 1px 0 7px;
    font: 600 13px "Space Grotesk", sans-serif;
}

.feature p {
    margin: 0;
    max-width: 220px;
    color: #8394b7;
    font-size: 11px;
    line-height: 1.7;
}

/* Alt bilgi */

.site-footer {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    color: #7486a8;
    font-size: 10px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-pulse {
    width: 5px;
    height: 5px;
}

/* Sayfa açılış animasyonları */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: revealIn 0.85s cubic-bezier(.2, .75, .25, 1) forwards;
}

.hero-art.reveal {
    animation-delay: 0.16s;
}

.features.reveal {
    animation-delay: 0.3s;
}

/* Animasyon tanımları */

@keyframes revealIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

@keyframes bob {
    0%, 100% { translate: 0 0; }
    50% { translate: 7px -13px; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

@keyframes blink {
    to { opacity: 0; }
}

@keyframes drift {
    to { transform: translate(55px, 35px) scale(1.12); }
}

@keyframes corePulse {
    0%, 100% { opacity: 0.5; scale: 0.9; }
    50% { opacity: 1; scale: 1.12; }
}

@keyframes progressGlow {
    from { filter: brightness(0.85); }
    to { filter: brightness(1.35); }
}

/* Tablet */

@media (max-width: 900px) {
    .page-shell {
        width: min(720px, calc(100% - 40px));
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-top: 55px;
    }

    .hero-copy {
        max-width: 600px;
    }

    .hero-art {
        min-height: 380px;
    }

    .features {
        gap: 8px;
    }

    .feature {
        padding-inline: 4px;
    }
}

/* Telefon */

@media (max-width: 560px) {
    .page-shell {
        width: calc(100% - 34px);
    }

    .site-header {
        height: 86px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-copy strong {
        font-size: 19px;
    }

    .status {
        max-width: 120px;
        font-size: 9px;
        line-height: 1.5;
    }

    .hero {
        padding-top: 42px;
    }

    .eyebrow {
        font-size: 9px;
        letter-spacing: 2.5px;
    }

    h1 {
        font-size: clamp(39px, 11vw, 56px);
        letter-spacing: -2.3px;
    }

    .intro {
        font-size: 13px;
    }

    .hero-art {
        min-height: 320px;
        margin: 0 -8px;
    }

    .code-window {
        width: min(88%, 350px);
    }

    .code-lines {
        padding: 18px 12px;
        font-size: 10px;
    }

    .orbit-large {
        width: 320px;
        height: 220px;
    }

    .orbit-small {
        width: 260px;
        height: 180px;
    }

    .floating-chip {
        top: 25px;
        right: 0;
        font-size: 7px;
    }

    .art-caption {
        bottom: 15px;
        left: 0;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 4px;
        padding-top: 17px;
    }

    .feature {
        padding: 10px 4px;
    }

    .feature p {
        max-width: none;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 18px 0;
        gap: 10px;
    }
}

/* Hareket azaltma tercihi */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}