/* ====================== */
/* Hero Section (Centered Stack) */
/* ====================== */

.hero {
    padding: 6rem 5% 2rem;
    min-height: 90vh; /* Reduced height constraint slightly so it fits better on smaller screens */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(236, 72, 153, 0.05) 0%, transparent 30%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero h1 .bracket {
    background: linear-gradient(135deg, var(--teal), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
    animation: bracketGlow 2s ease-in-out infinite alternate;
    display: inline-block;
}

@keyframes bracketGlow {
    0% { filter: drop-shadow(0 0 5px rgba(139, 233, 253, 0.5)); }
    100% { filter: drop-shadow(0 0 15px rgba(255, 121, 198, 0.7)); }
}

.hero-text-gradient {
    color: #fff;
    background: linear-gradient(90deg, #ffffff 0%, #bd93f9 25%, #ff79c6 50%, #8be9fd 75%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-text-solid {
    color: #fff;
    display: inline-block;
    animation: impactSlam 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s both;
    position: relative;
}

.hero-text-solid::after {
    content: '';
    position: absolute;
    inset: -10px -20px;
    background: radial-gradient(ellipse at center, rgba(255, 121, 198, 0.4) 0%, transparent 70%);
    opacity: 0;
    animation: impactGlow 0.8s ease-out 0.5s both;
    z-index: -1;
    border-radius: 20px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 1rem 0;
}

@keyframes impactSlam {
    0% {
        opacity: 0;
        transform: scale(2.5) translateY(-20px);
        filter: blur(10px);
    }
    60% {
        opacity: 1;
        transform: scale(0.9) translateY(5px);
        filter: blur(0);
    }
    80% {
        transform: scale(1.05) translateY(-2px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

@keyframes impactGlow {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

.hero-badge i {
    margin-right: 0.5rem;
    color: var(--pink);
    animation: rocketBounce 2s ease-in-out infinite;
}

@keyframes rocketBounce {
    0%, 100% { transform: translateY(0) rotate(-15deg); }
    50% { transform: translateY(-3px) rotate(-15deg); }
}

.hero-sub {
    font-size: 1.35rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(236, 72, 153, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #f8f8f2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    transform: translateY(-4px);
    border-color: var(--teal);
    color: var(--teal);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 20px rgba(139, 233, 253, 0.3);
}

/* Code Dock (Interactive Bottom Bar) */
.hero-dock-container {
    perspective: 1200px;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.hero-dock {
    display: flex;
    gap: 1.5rem;
    padding: 1.25rem 2rem;
    background: rgba(30, 30, 46, 0.7); /* Dark Translucent */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.4), /* Deeper shadow */
        inset 0 0 0 1px rgba(255,255,255,0.05);
    transform-style: preserve-3d;
    transform: rotateX(10deg) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-dock:hover {
    transform: rotateX(0deg) translateY(0);
    border-color: var(--purple); /* Color on hover */
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.dock-item {
    background: #1e1e2e;
    color: #f8f8f2;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    border: 1px solid rgba(255,255,255,0.05); /* Subtle border */
    min-width: 130px;
    position: relative;
    cursor: pointer;
}

.dock-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: #282a36;
    border-color: var(--pink); /* Pop of color */
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.3);
}

.dock-item:hover {
    transform: translateY(-20px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
    z-index: 10;
    background: #282a36;
    border-color: rgba(139, 92, 246, 0.5);
}

.dock-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.dock-code {
    font-weight: 500;
    white-space: nowrap;
}

.k-const { color: #ff79c6; }
.k-var { color: #8be9fd; }
.k-str { color: #f1fa8c; }
.k-func { color: #50fa7b; }

@media (max-width: 640px) {
    .hero {
        padding: 3.5rem 2% 1.5rem;
    }
    .hero h1 {
        font-size: 2.1rem;
        margin-bottom: 1rem;
    }
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.1rem;
        margin-bottom: 1rem;
    }
    .hero-sub {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    .hero-dock {
        flex-wrap: wrap;
        justify-content: center;
        transform: none;
        background: rgba(30, 30, 46, 0.97);
        box-shadow: none;
        backdrop-filter: blur(8px);
        gap: 0.5rem;
        padding: 0.7rem;
    }
    .dock-item {
        min-width: 90vw;
        margin: 0.2rem 0;
        font-size: 0.95rem;
        padding: 0.7rem 1rem;
        border-radius: 10px;
    }
    .dock-label { color: #6272a4; }
    .k-const { color: var(--pink); }
    .k-var { color: var(--teal); }
    .k-str { color: #f1fa8c; }
    .k-func { color: #50fa7b; }
    .hero-dock-container { padding: 0.5rem; }
    .section-header { margin-bottom: 1.2rem; }
    .section-header h2 {
        font-size: clamp(2rem, 5vw, 3.5rem);
        line-height: 1.2;
        word-break: break-word;
    }
    .services, .work, .pricing, .contact { padding: 1.2rem 2% !important; }
    .services-grid, .work-grid, .pricing-container {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }
    .service-code-card, .project-card, .json-card {
        border-radius: 10px;
        margin-bottom: 1.2rem;
        min-width: 0;
        width: 100%;
        font-size: 0.98rem;
    }
    .card-body, .card-desc, .pricing-content {
        padding: 1rem !important;
    }
    .contact-terminal-wrapper {
        flex-direction: column !important;
        gap: 1.2rem !important;
    }
    .contact-info-panel, .terminal-window {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto !important;
    }
}
    .footer { font-size: 0.95rem; padding: 1.2rem 2%; }
}
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.code-bubble:hover {
    transform: translateY(-6px);
    background: #252538;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.2);
}

.code-bubble:focus-visible {
    outline: 3px solid rgba(139, 92, 246, 0.6);
    outline-offset: 3px;
}

.code-keyword {
    color: #50fa7b;
    display: inline-block;
    font-family: 'Courier New', monospace;
    overflow: hidden;
    white-space: nowrap;
    border-right: 4px solid #50fa7b;
    /* type once, then hide the cursor */
    animation: typing 1s steps(11) forwards, cursorHide 0.2s step-end 1s forwards;
}

@keyframes typing {
    0% { width: 0; }
    100% { width: 11ch; }
}

@keyframes cursorHide {
    0% { border-color: #50fa7b; }
    99% { border-color: #50fa7b; }
    100% { border-color: transparent; }
}
    text-decoration: none;
    color: #f8f8f2;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.dev-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.dev-card i {
    font-size: 1.6rem;
}

.dev-a {
    grid-column: 1;
    grid-row: 1;
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
}

.dev-b {
    grid-column: 4;
    grid-row: 2;
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
}

.dev-c {
    grid-column: 2;
    grid-row: 3;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.bubble-a {
    grid-column: 4;
    grid-row: 1;
    transform: translate(-10px, 6px);
}

.bubble-b {
    grid-column: 2;
    grid-row: 1;
    transform: translate(8px, -6px);
}

.bubble-c {
    grid-column: 3;
    grid-row: 2;
    transform: translate(-6px, 10px);
}

.bubble-d {
    grid-column: 1;
    grid-row: 3;
    transform: translate(10px, -8px);
}
/* Vibrant Colorful Design */
/* ====================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0f0f13; /* Deep dark code background */
    --white: #1a1b26; /* Darker surface color (was white) */
    --text: #f8f9ff; /* Light text (was dark) */
    --text-light: #94a3b8; /* Muted light text */
    
    --purple: #bd93f9; /* Dracula Purple */
    --pink: #ff79c6; /* Dracula Pink */
    --orange: #ffb86c; /* Dracula Orange */
    --teal: #8be9fd; /* Dracula Cyan */
    --blue: #6272a4; /* Dracula Comment/Blueish */
    
    --gradient: linear-gradient(135deg, #bd93f9 0%, #ff79c6 100%);
    --gradient-orange: linear-gradient(135deg, #ffb86c 0%, #ff9f43 100%);
    --gradient-teal: linear-gradient(135deg, #8be9fd 0%, #50fa7b 100%);
    --gradient-blue: linear-gradient(135deg, #6272a4 0%, #8be9fd 100%);
    
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: transparent; /* Allow fixed background to show */
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ====================== */
/* ====================== */
/* System Navigation Bar */
/* ====================== */

.sys-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px; /* narrower */
    background: #191925; /* VS Code dark header */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.5rem; /* tighter horizontal spacing */
    z-index: 1000;
    border-bottom: 1px solid #111;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}  

.sys-left {
    display: flex;
    align-items: center;
    gap: 1rem; /* tighter spacing */
} 

.sys-controls {
    display: flex;
    gap: 6px; /* tighter */
} 

.sys-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.sys-dot.red { background: #ff5f56; }
.sys-dot.yellow { background: #ffbd2e; }
.sys-dot.green { background: #27c93f; }

.sys-title {
    color: #fff; /* title now white */
    display: inline-block;
    font-family: 'Courier New', monospace;
    padding-left: 0.15rem; /* reduced horizontal offset */
    /* Static code-style title: no typing animation */
}

@keyframes typing {
    0% { width: 0ch; }
    100% { width: 11ch; }
}

@keyframes caretFade {
    0% { border-color: #50fa7b; }
    99% { border-color: #50fa7b; }
    100% { border-color: transparent; }
}

.sys-tab {
    display: flex;
    align-items: center;
    position: relative;
    height: 40px; /* explicit height to match .sys-bar */
    padding: 0 0.8rem; /* symmetric vertical padding for perfect centering */
    color: #fff; /* default white */
    text-decoration: none;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    border-right: 1px solid rgba(255,255,255,0.03);
    background: transparent;
    transition: color 0.12s, transform 0.12s, box-shadow 0.12s;
}  

.sys-tab i {
    opacity: 0.95;
    color: inherit; /* follow link color */
    font-size: 0.95rem;
    transition: transform 0.12s, color 0.12s, text-shadow 0.12s;
}

/* underline pseudo-element */
.sys-tab::after {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 4px; /* adjusted for narrower bar */
    height: 2px;
    width: 0;
    background: transparent;
    transition: width 0.18s ease, background 0.18s ease;
    border-radius: 2px;
} 

/* Hover shows green underline and lift */
.sys-tab:hover {
    color: #00ff41; /* hover text turns matrix green */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,255,65,0.06);
}

.sys-tab:hover::after {
    width: 80%;
    background: #00ff41; /* hover underline matrix green */
}

/* Selected tab remains white and does not show underline */
.sys-tab.active {
    color: #fff; /* keep selected text white */
    border-bottom: none;
    padding-bottom: 0.5rem; /* reduced */
    transform: none;
    box-shadow: none;
} 

.sys-tab.active::after {
    width: 0;
    background: transparent;
}

nav.sys-bar .sys-tab,
nav.sys-bar .sys-tab:link,
nav.sys-bar .sys-tab:visited {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 40px; /* match new bar height */
} 

nav.sys-bar .sys-tab:hover {
    color: #00ff41; /* matrix green on hover */
    text-decoration: none;
}

/* No clicked state: keep focused/active/visited tabs white */
nav.sys-bar .sys-tab:focus,
nav.sys-bar .sys-tab:active,
nav.sys-bar .sys-tab:visited {
    color: #fff;
    text-decoration: none;
}  

/* Allow active tab to show hover underline and green tint when hovered */
nav.sys-bar .sys-tab.active:hover {
    color: #00ff41; /* matrix green on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,255,65,0.06);
}

nav.sys-bar .sys-tab.active:hover::after {
    width: 80%;
    background: #00ff41;
}

.sys-tab:hover {
    color: #00ff41; /* hover text turns matrix green */
    background: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,255,65,0.06);
}

.sys-tab:hover i {
    transform: translateY(-2px);
    color: #00ff41; /* icon tint matches hover */
    text-shadow: 0 0 6px rgba(0,255,65,0.12);
}

.sys-tab:focus-visible {
    outline: 2px dashed rgba(139,92,246,0.14);
    outline-offset: 3px;
}

.sys-tab.active {
    background: none;
    color: #fff; /* keep selected text white */
    padding: 0; /* reset padding */
    transform: none;
    box-shadow: none;
    border-bottom: none; /* remove any purple underline */
}  

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
}

/* Desktop Nav Tabs (inline code style) */
.sys-tabs {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sys-tabs li {
    margin: 0;
    list-style: none;
}

.sys-tabs .sys-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile Nav Styles override */
@media (max-width: 960px) {
    .sys-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        height: 38px;
        min-height: 38px;
        padding: 0 0.5rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.18);
        border-radius: 0 0 10px 10px;
        z-index: 3001;
        background: #191925;
    }
    
    .sys-left {
        flex: 1 1 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-width: 0;
    }
    
    .sys-controls {
        gap: 6px;
        margin-right: 0.5rem;
    }
    
    .sys-dot {
        width: 10px;
        height: 10px;
        margin-bottom: 0;
    }
    
    .sys-title {
        display: block;
        text-align: center;
        font-size: 1.02rem;
        font-family: 'Fira Code', monospace;
        font-weight: 700;
        color: #fff;
        margin: 0 auto;
        padding: 0;
        letter-spacing: 0.01em;
        flex: 0 1 auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mobile-toggle {
        display: flex;
        position: static;
        margin-left: auto;
        z-index: 3002;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .mobile-toggle span {
        width: 22px;
        height: 2.5px;
        background: #fff;
        transition: 0.3s;
    }
    
    .sys-tabs {
        position: fixed;
        left: 0;
        right: 0;
        top: 38px;
        width: 100vw;
        height: 0;
        overflow: hidden;
        background: transparent;
        box-shadow: none;
        z-index: 3000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 0;
        margin: 0;
        border-radius: 0 0 18px 18px;
        transition: height 0.32s cubic-bezier(0.4,0,0.2,1), padding 0.22s, box-shadow 0.22s, background 0.22s;
        pointer-events: none;
        visibility: hidden;
    }
    
    .sys-tabs.active {
        height: 420px;
        width: 100vw;
        padding: 1.5rem 0 1.5rem 0;
        box-shadow: 0 12px 40px rgba(0,0,0,0.32);
        background: #191925ee;
        pointer-events: auto;
        overflow: hidden;
        visibility: visible;
    }
    
    .sys-tabs li {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .sys-tab {
        width: 100%;
        max-width: 360px;
        margin: 0.5rem auto;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.8rem 1.5rem;
        border: none;
        border-radius: 10px;
        font-size: 1.1rem;
        text-align: center;
        background: none;
        color: #fff;
        transition: background 0.16s, color 0.16s, box-shadow 0.16s;
        cursor: pointer;
    }
    
    .sys-tab:hover, .sys-tab:focus {
        background: #23233a;
        color: #00ff41;
        box-shadow: 0 2px 12px rgba(0,255,65,0.08);
    }
    
    .sys-tab.active {
        color: #fff;
        background: #23233a;
        font-weight: 700;
    }
}

/* ====================== */
/* Hero Section */

.code-bracket {
    color: var(--pink);
    font-weight: 900;
}

.code-bracket.opening {
    color: var(--teal);
}

.code-bracket.closing {
    color: var(--pink);
}

.code-comment {
    color: var(--green);
    font-weight: 700;
}

.code-function {
    color: var(--purple);
    font-weight: 800;
}

.code-property {
    color: #50fa7b;
}

/* Section label icons */
.section-label i {
    margin-right: 0.5rem;
    opacity: 0.9;
}

/* ====================== */
/* Buttons */
/* ====================== */

.btn {
    display: inline-block;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(189, 147, 249, 0.4); /* More visible glow */
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(189, 147, 249, 0.6), 0 0 20px rgba(255, 121, 198, 0.3);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1); /* Dark translucent */
    color: #f8f8f2;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--teal);
    color: var(--teal);
    box-shadow: 0 0 20px rgba(139, 233, 253, 0.3);
}

.btn-full {
    width: 100%;
}

/* ====================== */
/* Section Headers */
/* ====================== */

.section-header {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-header.center {
    text-align: center;
    align-items: center;
}

.section-label {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    border: 1px solid rgba(255,255,255,0.2);
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--text);
}

.section-header h2 .typing-text {
    background: linear-gradient(135deg, var(--text) 0%, var(--purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section-specific color accents */
.services .section-label {
    background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.5) !important;
}

.services .code-bracket {
    color: #22d3ee !important;
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
}

.services .typing-text {
    background: linear-gradient(135deg, #ffffff, #22d3ee) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.work .section-label {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.5) !important;
}

.work .code-comment {
    color: #4ade80 !important;
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
}

.work .typing-text {
    background: linear-gradient(135deg, #ffffff, #4ade80) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.pricing .section-label {
    background: linear-gradient(135deg, #a855f7, #ec4899) !important;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.5) !important;
}

.pricing .code-function {
    color: #f472b6 !important;
    text-shadow: 0 0 20px rgba(244, 114, 182, 0.5);
}

.pricing .typing-text {
    background: linear-gradient(135deg, #ffffff, #f472b6) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.contact .section-label {
    background: linear-gradient(135deg, #f97316, #ea580c) !important;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.5) !important;
}

.contact .code-bracket {
    color: #fb923c !important;
    text-shadow: 0 0 20px rgba(251, 146, 60, 0.5);
}

.contact .typing-text {
    background: linear-gradient(135deg, #ffffff, #fb923c) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Typing Animation for Headings */
.typing-heading {
    position: relative;
    display: inline-block;
}

.typing-heading .opening,
.typing-heading .closing {
    opacity: 0;
}

.typing-heading .opening::after {
    content: ' ';
}

.typing-heading .closing::before {
    content: ' ';
}

.typing-heading.animate .opening {
    animation: bracketOpen 0.3s forwards;
}

.typing-heading.animate .closing {
    animation: bracketClose 0.3s forwards 0.3s;
}

.typing-text {
    display: inline-block;
    min-width: 2px;
    position: relative;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 0.8em;
    background: var(--gradient);
    margin-left: 0;
    animation: blink 0.7s infinite;
    opacity: 0;
    position: absolute;
    transform: translateY(0.1em);
    border-radius: 2px;
}

.typing-heading.animate .cursor {
    opacity: 1;
}

.typing-heading.typing-complete .cursor {
    display: none;
}

/* Comment style typing */
.typing-heading.comment .code-comment {
    opacity: 0;
}

.typing-heading.comment .code-comment::after {
    content: ' ';
}

.typing-heading.comment.animate .code-comment {
    animation: fadeIn 0.3s forwards;
}

/* Function style */
.typing-heading.function .code-function {
    opacity: 0;
}

.typing-heading.function.animate .code-function:first-child {
    animation: fadeIn 0.3s forwards;
}

.typing-heading.function.animate .code-function:last-child {
    animation: fadeIn 0.3s forwards 0.3s;
}

@keyframes bracketOpen {
    to {
        opacity: 1;
    }
}

@keyframes bracketClose {
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ====================== */
/* Services Section (System Modules) */
/* ====================== */

.services {
    padding: 3rem 5%;
    background: transparent; /* Let the animated background show */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-code-card {
    background: #1e1e2e;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05); /* Dark mode border */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-code-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(139, 92, 246, 0.15); /* Purple glow */
    border-color: var(--purple);
}

.service-code-card:nth-child(2):hover {
    box-shadow: 0 25px 60px rgba(236, 72, 153, 0.15); /* Pink glow */
    border-color: var(--pink);
}

.service-code-card:nth-child(3):hover {
    box-shadow: 0 25px 60px rgba(20, 184, 166, 0.15); /* Teal glow */
    border-color: var(--teal);
}

.card-header {
    background: #282a36;
    padding: 0.8rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #44475a;
}

.file-name {
    color: #bd93f9;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
}

.window-dots.small {
    /* No scale needed with cleaner implementation */
    width: 10px;
    height: 10px;
    box-shadow: -16px 0 0 #ff5f56, 16px 0 0 #27c93f;
    margin-left: 16px;
}

.card-body {
    padding: 1.5rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #f8f8f2;
    background: #1e1e2e;
    flex-grow: 1; 
}

.code-line {
    display: block;
    white-space: pre;
}

.indent-1 { margin-left: 1.5rem; }
.indent-2 { margin-left: 3rem; }

.k-sel { color: #ff79c6; }
.k-prop { color: #8be9fd; }
.k-val { color: #f1fa8c; }
.k-at { color: #ff79c6; }

.card-desc {
    background: #282a36; /* Dark matching header */
    padding: 1.5rem;
    color: #f8f8f2;
    border-top: 1px solid #44475a;
}

.card-desc h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #f8f8f2;
}

.card-desc p {
    font-size: 0.95rem;
    color: #94a3b8; /* Muted light grey */
    line-height: 1.5;
}


/* ====================== */
/* Work Section (Deploy Dashboard) */
/* ====================== */

.work {
    padding: 3rem 5%;
    background: transparent;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.8rem !important;
        line-height: 1.3;
        word-break: break-word;
    }
}

/* Project Cards - Browser Style */
.project-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #1e1e2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(189, 147, 249, 0.2);
    border-color: var(--purple);
}

.project-card:nth-child(2):hover {
    box-shadow: 0 20px 50px rgba(255, 121, 198, 0.2);
    border-color: var(--pink);
}

.project-card:nth-child(3):hover {
    box-shadow: 0 20px 50px rgba(139, 233, 253, 0.2);
    border-color: var(--teal);
}

.project-card:nth-child(4):hover {
    box-shadow: 0 20px 50px rgba(255, 184, 108, 0.2);
    border-color: var(--orange);
}

.project-browser {
    background: #282a36;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1rem;
    background: #21222c;
    border-bottom: 1px solid #333;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dots .dot.red { background: #ff5f56; }
.browser-dots .dot.yellow { background: #ffbd2e; }
.browser-dots .dot.green { background: #27c93f; }

.browser-url {
    flex: 1;
    background: #1e1e2e;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    color: #6272a4;
}

.project-preview {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #282a36 0%, #1e1e2e 100%);
}

.preview-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.1);
}

.preview-placeholder i {
    font-size: 1.8rem;
    color: var(--purple);
    opacity: 0.8;
}

.project-card:nth-child(2) .preview-placeholder i { color: var(--pink); }
.project-card:nth-child(3) .preview-placeholder i { color: var(--teal); }
.project-card:nth-child(4) .preview-placeholder i { color: var(--orange); }

.project-info {
    padding: 1.25rem;
    color: #f8f8f2;
}

.project-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #f8f8f2;
}

.project-info p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tags .tag {
    background: rgba(189, 147, 249, 0.15);
    color: var(--purple);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
}

.project-card:nth-child(2) .tag {
    background: rgba(255, 121, 198, 0.15);
    color: var(--pink);
}

.project-card:nth-child(3) .tag {
    background: rgba(139, 233, 253, 0.15);
    color: var(--teal);
}

.project-card:nth-child(4) .tag {
    background: rgba(255, 184, 108, 0.15);
    color: var(--orange);
}

.project-card:nth-child(5) .preview-placeholder i { color: #50fa7b; }
.project-card:nth-child(5):hover {
    box-shadow: 0 20px 50px rgba(80, 250, 123, 0.2);
    border-color: #50fa7b;
}
.project-card:nth-child(5) .tag {
    background: rgba(80, 250, 123, 0.15);
    color: #50fa7b;
}

.project-card:nth-child(6) .preview-placeholder i { color: #f1fa8c; }
.project-card:nth-child(6):hover {
    box-shadow: 0 20px 50px rgba(241, 250, 140, 0.2);
    border-color: #f1fa8c;
}
.project-card:nth-child(6) .tag {
    background: rgba(241, 250, 140, 0.15);
    color: #f1fa8c;
}

/* Old deploy card styles kept for reference */
.deploy-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #1e1e2e;
    border-radius: 8px; /* More 'technical' corner radius */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: 1px solid #333;
    font-family: 'Fira Code', monospace;
    position: relative;
    height: 100%;
}

.deploy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(80, 250, 123, 0.15); /* Green glow */
    border-color: #50fa7b; /* Terminal Green Border */
}

.deploy-card:nth-child(2):hover {
    box-shadow: 0 20px 40px rgba(189, 147, 249, 0.15); /* Purple glow */
    border-color: var(--purple);
}

.deploy-card:nth-child(3):hover {
    box-shadow: 0 20px 40px rgba(255, 121, 198, 0.15); /* Pink glow */
    border-color: var(--pink);
}

.deploy-header {
    background: #282a36;
    padding: 0.8rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.deploy-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #50fa7b;
    text-transform: uppercase;
}

.pulse-dot {
    width: 10px; /* Slightly larger */
    height: 10px;
    background: #50fa7b;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(80, 250, 123, 0.6); /* Constant Glow */
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(80, 250, 123, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(80, 250, 123, 0); }
    100% { box-shadow: 0 0 0 0 rgba(80, 250, 123, 0); }
}
    70% { box-shadow: 0 0 0 6px rgba(80, 250, 123, 0); }
    100% { box-shadow: 0 0 0 0 rgba(80, 250, 123, 0); }
}

.deploy-id {
    color: #6272a4;
    font-size: 0.75rem;
}

.deploy-body {
    padding: 1.5rem 1.25rem;
    color: #f8f8f2;
    flex-grow: 1;
}

.project-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #bd93f9; /* Purple */
    margin-bottom: 1.5rem;
}

.deploy-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #444;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    color: #888;
}

.stat-value {
    color: #f8f8f2;
    font-weight: 600;
}

.stat-value.highlight {
    color: #f1fa8c; /* Yellow */
}

.deploy-footer {
    background: #21222c;
    padding: 1rem 1.25rem;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    transition: all 0.3s;
}

.cmd-text {
    font-size: 0.8rem;
}

.deploy-card:hover .deploy-footer {
    background: #50fa7b;
    color: #1e1e2e; /* Black text on green bg */
    border-top-color: #50fa7b;
}

.deploy-card:hover .cmd-text::after {
    content: '_';
    animation: blink 1s infinite;
}

/* Remove old Browser Card styles via overwrite/removal */
/* .browser-card styles effectively replaced by specific class names above */


/* ====================== */
/* Pricing Section (Config Plans) */
/* ====================== */

.pricing {
    padding: 3rem 5%;
    background: transparent; /* Let the animated background show */
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.json-card {
    background: #1e1e2e;
    border-radius: 16px;
    padding: 0;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.json-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    border-color: rgba(189, 147, 249, 0.5); /* Glowing Purple Border on hover */
}

/* 
.json-card.featured {
    border: 2px solid var(--purple);
    transform: scale(1.05);
    z-index: 2;
} 
Legacy Highlighting Removed
*/

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--purple);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: none; /* Hide badge as requested implicitly by "clean look" */
}

.json-header {
    background: #282a36; /* Darker header */
    padding: 1rem 1.5rem;
    color: #f8f8f2;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Add colored top borders for visual distinction */
.json-card:nth-child(1) .json-header {
    border-top: 3px solid var(--teal);
}
.json-card:nth-child(2) .json-header {
    border-top: 3px solid var(--purple);
}

.json-body {
    padding: 2rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    color: #abb2bf;
    line-height: 1.6;
}

.k-num { color: #bd93f9; }

.btn-console {
    background: rgba(255,255,255,0.05); /* Slight fill for visibility */
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 1rem;
    margin: 0 2rem 2rem;
    border-radius: 8px;
    font-family: 'Fira Code', monospace;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    font-weight: 600; /* Bolder text */
}

.btn-console:hover {
    background: var(--purple); /* Unified hover state */
    border-color: var(--purple);
    transform: translateY(-2px);
}

/* 
.btn-console.primary removed for uniformity
*/

/* ====================== */
/* Readable Pricing Card  */
/* ====================== */

.pricing-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: #e0e0e0;
    flex-grow: 1;
}

.plan-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.price-tag {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--purple);
    line-height: 1;
    text-shadow: 0 0 20px rgba(189, 147, 249, 0.3);
}

.price-tag .currency {
    font-size: 1.5rem;
    vertical-align: super;
    margin-right: 5px;
    opacity: 0.8;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif; /* Cleaner font for reading */
}

.feature-list li i {
    color: #50fa7b; /* Terminal Green */
    font-size: 1rem;
    flex-shrink: 0;
}

.json-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.window-dots.small {
    transform: scale(0.6);
    margin-left: 15px;
    margin-right: 0;
}

.hosting-addon {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hosting-addon:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.hosting-left {
    display: flex;
    flex-direction: column;
}

.hosting-title {
    font-size: 0.95rem;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hosting-title i {
    color: var(--purple);
    font-size: 0.9rem;
}

.hosting-note {
    font-size: 0.75rem;
    color: #888;
    margin-top: 3px;
    font-family: 'Fira Code', monospace;
}

.hosting-price {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 700;
}

/* ====================== */
/* Contact (Terminal) */
/* ====================== */

.contact {
    padding: 3rem 5%;
    background: #0f0f1a; /* Dark background effectively */
    color: white;
}

.contact-terminal-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.terminal-window {
    background: #1e1e2e;
    border: 1px solid #44475a;
    border-radius: 12px;
    box-shadow: 0 0 60px rgba(80, 250, 123, 0.1); /* Green glow */
    font-family: 'Fira Code', monospace;
    overflow: hidden;
}

.terminal-header {
    background: #282a36;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #44475a;
}

.terminal-header .window-dots {
    margin-left: 20px;
}

.term-title {
    margin: 0 auto;
    color: #aaa;
    font-size: 0.8rem;
}

.terminal-body {
    padding: 2rem;
    color: #eee;
}

.term-line {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.term-success {
    color: #50fa7b; 
}

.term-input-group {
    margin-bottom: 1.5rem;
}

.term-input-group label {
    display: block;
    color: #8be9fd;
    margin-bottom: 0.5rem;
}

.term-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #444;
    color: white;
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    padding: 0.5rem 0;
}

.term-input:focus {
    outline: none;
    border-color: #50fa7b;
}

.term-btn {
    background: transparent;
    border: 1px solid #50fa7b;
    color: #50fa7b;
    padding: 0.75rem 2rem;
    font-family: 'Fira Code', monospace;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.term-btn:hover {
    background: #50fa7b;
    color: black;
}

.contact-info-panel h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    opacity: 0.8;
}

.info-item i {
    font-size: 1.5rem;
    color: #bd93f9;
}

@media (max-width: 900px) {
    .contact-terminal-wrapper {
        grid-template-columns: 1fr;
    }
}


/* ====================== */
/* Footer */
/* ====================== */

.footer {
    background: #0a0a0f; /* Darkest */
    padding: 2.5rem 5%;
    text-align: center;
    color: #6272a4; /* Muted text */
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer a {
    color: var(--purple);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--pink);
}

/* ====================== */
/* Animations */
/* ====================== */

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes float-card {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ====================== */
/* Responsive */
/* ====================== */

@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-image {
        margin-top: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-split,
    .work-grid,
    .pricing-cards,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .services-right {
        grid-template-columns: 1fr;
    }

    .process-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    /* Navbar override handles this now in main block */

    .mobile-toggle {
        display: flex;
    }


    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    section {
        padding: 4rem 5% !important;
    }

    .card-float {
        padding: 1.5rem;
    }

    .card-float i {
        font-size: 2rem;
    }

    /* Pricing Mobile Adjustments */
    .price-tag {
        font-size: 2.5rem;
    }
    
    .plan-title {
        font-size: 1.5rem;
    }
}

/* ====================== */
/* Dynamic Background */
/* ====================== */

#code-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background-color: #0a0a0f; /* Even darker base */
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(189, 147, 249, 0.15), transparent 35%), 
        radial-gradient(circle at 85% 30%, rgba(255, 121, 198, 0.12), transparent 35%),
        radial-gradient(circle at 50% 80%, rgba(139, 233, 253, 0.08), transparent 30%);
}

.hero {
    background: transparent !important; /* Let bg show through */
}

.services, .pricing {
    background: transparent !important;
}

.work {
    background: transparent !important;
}

.code-symbol {
    position: absolute;
    color: #6272a4; /* Neutral code color */
    font-family: 'Fira Code', monospace;
    font-weight: 700;
    opacity: 0.15; /* Increased opacity for visibility */
    user-select: none;
    z-index: -1;
    will-change: transform;
    text-shadow: 0 0 5px rgba(0,0,0,0.1); /* Subtle depth */
}

/* Color Variations using theme vars - Increased Opacity for Dark Mode */
.code-symbol.purple { color: var(--purple); opacity: 0.4; }
.code-symbol.pink { color: var(--pink); opacity: 0.4; }
.code-symbol.blue { color: var(--blue); opacity: 0.4; }
.code-symbol.teal { color: var(--teal); opacity: 0.4; }
.code-symbol.orange { color: var(--orange); opacity: 0.4; }
.code-symbol.green { color: #50fa7b; opacity: 0.4; }

@keyframes float-up {
    0% {
        transform: translateY(110vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: var(--target-opacity, 0.05);
    }
    90% {
        opacity: var(--target-opacity, 0.05);
    }
    100% {
        transform: translateY(-20vh) rotate(20deg);
        opacity: 0;
    }
}

/* ====================== */
/* Back To Top Button     */
/* ====================== */
.back-to-top {
    --back-accent: #9be7ac; /* default */
    --back-accent-muted: rgba(155,231,172,0.06);
    position: fixed;
    left: 1rem; /* moved to bottom-left */
    bottom: 1.25rem;
    min-width: 56px;
    height: 38px;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(180deg, #0c0e12, #131316);
    color: #dfe7ff; /* soft white */
    border: 1px solid rgba(255,255,255,0.06);
    border-left: 3px solid var(--back-accent-muted); /* subtle dev accent */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    letter-spacing: 0.4px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s, border-color 0.16s;
    z-index: 1500;
    cursor: pointer;
}

.back-to-top .back-code {
    font-family: 'Fira Code', monospace;
    color: var(--back-accent);
    font-weight: 700;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Floating WhatsApp FAB */
.whatsapp-fab {
    position: fixed;
    right: 1rem;
    bottom: 1.25rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(180deg, #25d366, #128c5e);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 26px rgba(37, 211, 102, 0.14), 0 2px 6px rgba(0,0,0,0.45);
    z-index: 1600;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
}

.whatsapp-fab.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-fab:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.18);
}

.whatsapp-fab i {
    font-size: 18px;
}

/* subtle pulse ring */
.whatsapp-fab::after {
    content: '';
    position: absolute;
    left: -6px;
    top: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,211,102,0.06), transparent 40%);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-fab:hover::after,
.whatsapp-fab:focus::after {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 640px) {
    .sys-tabs {
        right: 0.6rem;
        bottom: 4.8rem; /* move above mobile back-to-top */
        width: 44px;
        height: 44px;
    }
}

        height: 0;
        overflow: hidden;
        pointer-events: none;
        visibility: hidden;
    color: var(--back-accent);
    border-left-color: var(--back-accent);
    box-shadow: 0 10px 36px rgba(0,255,65,0.08);
    transform: translateY(-3px);
}

.back-to-top:focus {
    outline: 2px dashed rgba(0,255,65,0.12);
    outline-offset: 3px;
}

        transition-property: height, padding, box-shadow, visibility;
@media (max-width: 640px) {
    .sys-tabs.active {
        height: 400px;
        min-width: 100vw !important;
        max-width: 100vw !important;
        width: 100vw !important;
        left: 0;
        right: 0;
        padding: 1.2rem 0 1.2rem 0;
        box-shadow: 0 12px 40px rgba(0,0,0,0.32);
        pointer-events: auto;
        overflow: hidden;
        visibility: visible;

