/* NR Engine Design System - Refined Blue Edition */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    --bg-color: #05070a;
    --card-bg: rgba(13, 17, 28, 0.7);
    --accent-color: #00d2ff;
    --accent-glow: rgba(0, 210, 255, 0.4);
    --secondary-color: #7000ff;
    --tertiary-color: #ff007a;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-blue: #00d2ff;
    --neon-purple: #9d50bb;
    --neon-pink: #ff007a;
    --intro-bg: #05070a;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--bg-color), var(--accent-color), var(--bg-color));
    border-radius: 5px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #00ffcc);
    z-index: 10002;
    box-shadow: 0 0 10px var(--accent-glow);
}

#mouse-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s;
}

/* Intro Overlay */
#intro-overlay {
    position: fixed;
    inset: 0;
    background: var(--intro-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 1s ease, visibility 1s;
}

#intro-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.intro-content {
    text-align: center;
}

.glitch-text {
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: 10px;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
        -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
        0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    animation: glitch 1.5s infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
            -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
            -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }

    14% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
            -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
            -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }

    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
            0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
            -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
            0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
            -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
            0.05em 0.05em 0 rgba(0, 255, 0, 0.75),
            0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
            0.05em 0.05em 0 rgba(0, 255, 0, 0.75),
            0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }

    100% {
        text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75),
            -0.025em -0.025em 0 rgba(0, 255, 0, 0.75),
            -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
}

.grid-overlay {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

/* Custom Background Animation */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0a1020 0%, #05070a 100%);
}

.bg-blobs::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(120px);
    animation: move 25s infinite alternate ease-in-out;
    opacity: 0.6;
}

@keyframes move {
    0% {
        transform: translate(-10%, -10%) scale(1);
    }

    100% {
        transform: translate(20%, 20%) scale(1.2);
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(2, 4, 8, 0.7);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
}

.logo img {
    height: 35px;
    filter: hue-rotate(180deg) brightness(1.2);
    transition: transform 0.5s ease;
}

.logo:hover img {
    transform: rotate(360deg);
}

.logo-text {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

nav a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    position: relative;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1;
    filter: drop-shadow(0 0 50px var(--accent-glow));
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 3.5rem;
}

.btn-container {
    display: flex;
    gap: 1.5rem;
}

.btn-download {
    padding: 1.2rem 3.5rem;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 0 30px var(--accent-glow);
    position: relative;
    border: none;
}

.btn-download:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 45px var(--accent-glow);
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.btn-status {
    position: absolute;
    bottom: -15px;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tertiary-color);
    font-weight: 700;
    opacity: 0.8;
}

.btn-disabled {
    cursor: not-allowed;
    opacity: 0.9;
}


/* Content Sections */
section {
    padding: 120px 8%;
}

.section-title {
    text-align: left;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-secondary);
    border-left: 3px solid var(--accent-color);
    padding-left: 1.5rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.card {
    background: var(--card-bg);
    padding: 3.5rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-glow);
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover::after {
    opacity: 1;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

/* Team Section Enhancements */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    perspective: 1000px;
}

.role-danisman {
    --role-color: #ffcc00;
    --role-bg: rgba(255, 204, 0, 0.1);
    --role-border: rgba(255, 204, 0, 0.3);
}

.role-yurutucu {
    --role-color: #00ffcc;
    --role-bg: rgba(0, 255, 204, 0.1);
    --role-border: rgba(0, 255, 204, 0.3);
}

.role-arastirmaci {
    --role-color: #bf00ff;
    --role-bg: rgba(191, 0, 255, 0.1);
    --role-border: rgba(191, 0, 255, 0.3);
}

.team-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    padding: 3rem 2rem;
    border-radius: 30px;
    border: 1px solid var(--role-border);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.team-card:hover {
    transform: translateY(-20px) scale(1.02);
    background: var(--role-bg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 20px var(--role-border);
    border-color: var(--role-color);
}

.team-card .avatar-ring {
    border-color: var(--role-color) !important;
    box-shadow: 0 0 15px var(--role-border) !important;
}

.team-card .avatar {
    color: var(--role-color) !important;
}

.team-card .role-tag {
    background: var(--role-bg);
    color: var(--role-color);
    border: 1px solid var(--role-border);
}

.avatar-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.avatar {
    width: 110px;
    height: 110px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    box-shadow: inset 0 0 20px var(--accent-glow);
    z-index: 2;
    position: relative;
}

.avatar-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px dashed var(--accent-color);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
    opacity: 0.3;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.team-card h4 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
}

.role-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 170, 255, 0.1);
    border: 1px solid rgba(0, 170, 255, 0.2);
    border-radius: 100px;
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.specialization {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.4;
    max-width: 200px;
}

/* Map Preview */
.map-container {
    width: 100%;
    height: 650px;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--accent-glow);
    box-shadow: 0 0 100px rgba(0, 170, 255, 0.1);
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    /* Removed filter to reveal actual satellite imagery */
}

/* Technology & Roadmap Sections */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.roadmap-container {
    position: relative;
    padding: 2rem 0;
}

.roadmap-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 25px;
    bottom: -45px;
    width: 2px;
    background: var(--glass-border);
}

.roadmap-item:last-child::before {
    display: none;
}

.roadmap-dot {
    width: 16px;
    height: 16px;
    background: var(--accent-color);
    border-radius: 50%;
    margin-top: 5px;
    position: relative;
    box-shadow: 0 0 10px var(--accent-glow);
    z-index: 1;
}

.roadmap-content h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* Simplified Footer */
footer {
    padding: 6rem 8% 3rem;
    background: #020408;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: 0.4s;
    font-size: 1.2rem;
}

.social-btn:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--accent-glow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.75rem;
}

/* --- System HUD / Terminal Styles --- */
.capabilities-section {
    padding: 100px 8%;
    background: rgba(0, 0, 0, 0.4);
    position: relative;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.hud-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.hud-card {
    background: rgba(13, 17, 28, 0.8);
    border: 1px solid var(--accent-glow);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    backdrop-filter: blur(10px);
}

.hud-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

.hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent-color);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff00;
    animation: status-pulse 1.5s infinite;
}

@keyframes status-pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hud-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #fff;
    letter-spacing: 1px;
}

.hud-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.hud-footer {
    margin-top: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Notification / Alert Styles */
.notification-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10005;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.notification {
    background: rgba(13, 17, 28, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid var(--accent-glow);
    border-left: 4px solid var(--accent-color);
    padding: 1.2rem 2rem;
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 350px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transform: translateX(120%);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: all;
    cursor: default;
}

.notification.show {
    transform: translateX(0);
}

.notification-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.notification-content h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.notification-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--accent-color);
    width: 100%;
    border-radius: 0 0 12px 12px;
}

@keyframes progress-drain {
    from { width: 100%; }
    to { width: 0%; }
}