:root {
    --bg-color: #030305;
    --surface: #0f1015;
    --border: #1f212a;
    --accent: #8b5cf6;
    /* Mor Accent */
    --accent-glow: rgba(139, 92, 246, 0.4);
    --text-main: #f8fafc;
    --text-muted: #a1a1aa;
    --terminal-green: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    width: 100%;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Body Scroll Lock for mobile menu */
html.no-scroll,
body.no-scroll {
    overflow: hidden !important;
    height: 100vh !important;
    overscroll-behavior: none;
}

.glow-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(3, 3, 5, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 36px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 101;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links>a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links>a:hover,
.nav-links>a.active {
    color: #fff;
}

.nav-special-links {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 10px;
}

.btn-personal {
    background: linear-gradient(135deg, #d946ef, #9333ea);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(217, 70, 239, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-personal:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 30px rgba(217, 70, 239, 0.6);
}

.lang-switch {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 50px;
    border: 1px solid var(--border);
    margin-left: 15px;
}

.lang-btn {
    background: transparent;
    color: #94a3b8;
    border: none;
    padding: 6px 12px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.lang-btn.active {
    background: #fff;
    color: #000;
}

.lang-btn:hover:not(.active) {
    color: #fff;
}

.mobile-close-btn {
    display: none;
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 101;
}

/* --- HERO (ORTAK) --- */
.hero,
.about-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero {
    min-height: 100vh;
    padding-top: 100px;
}

.about-hero {
    padding-top: 150px;
    text-align: center;
    margin-bottom: 40px;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

.headline {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1rem;
    transition: opacity 0.3s;
}

.about-hero .headline {
    text-align: center;
}

.headline span {
    background: linear-gradient(to right, #fff, #a78bfa);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    transition: opacity 0.3s;
}

.about-hero .hero-subtitle {
    margin: 0 auto;
    text-align: center;
}

/* --- TERMINAL --- */
.terminal-window,
.terminal-quote {
    background: #09090b;
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.terminal-window {
    max-width: 750px;
    margin-bottom: 3rem;
}

.terminal-quote {
    max-width: 800px;
    margin: 30px auto 0;
}

.terminal-header {
    background: #18181b;
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.r {
    background: #ef4444;
}

.dot.y {
    background: #f59e0b;
}

.dot.g {
    background: #10b981;
}

.terminal-body {
    font-family: 'Fira Code', monospace;
    color: var(--terminal-green);
    word-break: break-word;
}

.terminal-window .terminal-body {
    padding: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    min-height: 160px;
}

.terminal-quote .terminal-body {
    padding: 25px 20px;
    font-size: 1.15rem;
    line-height: 1.6;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 18px;
    background: var(--terminal-green);
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

.terminal-quote .cursor {
    margin-left: 4px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* --- STATS GRID (HAKKIMDA) --- */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 20px 30px;
    border-radius: 16px;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Fira Code', monospace;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- BENTO GRID --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 20px;
    margin-bottom: 80px;
    scroll-margin-top: 100px;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 50px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.bento-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-decoration: none !important;
    color: var(--text-main) !important;
}

.about-content .bento-item {
    justify-content: flex-start;
}

.bento-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.item-wide {
    grid-column: span 2;
}

.item-box {
    grid-column: span 1;
}

.item-full {
    grid-column: span 4;
    border-color: rgba(139, 92, 246, 0.5);
    align-items: center;
    text-align: center;
}

.bento-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
    transition: opacity 0.3s;
}

.about-content .bento-item h3 {
    letter-spacing: -0.5px;
}

.bento-item p {
    color: var(--text-muted);
    font-size: 1rem;
    transition: opacity 0.3s;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-content .bento-item p {
    margin-bottom: 0;
    line-height: 1.7;
}

.item-full p {
    max-width: 800px;
    margin: 0 auto 20px;
}

/* Ana Sayfa Bento Ekstraları */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag-container-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    align-items: flex-start;
}

.bento-item .tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-weight: 500;
}

.box-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    align-self: flex-start;
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.bento-item:hover .box-btn {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.box-btn-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.02);
    color: #71717a;
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: default;
    user-select: none;
}

.erp-visual {
    margin-top: 15px;
    background: #09090b;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 15px;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: #a1a1aa;
    word-break: break-word;
}

.erp-visual span {
    color: var(--accent);
}


/* --- TIMELINE --- */
.process-section {
    margin-bottom: 100px;
}

.about-content+.process-section {
    max-width: 1000px;
    margin: 0 auto 100px;
}

/* Hakkımda sayfası için */

.section-heading {
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 800;
    transition: opacity 0.3s;
    text-align: left;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-item {
    background: var(--surface);
    border-left: 4px solid var(--accent);
    border-radius: 16px;
    padding: 25px 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: #13151c;
    border-color: #fff;
    transform: translateX(10px);
}

.step-code {
    font-family: 'Fira Code', monospace;
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 120px;
}

.step-content h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #fff;
    transition: opacity 0.3s;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    transition: opacity 0.3s;
    line-height: 1.6;
}

/* --- CTA KUTUSU --- */
.cta-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Hakkımda sayfası için opsiyonel kapsayıcı */
.cta-box {
    grid-column: span 4;
    background: #090a0f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 20px;
    border-radius: 24px;
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-container .cta-box {
    margin-bottom: 50px;
}

/* Hakkımda sayfası için ayar */

.cta-box h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
    transition: opacity 0.3s;
}

.cta-box p {
    font-size: 1.2rem;
    max-width: 600px;
    color: #a1a1aa;
    margin: 0 auto;
    line-height: 1.6;
    transition: opacity 0.3s;
}

.cta-btn {
    background: #fff;
    color: #000;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.15rem;
    margin-top: 25px;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 1;
}

.cta-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

/* --- FOOTER --- */
.site-footer {
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: #030305;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    background: rgba(255, 255, 255, 0.03);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #a1a1aa;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--accent-glow);
    border-color: var(--accent);
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.copyright {
    color: #71717a;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

/* --- MOBİL UYARLILIK --- */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .item-wide,
    .item-full {
        grid-column: span 2;
    }

    .headline {
        font-size: 4.5rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 900px) {
    .hamburger {
        display: block;
        margin-left: auto;
    }

    .nav-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-logo {
        height: 32px;
    }

    .mobile-close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 24px;
        background: transparent;
        border: none;
        color: #fff;
        cursor: pointer;
        z-index: 102;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #030305;
        backdrop-filter: none;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        gap: 25px;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding-bottom: 40px;
        border-top: none;
        z-index: 101;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links>a {
        font-size: 1.2rem;
        text-align: center;
    }

    .nav-special-links {
        flex-direction: column;
        margin-left: 0;
        width: 100%;
        padding: 0 40px;
        gap: 15px;
    }

    .btn-personal {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 1rem;
    }

    .lang-switch {
        margin-left: 0;
        margin-top: 20px;
        transform: scale(1.1);
        justify-content: center;
    }

    .stats-grid {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        margin-bottom: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-content .item-full {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {

    .container,
    .nav-container {
        padding: 0 16px;
    }

    .hero {
        padding-top: 100px;
        text-align: center;
        align-items: center;
    }

    .about-hero {
        padding-top: 140px;
        padding-bottom: 20px;
    }

    .headline {
        font-size: 3.2rem;
        letter-spacing: -1px;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        text-align: center;
        padding: 0 10px;
    }

    .terminal-window {
        text-align: left;
        width: 100%;
    }

    .terminal-window .terminal-body {
        font-size: 0.8rem;
        padding: 15px;
        min-height: 140px;
    }

    .terminal-quote .terminal-body {
        font-size: 0.8rem;
        padding: 15px;
        min-height: auto;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 60px;
        margin-top: 20px;
    }

    .item-wide,
    .item-box,
    .item-full {
        grid-column: span 1;
    }

    .bento-item {
        padding: 24px 20px;
        border-radius: 20px;
        align-items: center;
        text-align: center;
    }

    .about-content .bento-item {
        text-align: left;
        align-items: flex-start;
    }

    .about-content .item-full {
        align-items: center;
        text-align: center;
    }

    .bento-item h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .bento-item p {
        font-size: 1rem;
        text-align: center;
    }

    .about-content .bento-item h3 {
        text-align: left;
    }

    .about-content .item-full h3 {
        text-align: center;
    }

    .tag-container,
    .tag-container-col {
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .box-btn,
    .box-btn-disabled {
        align-self: center;
        margin-top: 15px;
    }

    .erp-visual {
        text-align: left;
        width: 100%;
    }

    .stats-grid {
        gap: 15px;
        margin-bottom: 60px;
    }

    .stat-box {
        width: 100%;
        max-width: 250px;
        padding: 15px;
    }

    .stat-num {
        font-size: 2.8rem;
    }

    .section-heading {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 30px;
    }

    .timeline-item {
        padding: 20px;
        border-radius: 16px;
        border-left: none;
        border-top: 4px solid var(--accent);
        align-items: center;
        text-align: center;
    }

    .step-code {
        min-width: auto;
        margin-bottom: 10px;
        font-size: 1rem;
    }

    .step-content h4,
    .step-content p {
        text-align: center;
    }

    .cta-box {
        padding: 50px 20px;
        border-radius: 20px;
        text-align: center;
    }

    .cta-box h3 {
        font-size: 2rem;
    }

    .cta-box p {
        font-size: 1rem;
    }

    .cta-btn {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

/* --- ANIMASYONLAR --- */
.fade-in-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- İLETİŞİM FORMU --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.input-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.contact-input,
.contact-textarea {
    width: 100%;
    background: #090a0f;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

/* Form Grid for Complex Forms */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}
.form-grid .full-width {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-grid .full-width {
        grid-column: span 1;
    }
}

.contact-input {
    height: 52px;
}

#country-code {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8fafc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 35px;
}

.contact-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.btn-submit {
    background: #fff;
    color: #000;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    align-self: flex-start;
}

.btn-submit:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

/* Form kutusu row-span için */
.item-tall {
    grid-row: span 2;
}

@media (max-width: 600px) {
    .item-tall {
        grid-row: span 1;
    }
}

/* Sayı giriş kutularındaki (number) yukarı-aşağı oklarını gizle */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}