:root {
    --bg: #08111f;
    --bg-soft: #101b2e;
    --panel: rgba(255,255,255,0.06);
    --text: #f4f7fb;
    --muted: #aac0dc;
    --line: rgba(255,255,255,0.12);
    --accent: #1fc3ff;
    --accent-2: #6d7cff;
    --success: #49d17d;
    --container: 1200px;
    --radius: 22px;
    --shadow: 0 18px 50px rgba(0,0,0,0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(31,195,255,0.14), transparent 28%),
        radial-gradient(circle at top right, rgba(109,124,255,0.12), transparent 24%),
        linear-gradient(180deg, #08111f 0%, #0a1323 45%, #060b14 100%);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4, p {
    margin-top: 0;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

/* Topbar */
.topbar {
    border-bottom: 1px solid var(--line);
    background: rgba(5, 11, 21, 0.72);
    backdrop-filter: blur(12px);
}

.topbar-inner,
.nav-inner,
.hero-actions,
.section-head,
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-inner {
    min-height: 44px;
    color: var(--muted);
    font-size: 14px;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 17, 31, 0.86);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
    min-height: 78px;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 14px 30px rgba(31,195,255,0.28);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #dce6f5;
    font-size: 15px;
}

.nav-links a {
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active-link::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: 0.25s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 16px 32px rgba(31,195,255,0.22);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(31,195,255,0.28);
}

.btn-secondary {
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.04);
    color: #fff;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 44px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(31,195,255,0.1);
    border: 1px solid rgba(31,195,255,0.16);
    color: #cdefff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    margin: 22px 0 18px;
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.02;
    letter-spacing: -1.8px;
    max-width: 760px;
}

.hero p.lead {
    max-width: 700px;
    color: #c1d0e3;
    font-size: 18px;
}

.hero-actions {
    margin-top: 28px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.hero-point,
.panel,
.service-card,
.sector-card,
.project-card,
.stat-card,
.contact-box,
.footer-card,
.blog-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.hero-point {
    padding: 18px;
}

.hero-point strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

.hero-visual {
    position: relative;
    min-height: 540px;
}

.hero-card-large,
.hero-card-small,
.floating-badge {
    position: absolute;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.hero-card-large {
    inset: 36px 24px 80px 50px;
    padding: 24px;
}

.hero-card-large::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(31,195,255,0.26), transparent 35%),
        radial-gradient(circle at 70% 20%, rgba(109,124,255,0.22), transparent 26%),
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
}

.tech-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    height: 100%;
}

.tech-box {
    padding: 18px;
    border-radius: 20px;
    background: rgba(8,17,31,0.56);
    border: 1px solid rgba(255,255,255,0.08);
}

.hero-card-small {
    right: 0;
    bottom: 0;
    width: 230px;
    padding: 18px;
}

.floating-badge {
    left: 0;
    top: 0;
    padding: 14px 16px;
}

.floating-badge span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

/* Sections */
section {
    padding: 42px 0;
}

.section-head {
    margin-bottom: 24px;
    align-items: end;
}

.section-head p {
    max-width: 620px;
    color: var(--muted);
}

.section-kicker {
    color: #8fdcff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    margin-bottom: 0;
}

.page-hero {
    padding: 72px 0 30px;
}

.page-hero .section-title {
    margin-bottom: 16px;
}

.page-intro {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
}

/* Grids */
.about-grid,
.services-grid,
.sectors-grid,
.projects-grid,
.stats-grid,
.footer-grid,
.content-grid-2,
.content-grid-3 {
    display: grid;
    gap: 22px;
}

.about-grid,
.content-grid-2 {
    grid-template-columns: 1fr 1fr;
}

.content-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sectors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    margin-top: 24px;
}

/* Panels / Cards */
.panel {
    padding: 28px;
}

.panel ul,
.list-clean {
    margin: 0;
    padding-left: 18px;
    color: #d3dfef;
}

.service-card,
.project-card,
.contact-box,
.footer-card,
.blog-card {
    padding: 24px;
}

.service-card,
.project-card,
.sector-card,
.blog-card {
    transition: 0.28s ease;
}

.service-card:hover,
.project-card:hover,
.sector-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(31,195,255,0.26);
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(31,195,255,0.25), rgba(109,124,255,0.22));
    border: 1px solid rgba(255,255,255,0.1);
}

.service-card p,
.project-card p,
.sector-card p,
.footer-card p,
.contact-box p,
.footer-intro,
.blog-card p {
    color: var(--muted);
}

.service-link,
.project-link {
    display: inline-flex;
    margin-top: 10px;
    color: #c7f1ff;
    font-weight: 700;
}

.sector-card {
    padding: 22px;
    min-height: 150px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
}

.sector-card::after {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31,195,255,0.28), transparent 65%);
}

.project-tag {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255,255,255,0.08);
    color: #d7ebff;
    margin-bottom: 16px;
}

.project-cover {
    height: 180px;
    border-radius: 18px;
    margin-bottom: 18px;
    background:
        linear-gradient(135deg, rgba(31,195,255,0.28), rgba(109,124,255,0.18)),
        linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
}

.badge-line {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(31,195,255,0.1);
    border: 1px solid rgba(31,195,255,0.18);
    color: #cdefff;
}

.stats-wrap {
    padding: 28px;
    border-radius: calc(var(--radius) + 10px);
    background: linear-gradient(135deg, rgba(31,195,255,0.12), rgba(109,124,255,0.08));
    border: 1px solid rgba(255,255,255,0.12);
}

.stat-card {
    padding: 24px;
    text-align: center;
}

.stat-card strong {
    display: block;
    font-size: clamp(30px, 4vw, 42px);
    margin-bottom: 8px;
}

/* CTA / Contact */
.cta-section {
    padding-bottom: 80px;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    background: linear-gradient(135deg, rgba(31,195,255,0.12), rgba(109,124,255,0.1));
}

/* Blog */
.blog-meta {
    margin-top: 14px;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 14px;
}

/* Article */
.article-panel {
    padding: 32px;
}

.article-panel p {
    font-size: 17px;
    line-height: 1.85;
    color: #dbe6f5;
    margin-bottom: 0;
}

/* Forms */
.contact-form {
    display: grid;
    gap: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #dce6f5;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: white;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: rgba(31,195,255,0.45);
    box-shadow: 0 0 0 3px rgba(31,195,255,0.08);
}

.alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 700;
}

.alert-success {
    background: rgba(73, 209, 125, 0.14);
    border: 1px solid rgba(73, 209, 125, 0.25);
    color: #bdf4cf;
}

.alert-error {
    background: rgba(255, 99, 99, 0.14);
    border: 1px solid rgba(255, 99, 99, 0.25);
    color: #ffd1d1;
}

.hidden-field {
    display: none !important;
}

/* Footer */
footer {
    border-top: 1px solid var(--line);
    background: rgba(5, 10, 18, 0.88);
    padding: 26px 0 34px;
}

.footer-brand {
    margin-bottom: 10px;
}

.footer-intro {
    max-width: 680px;
    margin-bottom: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 22px;
    margin-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: var(--muted);
    font-size: 14px;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 20px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1100px) {
    .hero-grid,
    .about-grid,
    .services-grid,
    .projects-grid,
    .stats-grid,
    .footer-grid,
    .sectors-grid,
    .contact-box,
    .content-grid-2,
    .content-grid-3 {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid .service-card:last-child,
    .projects-grid .project-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 860px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 78px;
        left: 16px;
        right: 16px;
        padding: 18px;
        border-radius: 20px;
        background: rgba(8,17,31,0.96);
        border: 1px solid rgba(255,255,255,0.1);
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-cta {
        display: none;
    }

    .hero-grid,
    .about-grid,
    .services-grid,
    .projects-grid,
    .stats-grid,
    .footer-grid,
    .sectors-grid,
    .contact-box,
    .content-grid-2,
    .content-grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-points,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 420px;
    }

    .hero-card-large {
        inset: 30px 14px 80px 14px;
    }

    .hero-card-small {
        width: 210px;
        right: 12px;
    }

    .topbar-inner,
    .section-head,
    .contact-box,
    .footer-top {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .hero {
        padding-top: 52px;
    }

    .hero h1 {
        letter-spacing: -1px;
    }

    .container {
        width: min(var(--container), calc(100% - 22px));
    }

    .panel,
    .service-card,
    .project-card,
    .stat-card,
    .contact-box,
    .footer-card,
    .hero-point,
    .sector-card,
    .blog-card,
    .article-panel {
        padding: 20px;
    }
}

/* Admin panel geliştirici logosu - alt kısımda sabit görünüm */
body.admin-page {
    position: relative;
    min-height: 100vh;
    padding-bottom: 120px;
}

body.admin-page::after {
    content: "";
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: 220px;
    height: 70px;
    background: url("../images/admin-developer-logo.png") no-repeat center center;
    background-size: contain;
    opacity: 0.14;
    pointer-events: none;
    z-index: 5;
}

/* İçerik logonun üstünde kalsın */
body.admin-page main,
body.admin-page .container,
body.admin-page .panel,
body.admin-page .page-hero,
body.admin-page section {
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    body.admin-page {
        padding-bottom: 95px;
    }

    body.admin-page::after {
        width: 160px;
        height: 52px;
        bottom: 14px;
        opacity: 0.12;
    }
}

/* Admin developer badge */
body.admin-page {
    min-height: 100vh;
}

.admin-developer-badge {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    text-decoration: none;
    color: #ffffff;
    opacity: 0.78;
    transform: translateY(0);
    transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.admin-developer-badge:hover {
    opacity: 1;
    transform: translateY(-3px);
    background: rgba(17, 24, 39, 0.92);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.admin-developer-badge__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    white-space: nowrap;
}

.admin-developer-badge__logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px;
}

.admin-developer-badge__name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .admin-developer-badge {
        right: 12px;
        bottom: 12px;
        min-height: 48px;
        padding: 8px 12px;
        gap: 8px;
    }

    .admin-developer-badge__label {
        display: none;
    }

    .admin-developer-badge__logo {
        width: 30px;
        height: 30px;
    }

    .admin-developer-badge__name {
        font-size: 12px;
    }
}