:root {
    --ej-navy: #07172f;
    --ej-ink: #122033;
    --ej-muted: #3d4d63;
    --ej-line: #d7e0ea;
    --ej-paper: #f4f7fb;
    --ej-cyan: #0b6f8a;
    --ej-accent: #11c5f5;
    --ej-orange: #c2410c;
    --ej-wrap: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

#anasayfa,
#cozumler,
#iletisim,
#demo,
#ornek-arama,
#isbirligi { scroll-margin-top: 84px; }

body {
    margin: 0;
    color: var(--ej-ink);
    background: var(--ej-paper);
    font-family: "Segoe UI", system-ui, sans-serif;
    line-height: 1.55;
}

img { max-width: 100%; height: auto; }

a { color: var(--ej-cyan); }

a:hover { color: #084e61; }

:focus-visible {
    outline: 3px solid var(--ej-accent);
    outline-offset: 2px;
}

.ej-skip {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 40;
    background: #fff;
    color: var(--ej-navy);
    padding: 8px 12px;
}

.ej-skip:focus { top: 8px; }

.ej-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--ej-line);
}

.ej-header-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: var(--ej-wrap);
    min-height: 64px;
    margin: 0 auto;
    padding: 8px 20px;
}

.ej-logo { display: flex; align-items: center; }

.ej-logo img {
    width: 180px;
    height: auto;
    max-width: none;
    object-fit: contain;
}

.ej-nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.ej-nav-btn {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 8px 12px;
    border: 1px solid var(--ej-line);
    border-radius: 8px;
    background: #fff;
    color: var(--ej-navy);
    font-weight: 700;
    cursor: pointer;
}

.ej-burger,
.ej-burger::before,
.ej-burger::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ej-navy);
    content: "";
}

.ej-burger { position: relative; }

.ej-burger::before,
.ej-burger::after { position: absolute; left: 0; }

.ej-burger::before { top: -6px; }

.ej-burger::after { top: 6px; }

.ej-nav { margin-left: auto; }

.ej-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ej-nav a {
    display: inline-block;
    padding: 8px 12px;
    color: var(--ej-navy);
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
}

.ej-nav a.is-active {
    color: var(--ej-cyan);
    box-shadow: inset 0 -2px 0 var(--ej-accent);
}

.ej-nav-toggle:focus-visible + .ej-nav-btn {
    outline: 3px solid var(--ej-accent);
    outline-offset: 2px;
}

.ej-crumb { padding: 16px 0 0; font-size: 0.92rem; color: var(--ej-muted); }

.ej-crumb a { text-decoration: none; }

.ej-shell-home { padding: 0; }

.ej-wrap {
    max-width: var(--ej-wrap);
    margin: 0 auto;
    padding: 0 20px;
}

.ej-hero {
    background:
        radial-gradient(circle at 85% 15%, rgba(17, 197, 245, 0.22), transparent 28%),
        linear-gradient(160deg, #07172f 0%, #0c314f 58%, #0a243c 100%);
    color: #fff;
}

.ej-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 22px;
    padding-bottom: 22px;
}

.ej-kicker {
    margin: 0 0 6px;
    color: var(--ej-accent);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ej-hero h1 {
    max-width: none;
    margin: 0 0 8px;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.08;
}

.ej-lead {
    max-width: none;
    margin: 0 0 12px;
    color: #d5e4f2;
    font-size: 18px;
    line-height: 1.35;
}

.ej-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ej-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
}

.ej-btn-primary { background: var(--ej-orange); color: #fff; }

.ej-btn-primary:hover { background: #9a3412; color: #fff; }

.ej-btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.72);
    color: #fff;
}

.ej-btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.ej-btn-line {
    border: 1px solid var(--ej-navy);
    color: var(--ej-navy);
    background: #fff;
}

.ej-btn-line:hover { background: var(--ej-navy); color: #fff; }

.ej-note { margin: 8px 0 0; color: #b7c9da; font-size: 16px; }

.ej-section { padding: 48px 0; }

.ej-section h2 { margin: 0 0 10px; font-size: clamp(1.4rem, 2vw, 1.9rem); }

.ej-intro { max-width: 68ch; margin: 0 0 22px; color: var(--ej-muted); }

.ej-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.ej-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ej-line);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(7, 23, 47, 0.05);
}

.ej-card:hover { border-color: #9fdcf0; }

.ej-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--ej-navy);
}

.ej-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ej-card-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 16px;
    color: #fff;
}

.ej-card-index {
    align-self: flex-start;
    padding: 2px 8px;
    border: 1px solid rgba(17, 197, 245, 0.7);
    border-radius: 999px;
    color: var(--ej-accent);
    font-weight: 700;
}

.ej-card-panel-label {
    margin: 12px 0 0;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 700;
    line-height: 1.25;
}

.ej-tone-a { background: linear-gradient(145deg, #07172f, #0e4a6b); }
.ej-tone-b { background: linear-gradient(155deg, #07172f, #163e68 70%); }
.ej-tone-c { background: linear-gradient(145deg, #0b2438, #0f5f73); }
.ej-tone-d { background: linear-gradient(160deg, #07172f, #1d4e89); }
.ej-tone-e { background: linear-gradient(145deg, #102033, #0e7490); }
.ej-tone-f { background: linear-gradient(155deg, #07172f, #3f6212 160%); }
.ej-tone-g { background: linear-gradient(145deg, #1a1030, #0e4a6b); }
.ej-tone-h { background: linear-gradient(160deg, #102033, #155e75); }
.ej-tone-i { background: linear-gradient(145deg, #07172f, #9a3412 180%); }

.ej-card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 16px 18px; }

.ej-card-body h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }

.ej-card-body h3 a { color: var(--ej-navy); text-decoration: none; }

.ej-card-body p,
.ej-card-body li { color: var(--ej-muted); }

.ej-card-body p { margin: 0; }

.ej-card-body ul { margin: 0; padding-left: 1.1rem; }

.ej-card-more {
    margin-top: auto;
    font-weight: 700;
    text-decoration: none;
}

.ej-band { background: #fff; }

.ej-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.ej-panel {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--ej-line);
    border-radius: 16px;
}

.ej-panel h3 { margin: 0 0 8px; }

.ej-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: ej;
}

.ej-steps li {
    padding: 16px;
    background: #fff;
    border-top: 3px solid var(--ej-accent);
    border-radius: 12px;
}

.ej-steps strong { display: block; margin-bottom: 4px; color: var(--ej-navy); }

.ej-ref img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--ej-line);
    background: #fff;
}

.ej-cta {
    background: var(--ej-navy);
    color: #fff;
}

.ej-cta .ej-wrap { padding-top: 36px; padding-bottom: 36px; }

.ej-cta p { max-width: 62ch; color: #d5e4f2; }

.ej-footer {
    padding: 22px 0;
    background: #06101f;
    color: #c5d2e0;
}

.ej-footer p { margin: 0; }

.ej-footer p + p { margin-top: 6px; }

@media (max-width: 1199px) {
    .ej-header-bar { flex-wrap: wrap; }
    .ej-nav-btn { display: inline-flex; margin-left: auto; }
    .ej-nav { display: none; flex: 1 0 100%; width: 100%; margin-left: 0; }
    .ej-nav-toggle:checked ~ .ej-nav { display: block; }
    .ej-nav ul { flex-direction: column; align-items: stretch; padding-bottom: 10px; }
    .ej-nav a { display: block; }
}

@media (min-width: 768px) {
    .ej-grid,
    .ej-split,
    .ej-steps { grid-template-columns: 1fr 1fr; }
    .ej-hero-grid { grid-template-columns: 1fr; }
}

@media (min-width: 1024px) {
    .ej-grid,
    .ej-steps { grid-template-columns: 1fr 1fr 1fr; }
    .ej-steps { grid-template-columns: repeat(4, 1fr); }
}

.ej-detail h1 { margin: 18px 0 10px; font-size: clamp(1.7rem, 3vw, 2.3rem); }

.ej-detail h2 { margin: 28px 0 8px; font-size: 1.25rem; }

.ej-detail p { max-width: 72ch; }

.ej-detail-media { margin-bottom: 8px; overflow: hidden; border-radius: 16px; }

.ej-detail-list { margin: 0; padding-left: 1.2rem; }

.ej-detail-list li { margin: 6px 0; }

.ej-related {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ej-related a {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid var(--ej-line);
    border-radius: 999px;
    color: var(--ej-navy);
    font-weight: 600;
    text-decoration: none;
}

.ej-cta-row { margin: 28px 0 8px; }

.ej-logo-row { margin-top: 8px; }

.ej-shell .thumbnail img,
.ej-logo-row img { max-width: 100%; height: auto; }

@media (max-width: 1023px) and (min-width: 768px) {
    .ej-nav a { padding: 8px; font-size: 0.92rem; }
}

.ej-form label,
.ej-form .ej-check { display: block; margin-top: 14px; font-weight: 600; }
.ej-form .ej-check input { margin-right: 8px; }

.ej-form input[type="text"],
.ej-form input[type="email"],
.ej-form input[type="tel"],
.ej-form textarea {
    display: block;
    width: 100%;
    max-width: 40rem;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid var(--ej-line);
    border-radius: 10px;
}

.ej-form .btn { margin-top: 16px; }

#iletisim.ej-section { padding: 8px 0; }

#iletisim h2 { margin-bottom: 4px; }

#iletisim .ej-intro { margin-bottom: 4px; }

#iletisim .ej-form label { margin-top: 4px; }

#iletisim .ej-form input[type="text"],
#iletisim .ej-form input[type="email"],
#iletisim .ej-form textarea {
    margin-top: 2px;
    padding: 4px 12px;
}

#iletisim .ej-form textarea { height: 58px; min-height: 0; }

#iletisim .ej-form-note { margin: 4px 0 0; }

#iletisim .ej-form .btn { margin-top: 6px; padding: 6px 16px; }

.ej-popup {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(7, 23, 47, 0.55);
}

.ej-popup[hidden] { display: none; }

.ej-popup-card {
    width: min(420px, 100%);
    padding: 24px 22px 18px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(7, 23, 47, 0.28);
    text-align: center;
}

.ej-popup-form {
    position: relative;
    width: min(520px, 100%);
    max-height: min(88vh, 760px);
    overflow: auto;
    text-align: left;
}

.ej-popup-form h2 { margin: 0 28px 8px 0; }

.ej-popup-x {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--ej-navy);
    font-size: 1.6rem;
    line-height: 1;
}

.ej-popup-card .ej-popup-ok,
.ej-popup-card .ej-popup-err {
    display: block;
    margin: 0 0 18px;
    font-size: 1.05rem;
    font-weight: 700;
}

.ej-popup-ok { color: #0f6b4c; }

.ej-popup-err { color: #9a3412; }

.ej-popup-close {
    min-width: 120px;
    min-height: 44px;
    padding: 8px 16px;
    border: 0;
    border-radius: 10px;
    background: var(--ej-navy);
    color: #fff;
    font-weight: 700;
}

.ej-form-note { max-width: 62ch; color: var(--ej-muted); }

.ej-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ej-mail { color: inherit; }

.ej-wa {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(7, 23, 47, 0.22);
}

.ej-wa-icon { width: 34px; height: 34px; }

.ej-wa::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(18, 140, 126, 0.55);
    animation: ej-ring 2.6s ease-out infinite;
    pointer-events: none;
}

@keyframes ej-ring {
    0% { box-shadow: 0 0 0 0 rgba(18, 140, 126, 0.45); }
    70%, 100% { box-shadow: 0 0 0 12px rgba(18, 140, 126, 0); }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto; }
    .ej-wa::after { animation: none; }
}

.ej-footer a { color: #d5e4f2; }

.ej-footer a:hover { color: #fff; }

.ej-footer-links { margin-top: 8px; }

.ej-featured { padding-top: 32px; padding-bottom: 8px; }

.ej-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: stretch;
}

.ej-feature {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(7, 23, 47, 0.18);
}

.ej-feature-media {
    display: block;
    aspect-ratio: 16 / 9;
    background: #07172f;
    line-height: 0;
}

.ej-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ej-feature-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ej-feature-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding: 22px 22px 16px;
}

.ej-feature-kicker {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ej-feature-copy h3 {
    margin: 0;
    font-size: clamp(1.5rem, 2.2vw, 1.95rem);
    line-height: 1.15;
}

.ej-feature-copy h3 a {
    color: #fff;
    text-decoration: none;
}

.ej-feature-copy h3 a:hover { color: #fff; }

.ej-feature-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.ej-feature-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: auto;
    padding: 12px 16px;
    font-weight: 700;
    text-decoration: none;
}

.ej-feature-ai { background: #07172f; }

.ej-feature-ai .ej-feature-kicker { color: #8ef6ee; }

.ej-feature-ai .ej-feature-btn { background: #2ad4c8; color: #062033; }

.ej-feature-ai .ej-feature-btn:hover { background: #7ff6ee; color: #062033; }

.ej-feature-hive { background: #123528; }

.ej-feature-hive .ej-feature-kicker { color: #c6f7b4; }

.ej-feature-hive .ej-feature-btn { background: #b6f5a8; color: #0c2418; }

.ej-feature-hive .ej-feature-btn:hover { background: #d8ffcf; color: #0c2418; }

.ej-slogan {
    margin: 0 0 14px;
    max-width: 36ch;
    color: var(--ej-navy);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.3;
}

.ej-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
}

.ej-points li {
    margin: 0;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--ej-line);
    border-radius: 12px;
}

.ej-flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px 16px;
    margin: 8px 0 12px;
    padding: 0;
    list-style: none;
    counter-reset: ejflow;
}

.ej-flow li {
    position: relative;
    margin: 0;
    padding: 14px 10px 12px;
    background: #fff;
    border: 1px solid var(--ej-line);
    border-top: 3px solid var(--ej-accent);
    border-radius: 14px;
    text-align: center;
    font-weight: 700;
    line-height: 1.3;
}

.ej-flow li::before {
    display: block;
    margin-bottom: 6px;
    color: var(--ej-cyan);
    font-size: 0.8rem;
    content: counter(ejflow);
    counter-increment: ejflow;
}

.ej-flow li:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -14px;
    color: var(--ej-cyan);
    font-size: 1.15rem;
    line-height: 1;
    transform: translateY(-50%);
    content: "→";
}

.ej-flow-hive { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ej-flow-hive li { border-top-color: #3d9a62; }

.ej-flow-hive li::before,
.ej-flow-hive li:not(:last-child)::after { color: #1f7a45; }

.ej-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.ej-chips li {
    margin: 0;
    padding: 6px 12px;
    border: 1px solid var(--ej-line);
    border-radius: 999px;
    background: #fff;
    font-size: 0.92rem;
    font-weight: 600;
}

.ej-status {
    display: inline-block;
    margin: 14px 0 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e7f6ec;
    color: #0f5132;
    font-weight: 700;
}

.ej-future {
    margin-top: 22px;
    padding: 8px 18px 16px;
    border: 1px solid #d5e6db;
    border-radius: 16px;
    background: #f3f7f4;
}

.ej-callout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: center;
    margin: 28px 0 8px;
    padding: 16px;
    border-radius: 16px;
    background: #07172f;
    color: #fff;
}

.ej-callout img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.ej-callout h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.45rem;
}

.ej-callout p { margin: 0 0 14px; color: #d5e4f2; }

.ej-project-group { margin-top: 8px; }

.ej-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 18px;
}

.ej-project {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ej-line);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(7, 23, 47, 0.06);
}

.ej-project-media {
    display: block;
    aspect-ratio: 16 / 9;
    background: #123528;
    line-height: 0;
}

.ej-project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ej-project-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    padding: 18px;
}

.ej-project-body .ej-status { margin: 0; }

.ej-project-body h3 { margin: 0; font-size: 1.45rem; line-height: 1.25; }

.ej-project-body h3 a { color: var(--ej-navy); text-decoration: none; }

.ej-project-body p { margin: 0; max-width: 68ch; color: var(--ej-muted); }

.ej-project-btn { width: 100%; margin-top: auto; }

@media (min-width: 768px) {
    .ej-feature-grid,
    .ej-points { grid-template-columns: 1fr 1fr; }
    .ej-callout { grid-template-columns: minmax(180px, 280px) 1fr; }
}

@media (max-width: 900px) {
    .ej-flow { grid-template-columns: 1fr; gap: 18px; }
    .ej-flow li:not(:last-child) { margin-bottom: 6px; }
    .ej-flow li:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: -18px;
        left: 50%;
        transform: translateX(-50%);
        content: "↓";
    }
}
