:root {
    --brand: #EA5B3A;
    --brand-glow: rgba(234, 91, 58, 0.55);
    --accent-indigo: #6366f1;
    --accent-cyan: #06b6d4;
    --bg-deep: #04060d;
    --glass-bg: rgba(15, 23, 42, 0.45);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: rgba(226, 232, 240, 0.68);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-deep);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    user-select: none;
}

/* Arka Plan Görseli & Katmanları */
.bg-image {
    position: fixed;
    inset: -30px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.22;
    filter: saturate(1.2) contrast(1.1);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* Animasyonlu Aurora Işık Küreleri */
.aurora-wrap {
    position: fixed;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.aurora-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.45;
    mix-blend-mode: screen;
    animation: floatOrb 18s infinite alternate ease-in-out;
}

.orb-1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, #EA5B3A 0%, transparent 70%);
    top: -12%;
    left: 15%;
    animation-duration: 16s;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
    bottom: -18%;
    right: 10%;
    animation-duration: 22s;
    animation-delay: -5s;
}

.orb-3 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    top: 40%;
    left: 60%;
    opacity: 0.28;
    animation-duration: 19s;
    animation-delay: -9s;
}

@keyframes floatOrb {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(60px, -40px, 0) scale(1.12); }
    100% { transform: translate3d(-50px, 50px, 0) scale(0.92); }
}

/* Siber Perspektif Izgara & Vignette */
.cyber-grid {
    position: fixed;
    inset: 0;
    z-index: 1;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 100%);
    pointer-events: none;
}

/* İnteraktif Partikül & Piksel Canvas */
#fxCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Mouse Takip Eden Spotlight */
.cursor-spotlight {
    position: fixed;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(234, 91, 58, 0.13) 0%, rgba(99, 102, 241, 0.06) 40%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
    will-change: left, top;
}

/* Üst Bar (Durum Rozeti & İnteraktif Mod Seçici) */
.top-nav {
    position: fixed;
    top: 1.75rem;
    left: 2.25rem;
    right: 2.25rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.status-pill, .fx-switcher {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 1rem;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

.fx-switcher {
    cursor: pointer;
    color: #fff;
}

.fx-switcher:hover {
    border-color: rgba(234, 91, 58, 0.6);
    box-shadow: 0 0 25px rgba(234, 91, 58, 0.25);
    transform: translateY(-1px);
}

.fx-switcher i {
    color: var(--brand);
    transition: transform 0.4s ease;
}

.fx-switcher:hover i {
    transform: rotate(180deg);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 12px #10b981;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid #10b981;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% { transform: scale(2.2); opacity: 0; }
}

/* Ana Sahne */
.screen {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    perspective: 1200px;
}

/* 3D Tilt Ana Kart */
.hero-stage {
    position: relative;
    max-width: 780px;
    width: 100%;
    padding: 3.2rem 2.8rem;
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.58) 0%, rgba(7, 10, 20, 0.72) 100%);
    border: 1px solid rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 
        0 30px 80px -15px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 20px 50px rgba(234, 91, 58, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.45rem;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, border-color 0.3s ease;
    animation: stageEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    overflow: hidden;
}

.hero-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(234, 91, 58, 0.14), transparent 45%);
    pointer-events: none;
    z-index: 0;
}

/* Dönen Işık Çizgisi (Border Beam) */
.stage-glow-line {
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(234, 91, 58, 0.9), rgba(99, 102, 241, 0.9), transparent);
    box-shadow: 0 0 20px rgba(234, 91, 58, 0.8);
    opacity: 0.85;
}

@keyframes stageEntrance {
    0% { opacity: 0; transform: translateY(35px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* İnteraktif SVG Logo ve 3D Piksel Küpü */
.logo-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.2rem;
    transform: translateZ(35px);
}

.logo-glow-ring {
    position: absolute;
    width: 240px;
    height: 90px;
    background: radial-gradient(circle, rgba(234, 91, 58, 0.38) 0%, transparent 70%);
    filter: blur(25px);
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.5; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.15); }
}

.nspixel-svg {
    height: 76px;
    width: auto;
    overflow: visible;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
}

.nspixel-svg .logo-letters path {
    fill: #ffffff;
    transition: fill 0.3s ease;
}

.nspixel-svg .logo-pixel-box {
    fill: #EA5B3A;
    transform-origin: 171px 122px;
    animation: pixelFloat 5s ease-in-out infinite;
    filter: drop-shadow(0 0 18px rgba(234, 91, 58, 0.65));
}

.nspixel-svg:hover .logo-pixel-box {
    animation: pixelSpin 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pixelFloat {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-5px) rotate(-4deg) scale(1.04); }
}

@keyframes pixelSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(90deg) scale(1.14); }
    100% { transform: rotate(90deg) scale(1); }
}

/* Dinamik Başlık & Siber Scramble Satırı */
.tagline-group {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    transform: translateZ(25px);
}

.tagline {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #EA5B3A 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 6s linear infinite;
}

@keyframes shimmerText {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.scramble-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brand);
    background: rgba(234, 91, 58, 0.1);
    border: 1px solid rgba(234, 91, 58, 0.28);
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    min-height: 28px;
}

.scramble-cursor {
    display: inline-block;
    width: 6px;
    height: 13px;
    background: var(--brand);
    animation: blinkCursor 0.9s infinite;
}

@keyframes blinkCursor {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* 3'lü Bento Hizmet Kartları */
.bento-pillars {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    width: 100%;
    margin: 0.35rem 0;
    transform: translateZ(20px);
}

.pillar-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem 0.9rem;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.pillar-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(234, 91, 58, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -8px rgba(234, 91, 58, 0.22);
}

.pillar-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(234, 91, 58, 0.14);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
    transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 0 16px var(--brand-glow);
    transform: scale(1.08) rotate(-5deg);
}

.pillar-num {
    position: absolute;
    top: 0.85rem;
    right: 0.9rem;
    font-size: 0.68rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.22);
    letter-spacing: 1px;
}

.pillar-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.22rem;
}

.pillar-desc {
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Aksiyon Butonları */
.actions {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.35rem;
    transform: translateZ(30px);
    flex-wrap: wrap;
}

.btn-contact {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 0.95rem 2.2rem;
    background: linear-gradient(135deg, #EA5B3A 0%, #d946ef 100%);
    background-size: 180% 180%;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 12px 30px -6px rgba(234, 91, 58, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.22) inset;
    overflow: hidden;
}

.btn-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: left 0.55s ease;
}

.btn-contact:hover::before {
    left: 100%;
}

.btn-contact:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 
        0 18px 40px -6px rgba(234, 91, 58, 0.75),
        0 0 25px rgba(234, 91, 58, 0.4);
}

.btn-Burst {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0.95rem 1.65rem;
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(12px);
}

.btn-Burst:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

/* Bildirim Toast */
.toast {
    position: relative;
    z-index: 2;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: fadeIn 0.3s ease;
}

.toast.success {
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #6ee7b7;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
}

.toast.error {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
}

/* Alt Bilgi Barı */
.bottom-bar {
    position: fixed;
    bottom: 1.5rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.bottom-bar a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.bottom-bar a:hover {
    color: var(--brand);
}

.hint-key {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
}

/* İletişim Modalı (Glassmorphic Dark) */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(4, 6, 13, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-backdrop.active {
    display: flex;
    animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-card {
    background: linear-gradient(155deg, rgba(15, 23, 42, 0.92) 0%, rgba(9, 13, 26, 0.96) 100%);
    color: #f8fafc;
    width: 100%;
    max-width: 460px;
    border-radius: 24px;
    padding: 2.25rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 
        0 30px 70px -12px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(234, 91, 58, 0.12);
    text-align: left;
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s;
}

.modal-close:hover {
    background: rgba(234, 91, 58, 0.2);
    border-color: var(--brand);
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-card h2 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    background: linear-gradient(90deg, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-card p {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 1.4rem;
}

.field {
    margin-bottom: 1rem;
}

.field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 0.38rem;
    letter-spacing: 0.3px;
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.72rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    outline: none;
    transition: all 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.field input:focus,
.field textarea:focus {
    border-color: var(--brand);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(234, 91, 58, 0.18);
}

.btn-submit {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, #EA5B3A 0%, #f97316 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.35rem;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px -5px rgba(234, 91, 58, 0.5);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(234, 91, 58, 0.7);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Mobil Uyum */
@media (max-width: 768px) {
    html, body {
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }
    .top-nav {
        top: 1rem;
        left: 1rem;
        right: 1rem;
    }
    .status-pill span.hide-sm {
        display: none;
    }
    .screen {
        height: auto;
        min-height: 100vh;
        padding: 5.5rem 1.15rem 5rem;
    }
    .hero-stage {
        padding: 2rem 1.35rem;
        border-radius: 24px;
    }
    .nspixel-svg {
        height: 54px;
    }
    .bento-pillars {
        grid-template-columns: 1fr;
    }
    .bottom-bar {
        position: relative;
        bottom: auto;
        margin-top: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}
