/* 
   Work Bots - Professional Developer Portfolio
   Theme: Sleek Cyber Purple & Glassmorphism
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #06020f;
    --bg-deep: #0b061d;
    --primary: #9d4edd;
    --primary-bright: #c77dff;
    --primary-glow: rgba(157, 78, 221, 0.5);
    --secondary: #e0aaff;
    --accent: #5865f2; /* Discord accent blue-purple */
    --accent-glow: rgba(88, 101, 242, 0.4);
    --text-light: #f3f0fc;
    --text-muted: #9f94b8;
    --card-bg: rgba(20, 10, 35, 0.55);
    --card-border: rgba(157, 78, 221, 0.15);
    --card-border-hover: rgba(157, 78, 221, 0.45);
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-bright);
}

/* Glowing Background Blobs */
.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.25;
    animation: float-blob 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -10%;
    right: -10%;
}

.blob-2 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: -15%;
    left: -10%;
    animation-delay: -5s;
}

.blob-3 {
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, #3c096c 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes float-blob {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(5%, 10%) scale(1.1);
    }
    100% {
        transform: translate(-5%, -5%) scale(0.95);
    }
}

/* Interactive Canvas Particles Background */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Typography & Layout Utilities */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

span.glow-text {
    background: linear-gradient(135deg, var(--text-light) 30%, var(--primary-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(199, 125, 255, 0.2);
}

span.purple-gradient {
    background: linear-gradient(135deg, var(--primary-bright) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(6, 2, 15, 0.4);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(157, 78, 221, 0.08);
    transition: var(--transition);
}

header.scrolled {
    padding: 1rem 8%;
    background: rgba(6, 2, 15, 0.85);
    border-bottom: 1px solid rgba(157, 78, 221, 0.18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--primary-bright);
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.3rem 0;
}

nav a:hover, nav a.active {
    color: var(--text-light);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: var(--transition);
    border-radius: 2px;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

.nav-btn {
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.3);
    color: var(--text-light) !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 50px;
}

.nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary-bright);
    box-shadow: 0 0 15px var(--primary-glow);
}

.nav-btn::after {
    display: none;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

/* Common Section Layout - Seamless Flowing Landing System */
section {
    padding: 6rem 8% 4rem 8%;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    opacity: 1;
    margin-bottom: 2rem;
}

section.hero {
    min-height: calc(100vh - 80px);
    padding-top: 8rem;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    border-color: var(--card-border-hover);
    box-shadow: 0 15px 35px rgba(13, 5, 28, 0.6), 0 0 25px rgba(157, 78, 221, 0.15);
    transform: translateY(-5px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #7b2cbf 100%);
    color: var(--text-light);
    border: 1px solid var(--primary-bright);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(157, 78, 221, 0.6);
    background: linear-gradient(135deg, #7b2cbf 0%, var(--primary) 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 1. Hero Section */
.hero {
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding-top: 8rem;
}

.hero.active {
    display: flex;
}

.hero-content {
    flex: 1.2;
}

.hero-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(157, 78, 221, 0.12);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 50px;
    color: var(--primary-bright);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    animation: pulse-border 2.5s infinite;
}

@keyframes pulse-border {
    0% { border-color: rgba(157, 78, 221, 0.3); box-shadow: 0 0 0 0 rgba(157, 78, 221, 0.2); }
    50% { border-color: rgba(157, 78, 221, 0.6); box-shadow: 0 0 10px 2px rgba(157, 78, 221, 0.4); }
    100% { border-color: rgba(157, 78, 221, 0.3); box-shadow: 0 0 0 0 rgba(157, 78, 221, 0.2); }
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 0.8;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Beautiful Interactive 3D CSS Core Element */
.cyber-cube-container {
    width: 320px;
    height: 320px;
    position: relative;
    perspective: 1000px;
}

.cube-outer-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.15) 0%, transparent 70%);
    filter: blur(20px);
    animation: rotate-slow 15s linear infinite;
}

.cube {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    transform: rotateX(45deg) rotateY(45deg);
    animation: rotate-cube 20s infinite linear;
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(11, 6, 29, 0.4);
    border: 2px solid var(--primary);
    backdrop-filter: blur(4px);
    box-shadow: inset 0 0 30px rgba(157, 78, 221, 0.3), 0 0 20px rgba(157, 78, 221, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cube-face-front  { transform: rotateY(0deg) translateZ(160px); }
.cube-face-back   { transform: rotateY(180deg) translateZ(160px); }
.cube-face-left   { transform: rotateY(-90deg) translateZ(160px); }
.cube-face-right  { transform: rotateY(90deg) translateZ(160px); }
.cube-face-top    { transform: rotateX(90deg) translateZ(160px); }
.cube-face-bottom { transform: rotateX(-90deg) translateZ(160px); }

.cube-face i {
    font-size: 5rem;
    color: var(--secondary);
    text-shadow: 0 0 25px rgba(224, 170, 255, 0.6);
}

@keyframes rotate-cube {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

@keyframes rotate-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 2. Team (About) Section */
.team-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.team-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 3rem;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* Discord Style & Cyber Custom Themes */
.team-card.work-card {
    --card-accent: var(--accent);
    --card-accent-glow: var(--accent-glow);
}

.team-card.alt-card {
    --card-accent: #ff007f;
    --card-accent-glow: rgba(255, 0, 127, 0.3);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--card-accent));
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Pure CSS Tech Avatar Graphic */
.tech-avatar {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(20, 10, 35, 0.9) 0%, rgba(15, 6, 29, 0.9) 100%);
    border: 2px solid var(--card-accent);
    box-shadow: 0 0 20px var(--card-accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--text-light);
    position: relative;
    flex-shrink: 0;
}

/* Discord Style Status Dot */
.status-indicator {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #23a55a; /* Discord online green */
    border: 3px solid #0f0822;
    box-shadow: 0 0 10px rgba(35, 165, 90, 0.5);
}

.tech-avatar.pulse-anim i {
    animation: icon-float 3s infinite ease-in-out alternate;
}

@keyframes icon-float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

.profile-meta h3 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.profile-role {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--card-accent);
}

.profile-body p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* Tech Badges & Capabilities */
.skills-container {
    margin-top: auto;
}

.skills-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 700;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
}

.skill-tag {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--text-muted);
    transition: var(--transition);
}

.skill-tag:hover {
    color: var(--text-light);
    background: rgba(157, 78, 221, 0.08);
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Professional Rating / Tech Bar */
.skill-bar-wrapper {
    margin-bottom: 1rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary), var(--card-accent));
    box-shadow: 0 0 10px var(--card-accent-glow);
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 0; /* Dynamic loading in main.js */
}

/* 3. Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary-bright);
    margin-bottom: 1.8rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    border-color: var(--primary-bright);
    color: var(--text-light);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 4. Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.project-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-visual {
    height: 180px;
    background: linear-gradient(135deg, rgba(30, 15, 50, 0.8) 0%, rgba(15, 6, 29, 0.95) 100%);
    border-bottom: 1px solid var(--card-border);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.15) 0%, transparent 80%);
}

.project-graphic {
    font-size: 3.5rem;
    color: var(--primary-bright);
    opacity: 0.7;
    filter: drop-shadow(0 0 15px var(--primary-glow));
    transition: var(--transition);
}

.project-card:hover .project-graphic {
    transform: scale(1.15);
    opacity: 1;
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
    z-index: 2;
}

.project-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--text-light);
    font-size: 1.1rem;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--primary-bright);
    transform: translateY(-2px);
}

.project-developers {
    display: flex;
    gap: 0.3rem;
}

.dev-avatar-sm {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bg-deep);
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-bright);
}

/* 5. Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-form-wrapper {
    padding: 3rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group i {
    position: absolute;
    left: 1.2rem;
    top: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(157, 78, 221, 0.15);
    border-radius: 12px;
    color: var(--text-light);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-bright);
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.2);
}

.form-input:focus + i {
    color: var(--primary-bright);
}

.form-label {
    position: absolute;
    left: 3rem;
    top: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
}

/* Float label styles */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -0.65rem;
    left: 1rem;
    font-size: 0.75rem;
    padding: 0 0.4rem;
    background: #0f0822; /* Cover border */
    border-radius: 4px;
    color: var(--primary-bright);
}

.submit-btn {
    width: 100%;
    justify-content: center;
    border: none;
    padding: 1rem;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-bright);
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.info-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Cyber Footer & Modals */
.cyber-footer {
    width: 100%;
    background: rgba(13, 9, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(157, 78, 221, 0.16);
    padding: 4rem 8% 2rem 8%;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.brand-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.footer-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(35, 165, 90, 0.12);
    border: 1px solid rgba(35, 165, 90, 0.35);
    border-radius: 20px;
    color: #23a55a;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-status-pill .status-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #23a55a;
    box-shadow: 0 0 8px #23a55a;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.footer-socials .social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-socials .social-btn:hover {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary-bright);
    box-shadow: 0 0 12px var(--primary-glow);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a i {
    font-size: 0.75rem;
    color: var(--primary-bright);
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}

.ssl-badge {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(157, 78, 221, 0.08);
    border: 1px solid rgba(157, 78, 221, 0.25);
    border-radius: 8px;
    color: var(--primary-bright);
    font-size: 0.75rem;
    font-weight: 600;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: left;
}

.bottom-left p {
    color: #f3f0fc;
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.bot-signature {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.network-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ff9f1c;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 159, 28, 0.08);
    border: 1px solid rgba(255, 159, 28, 0.25);
    padding: 4px 10px;
    border-radius: 20px;
}

/* Toast Message Notification */
.toast-msg {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(15, 6, 29, 0.9);
    border: 1px solid var(--primary-bright);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.4);
    padding: 1rem 2rem;
    border-radius: 12px;
    color: var(--text-light);
    font-weight: 500;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transform: translateY(-150%);
    transition: var(--transition);
}

.toast-msg.show {
    transform: translateY(0);
}

/* Responsive Breakdown */
@media (max-width: 992px) {
    header {
        padding: 1.2rem 5%;
    }
    
    section {
        padding: 6rem 5% 4rem 5%;
    }
    
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        margin: 0 auto 2rem auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .team-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(11, 6, 29, 0.95);
        backdrop-filter: blur(25px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: 0.5s ease-in-out;
        z-index: 99;
    }
    
    nav.open {
        right: 0;
    }
    
    .logo {
        z-index: 100;
    }
    
    .menu-toggle {
        z-index: 100;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .lang-switch-btn {
        margin-left: 0;
        padding: 0.6rem 1.4rem;
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   Integration & Live Bot Status Styles (Work Bots Discord Bot)
   ========================================================================== */

/* Bot Paneli Alt Nav Button */
.nav-btn-alt {
    background: rgba(88, 101, 242, 0.1) !important;
    border: 1px solid rgba(88, 101, 242, 0.4) !important;
    color: var(--text-light) !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.nav-btn-alt:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 15px var(--accent-glow) !important;
}

.nav-btn-alt::after {
    display: none;
}

/* Canlı Bot Durumu Section */
.bot-status-section {
    position: relative;
    padding: 7rem 8% 5rem 8%;
    background: radial-gradient(circle at 50% 50%, rgba(88, 101, 242, 0.04) 0%, transparent 80%);
}

.stats-container-premium {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.stat-card-premium {
    padding: 3.5rem;
    border-color: rgba(88, 101, 242, 0.2);
}

.stat-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.bot-profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid-premium {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.stat-item-premium {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.5rem;
    border-radius: 16px;
    transition: var(--transition);
}

.stat-item-premium:hover {
    background: rgba(88, 101, 242, 0.05);
    border-color: rgba(88, 101, 242, 0.2);
    transform: translateY(-3px);
}

.stat-icon-premium {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    transition: var(--transition);
}

.stat-item-premium:hover .stat-icon-premium {
    background: var(--accent);
    color: var(--text-light);
    box-shadow: 0 0 15px var(--accent-glow);
}

.stat-content-premium {
    display: flex;
    flex-direction: column;
}

.stat-label-premium {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value-premium {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 0.2rem;
}

.bot-status-footer {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .stats-grid-premium {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-card-premium {
        padding: 2rem;
    }
}

/* ==========================================================================
   Canlı Destek Sistemi Arayüz Tasarımı (Work Bots Live Support)
   ========================================================================== */

#live-support-wrapper {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    font-family: var(--font-sans);
}

.support-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: 1px solid var(--primary-bright);
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(157, 78, 221, 0.4), 0 0 15px rgba(88, 101, 242, 0.2);
    transition: var(--transition);
    position: relative;
    outline: none;
}

.support-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 15px 30px rgba(157, 78, 221, 0.6), 0 0 25px rgba(88, 101, 242, 0.4);
}

.pulse-dot-green {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #23a55a;
    border: 2px solid #0f0822;
    animation: live-dot-pulse 1.8s infinite alternate ease-in-out;
}

@keyframes live-dot-pulse {
    0% { transform: scale(0.85); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 8px #23a55a; }
}

.support-chat-card {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 520px;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(157, 78, 221, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(157, 78, 221, 0.15);
    background: rgba(12, 6, 22, 0.95) !important;
    z-index: 10000;
}

.support-chat-card.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-agent-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.agent-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(157, 78, 221, 0.15);
    border: 1px solid var(--primary-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-bright);
    position: relative;
}

.agent-avatar .status-indicator.online {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #23a55a;
    border: 2px solid #0c0616;
    box-shadow: 0 0 6px rgba(35, 165, 90, 0.6);
}

.agent-meta h4 {
    font-size: 0.95rem;
    margin: 0;
    color: var(--text-light);
    font-weight: 600;
}

.agent-meta span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.2rem;
    outline: none;
}

.close-btn:hover {
    color: #ff007f;
    transform: rotate(90deg);
}

.chat-messages-area {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(4, 2, 10, 0.3);
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.chat-messages-area::-webkit-scrollbar {
    width: 4px;
}

.chat-messages-area::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 10px;
}

.chat-bubble {
    max-width: 80%;
    padding: 0.8rem 1.1rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    animation: bubble-appear 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bubble-appear {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-bubble.agent {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-light);
    border-bottom-left-radius: 4px;
}

.chat-bubble.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: 1px solid rgba(157, 78, 221, 0.2);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-bubble.system {
    align-self: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    text-align: center;
    max-width: 90%;
}

.chat-typing-indicator {
    align-self: flex-start;
    margin-left: 1.5rem;
    margin-bottom: 0.8rem;
    display: flex;
    gap: 4px;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    width: fit-content;
    transition: opacity 0.2s;
}

.chat-typing-indicator.hidden {
    display: none !important;
    opacity: 0;
}

.chat-typing-indicator .dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-muted);
    border-radius: 50%;
    animation: type-dot 1.4s infinite ease-in-out;
    opacity: 0.4;
}

.chat-typing-indicator .dot:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-indicator .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes type-dot {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-4px); opacity: 1; }
}

.chat-footer {
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.chat-input-wrapper {
    display: flex;
    gap: 0.5rem;
    position: relative;
}

#chat-input-field {
    width: 100%;
    padding: 0.8rem 2.8rem 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(157, 78, 221, 0.15);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

#chat-input-field:focus {
    border-color: var(--primary-bright);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.15);
}

.send-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
    outline: none;
}

.send-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0 8px var(--primary-glow);
}

.terminate-btn {
    width: 100%;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 68, 68, 0.08);
    border: 1px solid rgba(255, 68, 68, 0.25);
    color: #ff4444;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    display: none;
    outline: none;
}

.terminate-btn.visible {
    display: block;
}

.terminate-btn:hover {
    background: #ff4444;
    color: #fff;
    border-color: #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
}

@media (max-width: 480px) {
    .support-chat-card {
        width: 320px;
        height: 460px;
        bottom: 70px;
        right: -10px;
    }
}

/* ==========================================================================
   Discord Members & References Premium Styles (Siber Glassmorphic Theme)
   ========================================================================== */

#discordMembersCard {
    border-color: rgba(88, 101, 242, 0.25) !important;
    background: rgba(12, 6, 22, 0.6) !important;
}

#discordMembersList::-webkit-scrollbar {
    width: 5px;
}
#discordMembersList::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}
#discordMembersList::-webkit-scrollbar-thumb {
    background: rgba(157, 78, 221, 0.35);
    border-radius: 4px;
}
#discordMembersList::-webkit-scrollbar-thumb:hover {
    background: rgba(157, 78, 221, 0.65);
}

.discord-member-row {
    border: 1px solid rgba(255, 255, 255, 0.01);
}
.discord-member-row:hover {
    border-color: rgba(157, 78, 221, 0.18) !important;
    box-shadow: 0 4px 12px rgba(11, 6, 29, 0.4);
}

/* Reference Guild Slider Section Styles */
.references-section {
    position: relative;
    overflow: hidden;
}

.references-slider-container::before,
.references-slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.references-slider-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-dark) 0%, transparent 100%);
}

.references-slider-container::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-dark) 0%, transparent 100%);
}

.reference-slider-card {
    transition: var(--transition) !important;
    background: rgba(15, 6, 29, 0.45) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 12px rgba(157, 78, 221, 0.05);
}

.reference-slider-card:hover {
    border-color: rgba(157, 78, 221, 0.5) !important;
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 15px 40px rgba(13, 5, 28, 0.8), 0 0 30px rgba(157, 78, 221, 0.25), inset 0 0 12px rgba(157, 78, 221, 0.15) !important;
}

/* Marquee Scroll Animation */
@keyframes referencesScrollMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustment for stats section & references */
@media (max-width: 992px) {
    .stats-container-premium {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .references-slider-container::before,
    .references-slider-container::after {
        width: 60px;
    }
}

/* ==========================================================================
   LEGAL MODALS STYLING (KVKK, TERMS, PRIVACY, SECURITY)
   ========================================================================== */
.legal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 2, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.legal-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.legal-modal-content {
    background: rgba(18, 14, 32, 0.95);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 20px;
    max-width: 720px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.legal-modal-header {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-modal-header .btn-close-modal {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s;
}

.legal-modal-header .btn-close-modal:hover {
    color: #ff007f;
}

.legal-modal-body {
    padding: 1.75rem;
    overflow-y: auto;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.legal-modal-body h4 {
    color: var(--primary-bright);
    margin: 1.25rem 0 0.5rem;
    font-size: 1rem;
}

.legal-modal-body p {
    margin-bottom: 0.85rem;
    color: var(--text-muted);
}

.legal-modal-footer {
    padding: 1rem 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: flex-end;
}

/* Language Switcher Button */
.lang-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.45rem 0.85rem;
    background: rgba(157, 78, 221, 0.12);
    border: 1px solid rgba(157, 78, 221, 0.35);
    border-radius: 20px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    margin-left: 0.5rem;
}

.lang-switch-btn:hover {
    background: rgba(157, 78, 221, 0.25);
    border-color: rgba(157, 78, 221, 0.7);
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.4);
    transform: translateY(-2px);
}

.lang-switch-btn .lang-flag {
    font-size: 1.05rem;
    line-height: 1;
}

.lang-switch-btn .lang-code {
    letter-spacing: 0.5px;
    font-weight: 700;
    color: #e0aaff;
}


