/* ==========================================================================
   BAUKA.DEV - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* 1. Reset & Variables */
:root {
    --bg-dark: #08080c;
    --bg-card: rgba(15, 15, 25, 0.65);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(99, 102, 241, 0.2);
    
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #8b5cf6;
    --secondary-glow: rgba(139, 92, 246, 0.4);
    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.4);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    --font-heading: 'Montserrat', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    --cursor-size: 10px;
    --cursor-glow-size: 40px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Hide default cursor to use custom cursor */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   2. Typography & Globals
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary) 50%, var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   3. Custom Cursor & Interactive Background
   ========================================================================== */
.custom-cursor {
    width: var(--cursor-size);
    height: var(--cursor-size);
    background: #fff;
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-glow {
    width: var(--cursor-glow-size);
    height: var(--cursor-glow-size);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.08s ease-out, width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

/* Cursor States on Hover */
body.hover-interactive .custom-cursor {
    width: 6px;
    height: 6px;
    background-color: var(--cyan);
}

body.hover-interactive .custom-cursor-glow {
    width: 60px;
    height: 60px;
    border-color: var(--cyan);
    background-color: rgba(6, 182, 212, 0.05);
}

/* Ambient Radial Glow and Grid Canvas Background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: -2;
    pointer-events: none;
}

.radial-glow-ambient {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 100%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
    animation: floatGlow 15s infinite alternate ease-in-out;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20vw, 15vh) scale(1.2); }
}

/* ==========================================================================
   4. Buttons & UI Elements
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 30px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    cursor: none;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Glassmorphic Panel Base */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   5. Header Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(8, 8, 12, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: var(--text-main);
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--cyan), var(--primary));
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyan-glow);
}

.logo-brand span span {
    color: var(--primary);
}

.main-nav ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #10b981;
    letter-spacing: 0.02em;
}

/* Mobile Nav Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 20px;
    justify-content: space-between;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Mobile menu open animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 99;
    padding-top: 100px;
    padding-left: 40px;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-left: 1px solid var(--border-color);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 2rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.mobile-nav-link:hover {
    color: var(--text-main);
    padding-left: 10px;
}

.mobile-menu-footer {
    position: absolute;
    bottom: 50px;
    left: 40px;
}

/* ==========================================================================
   6. Hero Section & 3D Interactive Canvas
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid var(--border-glow);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* 3D Visual Scene styles */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    position: relative;
}

.canvas-3d-wrapper {
    perspective: 1200px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.canvas-3d {
    width: 420px;
    height: 420px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.canvas-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, rgba(6, 182, 212, 0.15) 50%, transparent 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(-50px);
    filter: blur(40px);
    pointer-events: none;
}

/* Figma Board Base */
.canvas-board {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: translateZ(0);
    overflow: hidden;
    pointer-events: none;
}

.board-header {
    height: 36px;
    background: #121218;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
}

.board-dots {
    display: flex;
    gap: 6px;
}

.board-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.board-title {
    margin-left: 20px;
    flex-grow: 1;
}

.board-zoom {
    color: var(--primary);
}

.board-grid {
    width: 100%;
    height: calc(100% - 36px);
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 16px 16px;
}

/* Parallax Layers */
.canvas-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    pointer-events: none;
}

/* wireframe base layer */
.layer-back {
    transform: translateZ(35px);
}

.wireframe-panel {
    position: absolute;
    top: 80px;
    left: 40px;
    width: 340px;
    height: 240px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.panel-line.long { width: 70%; }
.panel-line.short { width: 40%; }

.panel-grid {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.panel-grid span {
    flex-grow: 1;
    height: 40px;
    border: 1px dashed rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

/* Main UI mockup card */
.layer-middle {
    transform: translateZ(75px);
}

.main-mockup {
    position: absolute;
    top: 100px;
    left: 60px;
    width: 300px;
    height: 200px;
    background: rgba(20, 20, 35, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 16px;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mockup-logo {
    width: 32px;
    height: 12px;
    background: linear-gradient(90deg, var(--cyan), var(--primary));
    border-radius: 6px;
}

.mockup-nav {
    display: flex;
    gap: 8px;
}

.mockup-nav span {
    width: 16px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.mockup-hero {
    margin-bottom: 20px;
}

.mockup-title {
    width: 80%;
    height: 10px;
    background: #fff;
    border-radius: 5px;
    margin-bottom: 6px;
}

.mockup-title.short {
    width: 50%;
}

.mockup-btn {
    width: 50px;
    height: 14px;
    background: var(--primary);
    border-radius: 7px;
    margin-top: 12px;
}

.mockup-cards {
    display: flex;
    gap: 8px;
}

.mockup-card {
    flex-grow: 1;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

/* Floating overlay widgets */
.layer-front-left {
    transform: translateZ(120px);
}

.layer-front-right {
    transform: translateZ(140px);
}

.widget-panel {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    background: rgba(25, 25, 45, 0.85);
}

.widget-panel.glow-purple {
    top: 70px;
    left: 20px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.widget-panel.glow-cyan {
    bottom: 60px;
    right: 20px;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.widget-icon {
    font-size: 1rem;
}

.widget-text {
    display: flex;
    flex-direction: column;
}

.w-label {
    font-size: 0.65rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.w-value {
    font-size: 0.8rem;
    font-weight: 700;
}

/* Figma Cursor Layer */
.layer-cursor {
    transform: translateZ(165px);
}

.figma-cursor {
    position: absolute;
    top: 150px;
    left: 200px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cursor-tag {
    background: var(--secondary);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   7. Services Section
   ========================================================================== */
.services-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* 3D Tilt Card Base styling */
.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.1s ease;
    transform-style: preserve-3d;
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

/* Mouse Hover Glowing Light */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 120px at var(--mouse-x, 0) var(--mouse-y, 0), rgba(99, 102, 241, 0.12), transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    transform: translateZ(20px);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
    transform: translateZ(25px);
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    transform: translateZ(15px);
}

.service-bullets {
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateZ(10px);
}

.service-bullets li {
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 16px;
}

.service-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
}

/* ==========================================================================
   8. Tech Stack Moving Bar
   ========================================================================== */
.tech-bar-section {
    width: 100%;
    overflow: hidden;
    background: rgba(10, 10, 15, 0.5);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    margin: 40px 0;
}

.tech-slider-container {
    display: flex;
    width: max-content;
}

.tech-slide {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
    animation: infiniteScroll 30s linear infinite;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--text-dark);
}

.tech-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

@keyframes infiniteScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   9. Works / Portfolio Section
   ========================================================================== */
.works-section {
    padding: 100px 0;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.work-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.work-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.work-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    position: relative;
}

.work-img-placeholder::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 16px 16px;
}

.placeholder-icon {
    font-size: 2.5rem;
    z-index: 1;
}

.placeholder-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    z-index: 1;
}

/* Color palettes for cards */
.glow-purple-blue {
    background: linear-gradient(135deg, #1e1b4b, #2e1065);
    color: #c084fc;
}
.glow-cyan-blue {
    background: linear-gradient(135deg, #0c4a6e, #0f172a);
    color: #38bdf8;
}
.glow-orange-purple {
    background: linear-gradient(135deg, #431407, #2e1065);
    color: #fdba74;
}

/* Hover overlay detail elements */
.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 12, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.work-card-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.work-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.work-tags span {
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 12px;
    color: var(--text-main);
}

/* Work Info footer styling */
.work-info {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.work-meta h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

/* The badge that simulates the backlink on client websites */
.backlink-badge-demo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.badge-dot {
    width: 5px;
    height: 5px;
    background-color: var(--primary);
    border-radius: 50%;
}

.work-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.work-card:hover .work-link {
    background: var(--primary);
    color: white;
}

/* ==========================================================================
   10. Backlinks Showcase Section
   ========================================================================== */
.backlinks-section {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 80%);
}

.backlinks-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: stretch;
}

.backlink-previews-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.backlink-previews-container h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--text-main);
}

.badge-selector-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.badge-selector-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    cursor: none;
    transition: var(--transition-smooth);
    background: rgba(10, 10, 15, 0.3);
}

.badge-selector-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(10, 10, 15, 0.5);
}

.badge-selector-card.active {
    border-color: var(--primary-glow);
    background: rgba(99, 102, 241, 0.04);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.05);
}

.badge-selector-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.selector-dot {
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--text-dark);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.badge-selector-card.active .selector-dot {
    border-color: var(--primary);
    background-color: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

.badge-selector-header h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.badge-selector-card.active .badge-selector-header h4 {
    color: var(--text-main);
}

.badge-preview-area {
    padding: 12px;
    background: #06060a;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.sample-site-footer {
    font-size: 0.75rem;
    color: var(--text-dark);
    text-align: center;
}

/* Badge styles to copy */
/* 1. Minimal link */
.dev-link-minimal {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.dev-link-minimal:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* 2. Glass badge */
.dev-badge-glass {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 8px;
    transition: var(--transition-smooth);
    vertical-align: middle;
}

.dev-badge-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.badge-dot-g {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 6px #10b981;
}

.badge-bold {
    font-weight: 700;
    color: var(--text-main);
}

/* 3. Cyber badge */
.dev-badge-cyber {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #000;
    border: 1.5px solid var(--cyan);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-main);
    margin-left: 8px;
    transition: var(--transition-smooth);
    vertical-align: middle;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.dev-badge-cyber:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 10px var(--secondary-glow);
}

.cyber-pulse {
    width: 4px;
    height: 4px;
    background-color: var(--cyan);
    border-radius: 50%;
    animation: cyberPulse 1.5s infinite;
}

.dev-badge-cyber:hover .cyber-pulse {
    background-color: var(--secondary);
}

@keyframes cyberPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(2.5); opacity: 0.2; }
    100% { transform: scale(1); opacity: 1; }
}

.glow-txt {
    color: var(--cyan);
}
.dev-badge-cyber:hover .glow-txt {
    color: var(--secondary);
}

/* Snippet Code Container */
.backlink-code-container {
    background: #09090e;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.code-box-header {
    height: 48px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.code-dots {
    display: flex;
    gap: 6px;
}

.code-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
}

.code-lang {
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
}

.btn-copy-code {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    cursor: none;
    transition: var(--transition-smooth);
}

.btn-copy-code:hover {
    color: var(--text-main);
    border-color: var(--text-main);
}

.code-box-body {
    flex-grow: 1;
    padding: 24px;
    font-family: monospace;
    font-size: 0.85rem;
    overflow-x: auto;
    color: #a7f3d0;
}

.code-box-body pre {
    margin: 0;
}

.code-box-info {
    padding: 20px;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.code-box-info svg {
    flex-shrink: 0;
    color: var(--primary);
}

/* ==========================================================================
   11. Contact Section
   ========================================================================== */
.contact-section {
    padding: 100px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.text-left {
    text-align: left !important;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.channel-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.1s ease;
    transform-style: preserve-3d;
}

.channel-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transform: translateZ(15px);
}

.tg-icon { background: #0088cc; }
.wa-icon { background: #25d366; }
.ig-icon { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.mail-icon { background: rgba(99, 102, 241, 0.1); border: 1px solid var(--border-glow); color: var(--primary); }

.channel-details {
    display: flex;
    flex-direction: column;
    transform: translateZ(20px);
}

.ch-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.ch-value {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Form Styles */
.contact-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    background: rgba(10, 10, 15, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 16px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

.form-textarea {
    resize: vertical;
}

.form-select {
    cursor: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-chevron-down'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border-color);
    background: #050508;
    padding: 60px 0 30px 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links ul {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-dark);
}

/* ==========================================================================
   13. Reveal Transitions (Intersection Observer)
   ========================================================================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   14. Responsive Layout Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-title {
        font-size: 3rem;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .backlinks-layout {
        grid-template-columns: 1fr;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-visual {
        height: 420px;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto; /* Fallback to normal cursor on mobile */
    }
    .custom-cursor, .custom-cursor-glow {
        display: none;
    }
    
    .site-header {
        padding: 10px 0;
    }
    
    .main-nav {
        display: none;
    }
    .header-actions .btn {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        height: 360px;
    }
    
    .canvas-3d {
        width: 320px;
        height: 320px;
    }
    .wireframe-panel {
        width: 260px;
        height: 180px;
        top: 60px;
        left: 30px;
    }
    .main-mockup {
        width: 240px;
        height: 160px;
        top: 80px;
        left: 40px;
    }
    .figma-cursor {
        top: 130px;
        left: 140px;
    }
    .widget-panel.glow-purple {
        top: 40px;
        left: 10px;
    }
    .widget-panel.glow-cyan {
        bottom: 40px;
        right: 10px;
    }
}

/* ==========================================================================
   15. Scroll to Top Button
   ========================================================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px) scale(0.9);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.3s ease,
                background 0.3s ease;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3), 0 0 15px rgba(139, 92, 246, 0.2);
}

.scroll-to-top:hover {
    color: #ffffff;
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.45), 0 0 25px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        cursor: pointer;
    }
    
    /* Hide status badge on mobile to avoid header clutter with the new theme toggle */
    .status-badge {
        display: none;
    }
}

/* ==========================================================================
   16. Theme Toggler Button & Light Theme Overrides
   ========================================================================== */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: none;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.theme-toggle-btn .sun-icon {
    display: block;
}
.theme-toggle-btn .moon-icon {
    display: none;
}

@media (max-width: 768px) {
    .theme-toggle-btn {
        cursor: pointer;
    }
}

/* --- Light Theme Variable Overrides & Elements --- */
body.light-theme {
    --bg-dark: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.7);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(99, 102, 241, 0.15);
    
    --primary: #4f46e5;
    --primary-glow: rgba(79, 70, 229, 0.2);
    --secondary: #7c3aed;
    --secondary-glow: rgba(124, 58, 237, 0.2);
    --cyan: #0891b2;
    --cyan-glow: rgba(8, 145, 178, 0.2);
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dark: #94a3b8;
    
    background-color: var(--bg-dark);
    color: var(--text-main);
}

/* Custom cursor adapting to light theme */
body.light-theme .custom-cursor {
    background-color: #0f172a;
}
body.light-theme .custom-cursor-glow {
    border-color: rgba(15, 23, 42, 0.2);
}
body.light-theme.hover-interactive .custom-cursor {
    background-color: var(--primary);
}
body.light-theme.hover-interactive .custom-cursor-glow {
    border-color: var(--primary);
    background-color: rgba(79, 70, 229, 0.05);
}

/* Background Grids */
body.light-theme .grid-background {
    background-image: radial-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px);
}
body.light-theme .radial-glow-ambient {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(124, 58, 237, 0.03) 50%, transparent 100%);
}

/* Header & Toggle adaptations */
body.light-theme .site-header {
    background: rgba(248, 250, 252, 0.85);
    border-bottom: 1px solid var(--border-color);
}
body.light-theme .theme-toggle-btn {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-muted);
}
body.light-theme .theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--text-main);
}
body.light-theme .theme-toggle-btn .sun-icon {
    display: none;
}
body.light-theme .theme-toggle-btn .moon-icon {
    display: block;
}

body.light-theme .mobile-menu {
    background-color: #f8fafc;
}

/* Buttons */
body.light-theme .btn-secondary {
    background: rgba(15, 23, 42, 0.04);
    color: var(--text-main);
}
body.light-theme .btn-secondary:hover {
    background: rgba(15, 23, 42, 0.08);
}
body.light-theme .btn-outline {
    border-color: rgba(15, 23, 42, 0.15);
    color: var(--text-main);
}
body.light-theme .btn-outline:hover {
    background: rgba(15, 23, 42, 0.04);
}

/* Hero Section Elements */
body.light-theme .hero-tag {
    background: rgba(79, 70, 229, 0.05);
}

/* Figma 3D Editor Board Adaptations */
body.light-theme .canvas-board {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}
body.light-theme .board-header {
    background: #f1f5f9;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
body.light-theme .board-title {
    color: var(--text-muted);
}
body.light-theme .board-dots span {
    background: rgba(0,0,0,0.12);
}
body.light-theme .board-grid {
    background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px);
}
body.light-theme .wireframe-panel {
    border: 1px dashed rgba(79, 70, 229, 0.25);
    background: rgba(255, 255, 255, 0.45);
}
body.light-theme .panel-line {
    background: rgba(0, 0, 0, 0.05);
}
body.light-theme .panel-grid span {
    border: 1px dashed rgba(0, 0, 0, 0.06);
}
body.light-theme .main-mockup {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
}
body.light-theme .mockup-nav span {
    background: rgba(0, 0, 0, 0.08);
}
body.light-theme .mockup-title {
    background: #e2e8f0;
}
body.light-theme .mockup-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
body.light-theme .widget-panel {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}
body.light-theme .widget-panel.glow-purple {
    border: 1px solid rgba(124, 58, 237, 0.15);
}
body.light-theme .widget-panel.glow-cyan {
    border: 1px solid rgba(8, 145, 178, 0.15);
}

/* Service Card Glow adapt */
body.light-theme .card-glow {
    background: radial-gradient(circle 120px at var(--mouse-x, 0) var(--mouse-y, 0), rgba(79, 70, 229, 0.06), transparent 80%);
}
body.light-theme .service-icon {
    background: rgba(79, 70, 229, 0.05);
}

/* Tech Bar Section */
body.light-theme .tech-bar-section {
    background: rgba(255, 255, 255, 0.35);
}

/* Portfolio Card adaptations */
body.light-theme .work-img-placeholder::after {
    background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px);
}
body.light-theme .work-overlay {
    background: rgba(255, 255, 255, 0.96);
}
body.light-theme .work-tags span {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
}
body.light-theme .backlink-badge-demo {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
body.light-theme .work-link {
    background: rgba(0, 0, 0, 0.03);
}

/* Backlink Code Generator adaptations */
body.light-theme .badge-selector-card {
    background: rgba(255, 255, 255, 0.4);
}
body.light-theme .badge-selector-card.active {
    background: rgba(79, 70, 229, 0.03);
}
body.light-theme .badge-preview-area {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.04);
}
body.light-theme .dev-badge-glass {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
}
body.light-theme .dev-badge-glass:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}
body.light-theme .dev-badge-glass .badge-bold {
    color: #0f172a;
}
body.light-theme .backlink-code-container {
    background: #f1f5f9;
}
body.light-theme .code-box-header {
    background: rgba(0, 0, 0, 0.02);
}
body.light-theme .code-dots span {
    background-color: rgba(0, 0, 0, 0.08);
}
body.light-theme .btn-copy-code {
    border: 1px solid rgba(0, 0, 0, 0.1);
}
body.light-theme .btn-copy-code:hover {
    border-color: #0f172a;
}
body.light-theme .code-box-body {
    color: #1e293b;
}
body.light-theme .code-box-info {
    background: rgba(0, 0, 0, 0.01);
}

/* Contacts Adaptations */
body.light-theme .mail-icon {
    background: rgba(79, 70, 229, 0.05);
}
body.light-theme .form-input {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.08);
}
body.light-theme .form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.08);
}

/* Site Footer */
body.light-theme .site-footer {
    background: #f1f5f9;
    border-top: 1px solid var(--border-color);
}

/* Light Theme Scroll to Top adjustments */
body.light-theme .scroll-to-top {
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.25), 0 0 15px rgba(124, 58, 237, 0.15);
}
body.light-theme .scroll-to-top:hover {
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4), 0 0 25px rgba(124, 58, 237, 0.3);
}

/* ==========================================================================
   17. Language Selector Styles
   ========================================================================== */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 4px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

body.light-theme .lang-selector {
    background: rgba(0, 0, 0, 0.03);
}

.lang-link {
    font-size: 0.7rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 12px;
    transition: var(--transition-smooth);
    cursor: none;
    letter-spacing: 0.02em;
}

body.light-theme .lang-link {
    cursor: pointer;
}

@media (max-width: 768px) {
    .lang-link {
        cursor: pointer;
    }
}

.lang-link:hover {
    color: var(--text-main);
}

.lang-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

body.light-theme .lang-link.active {
    color: #ffffff;
}

/* Adjustments for header actions alignment */
.header-actions {
    display: flex;
    align-items: center;
}



